6.3.0
This release of Mongoid depends on at least Ruby driver version 2.5.0, which supports MongoDB server version 3.6 and which drops supports for MongoDB server version 2.4. This requirement addresses MONGOID-4504.
In other words, this version of Mongoid supports MongoDB server versions 2.6 - 3.6.
The following bug fixes and changes are in this release:
- MONGOID-3362 Don't allow
associations
to be a Model field name, as it conflicts with the internal API. - MONGOID-4499 Use
$push
and$each
instead of$pushAll
- MONGOID-4470 Add id_sort :none option to enumerable #first and #last
- MONGOID-4497 Allow
_type
to be a Symbol or String. (@pacop) - MONGOID-4505 Fix typo in documentation.
- MONGOID-4503 Support passing array_filters to update methods.
- Ensure that Persistence Context is cleared, even when error is raised in accessing client. (@benknowles)