rel_1_13_0
版本发布时间: 2023-12-01 23:25:15
sqlalchemy/alembic最新发布版本:rel_1_13_2(2024-06-26 23:46:26)
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
andif_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 thebackports.zoneinfo
library. Thealembic[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()
anddrop_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.