Skip to content

Commit 7dcbc98

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UPGRADE-2.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ 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+
* The BSON functions in the `MongoDB\BSON` namespace have been removed in favor
8+
of the `MongoDB\BSON\Document` class.

0 commit comments

Comments
 (0)