We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf34d5b commit 757e90bCopy full SHA for 757e90b
UPGRADE-2.0.md
@@ -1,6 +1,9 @@
1
UPGRADE FROM 1.x to 2.0
2
=======================
3
4
+ * Add return type to implementations of `MongoDB\BSON\Serializable::bsonSerialize()`,
5
+ with `array|\stdClass|Document|PackedArray` or a subset of this union type.
6
+ * Add parameter type to implementations of `MongoDB\BSON\Unserializable::bsonUnserialize(array $data)`.
7
* The `getServer()` method has been removed from the CommandFailedEvent,
8
CommandStartedEvent, and CommandSucceededEvent event classes. The `getHost()`
9
and `getPort()` methods have been added in its place.
0 commit comments