github sqlalchemy/alembic rel_1_15_0
1.15.0

latest release: rel_1_15_1
one day ago

1.15.0

Released: March 4, 2025

changed

  • [changed] [general] Support for Python 3.8 is dropped as of Alembic 1.15.0; this version is
    now EOL so Python 3.9 or higher is required for Alembic 1.15.

  • [changed] [general] Support for SQLAlchemy 1.3, which was EOL as of 2021, is now dropped from
    Alembic as of version 1.15.0. SQLAlchemy version 1.4 or greater is
    required for use with Alembic 1.15.0.

  • [changed] [general] Installation has been converted to use PEP 621, e.g. pyproject.toml.

usecase

  • [usecase] [autogenerate] Index autogenerate will now render labels for expressions
    that use them. This is useful when applying operator classes
    in PostgreSQL that can be keyed on the label name.

    References: #1603

  • [usecase] [autogenerate] Add revision context to AutogenerateDiffsDetected so that command can be
    wrapped and diffs may be output in a different format. Pull request
    courtesy Louis-Amaury Chaib (@lachaib).

    References: #1597

bug

  • [bug] [environment] Added a basic docstring to the migration template files so that the
    upgrade/downgrade methods pass the D103 linter check which requires a
    docstring for public functions. Pull request courtesy Peter Cock.

    References: #1567

  • [bug] [autogenerate] Fixed autogenerate rendering bug where the deferrable element of
    UniqueConstraint, a bool, were being stringified rather than repr'ed
    when generating Python code.

    References: #1613

Don't miss a new alembic release

NewReleases is sending notifications on new releases.