Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mongodb/mongo-java-driver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: r5.14.0
Choose a base ref
...
head repository: mongodb/mongo-java-driver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: r5.15.0
Choose a head ref
  • 10 commits
  • 61 files changed
  • 6 contributors

Commits on Oct 28, 2026

  1. Configuration menu
    Copy the full SHA
    49c0364 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2026

  1. Configuration menu
    Copy the full SHA
    455cf65 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5e3f6b View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2026

  1. Java-6257 drop Drop API for (prefix|suffix|substring)Preview and upgr…

    …ade libcrypt version (#2087)
    
    Drop API for (prefix|suffix|substring)and upgrade libcrypt version to 1.2.1
    strogiyotec authored Nov 16, 2026
    Configuration menu
    Copy the full SHA
    5e5a936 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2026

  1. Introduce Custom Callback logic in Configurable DNS (#2071)

    JAVA-6307: Add custom callback `SrvHostValidator` that allows a
    user-specified validation step for validating hosts discovered when
    looking up `SRV` records. It can be set using
    `ClusterSettings.Builder.srvHostValidator` per DRIVERS-3632.
    
    Co-authored-by: Viacheslav Babanin <frest0512@gmail.com>
    apmasell and vbabanin authored Nov 17, 2026
    Configuration menu
    Copy the full SHA
    c142c89 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2026

  1. JAVA-6307 Fix missing Scala import for SrvHostValidator (#2101)

    Adds a missing rexport for the Scala driver of the SrvHostValidator
    interface.
    apmasell authored Nov 18, 2026
    Configuration menu
    Copy the full SHA
    bc25a5e View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2026

  1. Merge commit from fork

    A password containing an unescaped '/' or '?' is split into the database
    name, an option key or an option value, and the tail was then echoed into
    exception messages, WARN logs and toString().
    
    Per the "Disclosure of Sensitive Values" section of the connection string
    specification:
    - parse failures and diagnostics no longer include any part of the
      connection string (invalid option, integer, host, compressor, UUID,
      read preference, tag, authMechanismProperties, duplicated proxy options,
      srvAllowedHostsSuffix, URL decoding errors);
    - unsupported options are reported as a single WARN with a count only, and
      boolean WARNs name the key but not the value;
    - ConnectionString.toString() is built from the parsed components and hides
      the user information and all option values with <hidden>;
    - MongoCredential.toString() hides the user name;
    - getConnectionString() keeps returning the raw string and now documents it.
    
    Adds ConnectionStringCredentialDisclosureTest (spec prose tests plus
    vector-style cases) and a branch in ConnectionStringTest that runs
    credential-disclosure.json once the specifications submodule contains it.
    strogiyotec authored Nov 19, 2026
    Configuration menu
    Copy the full SHA
    e92a81b View commit details
    Browse the repository at this point in the history
  2. Merge commit from fork

    * JAVA-6297 Do not disclose credentials in ConnectionString diagnostics
    
    A password containing an unescaped '/' or '?' is split into the database
    name, an option key or an option value, and the tail was then echoed into
    exception messages, WARN logs and toString().
    
    Per the "Disclosure of Sensitive Values" section of the connection string
    specification:
    - parse failures and diagnostics no longer include any part of the
      connection string (invalid option, integer, host, compressor, UUID,
      read preference, tag, authMechanismProperties, duplicated proxy options,
      srvAllowedHostsSuffix, URL decoding errors);
    - unsupported options are reported as a single WARN with a count only, and
      boolean WARNs name the key but not the value;
    - ConnectionString.toString() is built from the parsed components and hides
      the user information and all option values with <hidden>;
    - MongoCredential.toString() hides the user name;
    - getConnectionString() keeps returning the raw string and now documents it.
    
    Adds ConnectionStringCredentialDisclosureTest (spec prose tests plus
    vector-style cases) and a branch in ConnectionStringTest that runs
    credential-disclosure.json once the specifications submodule contains it.
    
    * Reject malformed SRV targets
    
    JAVA-6347
    
    SRV seedlist host validation can be bypassed by a malformed SRV target
    
    * ease srv check
    
    ---------
    
    Co-authored-by: Andre Masella <andre.masella@mongodb.com>
    strogiyotec and apmasell authored Nov 19, 2026
    Configuration menu
    Copy the full SHA
    04680f5 View commit details
    Browse the repository at this point in the history
  3. Merge commit from fork

    JAVA-6305
    
    This fixes an issue where a username or password could contain a NUL
    (zero) byte, which is used as a separator, causing extra fields to
    included in the credentials.
    apmasell authored Nov 19, 2026
    Configuration menu
    Copy the full SHA
    f31945e View commit details
    Browse the repository at this point in the history
  4. Version: bump 5.15.0

    apmasell committed Nov 19, 2026
    Configuration menu
    Copy the full SHA
    6c547f3 View commit details
    Browse the repository at this point in the history
Loading