summaryrefslogtreecommitdiff
path: root/doc/build
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-04-30 13:56:33 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2023-04-30 14:53:08 -0400
commit56443acb89e531b3695de669c76297e4a5568fc1 (patch)
tree83a9307f7d051de9a03c8a5a83c3735639f80af9 /doc/build
parent39c8e95b1f50190ff30a836b2bcf13ba2cacc052 (diff)
downloadsqlalchemy-56443acb89e531b3695de669c76297e4a5568fc1.tar.gz
do not allow non-cache-key entity objects in annotations
Fixed critical caching issue where combination of :func:`_orm.aliased()` :func:`_sql.case` and :func:`_hybrid.hybrid_property` expressions would cause a cache key mismatch, leading to cache keys that held onto the actual :func:`_orm.aliased` object while also not matching each other, filling up the cache. Fixes: #9728 Change-Id: I700645b5629a81a0104cf923db72a7421fa43ff4
Diffstat (limited to 'doc/build')
-rw-r--r--doc/build/changelog/unreleased_14/9728.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_14/9728.rst b/doc/build/changelog/unreleased_14/9728.rst
new file mode 100644
index 000000000..a8bced33b
--- /dev/null
+++ b/doc/build/changelog/unreleased_14/9728.rst
@@ -0,0 +1,10 @@
+.. change::
+ :tags: bug, orm
+ :tickets: 9728
+ :versions: 2.0.12
+
+ Fixed critical caching issue where combination of :func:`_orm.aliased()`
+ :func:`_sql.case` and :func:`_hybrid.hybrid_property` expressions would
+ cause a cache key mismatch, leading to cache keys that held onto the actual
+ :func:`_orm.aliased` object while also not matching each other, filling up
+ the cache.