@@ -68,7 +68,8 @@ This driver version introduces the following breaking changes:
6868 - The ``ConnectionId`` constructor now accepts a value of type ``long`` as its second
6969 parameter instead of type ``int``. Similarly, the constructor now accepts a value of
7070 type ``Long`` as its third parameter instead of type ``Integer``. Because this change breaks
71- binary compatibility, recompile any existing code that calls the ``ConnectionId`` constructor.
71+ binary compatibility, recompile any existing code that calls the
72+ ``ConnectionId`` constructor.
7273
7374 - The ``withServerValue()`` method now accepts a parameter of type ``long`` rather than
7475 type ``int``. This change breaks binary compatibility, so you must recompile any code
@@ -280,6 +281,14 @@ This driver version introduces the following breaking changes:
280281 For more information about the events package, see the `com.mongodb.event
281282 package documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/event/package-summary.html>`__
282283
284+ .. _java-breaking-changes-v5.0-list-collections:
285+
286+ - This driver version adds support for a new ``authorizedCollection`` option of
287+ the ``listCollections`` command. This introduces a breaking binary
288+ change in the ``MongoDatabase.listCollectionNames()`` methods, meaning any
289+ code using these methods must be recompiled. This change does not require any
290+ changes to source code.
291+
283292.. _java-breaking-changes-v4.8:
284293
285294Version 4.8 Breaking Changes
0 commit comments