summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-04-29 09:18:15 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-04-29 09:26:37 -0400
commit9e3ef9bcf0a41bfacc4e6e836a45ed4d89c7c0fe (patch)
tree6d9ae13ebd711c5e55500f88ac16a95f40da415c
parent93c8f1df8bb68820624559506f6713a16a9e2250 (diff)
downloadsqlalchemy-9e3ef9bcf0a41bfacc4e6e836a45ed4d89c7c0fe.tar.gz
changelog updates
Change-Id: I43d6373f00d55599bc11f01a2ed8f644c4477dd5
-rw-r--r--doc/build/changelog/unreleased_14/6346.rst14
-rw-r--r--doc/build/changelog/unreleased_14/6350.rst15
-rw-r--r--doc/build/changelog/unreleased_14/6360.rst6
-rw-r--r--doc/build/changelog/unreleased_14/6386.rst2
4 files changed, 19 insertions, 18 deletions
diff --git a/doc/build/changelog/unreleased_14/6346.rst b/doc/build/changelog/unreleased_14/6346.rst
index 4ca26b749..b1813d924 100644
--- a/doc/build/changelog/unreleased_14/6346.rst
+++ b/doc/build/changelog/unreleased_14/6346.rst
@@ -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.
diff --git a/doc/build/changelog/unreleased_14/6350.rst b/doc/build/changelog/unreleased_14/6350.rst
index c2a911b7a..7abb2bacb 100644
--- a/doc/build/changelog/unreleased_14/6350.rst
+++ b/doc/build/changelog/unreleased_14/6350.rst
@@ -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
diff --git a/doc/build/changelog/unreleased_14/6360.rst b/doc/build/changelog/unreleased_14/6360.rst
index 880a799c3..cfc4b3875 100644
--- a/doc/build/changelog/unreleased_14/6360.rst
+++ b/doc/build/changelog/unreleased_14/6360.rst
@@ -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
diff --git a/doc/build/changelog/unreleased_14/6386.rst b/doc/build/changelog/unreleased_14/6386.rst
index d61a2cc48..ff4ad6192 100644
--- a/doc/build/changelog/unreleased_14/6386.rst
+++ b/doc/build/changelog/unreleased_14/6386.rst
@@ -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