From a94911bcc6ac744cd09c0702cbc75853ff466c2e Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Fri, 7 Feb 2025 18:08:21 -0500 Subject: [PATCH 1/3] DOCSP-44237 flags Option deprecation on v2.21 --- .../reference/method/MongoDBDatabase-createCollection.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/reference/method/MongoDBDatabase-createCollection.txt b/source/reference/method/MongoDBDatabase-createCollection.txt index 11b62e23..c147af81 100644 --- a/source/reference/method/MongoDBDatabase-createCollection.txt +++ b/source/reference/method/MongoDBDatabase-createCollection.txt @@ -152,6 +152,12 @@ Parameters :manual:`db.createCollection() ` for more information. + *Deprecated*: This option is deprecated and will be removed in + {+php-library+} v2.0. For more information on upgrading from the MMAPv1 storage + engine to Wired Tiger, see the + :manual:`Change a Self-Managed Standalone to WiredTiger ` + guide. + * - indexOptionDefaults - array|object - Allows users to specify a default configuration for indexes when From dd37400c322d9654167496b8d9abde527bf9627d Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Mon, 10 Feb 2025 10:57:58 -0500 Subject: [PATCH 2/3] add what's new note --- source/whats-new.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/whats-new.txt b/source/whats-new.txt index af355a54..1c01967c 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -49,6 +49,9 @@ improvements, and fixes: replaced by these new methods in a future driver release, so consider changing the usages in your application. +- The ``flags`` field, used for the deprecated MMAPv1 storage engine, is now + deprecated and will be removed in {+library-short+} v2.0. + .. _php-lib-version-1.20: What's New in 1.20 From 5302d6254b969dac07698cc5ba139951e9f24d43 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Mon, 10 Feb 2025 11:44:47 -0500 Subject: [PATCH 3/3] Rea review comments --- .../reference/method/MongoDBDatabase-createCollection.txt | 6 +++--- source/whats-new.txt | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/reference/method/MongoDBDatabase-createCollection.txt b/source/reference/method/MongoDBDatabase-createCollection.txt index c147af81..2fbd0572 100644 --- a/source/reference/method/MongoDBDatabase-createCollection.txt +++ b/source/reference/method/MongoDBDatabase-createCollection.txt @@ -153,10 +153,10 @@ Parameters ` for more information. *Deprecated*: This option is deprecated and will be removed in - {+php-library+} v2.0. For more information on upgrading from the MMAPv1 storage - engine to Wired Tiger, see the + the v2.0 {+library-short+} release. To learn more about upgrading + from the MMAPv1 storage engine to Wired Tiger, see the :manual:`Change a Self-Managed Standalone to WiredTiger ` - guide. + guide in the Server manual. * - indexOptionDefaults - array|object diff --git a/source/whats-new.txt b/source/whats-new.txt index 1c01967c..ef862c64 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -49,8 +49,8 @@ improvements, and fixes: replaced by these new methods in a future driver release, so consider changing the usages in your application. -- The ``flags`` field, used for the deprecated MMAPv1 storage engine, is now - deprecated and will be removed in {+library-short+} v2.0. +- Deprecates the ``flags`` option, used for the deprecated MMAPv1 storage engine. + This option will be removed in {+library-short+} v2.0. .. _php-lib-version-1.20: