Skip to content

8.1.8

Compare
Choose a tag to compare
@mongodb-dbx-release-bot mongodb-dbx-release-bot released this 07 Jan 16:29
· 273 commits to master since this release
414e554

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

Release Highlights

This is a patch release with the following bug fixes:

  • MONGOID-5810 -- Internal model state was being leaked via #as_document, allowing the state to be unexpectedly mutated when the returned document was mutated.
  • MONGOID-5737 -- Comparing a model with a non-model was causing an error.
  • MONGOID-5780 -- Chaining multiple not predicates together was not toggling the negation state (e.g. Model.where.not.not.not)
  • MONGOID-5816 -- attr_readonly was leaking into sibling classes, making it difficult to mark attributes read-only for only parts of an inheritance heirarchy.

Documentation

Documentation is available at MongoDB.com.

Installation

You may install this version via RubyGems, with:

gem install --version 8.1.8 mongoid

What's Changed

Full Changelog: v8.1.7...v8.1.8