1.16.3
Released: July 8, 2025
usecase
-
[usecase] [commands] Added new
pyproject_async
template, combining the newpyproject
template with theasync
template. Pull request courtesy Alc-Alc.References: #1683
-
[usecase] [autogenerate] Add "module" post-write hook. This hook type is almost identical to the
console_scripts hook, except it's runningpython -m black
instead of
using black'sconsole_script
. It is mainly useful for tools without
console scripts (e.g. ruff), but has semantics closer to the
console_scripts hook in that it finds the ruff module available to the
running interpreter instead of finding an executable by path. Pull request
courtesy Frazer McLean.References: #1686
bug
-
[bug] [autogenerate] Fixed the rendering of
server_default=FetchedValue()
to ensure it is
preceded by thesa.
prefix in the migration script. Pull request
courtesy david-fed.References: #1633
-
[bug] [autogenerate] Fixed autogenerate rendering bug which failed to render foreign key
constraints local to aCreateTableOp
object if it did not refer
to aMetaData
collection via a private constructor argument that would
not ordinarily be passed in user-defined rewriter recipes, including ones
in the Alembic cookbook section of the docs.References: #1692