- Fix
privileges
configuration option
- Add
migra.safe
andmigra.permission
totusker.toml
- Add
--safe
and--unsafe
arguments - Add
--without-privileges
argument - Update
tomlkit
to version0.10
- Update locked dependency versions
- Do not filter by
.sql
extension when using themigrations.filename
setting.
- Add
migrations.filename
setting which supports aglob
pattern - Fix error messages for invalid configurations
- Increase minimum
python
version to3.6
- Update
migra
to version3.0
- Update
tomlkit
to version0.7
- Update
sqlalchemy
to version1.4
- Update
psycopg2
to version2.9
- Fix quoting of database names
- Add support for mixing url with other database settings
- Fix transaction handling
- Execute files specified by
glob
pattern in sorted order
- Add
--version
argument - Add
glob
pattern support forschema.filename
setting
- Replace f-Strings by .format() calls. This fixes Python 3.5 support.
- Add support for
database.schema
config option
- Add
--with-privileges
option todiff
andcheck
commands.
- Add
from
andto
argument todiff
command which makes it possible to compare a schema file, migration files and an existing database. - Add
--reverse
option todiff
command. - Add
check
command
- Fix closing of DB connections
- Escape schema and migration SQL before execution
- First release