For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

What's New

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

The 5.12 driver release includes the following changes, fixes, and features:

To learn more about this release, see the v5.12 Release Notes on GitHub.

Important

The Scala driver 5.11.1 includes fixes for the following CVEs:

For the latest information about MongoDB security updates, see MongoDB Security Bulletins.

To learn more about this release, see the v5.11.1 Release Notes on GitHub.

The 5.11 driver release does not include any changes, fixes, or features that apply to the Scala driver.

To learn more about this release, see the v5.11 Release Notes on GitHub.

The 5.10 driver release includes the following changes, fixes, and features:

  • Removes the stale @Beta annotation from the SearchOptions and VectorSearchOptions classes.

To learn more about this release, see the v5.10 Release Notes on GitHub.

The 5.9.2 driver patch release includes the following changes:

To learn more about this release, see the v5.9.2 Release Notes on GitHub.

The 5.9 driver release includes the following changes, fixes, and features:

To learn more about this release, see the v5.9 Release Notes on GitHub.

The 5.8 driver release includes the following changes, fixes, and features:

  • Adds BinaryVector and VectorSearchQuery overloads to the vectorSearch() method.

To learn more about this release, see the v5.8 Release Notes on GitHub.

The 5.7.1 driver patch release includes the following changes:

  • Fixes an issue where the Scala 3 artifact was not published in version 5.7.0.

To learn more about this release, see the v5.7.1 Release Notes on GitHub.

Important

Scala 3 Support

Scala driver v5.7 introduces support for Scala 3. The Scala 3 artifact is available beginning in v5.7.1. You can use the Scala driver with Scala 2.11, 2.12, 2.13, or 3.x. To learn more about compatible Scala versions, see the Compatibility page.

The 5.7 driver release includes the following changes, fixes, and features:

  • Adds support for Scala 3. The driver now publishes artifacts for Scala 3 in addition to existing Scala 2.11, 2.12, and 2.13 artifacts. You can use the driver with any supported Scala version by using the %% operator in your build.sbt file, which automatically selects the correct artifact for your Scala version.

The 5.6 driver release includes the following changes, fixes, and features:

The 5.5.1 driver patch release includes the following changes:

Important

Removal of Support for MongoDB Server 4.0

Scala driver v5.5 removes support for MongoDB Server 4.0. To learn more about compatible versions of the server, see Compatibility.

The 5.5 driver release includes the following changes, fixes, and features:

  • Adds support for the connectTimeoutMS option when using the default TLS transport layer.

The 5.4 driver release includes the following changes, fixes, and features:

  • Implements a client bulk write API that allows you to perform write operations on multiple databases and collections in the same call. To learn more about this feature, see the Client Bulk Write section of the Bulk Write Operations guide.

The 5.3 driver release includes the following changes, fixes, and features:

Important

Removal of Support for MongoDB Server 3.6

Scala driver v5.2 removes support for MongoDB Server 3.6. To learn more about compatible versions of the server, see Compatibility.

The 5.2 driver release includes the following changes, fixes, and features:

The 5.1.3 driver patch release includes the following changes:

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.