-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: techbelle/mongo-java-driver
base: main
head repository: mongodb/mongo-java-driver
compare: main
- 15 commits
- 55 files changed
- 10 contributors
Commits on May 20, 2026
-
Add typed builder API for vector search index definitions (mongodb#1960)
Introduced `SearchIndexDefinition` sealed interface with factory methods, `VectorSearchIndexFields` (`vectorField`, `filterField`, `autoEmbedField` builders), `HnswSearchIndexOptions` for HNSW-specific parameters, and `VectorSearchIndexDefinition` as the concrete implementation. Added Scala companion objects for `SearchIndexDefinition` and `VectorSearchIndexFields` with delegating factory methods, and a `SearchIndexModel.apply` overload for `VectorSearchIndexDefinition`. Annotated mutable builders with `@NotThreadSafe`. Added fail-fast null-element validation using notNullElements in factory methods. Includes unit tests (Java) and spec tests (Scala). JAVA-6112 JAVA-6099 --------- Co-authored-by: Almas Abdrazak <almas337519@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a50345f - Browse repository at this point
Copy the full SHA a50345fView commit details -
Add $rerank aggregation stage support (mongodb#1963)
Adds builder support for the $rerank pipeline stage (MongoDB 8.3, Atlas only). API: - RerankQuery: query object with text shorthand or full Bson for future modalities - Aggregates.rerank(): 2 overloads (single path, multi path) - Scala wrappers and type alias in Aggregates.scala JAVA-6052
Configuration menu - View commit details
-
Copy full SHA for 028fec3 - Browse repository at this point
Copy the full SHA 028fec3View commit details -
Resolve TLS channel address before opening socket
This change fixes the TLS channel stream connection-establishment path so address resolution happens before opening a SocketChannel. Previously, TlsChannelStream opened and configured a SocketChannel before calling getSocketAddresses. If the configured resolver failed, the exception was reported to the async handler, but the already-opened channel was not closed. Resolving the address before opening the channel avoids the resolver-failure leak and aligns TlsChannelStream with the existing async socket-channel and Netty stream implementations. The setup path now also closes the channel if any pre-registration step fails after the channel has been opened. JAVA-5855
Configuration menu - View commit details
-
Copy full SHA for 13d4aef - Browse repository at this point
Copy the full SHA 13d4aefView commit details
Commits on May 21, 2026
-
Add vectorSearch operator for $search pipeline stage (mongodb#1962)
* Add vectorSearch operator for $search pipeline stage JAVA-6130
Configuration menu - View commit details
-
Copy full SHA for 58122f6 - Browse repository at this point
Copy the full SHA 58122f6View commit details -
Revert "Resolve TLS channel address before opening socket" (mongodb#1979
) This reverts commit 13d4aef.
Configuration menu - View commit details
-
Copy full SHA for 717da9c - Browse repository at this point
Copy the full SHA 717da9cView commit details
Commits on May 26, 2026
-
Add storedSource support for vector search indexes and returnStoredSo…
…urce for $vectorSearch queries (mongodb#1977) * Add storedSource support for vector search indexes and returnStoredSource for $vectorSearch queries JAVA-6129
Configuration menu - View commit details
-
Copy full SHA for cd6c045 - Browse repository at this point
Copy the full SHA cd6c045View commit details
Commits on May 27, 2026
-
Mark micrometer OSGi imports as optional and add bundle resolution te…
…st (mongodb#1982) The micrometer-observation dependency is optional but its packages were imported as required in the OSGi metadata, causing bundle resolution failure in OSGi containers. Adds io.micrometer.*;resolution:=optional to driver-core Import-Package. Also adds a new testing/osgi-test module that uses Apache Felix to verify all driver bundles resolve without optional dependencies present. This runs in CI via static-checks.sh to prevent future regressions. JAVA-6215 --------- Co-authored-by: Viacheslav Babanin <frest0512@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 541af75 - Browse repository at this point
Copy the full SHA 541af75View commit details -
Fix NamespaceExists test failure (mongodb#1956)
* Drop test databases between Micrometer tracing tests --------- Co-authored-by: Ross Lawley <ross@mongodb.com>
Configuration menu - View commit details
-
Copy full SHA for 40ee8d5 - Browse repository at this point
Copy the full SHA 40ee8d5View commit details
Commits on May 28, 2026
-
Optimize RawBsonDocument encode and decode by eliminating intermediat…
…e allocations (mongodb#1988) - Add BsonInput.pipe(BsonOutput, int) to remove the temporary byte[] copy in BsonBinaryWriter.pipeDocument() on both encode and decode paths - Add public getByteBacking(), getByteOffset(), getByteLength() on RawBsonDocument to expose the backing byte array JAVA-6133 --------- Co-authored-by: slav.babanin <slav.babanin@mongodb.com>
Configuration menu - View commit details
-
Copy full SHA for 98e0761 - Browse repository at this point
Copy the full SHA 98e0761View commit details -
Upgrade libmongocrypt version to 1.18.1 (mongodb#1983)
JAVA-6187 --------- Co-authored-by: Almas Abdrazak <abdrazak.almas@mongodb.com> Co-authored-by: Ross Lawley <ross@mongodb.com> Co-authored-by: slav.babanin <slav.babanin@mongodb.com>
Configuration menu - View commit details
-
Copy full SHA for 966abab - Browse repository at this point
Copy the full SHA 966ababView commit details -
Add BinaryVector and VectorSearchQuery vectorSearch overloads to Scal…
…a driver (mongodb#1986) * Add BinaryVector and VectorSearchQuery vectorSearch overloads to Scala driver The Scala Aggregates wrapper only exposed the `Iterable[Double]` overload of vectorSearch. This adds the `BinaryVector` (since 5.3) and `VectorSearchQuery` auto-embedding (since 5.7) overloads. Changes the existing overload's parameter from `Iterable[java.lang.Double]` to `Iterable[Double]` to resolve Scala type inference ambiguity when multiple overloads are present. Also fixes scaladoc warnings for unresolvable cross-module Java type links. JAVA-5699 --------- Co-authored-by: Viacheslav Babanin <frest0512@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f3bbdb2 - Browse repository at this point
Copy the full SHA f3bbdb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d120c75 - Browse repository at this point
Copy the full SHA d120c75View commit details
Commits on Jun 1, 2026
-
build(deps): bump testing/resources/specifications from
b519824to ……`25bee54` (mongodb#1984) [Commits](mongodb/specifications@b519824...25bee54) --- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 606ed03 - Browse repository at this point
Copy the full SHA 606ed03View commit details
Commits on Jun 2, 2026
-
Evergreen: fixes - gpg and oidc (mongodb#1987)
* Evergreen: limit memory usage for oidc tests * Update the testing-guide * Evergreen: Ensure gpg is available JAVA-6221 JAVA-6187
Configuration menu - View commit details
-
Copy full SHA for 321bdb7 - Browse repository at this point
Copy the full SHA 321bdb7View commit details
Commits on Jun 4, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 8aa3242 - Browse repository at this point
Copy the full SHA 8aa3242View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main