@@ -165,8 +165,6 @@ Removed Commands and Methods
165
165
166
166
- For more information, see :ref:`4.2-compat-remove-repairDatabase`.
167
167
168
-
169
-
170
168
Remove ``maxScan`` Option
171
169
~~~~~~~~~~~~~~~~~~~~~~~~~
172
170
@@ -175,24 +173,12 @@ MongoDB removes the deprecated option ``maxScan`` for the
175
173
``cursor.maxScan()``. Use either the ``maxTimeMS`` option for the
176
174
:dbcommand:`find` command or the helper :method:`cursor.maxTimeMS()` instead.
177
175
178
- Deprecate ``SSL`` Options
179
- ~~~~~~~~~~~~~~~~~~~~~~~~~
176
+ .. _4.2-security:
180
177
181
- MongoDB 4.2 deprecates the ``SSL`` options for :binary:`~bin.mongod` and
182
- :binary:`~bin.mongos` in favor of equivalent ``TLS`` versions. The
183
- deprecated options can be found under :ref:`SSL Options for mongod
184
- <ssl-mongod-options>` for the command-line options and under
185
- :ref:`net-ssl-conf-options` for the configuration file options.
178
+ Security Improvements
179
+ ---------------------
186
180
187
- General Improvements
188
- --------------------
189
-
190
- ``outputConfig`` Option
191
- ~~~~~~~~~~~~~~~~~~~~~~~
192
-
193
- MongoDB 4.2 adds the :option:`--outputConfig <mongod --outputConfig>` option for
194
- :binary:`~bin.mongod` and :binary:`~bin.mongos`, which outputs the resolved
195
- YAML configuration document to ``stdout`` and halts the server instance.
181
+ .. _4.2-tls:
196
182
197
183
Add ``TLS`` Options
198
184
~~~~~~~~~~~~~~~~~~~
@@ -204,6 +190,18 @@ supported TLS 1.0 and later. The new options can be found under
204
190
:ref:`TLS Options for mongod <tls-mongod-options>` for the command-line options
205
191
and under :ref:`net-tls-conf-options` for the configuration file options.
206
192
193
+ Deprecate ``SSL`` Options
194
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
195
+
196
+ MongoDB 4.2 deprecates the ``SSL`` options for :binary:`~bin.mongod`
197
+ and :binary:`~bin.mongos` in favor of the equivalent :ref:`TLS`
198
+ options. The deprecated options can be found under :ref:`SSL Options
199
+ for mongod <ssl-mongod-options>` for the command-line options and under
200
+ :ref:`net-ssl-conf-options` for the configuration file options.
201
+
202
+ Aggregation Improvements
203
+ ------------------------
204
+
207
205
``$out`` Stage Enhancements
208
206
~~~~~~~~~~~~~~~~~~~~~~~~~~~
209
207
@@ -235,6 +233,10 @@ An example of the old syntax is:
235
233
236
234
{ $out: "stock" }
237
235
236
+
237
+ Change Stream
238
+ -------------
239
+
238
240
``startAfter`` Option for Change Streams
239
241
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
240
242
@@ -244,6 +246,18 @@ this option, you can start a change stream from an
244
246
:ref:`invalidate event <change-event-invalidate>`, thereby guaranteeing no
245
247
missed notifications after the previous stream was invalidated.
246
248
249
+
250
+
251
+ General Improvements
252
+ --------------------
253
+
254
+ ``outputConfig`` Option
255
+ ~~~~~~~~~~~~~~~~~~~~~~~
256
+
257
+ MongoDB 4.2 adds the :option:`--outputConfig <mongod --outputConfig>` option for
258
+ :binary:`~bin.mongod` and :binary:`~bin.mongos`, which outputs the resolved
259
+ YAML configuration document to ``stdout`` and halts the server instance.
260
+
247
261
Changes Affecting Compatibility
248
262
-------------------------------
249
263
0 commit comments