Skip to content

Conversation

@comandeo-mongo
Copy link
Contributor

@comandeo-mongo comandeo-mongo commented Nov 17, 2025

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

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

gem install -v 7.6.0 mongoid

Or simply add it to your Gemfile:

gem 'mongoid', '7.6.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

  • Compatibility with the latest driver (PR)

Copilot AI review requested due to automatic review settings November 17, 2025 09:40
@comandeo-mongo comandeo-mongo requested a review from a team as a code owner November 17, 2025 09:40
@comandeo-mongo comandeo-mongo added the release-candidate The PR represents a potential candidate for a new release label Nov 17, 2025
@comandeo-mongo comandeo-mongo requested a review from jamis November 17, 2025 09:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This is a release candidate for version 7.6.0 of the Mongoid gem, focusing on compatibility updates with the latest MongoDB Ruby driver. The changes primarily involve:

  • Updating test fixtures to use create! instead of create throughout the test suite for more robust error handling
  • Adding new feature flags for backward compatibility with behavior changes
  • Removing deprecated files and updating configuration handling
  • Various bug fixes and improvements to existing functionality

Reviewed Changes

Copilot reviewed 173 out of 259 changed files in this pull request and generated no comments.

Show a summary per file
File Description
spec/mongoid/contextual/*.rb Updated test methods from create to create! for better error handling
spec/mongoid/association/**/*.rb Consistently updated test fixtures to use create! for more reliable testing
spec/mongoid/attributes_spec.rb Updated test fixtures and added tests for new legacy_attributes feature flag
spec/mongoid/cacheable_spec.rb Changed deprecated to_s to to_formatted_s for time formatting
spec/mongoid/config_spec.rb Added tests for multiple new feature flags and schema map UUID handling
spec/lite_spec_helper.rb Updated session registry loading to handle driver version differences
spec/integration/*.rb Added tests for new feature flags and updated test fixtures
sbom.json Added new software bill of materials file
product.yml Added new product metadata file for version 7.6.0
release/* Removed deprecated release scripts

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@comandeo-mongo comandeo-mongo changed the base branch from master to 7.5-stable November 17, 2025 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-candidate The PR represents a potential candidate for a new release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants