8.1.8
mongodb-dbx-release-bot
released this
07 Jan 16:29
·
273 commits
to master
since this release
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
- MONGOID-5810 Don't leak internal state via
#as_document
by @jamis in #5899 - MONGOID-5737 Fix issue where <=> errors if there's a non-document (backport for 8.1) by @DarshanaVenkatesh in #5917
- MONGOID-5780 Fix chaining nots resulting in incorrect negation state (backport for 8.1) by @DarshanaVenkatesh in #5915
- MONGOID-5816: attr_readonly leaks into sibling classes (backport for 8.1) by @DarshanaVenkatesh in #5920
- MONGOID-5831 Remove usage of Rails private API (#5908) by @comandeo-mongo in #5926
- Bump version to 8.1.8 by @comandeo-mongo in #5928
- try
bundle exec gem push
on rake release by @jamis in #5929 - Invalidate bundler cache when cutting a new gem by @jamis in #5930
- Deployment tweaks by @jamis in #5931
Full Changelog: v8.1.7...v8.1.8