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