Skip to content

Commit 1543f93

Browse files
authored
DOCSP-44237 flags Option deprecation on v2.21 (#201)
* DOCSP-44237 flags Option deprecation on v2.21 * add what's new note * Rea review comments
1 parent 263bead commit 1543f93

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

source/reference/method/MongoDBDatabase-createCollection.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ Parameters
152152
:manual:`db.createCollection()
153153
</reference/method/db.createCollection>` for more information.
154154

155+
*Deprecated*: This option is deprecated and will be removed in
156+
the v2.0 {+library-short+} release. To learn more about upgrading
157+
from the MMAPv1 storage engine to Wired Tiger, see the
158+
:manual:`Change a Self-Managed Standalone to WiredTiger </tutorial/change-standalone-wiredtiger/>`
159+
guide in the Server manual.
160+
155161
* - indexOptionDefaults
156162
- array|object
157163
- Allows users to specify a default configuration for indexes when

source/whats-new.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ improvements, and fixes:
4949
replaced by these new methods in a future driver release, so consider
5050
changing the usages in your application.
5151

52+
- Deprecates the ``flags`` option, used for the deprecated MMAPv1 storage engine.
53+
This option will be removed in {+library-short+} v2.0.
54+
5255
.. _php-lib-version-1.20:
5356

5457
What's New in 1.20

0 commit comments

Comments
 (0)