From 8bb93a0352e01258131ad8c9945ee500c3bc55cb Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 1 Dec 2023 10:24:04 -0500 Subject: [PATCH] - 1.13.0 --- docs/build/changelog.rst | 58 +++++++++++++++++++++- docs/build/conf.py | 4 +- docs/build/unreleased/1234.rst | 8 --- docs/build/unreleased/1323.rst | 8 --- docs/build/unreleased/1339.rst | 9 ---- docs/build/unreleased/1359.rst | 5 -- docs/build/unreleased/1361.rst | 8 --- docs/build/unreleased/more_index_fixes.rst | 12 ----- 8 files changed, 59 insertions(+), 53 deletions(-) delete mode 100644 docs/build/unreleased/1234.rst delete mode 100644 docs/build/unreleased/1323.rst delete mode 100644 docs/build/unreleased/1339.rst delete mode 100644 docs/build/unreleased/1359.rst delete mode 100644 docs/build/unreleased/1361.rst delete mode 100644 docs/build/unreleased/more_index_fixes.rst diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index c41901c6..1d89830c 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -5,7 +5,63 @@ Changelog .. changelog:: :version: 1.13.0 - :include_notes_from: unreleased + :released: December 1, 2023 + + .. change:: + :tags: bug, commands + :tickets: 1234 + + Fixed issue where the ``alembic check`` command did not function correctly + with upgrade structures that have multiple, top-level elements, as are + generated from the "multi-env" environment template. Pull request courtesy + Neil Williams. + + .. change:: + :tags: usecase, operations + :tickets: 1323 + + Updated logic introduced in :ticket:`151` to allow ``if_exists`` and + ``if_not_exists`` on index operations also on SQLAlchemy + 1.4 series. Previously this feature was mistakenly requiring + the 2.0 series. + + .. change:: + :tags: usecase + :tickets: 1339 + + Replaced ``python-dateutil`` with the standard library module + `zoneinfo `_. + This module was added in Python 3.9, so previous version will been + to install the backport of it, available by installing the ``backports.zoneinfo`` + library. The ``alembic[tz]`` option has been updated accordingly. + + .. change:: + :tags: installation, changed + :tickets: 1359 + + Alembic 1.13 now supports Python 3.8 and above. + + .. change:: + :tags: bug, autogenerate + :tickets: 1361 + + Fixed autogenerate issue where ``create_table_comment()`` and + ``drop_table_comment()`` rendering in a batch table modify would include + the "table" and "schema" arguments, which are not accepted in batch as + these are already part of the top level block. + + .. change:: + :tags: bug, postgresql + :tickets: 1321, 1327, 1356 + + Additional fixes to PostgreSQL expression index compare feature. + The compare now correctly accommodates casts and differences in + spacing. + Added detection logic for operation clauses inside the expression, + skipping the compare of these expressions. + To accommodate these changes the logic for the comparison of the + indexes and unique constraints was moved to the dialect + implementation, allowing greater flexibility. .. changelog:: :version: 1.12.1 diff --git a/docs/build/conf.py b/docs/build/conf.py index e4d34785..43f1f78d 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.1" -release_date = "October 26, 2023" +release = "1.13.0" +release_date = "December 1, 2023" # The language for content autogenerated by Sphinx. Refer to documentation diff --git a/docs/build/unreleased/1234.rst b/docs/build/unreleased/1234.rst deleted file mode 100644 index 4df00787..00000000 --- a/docs/build/unreleased/1234.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, commands - :tickets: 1234 - - Fixed issue where the ``alembic check`` command did not function correctly - with upgrade structures that have multiple, top-level elements, as are - generated from the "multi-env" environment template. Pull request courtesy - Neil Williams. diff --git a/docs/build/unreleased/1323.rst b/docs/build/unreleased/1323.rst deleted file mode 100644 index 0acb202c..00000000 --- a/docs/build/unreleased/1323.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: usecase, operations - :tickets: 1323 - - Updated logic introduced in :ticket:`151` to allow ``if_exists`` and - ``if_not_exists`` on index operations also on SQLAlchemy - 1.4 series. Previously this feature was mistakenly requiring - the 2.0 series. diff --git a/docs/build/unreleased/1339.rst b/docs/build/unreleased/1339.rst deleted file mode 100644 index 5bd538c1..00000000 --- a/docs/build/unreleased/1339.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: usecase - :tickets: 1339 - - Replaced ``python-dateutil`` with the standard library module - `zoneinfo `_. - This module was added in Python 3.9, so previous version will been - to install the backport of it, available by installing the ``backports.zoneinfo`` - library. The ``alembic[tz]`` option has been updated accordingly. diff --git a/docs/build/unreleased/1359.rst b/docs/build/unreleased/1359.rst deleted file mode 100644 index 7e5340d0..00000000 --- a/docs/build/unreleased/1359.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. change:: - :tags: installation, changed - :tickets: 1359 - - Alembic 1.13 now supports Python 3.8 and above. diff --git a/docs/build/unreleased/1361.rst b/docs/build/unreleased/1361.rst deleted file mode 100644 index e744dad5..00000000 --- a/docs/build/unreleased/1361.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, autogenerate - :tickets: 1361 - - Fixed autogenerate issue where ``create_table_comment()`` and - ``drop_table_comment()`` rendering in a batch table modify would include - the "table" and "schema" arguments, which are not accepted in batch as - these are already part of the top level block. diff --git a/docs/build/unreleased/more_index_fixes.rst b/docs/build/unreleased/more_index_fixes.rst deleted file mode 100644 index 4645c9cd..00000000 --- a/docs/build/unreleased/more_index_fixes.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. change:: - :tags: bug, postgresql - :tickets: 1321, 1327, 1356 - - Additional fixes to PostgreSQL expression index compare feature. - The compare now correctly accommodates casts and differences in - spacing. - Added detection logic for operation clauses inside the expression, - skipping the compare of these expressions. - To accommodate these changes the logic for the comparison of the - indexes and unique constraints was moved to the dialect - implementation, allowing greater flexibility.