Skip to content

Update mongoid 9.0.6 → 9.0.10 (patch)#500

Open
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/mongoid-9.0.10
Open

Update mongoid 9.0.6 → 9.0.10 (patch)#500
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/mongoid-9.0.10

Conversation

@depfu
Copy link
Copy Markdown
Contributor

@depfu depfu Bot commented Jan 28, 2026

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ mongoid (9.0.6 → 9.0.10) · Repo · Changelog

Release Notes

9.0.10

The MongoDB Ruby team is pleased to announce version 9.0.10 of the mongoid gem - a Ruby ODM for MongoDB. This is a new patch release in the 9.0.x series of Mongoid.

Install this release using RubyGems via the command line as follows:

gem install -v 9.0.10 mongoid

Or simply add it to your Gemfile:

gem 'mongoid', '9.0.10'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

New Features

  • MONGOID-5864 Include Rails framework version in client metadata on initial handshake (PR)

Bug Fixes

  • MONGOID-5899 Write conflict error when accessing embedded documents via [] operator after direct DB update (PR)
  • MONGOID-5919 Restrict Criteria.from_hash method (PR)

9.0.9

The MongoDB Ruby team is pleased to announce version 9.0.9 of the mongoid gem - a Ruby ODM for MongoDB. This is a new patch release in the 9.0.x series of Mongoid.

Install this release using RubyGems via the command line as follows:

gem install -v 9.0.9 mongoid

Or simply add it to your Gemfile:

gem 'mongoid', '9.0.9'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

Bug Fixes

9.0.8

The MongoDB Ruby team is pleased to announce version 9.0.8 of the mongoid gem - a Ruby ODM for MongoDB. This is a new patch release in the 9.0.x series of Mongoid.

Install this release using RubyGems via the command line as follows:

gem install -v 9.0.8 mongoid

Or simply add it to your Gemfile:

gem 'mongoid', '9.0.8'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

Bug Fixes

  • MONGOID-5852 Fix after_action_commit callbacks (PR)
  • MONGOID-4889 Optimize batch assignment of embedded documents (PR)
  • MONGOID-5888 Ensure deeply nested children are validated correctly (PR)
  • MONGOID-5885 Return value from transaction yield to caller instead of internal state (PR)
  • MONGOID-5895 Make Reload Properly Update new_record (PR)
  • MONGOID-5887 Include server hint for aggregate operations (PR)
  • MONGOID-5869 Fix incorrectly named global_executor_concurrency config in code comment (PR)

9.0.7

The MongoDB Ruby team is pleased to announce version 9.0.7 of the mongoid gem - a Ruby ODM for MongoDB. This is a new patch release in the 9.0.x series of Mongoid.

Install this release using RubyGems via the command line as follows:

gem install -v 9.0.7 mongoid

Or simply add it to your Gemfile:

gem 'mongoid', '9.0.7'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

Bug Fixes

MONGOID-5848 Revert MONGOID-5822 (PR)

MONGOID-5822 attempted to fix a regression where child callbacks that depended on parent state were no longer invoked if the child had not changed. However, the fix itself introduced an unacceptable performance regression.

This PR restores the earlier functionality, which will break apps that depend on callbacks being invoked on unmodified children (for example, when a child callback depends simply on the parent having changed state).

For now, the correct way to implement that behavior is to explicitly iterate over the children in a parent callback, e.g.:

class Parent
  include Mongoid::Document
  has_many :children
  after_save { children.each(&:parent_changed_callback) }
end

class Child
include Mongoid::Document
belongs_to :parent

def parent_changed_callback
# ...
end
end

Other Bug Fixes

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 28 commits:

↗️ bigdecimal (indirect, 4.0.0 → 4.0.1) · Repo · Changelog

Release Notes

4.0.1

What's Changed

  • Exclude dependabot updates from release note by @hsbt in #474
  • Remove unused variable (and add test for it) by @tompng in #475
  • Remove "Which version should you select" section by @tompng in #476
  • Bump version to v4.0.1 by @tompng in #477

Full Changelog: v4.0.0...v4.0.1

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 5 commits:

↗️ bson (indirect, 5.0.2 → 5.2.0) · Repo · Changelog

Release Notes

5.2.0

The MongoDB Ruby team is pleased to announce version 5.2.0 of the bson gem - a fully featured BSON specification implementation in Ruby. This is a new minor release in the 5.x series of BSON for Ruby.

Install this release using RubyGems via the command line as follows:

gem install -v 5.2.0 bson

Or simply add it to your Gemfile:

gem 'bson', '5.2.0'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

New Features

5.1.1

