File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ The complete list of releases is available `on GitHub
17
17
please consult GitHub releases for detailed release notes and JIRA for
18
18
the complete list of issues fixed in each release, including bug fixes.
19
19
20
+ ``Array#update_values`` and ``Hash#update_values`` deprecated
21
+ -------------------------------------------------------------
22
+
23
+ The ``Array#update_values`` and ``Hash#update_values`` methods are deprecated in
24
+ Mongoid 7.5. It is recommended to use ActiveSupport's ``transform_values!``
25
+ method instead.
26
+
20
27
21
28
Ruby 2.5 Deprecated
22
29
-------------------
@@ -222,3 +229,13 @@ returned.
222
229
Note that the ``#first/last`` methods apply a sort on ``_id``, which can
223
230
cause performance issues. To get a document without sorting first, use the
224
231
``Critera#take`` method.
232
+
233
+
234
+ ``Mongoid::Criteria`` cache deprecated
235
+ --------------------------------------
236
+
237
+ The ability to cache individual criteria objects has been deprecated in Mongoid
238
+ 7.5 and will be dropped in Mongoid 8.
239
+
240
+ In order to get caching functionality, enable the Mongoid QueryCache. See the
241
+ section on :ref:`QueryCache <query-cache>` for more details.
You can’t perform that action at this time.
0 commit comments