From 257a65d755a0dac4513bb6a35d279b05ceb7e079 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 29 Jul 2024 12:18:22 -0400 Subject: [PATCH] - 1.4.53 --- doc/build/changelog/changelog_14.rst | 97 ++++++++++++++++++- doc/build/changelog/unreleased_14/11417.rst | 12 --- doc/build/changelog/unreleased_14/11471.rst | 8 -- doc/build/changelog/unreleased_14/11499.rst | 6 -- doc/build/changelog/unreleased_14/11514.rst | 9 -- doc/build/changelog/unreleased_14/11544.rst | 10 -- doc/build/changelog/unreleased_14/11562.rst | 9 -- doc/build/changelog/unreleased_14/11582.rst | 7 -- .../unreleased_14/greenlet_compat.rst | 11 --- .../changelog/unreleased_14/mypy1110.rst | 14 --- doc/build/conf.py | 4 +- 11 files changed, 98 insertions(+), 89 deletions(-) delete mode 100644 doc/build/changelog/unreleased_14/11417.rst delete mode 100644 doc/build/changelog/unreleased_14/11471.rst delete mode 100644 doc/build/changelog/unreleased_14/11499.rst delete mode 100644 doc/build/changelog/unreleased_14/11514.rst delete mode 100644 doc/build/changelog/unreleased_14/11544.rst delete mode 100644 doc/build/changelog/unreleased_14/11562.rst delete mode 100644 doc/build/changelog/unreleased_14/11582.rst delete mode 100644 doc/build/changelog/unreleased_14/greenlet_compat.rst delete mode 100644 doc/build/changelog/unreleased_14/mypy1110.rst diff --git a/doc/build/changelog/changelog_14.rst b/doc/build/changelog/changelog_14.rst index 01572e55c8..8532d76967 100644 --- a/doc/build/changelog/changelog_14.rst +++ b/doc/build/changelog/changelog_14.rst @@ -15,7 +15,102 @@ This document details individual issue-level changes made throughout .. changelog:: :version: 1.4.53 - :include_notes_from: unreleased_14 + :released: July 29, 2024 + + .. change:: + :tags: bug, general + :tickets: 11417 + :versions: 2.0.31 + + Set up full Python 3.13 support to the extent currently possible, repairing + issues within internal language helpers as well as the serializer extension + module. + + For version 1.4, this also modernizes the "extras" names in setup.cfg + to use dashes and not underscores for two-word names. Underscore names + are still present to accommodate potential compatibility issues. + + .. change:: + :tags: bug, sql + :tickets: 11471 + :versions: 2.0.31 + + Fixed caching issue where using the :meth:`.TextualSelect.add_cte` method + of the :class:`.TextualSelect` construct would not set a correct cache key + which distinguished between different CTE expressions. + + .. change:: + :tags: bug, engine + :tickets: 11499 + + Adjustments to the C extensions, which are specific to the SQLAlchemy 1.x + series, to work under Python 3.13. Pull request courtesy Ben Beasley. + + .. change:: + :tags: bug, mssql + :tickets: 11514 + :versions: 2.0.32 + + Fixed issue where SQL Server drivers don't support bound parameters when + rendering the "frame specification" for a window function, e.g. "ROWS + BETWEEN", etc. + + + .. change:: + :tags: bug, sql + :tickets: 11544 + :versions: 2.0 + + Fixed caching issue where the + :paramref:`_sql.Select.with_for_update.key_share` element of + :meth:`_sql.Select.with_for_update` was not considered as part of the cache + key, leading to incorrect caching if different variations of this parameter + were used with an otherwise identical statement. + + .. change:: + :tags: bug, orm, regression + :tickets: 11562 + :versions: 2.0.32 + + Fixed regression going back to 1.4 where accessing a collection using the + "dynamic" strategy on a transient object and attempting to query would + raise an internal error rather than the expected :class:`.NoResultFound` + that occurred in 1.3. + + .. change:: + :tags: bug, reflection, sqlite + :tickets: 11582 + :versions: 2.0.32 + + Fixed reflection of computed column in SQLite to properly account + for complex expressions. + + .. change:: + :tags: usecase, engine + :versions: 2.0.31 + + Modified the internal representation used for adapting asyncio calls to + greenlets to allow for duck-typed compatibility with third party libraries + that implement SQLAlchemy's "greenlet-to-asyncio" pattern directly. + Running code within a greenlet that features the attribute + ``__sqlalchemy_greenlet_provider__ = True`` will allow calls to + :func:`sqlalchemy.util.await_only` directly. + + + .. change:: + :tags: bug, mypy + :versions: 2.0.32 + + The deprecated mypy plugin is no longer fully functional with the latest + series of mypy 1.11.0, as changes in the mypy interpreter are no longer + compatible with the approach used by the plugin. If code is dependent on + the mypy plugin with sqlalchemy2-stubs, it's recommended to pin mypy to be + below the 1.11.0 series. Seek upgrading to the 2.0 series of SQLAlchemy + and migrating to the modern type annotations. + + .. seealso:: + + :ref:`mypy_toplevel` .. changelog:: :version: 1.4.52 diff --git a/doc/build/changelog/unreleased_14/11417.rst b/doc/build/changelog/unreleased_14/11417.rst deleted file mode 100644 index b37af43e3d..0000000000 --- a/doc/build/changelog/unreleased_14/11417.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. change:: - :tags: bug, general - :tickets: 11417 - :versions: 2.0.31 - - Set up full Python 3.13 support to the extent currently possible, repairing - issues within internal language helpers as well as the serializer extension - module. - - For version 1.4, this also modernizes the "extras" names in setup.cfg - to use dashes and not underscores for two-word names. Underscore names - are still present to accommodate potential compatibility issues. diff --git a/doc/build/changelog/unreleased_14/11471.rst b/doc/build/changelog/unreleased_14/11471.rst deleted file mode 100644 index 47fda83757..0000000000 --- a/doc/build/changelog/unreleased_14/11471.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, sql - :tickets: 11471 - :versions: 2.0.31 - - Fixed caching issue where using the :meth:`.TextualSelect.add_cte` method - of the :class:`.TextualSelect` construct would not set a correct cache key - which distinguished between different CTE expressions. diff --git a/doc/build/changelog/unreleased_14/11499.rst b/doc/build/changelog/unreleased_14/11499.rst deleted file mode 100644 index e03062c191..0000000000 --- a/doc/build/changelog/unreleased_14/11499.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. change:: - :tags: bug, engine - :tickets: 11499 - - Adjustments to the C extensions, which are specific to the SQLAlchemy 1.x - series, to work under Python 3.13. Pull request courtesy Ben Beasley. diff --git a/doc/build/changelog/unreleased_14/11514.rst b/doc/build/changelog/unreleased_14/11514.rst deleted file mode 100644 index 145f87f438..0000000000 --- a/doc/build/changelog/unreleased_14/11514.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, mssql - :tickets: 11514 - :versions: 2.0.32 - - Fixed issue where SQL Server drivers don't support bound parameters when - rendering the "frame specification" for a window function, e.g. "ROWS - BETWEEN", etc. - diff --git a/doc/build/changelog/unreleased_14/11544.rst b/doc/build/changelog/unreleased_14/11544.rst deleted file mode 100644 index 6bc3b9705f..0000000000 --- a/doc/build/changelog/unreleased_14/11544.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, sql - :tickets: 11544 - :versions: 2.0 - - Fixed caching issue where the - :paramref:`_sql.Select.with_for_update.key_share` element of - :meth:`_sql.Select.with_for_update` was not considered as part of the cache - key, leading to incorrect caching if different variations of this parameter - were used with an otherwise identical statement. diff --git a/doc/build/changelog/unreleased_14/11562.rst b/doc/build/changelog/unreleased_14/11562.rst deleted file mode 100644 index beaad36335..0000000000 --- a/doc/build/changelog/unreleased_14/11562.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, orm, regression - :tickets: 11562 - :versions: 2.0.32 - - Fixed regression going back to 1.4 where accessing a collection using the - "dynamic" strategy on a transient object and attempting to query would - raise an internal error rather than the expected :class:`.NoResultFound` - that occurred in 1.3. diff --git a/doc/build/changelog/unreleased_14/11582.rst b/doc/build/changelog/unreleased_14/11582.rst deleted file mode 100644 index 6a2009cbae..0000000000 --- a/doc/build/changelog/unreleased_14/11582.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, reflection, sqlite - :tickets: 11582 - :versions: 2.0.32 - - Fixed reflection of computed column in SQLite to properly account - for complex expressions. diff --git a/doc/build/changelog/unreleased_14/greenlet_compat.rst b/doc/build/changelog/unreleased_14/greenlet_compat.rst deleted file mode 100644 index 95ce98113d..0000000000 --- a/doc/build/changelog/unreleased_14/greenlet_compat.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. change:: - :tags: usecase, engine - :versions: 2.0.31 - - Modified the internal representation used for adapting asyncio calls to - greenlets to allow for duck-typed compatibility with third party libraries - that implement SQLAlchemy's "greenlet-to-asyncio" pattern directly. - Running code within a greenlet that features the attribute - ``__sqlalchemy_greenlet_provider__ = True`` will allow calls to - :func:`sqlalchemy.util.await_only` directly. - diff --git a/doc/build/changelog/unreleased_14/mypy1110.rst b/doc/build/changelog/unreleased_14/mypy1110.rst deleted file mode 100644 index 3f1fe05ce2..0000000000 --- a/doc/build/changelog/unreleased_14/mypy1110.rst +++ /dev/null @@ -1,14 +0,0 @@ -.. change:: - :tags: bug, mypy - :versions: 2.0.32 - - The deprecated mypy plugin is no longer fully functional with the latest - series of mypy 1.11.0, as changes in the mypy interpreter are no longer - compatible with the approach used by the plugin. If code is dependent on - the mypy plugin with sqlalchemy2-stubs, it's recommended to pin mypy to be - below the 1.11.0 series. Seek upgrading to the 2.0 series of SQLAlchemy - and migrating to the modern type annotations. - - .. seealso:: - - :ref:`mypy_toplevel` diff --git a/doc/build/conf.py b/doc/build/conf.py index 508116a560..4fe12c6a02 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -221,9 +221,9 @@ copyright = u"2007-2024, the SQLAlchemy authors and contributors" # noqa # The short X.Y version. version = "1.4" # The full version, including alpha/beta/rc tags. -release = "1.4.52" +release = "1.4.53" -release_date = "March 4, 2024" +release_date = "July 29, 2024" site_base = os.environ.get("RTD_SITE_BASE", "https://www.sqlalchemy.org") site_adapter_template = "docs_adapter.mako" -- 2.47.2