Releases: mongodb/mongoid
7.1.11
This patch release in the 7.1 series adds the following improvements:
- MONGOID-5140 Atomic #unset method should allow Hash args (in addition to current String/Symbol/Array)
- MONGOID-5147 Add missing find_first & one methods to Mongoid::Contextual::None
- MONGOID-5099 Provide a better error message when loading an empty configuration file
- MONGOID-4737 Deprecate Document#as_json :compact option
7.3.2
This patch release in the 7.3 series fixes the following bug:
- MONGOID-5123 Association proxies
method_missing
does not handle keyword args
7.2.5
This patch release in the 7.2 series fixes the following bug:
- MONGOID-5123 Association proxies
method_missing
does not handle keyword args
7.1.10
This patch release in the 7.1 series fixes the following bug:
- MONGOID-5123 Association proxies
method_missing
does not handle keyword args
7.3.1
This patch release in the 7.3 series adds compatibility with Ruby 3.
The following bug was fixed:
7.2.4
7.1.9
7.3.0
This feature release of Mongoid adds the following new functionality:
- MONGOID-5036 Delegate to driver's query cache middleware when available
- MONGOID-4812 Allow id to be a regular field in models (not an alias of _id)
- MONGOID-4906 Add missing general-purpose operators to embedded matchers
- MONGOID-4757 Mongoid now warns about unknown options given at top level in YAML configuration
The following significant changes were made:
- MONGOID-4753 Make global Boolean definition opt-in
- MONGOID-3468 Always touch parents of embedded documents when embedded documents are touched
- MONGOID-5023 Expand all conditions in a single argument together in
where
path - MONGOID-4706 Remove the internal Targets module
- MONGOID-5060 #delete no longer causes dependent associations to be destroyed
- MONGOID-5073
Mongoid.purge!
andMongoid.truncate
respect global persistence context overrides
The following bugs were fixed:
- MONGOID-4982 Cannot update a field on embedded association member, add another member and add a nested association to the first member in the same save call
- MONGOID-5020 Condition lifting breaks with symbol operators on Ruby <= 2.6
- MONGOID-5032 Hash attribute access/read_attribute fails on embedded field when parent loaded with only
Please see the upgrading documentation for more detailed descriptions of the changes.
7.2.3
This patch release in the 7.2 series adds an upgrading note for the following change that was made in 7.2.0 release:
7.1.8
This patch release in the 7.1 series fixes the following issues: