Skip to content

Commit 266ee32

Browse files
MONGOID-5451 Add feature flag summary for Mongoid 7.5 (#5422)
Co-authored-by: shields <[email protected]>
1 parent 5eb3e60 commit 266ee32

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/release-notes/mongoid-7.5.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,31 @@ Mongoid 8 will require Ruby 2.6 or newer, JRuby 9.3 or newer and Rails 5.2 or
2626
newer.
2727

2828

29+
Feature Flags Summary
30+
---------------------
31+
32+
To ensure a stable upgrade path from Mongoid 7.4, Mongoid 7.5
33+
introduces feature flags which are further explained in the
34+
sections below.
35+
36+
To enable all new behavior in Mongoid 7.5, please use the following
37+
:ref:`configuration options <configuration-options>` in your mongoid.yml file.
38+
We recommend newly created apps to do this as well.
39+
40+
.. code-block:: yaml
41+
42+
development:
43+
...
44+
options:
45+
# Enable all new behavior in Mongoid 7.5
46+
legacy_attributes: false
47+
overwrite_chained_operators: false
48+
49+
In addition, please refer to the release notes of earlier 7.x versions for
50+
feature flags introduced in each version. For clarity, Mongoid 7.5 does
51+
not switch the behavior of any previously introduced feature flag.
52+
53+
2954
Implemented ``Criteria#take/take!`` Method
3055
------------------------------------------
3156

0 commit comments

Comments
 (0)