Skip to content

Commit 624650a

Browse files
MONGOID-5273 Add feature flags section to 7.4 release notes. (#5250)
Co-authored-by: shields <[email protected]>
1 parent 19315a6 commit 624650a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/release-notes/mongoid-7.4.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,34 @@ Mongoid 7.4 deprecates support for MongoDB 3.4 and earlier.
3636
Mongoid 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+
3967
Change ``===`` Operator To Match Ruby Semantics
4068
-----------------------------------------------
4169

0 commit comments

Comments
 (0)