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
1717please consult GitHub releases for detailed release notes and JIRA for
1818the complete list of issues fixed in each release, including bug fixes.
1919
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+
2027
2128Ruby 2.5 Deprecated
2229-------------------
@@ -222,3 +229,13 @@ returned.
222229Note that the ``#first/last`` methods apply a sort on ``_id``, which can
223230cause performance issues. To get a document without sorting first, use the
224231``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