From: Mike Bayer Date: Wed, 31 Mar 2021 00:14:28 +0000 (-0400) Subject: - 1.4.4 X-Git-Tag: rel_1_4_4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e61f6067022fdf04521f8493c6b2ceba7fcc74;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - 1.4.4 --- diff --git a/doc/build/changelog/changelog_14.rst b/doc/build/changelog/changelog_14.rst index 93464e9f39..b01fa8a43a 100644 --- a/doc/build/changelog/changelog_14.rst +++ b/doc/build/changelog/changelog_14.rst @@ -15,7 +15,68 @@ This document details individual issue-level changes made throughout .. changelog:: :version: 1.4.4 - :include_notes_from: unreleased_14 + :released: March 30, 2021 + + .. change:: + :tags: bug, misc + + Adjusted the usage of the ``importlib_metadata`` library for loading + setuptools entrypoints in order to accommodate for some deprecation + changes. + + + .. change:: + :tags: bug, postgresql + :tickets: 6099 + + Modified the ``is_disconnect()`` handler for the pg8000 dialect, which now + accommodates for a new ``InterfaceError`` emitted by pg8000 1.19.0. Pull + request courtesy Hamdi Burak Usul. + + + .. change:: + :tags: bug, orm + :tickets: 6139 + + Fixed critical issue in the new :meth:`_orm.PropComparator.and_` feature + where loader strategies that emit secondary SELECT statements such as + :func:`_orm.selectinload` and :func:`_orm.lazyload` would fail to + accommodate for bound parameters in the user-defined criteria in terms of + the current statement being executed, as opposed to the cached statement, + causing stale bound values to be used. + + This also adds a warning for the case where an object that uses + :func:`_orm.lazyload` in conjunction with :meth:`_orm.PropComparator.and_` + is attempted to be serialized; the loader criteria cannot reliably + be serialized and deserialized and eager loading should be used for this + case. + + + .. change:: + :tags: bug, engine + :tickets: 6138 + + Repair wrong arguments to exception handling method + in CursorResult. + + .. change:: + :tags: bug, regression, orm + :tickets: 6144 + + Fixed missing method :meth:`_orm.Session.get` from the + :class:`_orm.ScopedSession` interface. + + + .. change:: + :tags: usecase, engine + :tickets: 6155 + + Modified the context manager used by :class:`_engine.Transaction` so that + an "already detached" warning is not emitted by the ending of the context + manager itself, if the transaction were already manually rolled back inside + the block. This applies to regular transactions, savepoint transactions, + and legacy "marker" transactions. A warning is still emitted if the + ``.rollback()`` method is called explicitly more than once. .. changelog:: :version: 1.4.3 diff --git a/doc/build/changelog/unreleased_14/6099.rst b/doc/build/changelog/unreleased_14/6099.rst deleted file mode 100644 index 5e715b9c57..0000000000 --- a/doc/build/changelog/unreleased_14/6099.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, postgresql - :tickets: 6099 - - Modified the ``is_disconnect()`` handler for the pg8000 dialect, which now - accommodates for a new ``InterfaceError`` emitted by pg8000 1.19.0. Pull - request courtesy Hamdi Burak Usul. - diff --git a/doc/build/changelog/unreleased_14/6138.rst b/doc/build/changelog/unreleased_14/6138.rst deleted file mode 100644 index 4b288cf07f..0000000000 --- a/doc/build/changelog/unreleased_14/6138.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. change:: - :tags: bug, engine - :tickets: 6138 - - Repair wrong arguments to exception handling method - in CursorResult. diff --git a/doc/build/changelog/unreleased_14/6139.rst b/doc/build/changelog/unreleased_14/6139.rst deleted file mode 100644 index f8df8b87f1..0000000000 --- a/doc/build/changelog/unreleased_14/6139.rst +++ /dev/null @@ -1,17 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 6139 - - Fixed critical issue in the new :meth:`_orm.PropComparator.and_` feature - where loader strategies that emit secondary SELECT statements such as - :func:`_orm.selectinload` and :func:`_orm.lazyload` would fail to - accommodate for bound parameters in the user-defined criteria in terms of - the current statement being executed, as opposed to the cached statement, - causing stale bound values to be used. - - This also adds a warning for the case where an object that uses - :func:`_orm.lazyload` in conjunction with :meth:`_orm.PropComparator.and_` - is attempted to be serialized; the loader criteria cannot reliably - be serialized and deserialized and eager loading should be used for this - case. - diff --git a/doc/build/changelog/unreleased_14/6144.rst b/doc/build/changelog/unreleased_14/6144.rst deleted file mode 100644 index 49f9e0da3d..0000000000 --- a/doc/build/changelog/unreleased_14/6144.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, regression, orm - :tickets: 6144 - - Fixed missing method :meth:`_orm.Session.get` from the - :class:`_orm.ScopedSession` interface. - diff --git a/doc/build/changelog/unreleased_14/6155.rst b/doc/build/changelog/unreleased_14/6155.rst deleted file mode 100644 index 9debc17a81..0000000000 --- a/doc/build/changelog/unreleased_14/6155.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: usecase, engine - :tickets: 6155 - - Modified the context manager used by :class:`_engine.Transaction` so that - an "already detached" warning is not emitted by the ending of the context - manager itself, if the transaction were already manually rolled back inside - the block. This applies to regular transactions, savepoint transactions, - and legacy "marker" transactions. A warning is still emitted if the - ``.rollback()`` method is called explicitly more than once. diff --git a/doc/build/changelog/unreleased_14/imp_met.rst b/doc/build/changelog/unreleased_14/imp_met.rst deleted file mode 100644 index 0663b64b4f..0000000000 --- a/doc/build/changelog/unreleased_14/imp_met.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, misc - - Adjusted the usage of the ``importlib_metadata`` library for loading - setuptools entrypoints in order to accommodate for some deprecation - changes. - diff --git a/doc/build/conf.py b/doc/build/conf.py index b253e07791..40a65613cc 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -195,9 +195,9 @@ copyright = u"2007-2021, 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.3" +release = "1.4.4" -release_date = "March 25, 2021" +release_date = "March 30, 2021" site_base = os.environ.get("RTD_SITE_BASE", "http://www.sqlalchemy.org") site_adapter_template = "docs_adapter.mako"