Skip to content

Commit f98dc4a

Browse files
committed
Add upgrade note for removed BSON functions
1 parent a3af4c9 commit f98dc4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UPGRADE-2.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ UPGRADE FROM 1.x to 2.0
44
* The `getServer()` method has been removed from the CommandFailedEvent,
55
CommandStartedEvent, and CommandSucceededEvent event classes. The `getHost()`
66
and `getPort()` methods have been added in its place.
7+
8+
* The BSON functions in the `MongoDB\BSON` namespace have been removed in favor
9+
of the `MongoDB\BSON\Document` class.

0 commit comments

Comments
 (0)