summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-08-19 12:30:35 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-08-19 12:30:35 -0400
commitf55ae66f70d6b28fbccd75ac9089f11e951c4c39 (patch)
treedacf78a6c1f1a59614f9ad226a6071319abe830d
parente7b2055866f315a77e1e19a832a5afdae90bfd9f (diff)
downloadsqlalchemy-f55ae66f70d6b28fbccd75ac9089f11e951c4c39.tar.gz
add missing abstract concrete base changelog
Was missing from commit d0abdbe247dc82db51aa0af3d31b0510 Fixes: #8403 Change-Id: Ic4d9116236072ce495b5bef2671515a24d04eca2
-rw-r--r--doc/build/changelog/unreleased_20/8403.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_20/8403.rst b/doc/build/changelog/unreleased_20/8403.rst
new file mode 100644
index 000000000..f7d2b6550
--- /dev/null
+++ b/doc/build/changelog/unreleased_20/8403.rst
@@ -0,0 +1,16 @@
+.. change::
+ :tags: bug, orm
+ :tickets: 8403
+
+ Added new parameter :paramref:`.AbstractConcreteBase.strict_attrs` to the
+ :class:`.AbstractConcreteBase` declarative mixin class. The effect of this
+ parameter is that the scope of attributes on subclasses is correctly
+ limited to the subclass in which each attribute is declared, rather than
+ the previous behavior where all attributes of the entire hierarchy are
+ applied to the base "abstract" class. This produces a cleaner, more correct
+ mapping where subclasses no longer have non-useful attributes on them which
+ are only relevant to sibling classes. The default for this parameter is
+ False, which leaves the previous behavior unchanged; this is to support
+ existing code that makes explicit use of these attributes in queries.
+ To migrate to the newer approach, apply explicit attributes to the abstract
+ base class as needed. \ No newline at end of file