Skip to content

v0.12.0 - Versioned API & Basic Authentication

Choose a tag to compare

@paulocoghi paulocoghi released this 30 Jul 22:10
· 36 commits to master since this release

This release brings full support for Versioned API. It also adds basic authentication and makes the URI parser more robust.

Added

  • Versioned API: You can now configure the ServerApi version on the client to guarantee backward compatibility with the database.
  • Authentication: Added MONGODB-X509 and PLAIN (LDAP) support. Basic authentication is now ready.
  • Testing: Added parallel test runners for the legacy authentication specification and the Versioned API specification.

Changed

  • URI Parser: If an option appears multiple times in a connection string, the driver now uses the last value. This behavior correctly matches the MongoDB specification.
  • Unix Sockets: The driver no longer changes Unix socket paths to lowercase letters.

Fixed

  • URI Parser: Fixed bounds-checking issues when the parser splits connection strings.