@@ -39,6 +39,24 @@ following versions of the {+php-library+}:
39
39
What's New in 2.0
40
40
-----------------
41
41
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
+
42
60
The {+library-short+} v2.0 release includes the following features,
43
61
improvements, and fixes:
44
62
@@ -79,19 +97,6 @@ improvements, and fixes:
79
97
</reference/map-reduce-to-aggregation-pipeline/>` in the
80
98
{+mdb-server+} manual.
81
99
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
-
95
100
.. _php-lib-version-1.20:
96
101
97
102
What's New in 1.20
0 commit comments