This is the first release candidate of Mongoid 6.0, which supports Rails 5.
The following changes are in rc0, in addition to the changes noted for the 6.0 beta release.
- MONGOID-4289 Fix cloning with embedded translations (@eric-pigeon)
- MONGOID-4300 Don't double-set a relation
- MONGOID-4304 Accept extra field for association 'touch' option (@duhast)
- Fix hbtm eager loading (@ElMassimo)
API and behavior changes
- MONGOID-4052 #only and #without methods are not scoped to specific locales, unless user explicitly does so. (@johnnyshields)
- Adjust Proxy equality methods (@marshalium)
- Criteria#map uses #pluck, not #only (@Benjamin-Dobell)
Improvements and features
- MONGOID-4301 Support $elemMatch in Matchable#matches? (@jonhyman)
- Make Proxy undef regex more precise (@marshalium)
- Incorporated Mongoid documentation into repository.
- MONGOID-4274 Add QueryChache to the docs and take out Origin references
- Improve test suite performance and ensure that new connections get closed