From 69f804389258425bb5cb7b1c8200e004383c3d80 Mon Sep 17 00:00:00 2001 From: Nora Reidy Date: Fri, 29 May 2026 12:07:07 -0400 Subject: [PATCH 1/4] DOCSP-60630: Java 5.8 what's new --- dbx/jvm/v5.8-wn-items.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 dbx/jvm/v5.8-wn-items.rst diff --git a/dbx/jvm/v5.8-wn-items.rst b/dbx/jvm/v5.8-wn-items.rst new file mode 100644 index 0000000..edc77bf --- /dev/null +++ b/dbx/jvm/v5.8-wn-items.rst @@ -0,0 +1,27 @@ +- Adds a typed builder API for vector search index definitions. + +- Adds support for the ``$rerank`` aggregation stage. When connected to an Atlas cluster running + on MongoDB 8.3 or later, you can use the ``Aggregates.rerank()`` builder method to create this stage. + +- Adds support for the ``vectorSearch`` operator in a ``$search`` pipeline stage. You can + use the ``SearchOperator.vectorSearch()`` builder method to perform approximate nearest neighbor + (ANN) vector search, or ``SearchOperator.vectorSearchExact()`` for exact nearest neighbor + (ENN) search. The returned ``VectorSearchOperator`` supports a ``filter()`` method to apply + lexical prefilters. + +- Adds support for configuring stored source on vector search index definitions + by using the ``storedSource()`` method in the ``VectorSearchIndexDefinition`` class. + +- Adds support for requesting stored source fields in ``$vectorSearch`` results by using the + ``returnStoredSource()`` method in the ``VectorSearchOptions`` class. + +- Optimizes ``RawBsonDocument`` encode and decode performance by + eliminating intermediate allocations. + +- Fixes an OSGi bundle resolution failure when Micrometer is + not present. + +- Adds missing Javadoc to ``MongodbObservation`` and + ``MongodbObservationContext``. + +- Upgrades ``libmongocrypt`` to 1.18.1. \ No newline at end of file From e10b82f936b2c507d5adbf47a7dcd63c1d55d8e8 Mon Sep 17 00:00:00 2001 From: Nora Reidy Date: Fri, 29 May 2026 12:11:57 -0400 Subject: [PATCH 2/4] edits --- dbx/jvm/v5.8-wn-items.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dbx/jvm/v5.8-wn-items.rst b/dbx/jvm/v5.8-wn-items.rst index edc77bf..c2ebb6f 100644 --- a/dbx/jvm/v5.8-wn-items.rst +++ b/dbx/jvm/v5.8-wn-items.rst @@ -21,7 +21,7 @@ - Fixes an OSGi bundle resolution failure when Micrometer is not present. -- Adds missing Javadoc to ``MongodbObservation`` and - ``MongodbObservationContext``. +- Adds Javadoc documentation to the ``MongodbObservation`` and + ``MongodbObservationContext`` classes. -- Upgrades ``libmongocrypt`` to 1.18.1. \ No newline at end of file +- Upgrades the ``libmongocrypt`` version to 1.18.1. \ No newline at end of file From 3d620e4ae62adce1e9aae161a2ca2b3f73831074 Mon Sep 17 00:00:00 2001 From: Nora Reidy Date: Fri, 29 May 2026 13:38:01 -0400 Subject: [PATCH 3/4] 5.7 fix --- dbx/jvm/v5.7-wn-items.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbx/jvm/v5.7-wn-items.rst b/dbx/jvm/v5.7-wn-items.rst index 14aba54..dc0ea09 100644 --- a/dbx/jvm/v5.7-wn-items.rst +++ b/dbx/jvm/v5.7-wn-items.rst @@ -1,7 +1,7 @@ -- :red:`Important:` The next minor release will drop support for MongoDB +- :red:`Important:` An upcoming minor release will drop support for MongoDB Server version 4.2 and raise the minimum supported version to 4.4. This change aligns with the :website:`MongoDB Software Lifecycle Schedules - `. + `. We recommend making changes to your application to accommodate breaking changes. To learn more about upgrading your server version, see the :manual:`Release Notes ` From 6f510c75df5cec03cbdfe32c4b584ac1e5e1b630 Mon Sep 17 00:00:00 2001 From: Nora Reidy Date: Fri, 29 May 2026 16:53:22 -0400 Subject: [PATCH 4/4] MW feedback --- dbx/jvm/v5.8-wn-items.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbx/jvm/v5.8-wn-items.rst b/dbx/jvm/v5.8-wn-items.rst index c2ebb6f..4425bef 100644 --- a/dbx/jvm/v5.8-wn-items.rst +++ b/dbx/jvm/v5.8-wn-items.rst @@ -1,7 +1,7 @@ - Adds a typed builder API for vector search index definitions. - Adds support for the ``$rerank`` aggregation stage. When connected to an Atlas cluster running - on MongoDB 8.3 or later, you can use the ``Aggregates.rerank()`` builder method to create this stage. + MongoDB 8.3 or later, you can use the ``Aggregates.rerank()`` builder method to create this stage. - Adds support for the ``vectorSearch`` operator in a ``$search`` pipeline stage. You can use the ``SearchOperator.vectorSearch()`` builder method to perform approximate nearest neighbor