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 8b7c9a6 commit 196075bCopy full SHA for 196075b
UPGRADE-2.0.md
@@ -0,0 +1,11 @@
1
+# UPGRADE FROM 1.x to 2.0
2
+
3
+## Backward compatibility breaks
4
5
+### Return types
6
7
+All methods and interfaces have now properly defined return types. These
8
+correspond to the types previously present in the `@return` attribute of each
9
+method. A notable exception to this are `MongoDB\Model/CodecCursor::getId` and
10
+`MongoDB\ChangeStream::getCursorId`, which now return a `MongoDB\BSON\Int64`
11
+instance.
0 commit comments