From b43a1966180f592d6be2a52361230d988e68353d Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 23 Sep 2024 10:51:00 -0400 Subject: [PATCH] - 1.13.3 --- docs/build/changelog.rst | 45 +++++++++++++++++++++- docs/build/conf.py | 4 +- docs/build/unreleased/1446.rst | 10 ----- docs/build/unreleased/1509.rst | 5 --- docs/build/unreleased/1520.rst | 9 ----- docs/build/unreleased/unpin_setuptools.rst | 15 -------- 6 files changed, 46 insertions(+), 42 deletions(-) delete mode 100644 docs/build/unreleased/1446.rst delete mode 100644 docs/build/unreleased/1509.rst delete mode 100644 docs/build/unreleased/1520.rst delete mode 100644 docs/build/unreleased/unpin_setuptools.rst diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index 513cabf2..8ec8f32e 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -5,7 +5,50 @@ Changelog .. changelog:: :version: 1.13.3 - :include_notes_from: unreleased + :released: September 23, 2024 + + .. change:: + :tags: usecase, autogenerate + + Render ``if_exists`` and ``if_not_exists`` parameters in + :class:`.CreateTableOp`, :class:`.CreateIndexOp`, :class:`.DropTableOp` and + :class:`.DropIndexOp` in an autogenerate context. While Alembic does not + set these parameters during an autogenerate run, they can be enabled using + a custom :class:`.Rewriter` in the ``env.py`` file, where they will now be + part of the rendered Python code in revision files. Pull request courtesy + of Louis-Amaury Chaib (@lachaib). + + .. change:: + :tags: usecase, environment + :tickets: 1509 + + Enhance ``version_locations`` parsing to handle paths containing newlines. + + .. change:: + :tags: usecase, operations + :tickets: 1520 + + Added support for :paramref:`.Operations.create_table.if_not_exists` and + :paramref:`.Operations.drop_table.if_exists`, adding similar functionality + to render IF [NOT] EXISTS for table operations in a similar way as with + indexes. Pull request courtesy Aaron Griffin. + + + .. change:: + :tags: change, general + + The pin for ``setuptools<69.3`` in ``pyproject.toml`` has been removed. + This pin was to prevent a sudden change to :pep:`625` in setuptools from + taking place which changes the file name of SQLAlchemy's source + distribution on pypi to be an all lower case name, and the change was + extended to all SQLAlchemy projects to prevent any further surprises. + However, the presence of this pin is now holding back environments that + otherwise want to use a newer setuptools, so we've decided to move forward + with this change, with the assumption that build environments will have + largely accommodated the setuptools change by now. + + + .. changelog:: :version: 1.13.2 diff --git a/docs/build/conf.py b/docs/build/conf.py index 549b6dd6..915c690c 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.13.2" -release_date = "June 26, 2024" +release = "1.13.3" +release_date = "September 23, 2024" # The language for content autogenerated by Sphinx. Refer to documentation diff --git a/docs/build/unreleased/1446.rst b/docs/build/unreleased/1446.rst deleted file mode 100644 index fb54481c..00000000 --- a/docs/build/unreleased/1446.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: usecase, autogenerate - - Render ``if_exists`` and ``if_not_exists`` parameters in - :class:`.CreateTableOp`, :class:`.CreateIndexOp`, :class:`.DropTableOp` and - :class:`.DropIndexOp` in an autogenerate context. While Alembic does not - set these parameters during an autogenerate run, they can be enabled using - a custom :class:`.Rewriter` in the ``env.py`` file, where they will now be - part of the rendered Python code in revision files. Pull request courtesy - of Louis-Amaury Chaib (@lachaib). diff --git a/docs/build/unreleased/1509.rst b/docs/build/unreleased/1509.rst deleted file mode 100644 index ce84dd07..00000000 --- a/docs/build/unreleased/1509.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. change:: - :tags: usecase, environment - :tickets: 1509 - - Enhance ``version_locations`` parsing to handle paths containing newlines. diff --git a/docs/build/unreleased/1520.rst b/docs/build/unreleased/1520.rst deleted file mode 100644 index 4a0b763b..00000000 --- a/docs/build/unreleased/1520.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: usecase, operations - :tickets: 1520 - - Added support for :paramref:`.Operations.create_table.if_not_exists` and - :paramref:`.Operations.drop_table.if_exists`, adding similar functionality - to render IF [NOT] EXISTS for table operations in a similar way as with - indexes. Pull request courtesy Aaron Griffin. - diff --git a/docs/build/unreleased/unpin_setuptools.rst b/docs/build/unreleased/unpin_setuptools.rst deleted file mode 100644 index a0e0766f..00000000 --- a/docs/build/unreleased/unpin_setuptools.rst +++ /dev/null @@ -1,15 +0,0 @@ -.. change:: - :tags: change, general - - The pin for ``setuptools<69.3`` in ``pyproject.toml`` has been removed. - This pin was to prevent a sudden change to :pep:`625` in setuptools from - taking place which changes the file name of SQLAlchemy's source - distribution on pypi to be an all lower case name, and the change was - extended to all SQLAlchemy projects to prevent any further surprises. - However, the presence of this pin is now holding back environments that - otherwise want to use a newer setuptools, so we've decided to move forward - with this change, with the assumption that build environments will have - largely accommodated the setuptools change by now. - - -