From 4d82946f6c0c51cbfa1b46d6988111f88db649bc Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 31 Aug 2023 13:23:51 -0400 Subject: [PATCH] - 1.12.0 --- docs/build/changelog.rst | 59 +++++++++++++++++++++++++++++++++- docs/build/conf.py | 4 +-- docs/build/unreleased/1248.rst | 9 ------ docs/build/unreleased/1275.rst | 15 --------- docs/build/unreleased/1299.rst | 8 ----- docs/build/unreleased/1300.rst | 12 ------- docs/build/unreleased/1302.rst | 8 ----- 7 files changed, 60 insertions(+), 55 deletions(-) delete mode 100644 docs/build/unreleased/1248.rst delete mode 100644 docs/build/unreleased/1275.rst delete mode 100644 docs/build/unreleased/1299.rst delete mode 100644 docs/build/unreleased/1300.rst delete mode 100644 docs/build/unreleased/1302.rst diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index d1e700ea..f51ad132 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -5,7 +5,64 @@ Changelog .. changelog:: :version: 1.12.0 - :include_notes_from: unreleased + :released: August 31, 2023 + + .. change:: + :tags: bug, operations + :tickets: 1300 + + Added support for ``op.drop_constraint()`` to support PostrgreSQL + ``ExcludeConstraint`` objects, as well as other constraint-like objects + that may be present in third party dialects, by resolving the ``type_`` + parameter to be ``None`` for this case. Autogenerate has also been + enhanced to exclude the ``type_`` parameter from rendering within this + command when ``type_`` is ``None``. Pull request courtesy David Hills. + + + + .. change:: + :tags: bug, commmands + :tickets: 1299 + + Fixed issue where the ``revision_environment`` directive in ``alembic.ini`` + was ignored by the ``alembic merge`` command, leading to issues when other + configurational elements depend upon ``env.py`` being invoked within the + command. + + .. change:: + :tags: bug, autogenerate + :tickets: 1302 + + Fixed issue where the ``ForeignKeyConstraint.match`` parameter would not be + rendered in autogenerated migrations. Pull request courtesy Asib + Kamalsada. + + + .. change:: + :tags: usecase, autogenerate + :tickets: 1248 + + Change the default value of + :paramref:`.EnvironmentContext.configure.compare_type` to ``True``. + As Alembic's autogenerate for types was dramatically improved in + version 1.4 released in 2020, the type comparison feature is now much + more reliable so is now enabled by default. + + .. change:: + :tags: feature, autogenerate + :tickets: 1275 + + Added new feature to the "code formatter" function which allows standalone + executable tools to be run against code, without going through the Python + interpreter. Known as the ``exec`` runner, it complements the existing + ``console_scripts`` runner by allowing non-Python tools such as ``ruff`` to + be used. Pull request courtesy Mihail Milushev. + + .. seealso:: + + :ref:`post_write_hooks_config` + + .. changelog:: :version: 1.11.3 diff --git a/docs/build/conf.py b/docs/build/conf.py index 44451bb8..f4de5670 100644 --- a/docs/build/conf.py +++ b/docs/build/conf.py @@ -99,8 +99,8 @@ copyright = "2010-2023, Mike Bayer" # noqa # The short X.Y version. version = alembic.__version__ # The full version, including alpha/beta/rc tags. -release = "1.11.3" -release_date = "August 16, 2023" +release = "1.12.0" +release_date = "August 31, 2023" # The language for content autogenerated by Sphinx. Refer to documentation diff --git a/docs/build/unreleased/1248.rst b/docs/build/unreleased/1248.rst deleted file mode 100644 index 5e9984ee..00000000 --- a/docs/build/unreleased/1248.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: usecase, autogenerate - :tickets: 1248 - - Change the default value of - :paramref:`.EnvironmentContext.configure.compare_type` to ``True``. - As Alembic's autogenerate for types was dramatically improved in - version 1.4 released in 2020, the type comparison feature is now much - more reliable so is now enabled by default. diff --git a/docs/build/unreleased/1275.rst b/docs/build/unreleased/1275.rst deleted file mode 100644 index 6ac40092..00000000 --- a/docs/build/unreleased/1275.rst +++ /dev/null @@ -1,15 +0,0 @@ -.. change:: - :tags: feature, autogenerate - :tickets: 1275 - - Added new feature to the "code formatter" function which allows standalone - executable tools to be run against code, without going through the Python - interpreter. Known as the ``exec`` runner, it complements the existing - ``console_scripts`` runner by allowing non-Python tools such as ``ruff`` to - be used. Pull request courtesy Mihail Milushev. - - .. seealso:: - - :ref:`post_write_hooks_config` - - diff --git a/docs/build/unreleased/1299.rst b/docs/build/unreleased/1299.rst deleted file mode 100644 index 9651c411..00000000 --- a/docs/build/unreleased/1299.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, commmands - :tickets: 1299 - - Fixed issue where the ``revision_environment`` directive in ``alembic.ini`` - was ignored by the ``alembic merge`` command, leading to issues when other - configurational elements depend upon ``env.py`` being invoked within the - command. diff --git a/docs/build/unreleased/1300.rst b/docs/build/unreleased/1300.rst deleted file mode 100644 index 048c3963..00000000 --- a/docs/build/unreleased/1300.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. change:: - :tags: bug, operations - :tickets: 1300 - - Added support for ``op.drop_constraint()`` to support PostrgreSQL - ``ExcludeConstraint`` objects, as well as other constraint-like objects - that may be present in third party dialects, by resolving the ``type_`` - parameter to be ``None`` for this case. Autogenerate has also been - enhanced to exclude the ``type_`` parameter from rendering within this - command when ``type_`` is ``None``. Pull request courtesy David Hills. - - diff --git a/docs/build/unreleased/1302.rst b/docs/build/unreleased/1302.rst deleted file mode 100644 index 0bdca18d..00000000 --- a/docs/build/unreleased/1302.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, autogenerate - :tickets: 1302 - - Fixed issue where the ``ForeignKeyConstraint.match`` parameter would not be - rendered in autogenerated migrations. Pull request courtesy Asib - Kamalsada. - -- 2.47.2