The MongoDB Ruby team is pleased to announce version 5.1.1 of the bson gem - a fully featured BSON specification implementation in Ruby. This is a new patch release in the 5.1.x series of BSON for Ruby.

This release only corrects an issue with the JRuby version of the gem, where the gem was missing a pre-built jar file. It is otherwise identical to the 5.1.0 release.

Install this release using RubyGems via the command line as follows:

gem install -v 5.1.1 bson

Or simply add it to your Gemfile:

gem 'bson', '5.1.1'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

5.1.0

The MongoDB Ruby team is pleased to announce version 5.1.0 of the bson gem - a fully featured BSON specification implementation in Ruby.

Install this release using RubyGems via the command line as follows:

gem install -v 5.1.0 bson

or simply add it to your Gemfile:

gem 'bson', '5.1.0'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

Release Notes

New Features

  • RUBY-3521 Add binary vector support (PR)
  • Warn on BSON::Document#deep_symbolize_keys! (PR)

Bug Fixes

  • TEST: explicitly require stringio (PR)
  • RUBY-3665 - Fix Rubocop (PR)
  • Update bson-ruby.yml workflow (PR)
  • RUBY-3675 Use append_cflags over modifying CFLAGS directly (PR)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 19 commits:

↗️ i18n (indirect, 1.14.7 → 1.14.8) · Repo · Changelog

Release Notes

1.14.8

Full Changelog: v1.14.7...v1.14.8

What's Changed

  • Remove unused cgi require for Ruby 3.5 compatibility by @Earlopain in #713
  • Explicitly require pathname by @voxik in #708
  • CI: Add Ruby 3.4 to CI Matrix by @taketo1113 in #722
  • Fix: I18n.locale reset in Fiber context by using Thread#thread_variable by @lee266 in #724
  • CI: Use actions/checkout@v5 by @olleolleolle in #721
  • Fix compatibility with --enable-frozen-string-literal by @byroot in #726

New Contributors

Full Changelog: v1.14.7...v1.14.8

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 18 commits:

↗️ minitest (indirect, 5.27.0 → 6.0.1) · Repo · Changelog

Release Notes

