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.
36
36
Mongoid 8 will require MongoDB 3.6 or newer.
37
37
38
38
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
+
39
67
Change ``===`` Operator To Match Ruby Semantics
40
68
-----------------------------------------------
41
69
You can’t perform that action at this time.
0 commit comments