]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
changelog updates
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 29 Apr 2021 13:18:15 +0000 (09:18 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 29 Apr 2021 13:26:37 +0000 (09:26 -0400)
Change-Id: I43d6373f00d55599bc11f01a2ed8f644c4477dd5

doc/build/changelog/unreleased_14/6346.rst
doc/build/changelog/unreleased_14/6350.rst
doc/build/changelog/unreleased_14/6360.rst
doc/build/changelog/unreleased_14/6386.rst

index 4ca26b749298db2163793934fc8f5a5ea133268e..b1813d9240c6a486c6d6f398209df71f11ddbfac 100644 (file)
@@ -2,11 +2,11 @@
     :tags: bug, orm, dataclasses
     :tickets: 6346
 
-      Adjusted the declarative scan for dataclasses so that the inheritance
-      behavior of :func:`_orm.declared_attr` established on a mixin, when using
-      the new form of having it inside of a ``dataclasses.field()`` construct and
-      not actually a descriptor attribute on the class, correctly accommodates
-      the case when the target class to be mapped is a subclass of an existing
-      mapped class which has already mapped that :func:`_orm.declared_attr`, and
-      therefore should not be re-applied to this class.
+    Adjusted the declarative scan for dataclasses so that the inheritance
+    behavior of :func:`_orm.declared_attr` established on a mixin, when using
+    the new form of having it inside of a ``dataclasses.field()`` construct and
+    not actually a descriptor attribute on the class, correctly accommodates
+    the case when the target class to be mapped is a subclass of an existing
+    mapped class which has already mapped that :func:`_orm.declared_attr`, and
+    therefore should not be re-applied to this class.
 
index c2a911b7a7d1a96f3560f0943ccf66cdc225ff1d..7abb2bacbd11eeb9b63381cb639044ef7bfa5085 100644 (file)
@@ -2,13 +2,14 @@
     :tags: bug, orm
     :tickets: 6350
 
-    Fixed two distinct issues, each of which would come into play under certain
-    circumstances, most likely however one which is a common mis-configuration
-    in :class:`_hybrid.hybrid_property`, where the "expression" implementation
-    would return a non :class:`_sql.ClauseElement` such as a boolean value.
-    For both issues, 1.3's behavior was to silently ignore the
-    mis-configuration and ultimately attempt to interpret the value as a
-    SQL expression, which would lead to an incorrect query.
+    Fixed two distinct issues mostly affecting
+    :class:`_hybrid.hybrid_property`, which would come into play under common
+    mis-configuration scenarios that were silently ignored in 1.3, and now
+    failed in 1.4, where the "expression" implementation would return a non
+    :class:`_sql.ClauseElement` such as a boolean value. For both issues, 1.3's
+    behavior was to silently ignore the mis-configuration and ultimately
+    attempt to interpret the value as a SQL expression, which would lead to an
+    incorrect query.
 
     * Fixed issue regarding interaction of the attribute system with
       hybrid_property, where if the ``__clause_element__()`` method of the
index 880a799c3f03f20a978f0d945a9d467951167f3d..cfc4b3875c2214eb9e24d79480fc1c53d259cc8a 100644 (file)
@@ -2,9 +2,9 @@
     :tags: bug, orm, regression
     :tickets: 6360, 6359
 
-    Fixed issue where the new :ref:`session_autobegin` behavior failed to
-    "autobegin" in the case where an existing persistent object has an
-    attribute change, which would then impact the behavior of
+    Fixed issue where the new :ref:`autobegin <session_autobegin>` behavior
+    failed to "autobegin" in the case where an existing persistent object has
+    an attribute change, which would then impact the behavior of
     :meth:`_orm.Session.rollback` in that no snapshot was created to be rolled
     back. The "attribute modify" mechanics have been updated to ensure
     "autobegin", which does not perform any database work, does occur when
index d61a2cc4828d27202abe98f918d22c5844e5b534..ff4ad6192c33fe2fd0d1b11e81b8aff6ccd5c375 100644 (file)
@@ -1,5 +1,5 @@
 .. change::
-    :tags: ext, bug, regression
+    :tags: orm, bug, regression
     :tickets: 6386
 
     Fixed regression in ORM where using hybrid property to indicate an