rel_1_11_1
版本发布时间: 2023-05-18 06:09:38
sqlalchemy/alembic最新发布版本:rel_1_13_2(2024-06-26 23:46:26)
1.11.1
Released: May 17, 2023
bug
-
[bug] [autogenerate] [regression] As Alembic 1.11.0 is considered a major release (Alembic does not use semver, nor does its parent project SQLAlchemy; this has been
clarified <versioning_scheme>
in the documentation), change #1130 modified calling signatures for most operations to consider all optional keyword parameters to be keyword-only arguments, to match what was always documented and generated by autogenerate. However, two of these changes were identified as possibly problematic without a more formal deprecation warning being emitted which were thetable_name
parameter toOperations.drop_index()
, which was generated positionally by autogenerate prior to version 0.6.3 released in 2014, andtype_
inOperations.drop_constraint()
andBatchOperations.drop_constraint()
, which was documented positionally in one example in the batch documentation.These two signatures have been restored to allow those particular parameters to be passed positionally. A future change will include formal deprecation paths (with warnings) for these arguments where they will again become keyword-only in a future "Significant Minor" release.
-
[bug] [typing] Fixed typing use of
~sqlalchemy.schema.Column
and other generic SQLAlchemy classes.References: #1246
-
[bug] [regression] [typing] Restored the output type of
Config.get_section()
to includeDict[str, str]
as a potential return type, which had been changed to immutableMapping[str, str]
. When a section is returned and the default is not used, a mutable dictionary is returned.References: #1244