-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
It would be nice if you could summarize the all the feature flag settings at the top of the release notes.
# Enable all new behavior in Mongoid 7.4 Mongoid.broken_updates = false Mongoid.legacy_triple_equals = false Mongoid.broken_scoping = false Mongoid.broken_aggregables = false Mongoid.broken_alias_handling = false Mongoid.broken_and = false Mongoid.object_id_as_json_oid = false Mongoid.legacy_pluck_distinct = false Mongoid.compare_time_by_ms = true
ALTERNATIVELY: Rails has a feature `config.load_defaults 6.0` where you can auto-set all the feature flags from the latest version. I would recommend to have `Mongoid.load_defaults 7.4` and copy the logic from Rails, it works brilliantly.
In addition:
- object_id_as_json_oid is missing "Will be changed to false in Mongoid 8.0"
- compare_time_by_ms Mongoid 8.0 message is not emphasized like others.
- Typo: value of "The value of Mongoid.broken_update option" should be "broken_updates"