]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
add missing changelog for #8569
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 24 Sep 2022 15:16:16 +0000 (11:16 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 24 Sep 2022 15:16:16 +0000 (11:16 -0400)
Missed this in 57b400f07951f0ae8651ca383.  have no idea how.

Fixes: #8569
Change-Id: I4cec98d8c963930ef822bfd53d8a60a20be02894

doc/build/changelog/unreleased_14/8569.rst [new file with mode: 0644]

diff --git a/doc/build/changelog/unreleased_14/8569.rst b/doc/build/changelog/unreleased_14/8569.rst
new file mode 100644 (file)
index 0000000..fc3b3f7
--- /dev/null
@@ -0,0 +1,13 @@
+.. change::
+    :tags: orm, bug, regression
+    :tickets: 8569
+
+    Fixed regression for 1.4 in :func:`_orm.contains_eager` where the "wrap in
+    subquery" logic of :func:`_orm.joinedload` would be inadvertently triggered
+    for use of the :func:`_orm.contains_eager` function with similar statements
+    (e.g. those that use ``distinct()``, ``limit()`` or ``offset()``), which
+    would then lead to secondary issues with queries that used some
+    combinations of SQL label names and aliasing. This "wrapping" is not
+    appropriate for :func:`_orm.contains_eager` which has always had the
+    contract that the user-defined SQL statement is unmodified with the
+    exception of adding the appropriate columns to be fetched.
\ No newline at end of file