7.0.3
This maintenance release of the 7.0.x series has the following notable improvements:
- MONGOID-4728 Add Support for $eq operator in Matchable
- MONGOID-4729 Skip eager loading query if all keys are nil
- MONGOID-4524 Combine options when nesting PersistenceContexts on the same object
- MONGOID-4631 Log Mongoid runtime per Rails controller action
- MONGOID-4666 Allow Regexp fields to be set to nil
- MONGOID-4681 Replace BigDecimal.new with BigDecimal()
- MONGOID-4702 Add Symbol#within_box criterion for geo_spacial
The following notable issues have been fixed:
- MONGOID-4679 Can't clone documents with embeds_many and store_as on 7.0.x
- MONGOID-4598 In Mongoid 7.0.1 clone, dup method is not working with embeds_many -> embeds_many relations
- MONGOID-4733 Document#as_json with :compact option returns nil if none of the fields are nil
- MONGOID-4624 scoped text searches wipe all previous criteria
- MONGOID-4626 Querying unscoped associations ignores primary_key/foreign_key depending on association
- MONGOID-4630 without_default_scope suppresses default scopes of other models
- MONGOID-4645 belongs_to in namespaced children fails to detect a non-namespaced association
- MONGOID-4659 Query cache returns narrowed down results when a previous query used #first
- MONGOID-4521 QueryCache ignores getMore requests