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

Bump mongoid from 8.1.4 to 9.0.5 #2527

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 31, 2025

Bumps mongoid from 8.1.4 to 9.0.5.

Release notes

Sourced from mongoid's releases.

9.0.5

Version 9.0.5 of the Mongoid ODM for MongoDB is now available.

Release Highlights

  • MONGOID-5836 - Callbacks were being duplicated on deeply embedded children.
  • MONGOID-5839 - When using single-collection inheritance, eager loading (with #includes) was not producing the correct query when the root of the query was the document subclass.
  • MONGOID-5825 - The Mongoid::Timestamps module would (in certain cases) attempt to timestamp deleted documents, which resulted in a FrozenError being raised.
  • MONGOID-5822 - Perform validations on embedded documents even if the embedded documents have not changed.

Documentation

Documentation is available at MongoDB.com.

Installation

You may install this version via RubyGems, with:

gem install --version 9.0.5 mongoid

Full Changelog: mongodb/mongoid@v9.0.4...v9.0.5

9.0.4

Version 9.0.4 of the Mongoid ODM for MongoDB is now available.

Release Highlights

There is one new feature in this release:

MONGOID-5829 adds Mongoid.ignore_paths, which specifies an array of glob patterns. Any file matching any of these patterns will not be automatically loaded during autoloading (e.g. Mongoid.load_models). This fixes a problem encountered when non-model files (e.g. "concerns") are stored under the traditional model directories.

The following bug fixes are included in this release.

  • MONGOID-5830 fixes a bug caused by an earlier optimization that forgot to account for the fact that the client name may be provided a as a Proc.
  • MONGOID-5831 fixes an incompatibility with Rails 8.0.1 and later due to the inadvertent use of an internal Rails API.
  • MONGOID-5737 fixes an error that occurred when comparing a Mongoid::Document instance with an object that was not a Mongoid::Document instance.
  • MONGOID-5780 ensures that calling not multiple times (e.g. Model.where.not.not) will toggle the criteria's negation state, rather than simply setting it to true.
  • MONGOID-5816 prevents attr_readonly from leaking into sibling classes, which was making it difficult to specify that certain attributes are only read-only in certain parts of an inheritance tree.

Documentation

Documentation is available at MongoDB.com.

Installation

You may install this version via RubyGems, with:

gem install --version 9.0.4 mongoid

... (truncated)

Commits
  • 45e670f Prepare for v9.0.5 (#5948)
  • d0a6df2 MONGOID-5825 Do not update timestamp on destroyed (#5939) (#5944)
  • b74c231 MONGOID-5836 Don't repeat callbacks for embedded grandchildren. (#5933) (#5935)
  • 8eb3123 MONGOID-5839 Fix eager-loading from STI subclasses (#5934) (#5940)
  • 86f49a5 MONGOID-5822: Embedded association validations break when association depends...
  • 73d061c Bump version to 9.0.4 (#5927)
  • 71a1106 MONGOID-5816: attr_readonly leaks into sibling classes (backport for 9.0)
  • 903128c MONGOID-5780 Fix chaining nots resulting in incorrect negation state (backpor...
  • 8dd3c43 MONGOID-5737 Fix issue where <=> errors if there's a non-document (backport f...
  • ddeadbc MONGOID-5831 Remove usage of Rails private API (#5908) (#5909)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Jan 31, 2025
Copy link

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

@dependabot dependabot bot force-pushed the dependabot/bundler/mongoid-9.0.5 branch from 04b2446 to 3e774cf Compare February 11, 2025 09:12
Bumps [mongoid](https://github.com/mongodb/mongoid) from 8.1.4 to 9.0.5.
- [Release notes](https://github.com/mongodb/mongoid/releases)
- [Changelog](https://github.com/mongodb/mongoid/blob/master/CHANGELOG.md)
- [Commits](mongodb/mongoid@v8.1.4...v9.0.5)

---
updated-dependencies:
- dependency-name: mongoid
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/mongoid-9.0.5 branch from 3e774cf to f23665a Compare February 17, 2025 08:40
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 25, 2025

Superseded by #2556.

@dependabot dependabot bot closed this Feb 25, 2025
@dependabot dependabot bot deleted the dependabot/bundler/mongoid-9.0.5 branch February 25, 2025 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants