@@ -39,6 +39,24 @@ following versions of the {+php-library+}:
3939What's New in 2.0
4040-----------------
4141
42+ .. important:: Breaking Changes
43+
44+ The {+library-short+} v2.0 release introduces the following breaking
45+ changes:
46+
47+ - The following methods return ``void`` instead of the raw command
48+ response:
49+
50+ - ``MongoDB\\Client``: ``dropDatabase()``
51+ - ``MongoDB\\Collection``: ``drop()``, ``dropIndex()``,
52+ ``dropIndexes()``, ``dropSearchIndex()``, ``rename()``
53+ - ``MongoDB\\Database``: ``createCollection()``, ``drop()``,
54+ ``dropCollection()``, ``renameCollection()``
55+
56+ To learn more about breaking changes in this release, see the
57+ :ref:`Version 2.0 Breaking Changes <php-v2-breaking-changes>` section
58+ in the Upgrade Library Versions guide.
59+
4260The {+library-short+} v2.0 release includes the following features,
4361improvements, and fixes:
4462
@@ -79,19 +97,6 @@ improvements, and fixes:
7997 </reference/map-reduce-to-aggregation-pipeline/>` in the
8098 {+mdb-server+} manual.
8199
82- - The following methods return ``void`` instead of the raw command
83- response:
84-
85- - ``MongoDB\\Client``: ``dropDatabase()``
86- - ``MongoDB\\Collection``: ``drop()``, ``dropIndex()``,
87- ``dropIndexes()``, ``dropSearchIndex()``, ``rename()``
88- - ``MongoDB\\Database``: ``createCollection()``, ``drop()``,
89- ``dropCollection()``, ``renameCollection()``
90-
91- To learn more about this breaking change, see the :ref:`Version 2.0
92- Breaking Changes <php-v2-breaking-changes>` section in the Upgrade
93- Library Versions guide.
94-
95100.. _php-lib-version-1.20:
96101
97102What's New in 1.20
0 commit comments