From: Mike Bayer Date: Thu, 25 Jun 2026 15:19:59 +0000 (-0400) Subject: - 1.18.5 X-Git-Tag: rel_1_18_5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=013b68a4c8e0711d0bf999683b5e72ad8332e853;p=thirdparty%2Fsqlalchemy%2Falembic.git - 1.18.5 --- diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index 4c89e394..d2e55027 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -5,7 +5,61 @@ Changelog .. changelog:: :version: 1.18.5 - :include_notes_from: unreleased + :released: June 25, 2026 + + .. change:: + :tags: bug, autogenerate + :tickets: 1258 + + Fixed rendering of dialect keyword arguments containing + :class:`~sqlalchemy.schema.Column` objects within sequences, such as + ``postgresql_include``. These were previously rendered using ``repr()``, + producing invalid Python in the generated migration scripts. Column + objects within list or tuple values are now correctly rendered as their + string column names. Pull request courtesy Ajay Singh. + + .. change:: + :tags: usecase, commands + :tickets: 1712 + + Added ``--splice`` support to the :func:`.merge` command. Previously, the + merge command would suggest using ``--splice`` when attempting to merge + non-head revisions, but the flag was not actually accepted by the command. + The ``splice`` parameter is now available in both the command-line + interface and the :func:`.command.merge` function, matching the existing + support in :func:`.command.revision`. Pull request courtesy Kadir Can + Ozden. + + .. change:: + :tags: bug, mysql + :tickets: 779, 1745 + + Implemented type comparison for :class:`.ENUM` datatypes on MySQL, which + checks that the individual enum values are equivalent. If additional + entries are on either side, this generates a diff. Changes of order do not + generate a diff. Pull request courtesy Furkan Köykıran. + + + .. change:: + :tags: usecase, environment + :tickets: 1806 + + Added :paramref:`.ScriptDirectory.get_heads.consider_depends_on` + parameter to :meth:`.ScriptDirectory.get_heads`. When set to ``True``, + head revisions that are also a dependency of another revision via + ``depends_on`` are excluded from the result, matching the effective + heads that would be present in the ``alembic_version`` table after + running all upgrades. + + .. change:: + :tags: bug, operations + :tickets: 1820 + + Fixed bug where the ``inline_references`` parameter of + :meth:`.Operations.add_column` did not include foreign key referential + actions such as ``ON DELETE``, ``ON UPDATE``, ``DEFERRABLE``, + ``INITIALLY``, and ``MATCH`` when rendering the inline ``REFERENCES`` + clause. .. changelog:: :version: 1.18.4 diff --git a/docs/build/conf.py b/docs/build/conf.py index 127a5ec7..e0658445 100644 --- a/docs/build/conf.py +++ b/docs/build/conf.py @@ -101,8 +101,8 @@ author = "Mike Bayer" # The short X.Y version. version = alembic.__version__ # The full version, including alpha/beta/rc tags. -release = "1.18.4" -release_date = "February 10, 2026" +release = "1.18.5" +release_date = "June 25, 2026" # The language for content autogenerated by Sphinx. Refer to documentation diff --git a/docs/build/unreleased/1258.rst b/docs/build/unreleased/1258.rst deleted file mode 100644 index ad73a656..00000000 --- a/docs/build/unreleased/1258.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, autogenerate - :tickets: 1258 - - Fixed rendering of dialect keyword arguments containing - :class:`~sqlalchemy.schema.Column` objects within sequences, such as - ``postgresql_include``. These were previously rendered using ``repr()``, - producing invalid Python in the generated migration scripts. Column - objects within list or tuple values are now correctly rendered as their - string column names. Pull request courtesy Ajay Singh. diff --git a/docs/build/unreleased/1712.rst b/docs/build/unreleased/1712.rst deleted file mode 100644 index e724f960..00000000 --- a/docs/build/unreleased/1712.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. change:: - :tags: usecase, commands - :tickets: 1712 - - Added ``--splice`` support to the :func:`.merge` command. Previously, the - merge command would suggest using ``--splice`` when attempting to merge - non-head revisions, but the flag was not actually accepted by the command. - The ``splice`` parameter is now available in both the command-line - interface and the :func:`.command.merge` function, matching the existing - support in :func:`.command.revision`. Pull request courtesy Kadir Can - Ozden. diff --git a/docs/build/unreleased/1745.rst b/docs/build/unreleased/1745.rst deleted file mode 100644 index 7d86ba9c..00000000 --- a/docs/build/unreleased/1745.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, mysql - :tickets: 779, 1745 - - Implemented type comparison for :class:`.ENUM` datatypes on MySQL, which - checks that the individual enum values are equivalent. If additional - entries are on either side, this generates a diff. Changes of order do not - generate a diff. Pull request courtesy Furkan Köykıran. - diff --git a/docs/build/unreleased/1806.rst b/docs/build/unreleased/1806.rst deleted file mode 100644 index df04d211..00000000 --- a/docs/build/unreleased/1806.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: usecase, environment - :tickets: 1806 - - Added :paramref:`.ScriptDirectory.get_heads.consider_depends_on` - parameter to :meth:`.ScriptDirectory.get_heads`. When set to ``True``, - head revisions that are also a dependency of another revision via - ``depends_on`` are excluded from the result, matching the effective - heads that would be present in the ``alembic_version`` table after - running all upgrades. diff --git a/docs/build/unreleased/1820.rst b/docs/build/unreleased/1820.rst deleted file mode 100644 index f8f07913..00000000 --- a/docs/build/unreleased/1820.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, operations - :tickets: 1820 - - Fixed bug where the ``inline_references`` parameter of - :meth:`.Operations.add_column` did not include foreign key referential - actions such as ``ON DELETE``, ``ON UPDATE``, ``DEFERRABLE``, - ``INITIALLY``, and ``MATCH`` when rendering the inline ``REFERENCES`` - clause.