Skip to content

Commit 6b37fef

Browse files
committed
move bc into an admonition
1 parent ea9fc2f commit 6b37fef

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

source/whats-new.txt

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,24 @@ following versions of the {+php-library+}:
3535
What's New in 2.0
3636
-----------------
3737

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+
3856
The {+library-short+} v2.0 release includes the following features,
3957
improvements, and fixes:
4058

@@ -75,19 +93,6 @@ improvements, and fixes:
7593
</reference/map-reduce-to-aggregation-pipeline/>` in the
7694
{+mdb-server+} manual.
7795

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-
9196
.. _php-lib-version-1.20:
9297

9398
What's New in 1.20

0 commit comments

Comments
 (0)