Download Latest Version v0.10.0 source code.zip (252.2 kB)
Email in envelope

Get an email when there's a new version of Aerich

Home / v0.9.3
Name Modified Size InfoDownloads / Week
Parent folder
0.9.3 source code.tar.gz 2026-07-11 244.3 kB
0.9.3 source code.zip 2026-07-11 308.8 kB
README.md 2026-07-11 2.6 kB
Totals: 3 Items   555.7 kB 0

⚠️ Note:

For tortoise 1.0+, you can use the builtin migration commands instead of aerich. See more at: https://tortoise.github.io/migration.html


Added

  • feat: support per app migrations (#500)
  • feat: list applied migrations (#512)
  • feat: add support for tortoise 1.0+ (#528)
  • feat: support rename model class name (#529)
  • feat: support tortoise section (#535)
  • feat: prefer to add [tool.tortoise] section when running aerich init with tortoise 1.0+ (#536)
  • feat: add pre commit config and fix issues (#537)

Changed

  • Explicitly echo message for ignoring on_delete (#511)
  • refactor: get mysql version from os env for offline mode (#513)

Fixed

  • fix: postgres field comment error with single quote (#503)
  • fix: Migration generates CREATE TABLE statements in wrong dependency order bug Something isn't working (#520)
  • Fix 'nuitka_module_loader' object has no attribute 'invalidate_caches' (#522)
  • fix: init-db now checks the aerich table in the database (not the migrations folder) to detect prior initialization, so it works correctly on a fresh database that already has migration files (e.g. cloned from a repository) (#526)
  • fix: keep backward compatibility with migration files generated by aerich<=0.9.1 (no MODELS_STATE section). Online commands can still read state from the aerich table; aerich migrate warns only when it creates a new migration file, and offline migration still requires aerich fix-migrations. Set the env var AERICH_NO_OLD_FORMAT_WARNING=1 to silence the warning (#542)
  • fix: inspectdb output UnicodeEncodeError on Windows when database comments contain characters outside the system encoding (e.g. GBK) (#543)

Full Changelog: https://github.com/tortoise/aerich/compare/v0.9.2...dev

Source: README.md, updated 2026-07-11