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.2 to 9.0.1 #2266

Closed
wants to merge 3 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 30, 2024

Bumps mongoid from 8.1.2 to 9.0.1.

Release notes

Sourced from mongoid's releases.

9.0.1

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

Release Highlights

  • MONGOID-5786: In accordance with Ruby's enumerable API, the #sum method now accepts an optional block. Thank you to Cristián Pérez for your contributions!
  • MONGOID-5688: Problematic recursive callstacks in cascading callbacks have been linearized using Ruby Fibers to prevent SystemStackErrors with greater numbers of embedded documents. Thank you to Adviti Mishra for your contributions!
  • MONGOID-5769: $pop and $pull are now mongoized the same way as #addToSet or $push to ensure update_all functions as intended. Thank you to John Maguir and Michael Deryugin for your contributions!
  • MONGOID-5789: querying an attribute with a nil name now returns an empty string, rather than raising an exception. Thank you to Dan Healy for your contribution!
  • MONGOID-5785: if you set Mongoid.allow_scopes_to_unset_default_scope = true, you can invoke (e.g.) unscoped in a named scope to reset the current scope. This is useful for overriding default scopes inside of a named scope. This option will default to true in Mongoid 10.
  • MONGOID-5791: If the parent document class is not loaded at the time of loading the embedded document class, a NameError used to be raised. This has been fixed.
  • MONGOID-5796: The docs previously present in the Mongoid repository have been moved to the docs-mongoid repository.

Documentation

Documentation is available at MongoDB.com.

Installation

You may install this version via RubyGems, with:

gem install --version 9.0.1 mongoid

What's Changed

New Contributors

Full Changelog: mongodb/mongoid@v9.0.0...v9.0.1

... (truncated)

Commits
  • 15e2ba9 Bumped the version in version.rb from 9.0.0 to 9.0.1 (#5844)
  • a036165 Added a pointer to docs-mongoid in the README.md (#5843)
  • c5e092a 5688: Run callbacks for children within fibers (#5837)
  • 07761c8 Modified the comment to rightly indicate the error being raised is InvalidFin...
  • d2fcc26 MONGOID-5790/MONGOID-5791 Fix error caused by loading a referenced class prem...
  • 971cf67 DOP-4809: Remove docs/ since it has been migrated to mongodb/docs-mongoid (#5...
  • b2fec3e MONGOID-5789 database_field_name given nil or empty string should raise Unkno...
  • b083e2c MONGOID-5743 SSDLC Requirements (#5834)
  • d58d8e1 MONGOID-5785 merging the default scope with named scopes is a bug (#5832)
  • 08547c3 MONGOID-5786: Fix some compatibility issues with Enumerable API (#5831)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Jul 30, 2024
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.1 branch 2 times, most recently from 11aad5e to 9deafed Compare August 21, 2024 08:57
@mtaylorgds
Copy link
Contributor

@dependabot recreate

Bumps [mongoid](https://github.com/mongodb/mongoid) from 8.1.2 to 9.0.1.
- [Release notes](https://github.com/mongodb/mongoid/releases)
- [Changelog](https://github.com/mongodb/mongoid/blob/master/CHANGELOG.md)
- [Commits](mongodb/mongoid@v8.1.2...v9.0.1)

---
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.1 branch from 9deafed to 0a232de Compare August 21, 2024 09:08
V5 of the bson gem causes errors when running Mainstream Publisher,
 which have yet to be resolved. So, for now, we cannot update bson.
The `use_activesupport_time_zone` Mongoid configuration was deprecated
 in v8, and has been removed in v9 of Mongoid.

The [default value for this setting](https://www.mongodb.com/docs/mongoid/current/release-notes/mongoid-8.1/#deprecated-use_activesupport_time_zone-config-option)
 was `true`, which is what it was set to in our config anyway.
@mtaylorgds mtaylorgds force-pushed the dependabot/bundler/mongoid-9.0.1 branch from 6d744ec to 4233ec2 Compare August 21, 2024 10:28
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 23, 2024

A newer version of mongoid exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 7, 2024

Superseded by #2357.

@dependabot dependabot bot closed this Oct 7, 2024
@dependabot dependabot bot deleted the dependabot/bundler/mongoid-9.0.1 branch October 7, 2024 09:00
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.

1 participant