diff --git a/source/reference/method/MongoDBDatabase-createCollection.txt b/source/reference/method/MongoDBDatabase-createCollection.txt index ebc4b732..23e40ad1 100644 --- a/source/reference/method/MongoDBDatabase-createCollection.txt +++ b/source/reference/method/MongoDBDatabase-createCollection.txt @@ -57,20 +57,6 @@ Parameters - Type - Description - * - autoIndexId - - boolean - - Specify ``false`` to disable the automatic creation of an index on the - ``_id`` field. - - .. important:: - - For replica sets, do not set ``autoIndexId`` to ``false``. - - .. deprecated:: 1.4 - As of MongoDB 4.0, this option cannot be ``false`` when creating a replicated - collection (i.e. a collection outside of the ``local`` database in - any mongod mode). - * - capped - boolean - To create a capped collection, specify ``true``. If you specify diff --git a/source/whats-new.txt b/source/whats-new.txt index 8f0dce30..30a1ba3e 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -60,7 +60,7 @@ What's New in 2.0 The {+library-short+} v2.0 release includes the following features, improvements, and fixes: -- Removal of deprecated fields in GridFS types. +- Removes deprecated fields in GridFS types. - The library does not calculate the ``md5`` field when a file is uploaded to GridFS. If your application requires a file digest, you @@ -83,7 +83,10 @@ improvements, and fixes: :phpmethod:`MongoDB\Collection::find()` or :phpmethod:`MongoDB\Collection::findOne()` API documentation. -- Removal of the deprecated ``IndexInfo::isGeoHaystack()`` method. +- Removes the deprecated ``IndexInfo::isGeoHaystack()`` method. + +- Removes the deprecated ``autoIndexId`` option for the + ``MongoDB\\Database::createCollection()`` method. - Drops support for map-reduce functionality by removing the following deprecated methods and types: