File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,34 @@ Mongoid 7.4 deprecates support for MongoDB 3.4 and earlier.
3636Mongoid 8 will require MongoDB 3.6 or newer.
3737
3838
39+ Feature Flags Summary
40+ ---------------------
41+
42+ To ensure a stable upgrade path from Mongoid 7.3, Mongoid 7.4
43+ introduces feature flags which are further explained in the
44+ sections below.
45+
46+ To enable all new behavior in Mongoid 7.4, please use the following
47+ :ref:`configuration options <configuration-options>` in your mongoid.yml file.
48+ We recommend newly created apps to do this as well.
49+
50+ .. code-block:: yaml
51+
52+ development:
53+ ...
54+ options:
55+ # Enable all new behavior in Mongoid 7.4
56+ legacy_triple_equals: false
57+ object_id_as_json_oid: false
58+ compare_time_by_ms: true
59+ broken_aggregables: false
60+ broken_updates: false
61+ broken_and: false
62+ broken_scoping: false
63+ broken_alias_handling: false
64+ legacy_pluck_distinct: false
65+
66+
3967Change ``===`` Operator To Match Ruby Semantics
4068-----------------------------------------------
4169
You can’t perform that action at this time.
0 commit comments