6.0.1 (from changelog)

  • 1 minor enhancement:

    • Added new rake task ‘test:fu` to Minitest::TestTask, to only run tests with FU (focused units?) in their name. This should mostly obviate the need for the minitest-focus plugin.

  • 5 bug fixes:

    • Fixed –help and –version exiting 1. (grosser)

    • Fixed method signature of Minitest::Benchmark.run. (flavorjones)

    • Flush stdout/stderr before exit./bin/minitest -Ilib ./bug1046.rb:1 < /dev/null (grosser)

    • Improved usage banner output by reordering and reformatting.

    • Normalize paths while processing file.rb:line args.

6.0.0 (from changelog)

This is a major release. Read this.

Please give feedback here: github.com/minitest/minitest/issues/1040

Oh god… here we go… (again)

  • 8 deaths in the family(!!):

    • Deleted MiniTest and MiniTest::Unit::TestCase compatibility namespaces.

    • Deleted all use of Marshal for serialization.

    • Deleted maglev? and rubinius? guard methods. LOL.

    • Deleted all minitest/spec expectations from Object. Use _/value/expect.

    • Dropped minitest/mock.rb. This has been extracted to the minitest-mock gem.

    • assert_equal(nil, value) no longer allowed. Use assert_nil to be explicit.

    • Removed assert_send. Use assert_predicate or assert_operator.

    • Removed Minitest::Test#class_name.

  • 7 major (oft incompatible) changes:

    • Big: Major refactored MT6’s run path!

      • Minitest.__run -> Minitest.run_all_suites

      • Runnable.run -> Runnable.run_suite & Runnable.filter_runnable_methods

      • Runnable.run_one_method -> Runnable.run

      • Removed Minitest.run_one_method (might bring it back to raise?)

    • Removed deprecated ENV["N"] to specify number of parallel tests. Use MT_CPU.

    • Renamed options[:filter] to options[:include], added --include cmdline option.

      • --name is still handled, but that will be removed in the future.

    • Renamed Minitest::Runnable#test_order to #run_order.

    • If #message is passed a proc then that proc overrides all other output.

      • They are no longer chained!

      • And it does less for formatting of your output.

    • Removed reporter arg from with_info_handler as it has never(?) been used. (HACK?)

    • Plugin loading is now opt-in!

      • Require the plugin in your test_helper.

      • Or use Minitest.load :x

      • Or call Minitest.load_plugins for the old autoloading behavior.

  • 5 additions:

    • Added minitest-sprint’s minitest cmdline, now with line support!

    • Added minitest-bisect. Run with minitest –bisect or -b.

    • Added minitest-server.

    • Added minitest/complete to help with shell’s tab-completion of tests.

    • Vendored latest version of path_expander.

  • 5 other:

    • Bumped to ruby 3.2+.

    • Removed obsolete conditional for CompositeReporter#prerecord.

    • Removed obsolete version guards around Minitest::Result in reporters.

    • assert_operator and assert_predicate both call assert_respond_to first.

    • Assertions reuse themselves a lot more. Bumps assertion count in some places.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 36 commits:

↗️ mongo (indirect, 2.21.1 → 2.22.0) · Repo

Release Notes

2.22.0

The MongoDB Ruby team is pleased to announce version 2.22.0 of the mongo gem - a pure-Ruby driver for connecting to, querying, and manipulating MongoDB databases. This is a new minor release in the 2.x series of MongoDB Ruby Driver.

Install this release using RubyGems via the command line as follows:

gem install -v 2.22.0 mongo

Or simply add it to your Gemfile:

gem 'mongo', '2.22.0'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

New Features

  • RUBY-3520 Sort option for updateOne and replaceOne (PR)

Bug Fixes

2.21.3

The MongoDB Ruby team is pleased to announce version 2.21.3 of the mongo gem - a pure-Ruby driver for connecting to, querying, and manipulating MongoDB databases. This is a new patch release in the 2.21.x series of the MongoDB Ruby Driver.

Install this release using RubyGems via the command line as follows:

gem install -v 2.21.3 mongo

Or simply add it to your Gemfile:

gem 'mongo', '2.21.3'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

Bug Fixes

  • RUBY-3694 Use correct CA when verifying OCSP endpoint (PR)

2.21.2

The MongoDB Ruby team is pleased to announce version 2.21.2 of the mongo gem - a pure-Ruby driver for connecting to, querying, and manipulating MongoDB databases. This is a new patch release in the 2.21.x series of the MongoDB Ruby Driver.

Install this release using RubyGems via the command line as follows:

gem install -v 2.21.2 mongo

Or simply add it to your Gemfile:

gem 'mongo', '2.21.2'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

Bug Fixes

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 21 commits:

↗️ prism (indirect, 1.4.0 → 1.9.0) · Repo · Changelog

Release Notes

1.8.0

Added

  • Optimize ruby visitor.
  • Report unterminated construct errors at opening token.

Changed

  • Correctly expose ripper state.
  • Use one file for versioned parser classes.
  • Fix denominator of rational float literal.
  • Decouple ripper translator from ripper library.
  • Sync Prism::Translation::ParserCurrent with Ruby 4.0.

1.7.0

Added

  • Support 4.1 as a version option.
  • Add equal_loc to CallNode.
  • Add len()/is_empty() to ConstantList and NodeList in the Rust API.

Changed

  • Rename version 3.5 to version 4.0.
  • Fix compiling the gem from source on Windows.
  • Fix parsing of unary method calls like 42.~@.
  • Reject def f a, (b) = 1.
  • Reject endless method as a block parameter default.
  • Reject variable capture in alternative pattern.
  • Many fixes in regards to memory safety, found through fuzzing.
  • Many fixes to better handle invalid syntax, also found through fuzzing.
  • Fix the ruby version used by the ripper translator.
  • Fix ruby_parser translation comment processing.

1.6.0

Added

  • Add support for passing "current" as the version option to Prism.* APIs.

Changed

  • Remove a compiler warning for a missing unsigned cast for a shift value.

1.5.2

Changed

  • Fix character literal forced encoding when a unicode escape sequence is used.
  • Reject 1 if foo = bar baz.
  • Clear static literal flag on interpolated strings.
  • Reject optional argument/endless method definition ambiguity.

1.5.1

Changed

  • Revert of a bug introduced with static literal flags on interpolated strings.

1.5.0

Added

  • Add Prism::Translation::ParserCurrent.
  • Add Integer::to_u32_digits for the Rust API.
  • Add pm_comment_type_t field for the Rust API.
  • Support leading logical operators for CRuby 3.5+.

Changed

  • Mark Prism as ractor-safe.
  • Enforce a minimum version for the parser translation layer.
  • Many fixes to the parser translation layer.
  • Accept a newline after the defined? keyword.
  • Reject true && not true.
  • Make it = it assign nil to match parse.y behavior [Bug #21139].
  • Some fixes to the ruby parser translation layer.
  • Ensure call nodes have the correct ending location.
  • Reject foo && return bar.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added the depfu label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants