From 0b1f273813dfe8c5d7359e8ca224d6801674d639 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 26 Oct 2023 11:08:25 -0400 Subject: [PATCH] - 1.12.1 --- docs/build/changelog.rst | 69 +++++++++++++++++++++++- docs/build/conf.py | 4 +- docs/build/unreleased/1304.rst | 6 --- docs/build/unreleased/1322.rst | 7 --- docs/build/unreleased/1325.rst | 10 ---- docs/build/unreleased/1329.rst | 8 --- docs/build/unreleased/1335.rst | 9 ---- docs/build/unreleased/improve_typing.rst | 13 ----- docs/build/unreleased/op_execute.rst | 7 --- 9 files changed, 70 insertions(+), 63 deletions(-) delete mode 100644 docs/build/unreleased/1304.rst delete mode 100644 docs/build/unreleased/1322.rst delete mode 100644 docs/build/unreleased/1325.rst delete mode 100644 docs/build/unreleased/1329.rst delete mode 100644 docs/build/unreleased/1335.rst delete mode 100644 docs/build/unreleased/improve_typing.rst delete mode 100644 docs/build/unreleased/op_execute.rst diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index e0a7d753..a5f210ba 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -5,7 +5,74 @@ Changelog .. changelog:: :version: 1.12.1 - :include_notes_from: unreleased + :released: October 26, 2023 + + .. change:: + :tags: bug, autogenerate, regression + :tickets: 1329 + + Fixed regression caused by :ticket:`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. + + .. change:: + :tags: bug, typing + :tickets: 1325 + + Improved typing in the + :paramref:`.EnvironmentContext.configure.process_revision_directives` + callable to better indicate that the passed-in type is + :class:`.MigrationScript`, not the :class:`.MigrationOperation` base class, + and added typing to the example at :ref:`cookbook_no_empty_migrations` to + illustrate. + + .. change:: + :tags: bug, operations + :tickets: 1335 + + Repaired :class:`.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 correct ``to_diff_tuple()`` method. Pull request courtesy + Sebastian Bayer. + + .. change:: + :tags: typing, bug + :tickets: 1058, 1277 + + Improved the ``op.execute()`` method to correctly accept the + ``Executable`` type that is the same which is used in SQLAlchemy + ``Connection.execute()``. Pull request courtesy Mihail Milushev. + + .. change:: + :tags: typing, bug + :tickets: 930 + + Improve typing of the revision parameter in various command functions. + + .. change:: + :tags: typing, bug + :tickets: 1266 + + Properly type the :paramref:`.Operations.create_check_constraint.condition` + parameter of :meth:`.Operations.create_check_constraint` to accept boolean + expressions. + + .. change:: + :tags: bug, postgresql + :tickets: 1322 + + 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. + + .. change:: + :tags: usecase + :tickets: 1304 + + Alembic now accommodates for Sequence and Identity that support dialect kwargs. + This is a change that will be added to SQLAlchemy v2.1. .. changelog:: :version: 1.12.0 diff --git a/docs/build/conf.py b/docs/build/conf.py index f4de5670..658beb6b 100644 --- a/docs/build/conf.py +++ b/docs/build/conf.py @@ -99,8 +99,8 @@ # The short X.Y version. version = alembic.__version__ # The full version, including alpha/beta/rc tags. -release = "1.12.0" -release_date = "August 31, 2023" +release = "1.12.1" +release_date = "October 26, 2023" # The language for content autogenerated by Sphinx. Refer to documentation diff --git a/docs/build/unreleased/1304.rst b/docs/build/unreleased/1304.rst deleted file mode 100644 index 089adbb2..00000000 --- a/docs/build/unreleased/1304.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. change:: - :tags: usecase - :tickets: 1304 - - Alembic now accommodates for Sequence and Identity that support dialect kwargs. - This is a change that will be added to SQLAlchemy v2.1. diff --git a/docs/build/unreleased/1322.rst b/docs/build/unreleased/1322.rst deleted file mode 100644 index dc5bf6ce..00000000 --- a/docs/build/unreleased/1322.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, postgresql - :tickets: 1322 - - 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. diff --git a/docs/build/unreleased/1325.rst b/docs/build/unreleased/1325.rst deleted file mode 100644 index 1b4ccfaa..00000000 --- a/docs/build/unreleased/1325.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, typing - :tickets: 1325 - - Improved typing in the - :paramref:`.EnvironmentContext.configure.process_revision_directives` - callable to better indicate that the passed-in type is - :class:`.MigrationScript`, not the :class:`.MigrationOperation` base class, - and added typing to the example at :ref:`cookbook_no_empty_migrations` to - illustrate. diff --git a/docs/build/unreleased/1329.rst b/docs/build/unreleased/1329.rst deleted file mode 100644 index b6065d95..00000000 --- a/docs/build/unreleased/1329.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, autogenerate, regression - :tickets: 1329 - - Fixed regression caused by :ticket:`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. diff --git a/docs/build/unreleased/1335.rst b/docs/build/unreleased/1335.rst deleted file mode 100644 index ce4ab573..00000000 --- a/docs/build/unreleased/1335.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, operations - :tickets: 1335 - - Repaired :class:`.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 correct ``to_diff_tuple()`` method. Pull request courtesy - Sebastian Bayer. diff --git a/docs/build/unreleased/improve_typing.rst b/docs/build/unreleased/improve_typing.rst deleted file mode 100644 index ccaab00f..00000000 --- a/docs/build/unreleased/improve_typing.rst +++ /dev/null @@ -1,13 +0,0 @@ -.. change:: - :tags: typing, bug - :tickets: 930 - - Improve typing of the revision parameter in various command functions. - -.. change:: - :tags: typing, bug - :tickets: 1266 - - Properly type the :paramref:`.Operations.create_check_constraint.condition` - parameter of :meth:`.Operations.create_check_constraint` to accept boolean - expressions. diff --git a/docs/build/unreleased/op_execute.rst b/docs/build/unreleased/op_execute.rst deleted file mode 100644 index e8b6b003..00000000 --- a/docs/build/unreleased/op_execute.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: typing, bug - :tickets: 1058, 1277 - - Improved the ``op.execute()`` method to correctly accept the - ``Executable`` type that is the same which is used in SQLAlchemy - ``Connection.execute()``. Pull request courtesy Mihail Milushev.