github sqlalchemy/alembic rel_1_13_0
1.13.0

latest releases: rel_1_14_0, rel_1_13_3, rel_1_13_2...
12 months ago

1.13.0

Released: December 1, 2023

changed

  • [changed] [installation] Alembic 1.13 now supports Python 3.8 and above.

    References: #1359

usecase

  • [usecase] [operations] Updated logic introduced in #151 to allow if_exists and
    if_not_exists on index operations also on SQLAlchemy
    1.4 series. Previously this feature was mistakenly requiring
    the 2.0 series.

    References: #1323

  • [usecase] Replaced python-dateutil with the standard library module
    zoneinfo.
    This module was added in Python 3.9, so previous version will been
    to install the backport of it, available by installing the backports.zoneinfo
    library. The alembic[tz] option has been updated accordingly.

    References: #1339

bug

  • [bug] [commands] Fixed issue where the alembic check command did not function correctly
    with upgrade structures that have multiple, top-level elements, as are
    generated from the "multi-env" environment template. Pull request courtesy
    Neil Williams.

    References: #1234

  • [bug] [autogenerate] Fixed autogenerate issue where create_table_comment() and
    drop_table_comment() rendering in a batch table modify would include
    the "table" and "schema" arguments, which are not accepted in batch as
    these are already part of the top level block.

    References: #1361

  • [bug] [postgresql] Additional fixes to PostgreSQL expression index compare feature.
    The compare now correctly accommodates casts and differences in
    spacing.
    Added detection logic for operation clauses inside the expression,
    skipping the compare of these expressions.
    To accommodate these changes the logic for the comparison of the
    indexes and unique constraints was moved to the dialect
    implementation, allowing greater flexibility.

    References: #1321, #1327, #1356

Don't miss a new alembic release

NewReleases is sending notifications on new releases.