Repository navigation
·
1 commit
to master
since this release
The MongoDB Ruby team is pleased to announce version 9.1.2 of the mongoid gem - an Ruby ODM for MongoDB. This is a new patch release in the 9.1.x series of Mongoid.
Install this release using RubyGems via the command line as follows:
gem install -v 9.1.2 mongoid
Or simply add it to your Gemfile:
gem 'mongoid', '9.1.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
- MONGOID-5999 Prevent delayed updates from leaking from new embedded children (PR)
- MONGOID-6001 Handle empty has_and_belongs_to_many foreign key arrays (PR)
- MONGOID-5972 Avoid merging conflicting touch paths into embedded inserts (PR)
- MONGOID-6007 Memoize a false encryption-schema answer when every embedded target resolved (PR)
- MONGOID-6008 search index wait scope (PR)
- MONGOID-6010 Warn when bypassing encryption (PR)
- MONGOID-6011 Fix message for 'not found' error when has-many association uses custom primary key (PR)
- MONGOID-6012 Avoid redundant nested $set when inserting a new embedded document (PR)
- MONGOID-6013 Detect conflicts for $addToSet, $pull and $pullAll (PR)
- MONGOID-6016 Short-circuit database_field_name for keys without "." (PR)
- MONGOID-6024 Fix
Criteria#eager_loadpersisting preloaded docs (PR) - MONGOID-6014: Eager load nested includes when class_name is ::-prefixed or module-relative (PR)
- MONGOID-6019 Keep $pull in the main update (PR)
- Encryption schema map keeps one model per collection and drops the other models' encrypted fields