v0.8.2
Added
- Support changes
max_length
or int type for primary key field. (#428) - feat: support psycopg. (#425)
- Support run
poetry add aerich
in project that inited by poetry v2. (#424) - feat: support command
python -m aerich
. (#417) - feat: add --fake to upgrade/downgrade. (#398)
- Support ignore table by settings
managed=False
inMeta
class. (#397)
Fixed
- fix: aerich migrate raises tortoise.exceptions.FieldError when
index.INDEX_TYPE
is not empty. (#415) - No migration occurs as expected when adding
unique=True
to indexed field. (#404) - fix: inspectdb raise KeyError 'int2' for smallint. (#401)
- fix: inspectdb not match data type 'DOUBLE' and 'CHAR' for MySQL. (#187)
Changed
- Refactored version management to use
importlib.metadata.version(__package__)
instead of hardcoded version string (#412)
New Contributors
- @Abdeldjalil-H made their first contribution in #412
- @alistairmaclean made their first contribution in #413
- @radluz made their first contribution in #251
- @ProgrammerPlus1998 made their first contribution in #187
Full Changelog: v0.8.1...v0.8.2