7.1.0
Breaking change: the principal improvement in Mongoid 7.1 is the unified treatment of logical operations when building queries (i.e., operating on Criteria
objects). This makes Mongoid's behavior match that of ActiveRecord, and results in consistent queries being constructed regardless of the mechanism used to construct them. Please carefully review the documentation here, specifically the section on operator combinations, and audit your application for uses of logical operations that changed behavior.
The following improvements have been made since 7.1.0.rc0:
The following changes have been made since 7.1.0.rc0:
- MONGOID-4830 Remove #one method from has_many associations (the #one method was added in 7.1.0.rc0, there should be no impact to applications using Mongoid 7.0 or previous versions)
The following bugs have been fixed:
- MONGOID-4832 Storing false values in fields of Array and Hash types fails but not in an expected way
As of version 7.1, Mongoid supports Ruby 2.3+ and JRuby 9.2. Support for Ruby 2.2 and JRuby 9.1 has been dropped.