Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MONGOID-5744 prep for release of 8.0.8 #5796

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

jamis
Copy link
Contributor

@jamis jamis commented Feb 27, 2024

Proposed release announcement:

Mongoid 8.0.8

This patch release fixes two bugs:

MONGOID-5704: By default, associations (like belongs_to) are validated when a document is saved. However, Mongoid was aggressively loading persisted associations and validating them, which led to a significant performance regression in Mongoid 8+ (versus Mongoid 7.x). This patch fixes this regression by only validating associations that are (1) currently in-memory, and (2) either unpersisted or modified.

MONGOID-5709: has_and_belongs_to_many associations on embedded docments were broken, and attempting to use them would result in an "InvalidPath" exception. This patch release fixes that bug.

@jamis jamis requested a review from comandeo-mongo February 27, 2024 23:48
@jamis jamis merged commit 25a2ce3 into mongodb:8.0-stable Feb 28, 2024
56 of 70 checks passed
@jamis jamis deleted the 5744-release-8.0.8 branch February 28, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants