Skip to content

release v0.34.4 - #200

Merged
Sevenannn merged 2 commits into
mainfrom
release/0.34.4
Aug 7, 2026
Merged

release v0.34.4#200
Sevenannn merged 2 commits into
mainfrom
release/0.34.4

Conversation

@Sevenannn

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • CI passes

Comment thread CHANGELOG.md Outdated
- Fix filter model cache serving the wrong object's collection for callable filters over to-many relations (forward `GenericRelation`, `ManyToManyField`, or reverse FK). Such fields were mistaken for scalar foreign keys and cached by a key derived from a transient related manager's memory address; after garbage collection that address could be reused by another owner's manager, forging a cache hit and returning the wrong collection. To-many relations now fall back to the per-instance cache key.

# [0.34.4]
- [PR 197](https://github.com/salesforce/django-declarative-apis/pull/197) Fix filter model cache serving the wrong object's collection for callable filters over to-many relations (forward `GenericRelation`, `ManyToManyField`, or reverse FK). Such fields were mistaken for scalar foreign keys and cached by a key derived from a transient related manager's memory address; after garbage collection that address could be reused by another owner's manager, forging a cache hit and returning the wrong collection. To-many relations now fall back to the per-instance cache key.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Long CHANGELOG entry! We usually keep the changelog entries short and link to the PR (which hopefully has a good description).

Not a blocking issue.

bgrant
bgrant previously approved these changes Aug 7, 2026

@bgrant bgrant left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nitpick, but approved! Thanks.

@Sevenannn
Sevenannn merged commit 3af586f into main Aug 7, 2026
8 checks passed
@Sevenannn
Sevenannn deleted the release/0.34.4 branch August 7, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants