rel_1_16_3
📦 alembicView on GitHub →
✨ 2 features🐛 2 fixes
Summary
Release 1.16.3 introduces the `pyproject_async` template and a new module post‑write hook for autogenerate, and fixes rendering issues with server defaults and foreign key constraints.
✨ New Features
- Added new `pyproject_async` template, combining the new `pyproject` template with the `async` template.
- Added \"module\" post-write hook for autogenerate, which runs `python -m black` (or similar) instead of using a console script, useful for tools without console scripts like ruff.
🐛 Bug Fixes
- Fixed rendering of `server_default=FetchedValue()` to ensure it is preceded by the `sa.` prefix in migration scripts.
- Fixed autogenerate rendering bug that failed to render foreign key constraints local to a `CreateTableOp` object when not referring to a `MetaData` collection via a private constructor argument.