Docs Menu
Docs Home
/ / /
Java Reactive Streams Driver

What's New

On this page

  • What's New in 5.2
  • What's New in 5.1.3
  • What's New in 5.1.2
  • What's New in 5.1.1
  • What's New in 5.1

Learn about new features, improvements, and fixes introduced in the following versions of the MongoDB Java Reactive Streams Driver:

  • Version 5.2

  • Version 5.1.3

  • Version 5.1.2

  • Version 5.1.1

  • Version 5.1

New features of the 5.2 driver release include:

  • Adds the SearchIndexType class, which you can pass when constructing a SearchIndexModel instance. This change allows you to specify the index type when creating an Atlas Search or Vector Search index. To learn more, see the SearchIndexModel API documentation.

  • Delegates the implementation of the algorithms that implement the SCRAM-SHA-1 and SCRAM-SHA-256 authentication mechanisms to the configured JCA provider. This change means that your application can use a configured FIPS-compliant JCA provider to provide a higher level of security.

  • Fixes an issue that caused the InsertOneResult.getInsertedId() and InsertManyResult.getInsertedIds() methods to return incorrect document IDs in some situations. This change is backported to Java Reactive Streams driver v5.1.4 and v4.11.4.

  • When a sharded cluster operation is unsuccessful, the driver avoids selecting the same mongos server for operation retry attempts if other mongos servers are available.

The 5.1.3 driver patch release includes the following changes:

  • Fixes an issue that could cause assertion errors when using Cursor types.

The 5.1.2 driver patch release includes the following changes:

  • Fixes an issue that prevents the driver from encoding and decoding concrete classes that extend generic base classes, in cases that you specify the base class as the generic type of the MongoCollection instance.

The 5.1.1 driver patch release includes the following changes:

  • When using the MONGODB-OIDC authentication mechanism, you must not include comma characters in the authMechanismProperties connection string value.

Important

MongoDB Server v3.6 End-of-Life

Support for MongoDB Server v3.6 is deprecated in this release and will be removed in the v5.2 release of the driver.

To learn about other changes introduced in v5.1, see the What's New guide in the Java Sync Driver documentation.

Back

Sample Custom Subscriber Implementations

Next

Issues & Help