File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -154,11 +154,16 @@ prior has been dropped (you must use a minimum of version 8.0.)
154
154
Deprecated functionality removed
155
155
--------------------------------
156
156
157
+ **Breaking change:** The following deprecated functionality is now removed:
158
+
157
159
- The ``Mongoid::QueryCache`` module has been removed. Please replace any usages 1-for-1 with ``Mongo::QueryCache``.
158
160
The method ``Mongoid::QueryCache#clear_cache`` should be replaced with ``Mongo::QueryCache#clear``.
159
161
All other methods and submodules are identically named. Refer to the `driver query cache documentation
160
162
<https://mongodb.com/docs/ruby-driver/current/reference/query-cache/>`_ for more details.
161
163
- ``Object#blank_criteria?`` method is removed (was previously deprecated.)
164
+ - ``Document#as_json :compact`` option is removed. Please call ```#compact`` on the
165
+ returned ``Hash`` object instead.
166
+ - The deprecated class ``Mongoid::Errors::InvalidStorageParent`` has been removed.
162
167
163
168
164
169
``touch`` method now clears changed state
You can’t perform that action at this time.
0 commit comments