Yoyo-database-migrations

Latest version: v0.0.2

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

6.0.0

---------------------------

**This version introduces backwards incompatible changes**. Please read this
file carefully before upgrading.

* Bugfix: now works on MySQL+utf8mb4 databases. This requires a new
internal schema for recording applied migrations, and your database will be
automatically updated when you first run this version. After upgrading, your
database will no longer be compatible with older versions of yoyo migrations.
(thanks to James Socol and others for the report and discussion of the
implementation)

* Bugfix: The `yoyo break-lock` command is no longer broken

* All migration operations (``apply``, ``rollback``, ``mark``, ``unmark``) are
now logged in a table ``_yoyo_log`` (thanks to Matt Williams for the
suggestion).

* The CLI script now displays the list of selected migrations before
asking for final confirmation when in interactive mode.

* Added support for ``__transactional__`` flag in sqlite migrations

5.1.7

---------------------------

* Bugfix: fix uppercase letters being excluded from generated filenames
(thanks to Romain Godefroy)

5.1.6

---------------------------

* Bugfix: fix problems running on Python 3 on Windows

5.1.5

---------------------------

* Bugfix: adding a ``schema`` parameter to PostgreSQL connection strings
no longer raises an exception (thanks to Mohamed Habib for the report)

5.1.0

---------------------------

* ``yoyo rollback`` now only rolls back a single migration in batch mode (
unless a --revision or --all is specified) (thanks to
`A A <https://bitbucket.org/linuxnotes/>`_ for the idea and initial
implementation)
* Added support for Oracle via cx_Oracle backend (thanks to Donald Sarratt)
* Added support for locking migration tables during operations to prevent
conflicts if multiple yoyo processes run at the same time (thanks to Artimi
NA for proposal and initial implementation)
* Removed dependency on python-slugify to avoid pulling in GPL'd code
(thanks to Olivier Chédru)
* Added support for a ``schema`` parameter for PostgreSQL databases (thanks to
Tobiáš Štancel)
* Added support for arbitrary keyword parameters in PostgreSQL URLs, allowing
eg ``sslmode=require`` to be specified.
* Bugfix: relative paths are correctly resolved in the config file.
* Bugfix: fixed the ordering when applying migrations with the reapply command
(thanks to Goohu)

5.0.5

---------------------------

* Added support for a ``__transactional__ = False`` flag in migration files,
allowing migrations to run commands in PostgreSQL that raise errors
if run inside a transaction block (eg "CREATE DATABASE")

* Bugfix: fix the unix_socket option for mysql connections

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.