File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,22 @@ the version after v4.0 including any listed under v4.5.
61
61
Version 5.0 Breaking Changes
62
62
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63
63
64
+ - This driver version introduces the following changes to the ``ConnectionId`` class:
65
+
66
+ - The ``ConnectionId`` constructor now accepts a value of type ``long`` as its second
67
+ parameter instead of type ``int``. Similarly, the constructor now accepts a value of
68
+ type ``Long`` as its third parameter instead of type ``Integer``. Because this change breaks
69
+ binary compatibility, recompile any existing code that calls the ``ConnectionId`` constructor.
70
+
71
+ - The ``withServerValue()`` method now accepts a parameter of type ``long`` rather than
72
+ type ``int``. This change breaks binary compatibility, so you must recompile any code
73
+ that calls the ``withServerValue()`` method.
74
+
75
+ - The ``getServerValue()`` method now returns a value of type ``Long`` instead of type
76
+ ``Integer``. Similarly, the ``getLocalValue()`` method returns a value of type
77
+ ``long`` instead of type ``int``. Because this change breaks both binary and source
78
+ compatibility, update any source code that uses these methods and rebuild your binary.
79
+
64
80
- The driver removes the following record annotations:
65
81
66
82
- ``BsonId``
You can’t perform that action at this time.
0 commit comments