Skip to content

Release 0.9.3#544

Merged
waketzheng merged 5 commits into
tortoise:devfrom
waketzheng:release-0.9.3
Jul 11, 2026
Merged

Release 0.9.3#544
waketzheng merged 5 commits into
tortoise:devfrom
waketzheng:release-0.9.3

Conversation

@waketzheng

@waketzheng waketzheng commented May 26, 2026

Copy link
Copy Markdown
Contributor

⚠️ 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: v0.9.2...dev

@waketzheng
waketzheng requested review from abondar and henadzit May 26, 2026 06:05
@waketzheng

Copy link
Copy Markdown
Contributor Author

@abondar Could you take a look at this release PR when you have a chance? It would be great to publish a new version so users can use Aerich with Tortoise ORM 1.0+.

@waketzheng
waketzheng merged commit 5ded0b4 into tortoise:dev Jul 11, 2026
83 of 84 checks passed
@waketzheng
waketzheng deleted the release-0.9.3 branch July 11, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant