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 7.5.2 to 8.1.1 #1157

Merged
merged 3 commits into from
Aug 2, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 12, 2023

Bumps mongoid from 7.5.2 to 8.1.1.

Release notes

Sourced from mongoid's releases.

8.1.1

Mongoid 8.1.1 is a patch release in the 8.x series. It fixes the following issue:

It also corrects the following documentation error:

8.1.0

Mongoid 8.1.0 is a feature release in 8.x series with the following significant new functionality:

The following issues were fixed:

The following additional improvements were made:

... (truncated)

Commits
  • 9b7505a Prepare release for Mongoid 8.1.1 (#5663)
  • 597e7ad RUBY-5621 Fix disconnect_clients spec (#5659)
  • 1cffa3c MONGOID-5622 make sure to reset the atomic operation state when reloading (#5...
  • c95c485 Add Ruby 3.2 support (#5644) (#5648)
  • 6885e31 Update public key
  • ea5318b MONGOID-5596 - Mongoid 8.1: Deprecate Mongoid::QueryCache in favor of Mongo::...
  • 5e448e6 Fix CI failures (#5652)
  • e7ee958 Prepare release of 8.1.0 (#5643)
  • 1de817b MONGOID-5489 note explicit default values for legacy_readonly (#5640)
  • 8d3e0fa MONGOID-5616: Dependent Behavior Documentation is incorrect (#5628)
  • 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 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)

Bumps [mongoid](https://github.com/mongodb/mongoid) from 7.5.2 to 8.1.1.
- [Release notes](https://github.com/mongodb/mongoid/releases)
- [Changelog](https://github.com/mongodb/mongoid/blob/master/CHANGELOG.md)
- [Commits](mongodb/mongoid@v7.5.2...v8.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Jul 12, 2023
@github-actions
Copy link

This application is owned by the publishing platform team. Please let us know in #govuk-publishing-platform when you raise any PRs.

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

callumknights and others added 2 commits July 13, 2023 11:02
The validation message for unique fields in mongoid has changes as of mongodb/mongoid#5275
In `mongoid` version 8.1.0, `attribute_changed?` (and associated
methods, e.g. `changes`) were deprecated inside
`after_(create|update|save)` callbacks.

We were using `changes` inside an `after_save` callback, therefore the
conditional statement in the method was never true, since the method
always returned `nil` inside the callback.

Updating the syntax to use the new equivalent method.

See [MONGOID-4528](https://jira.mongodb.org/browse/MONGOID-4528) for
more details.
Copy link
Contributor

@CristinaRO CristinaRO left a comment

Choose a reason for hiding this comment

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

Great sleuthing 👍🏻

@brucebolt brucebolt merged commit d4f08b5 into main Aug 2, 2023
4 checks passed
@brucebolt brucebolt deleted the dependabot/bundler/mongoid-8.1.1 branch August 2, 2023 10:54
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.

3 participants