rel_1_12_1
版本发布时间: 2023-10-26 23:10:48
sqlalchemy/alembic最新发布版本:rel_1_13_2(2024-06-26 23:46:26)
1.12.1
Released: October 26, 2023
usecase
-
[usecase] Alembic now accommodates for Sequence and Identity that support dialect kwargs. This is a change that will be added to SQLAlchemy v2.1.
References: #1304
bug
-
[bug] [autogenerate] [regression] Fixed regression caused by #879 released in 1.7.0 where the ".info" dictionary of
Table
would not render in autogenerate create table statements. This can be useful for custom create table DDL rendering schemes so it is restored.References: #1329
-
[bug] [typing] Improved typing in the
EnvironmentContext.configure.process_revision_directives
callable to better indicate that the passed-in type isMigrationScript
, not theMigrationOperation
base class, and added typing to the example atcookbook_no_empty_migrations
to illustrate.References: #1325
-
[bug] [operations] Repaired
ExecuteSQLOp
so that it can participate in "diff" operations; while this object is typically not present in a reflected operation stream, custom hooks may be adding this construct where it needs to have the correctto_diff_tuple()
method. Pull request courtesy Sebastian Bayer.References: #1335
-
[bug] [typing] Improved the
op.execute()
method to correctly accept theExecutable
type that is the same which is used in SQLAlchemyConnection.execute()
. Pull request courtesy Mihail Milushev. -
[bug] [typing] Improve typing of the revision parameter in various command functions.
References: #930
-
[bug] [typing] Properly type the
Operations.create_check_constraint.condition
parameter ofOperations.create_check_constraint()
to accept boolean expressions.References: #1266
-
[bug] [postgresql] Fixed autogen render issue where expressions inside of indexes for PG need to be double-parenthesized, meaning a single parens must be present within the generated
text()
construct.References: #1322