Skip to content

Commit 5e3f7f4

Browse files
committed
DOCSP-48677: v5.4 release
1 parent 832aa4f commit 5e3f7f4

15 files changed

+47
-35
lines changed

config/redirects

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
define: prefix docs/drivers/java/sync
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 v4.10 v4.11 v5.0 v5.1 v5.2 v5.3 master
3+
define: versions v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 v4.10 v4.11 v5.0 v5.1 v5.2 v5.3 v5.4 master
44

5-
symlink: current -> v5.3
5+
symlink: current -> v5.4
66
symlink: upcoming -> master
77

88
raw: ${prefix}/ -> ${base}/current/
99
raw: ${prefix}/master -> ${base}/upcoming/
1010

1111
[*-v5.2]: ${prefix}/${version}/fundamentals/versioned-api/ -> ${base}/${version}/fundamentals/stable-api/
12-
[*-v4.6]: ${prefix}/${version}/fundamentals/crud/read-operations/change-streams/ -> ${base}/${version}/fundamentals/crud/read-operations/retrieve/
1312
[*-master]: ${prefix}/${version}/fundamentals/csfle/ -> ${base}/${version}/fundamentals/encrypt-fields/
1413
[*-master]: ${prefix}/${version}/fundamentals/crud/write-operations/change-a-document/ -> ${base}/${version}/fundamentals/crud/write-operations/modify/
15-
[*-v4.10]: ${prefix}/${version}/fundamentals/connection/socks/ -> ${base}/${version}/
16-
[*-v4.8]: ${prefix}/${version}/connection-troubleshooting/ -> ${base}/${version}/
14+
15+
# TOC evolution redirects
16+
1717
[v5.0-master]: ${prefix}/${version}/fundamentals/crud/ -> ${base}/${version}/crud/
1818
[v5.0-master]: ${prefix}/${version}/fundamentals/crud/read-operations/ -> ${base}/${version}/crud/query-documents/
1919
[v5.0-master]: ${prefix}/${version}/fundamentals/crud/read-operations/retrieve/ -> ${base}/${version}/crud/query-documents/find/

snooty.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ toc_landing_pages = [
1717
"/logging-monitoring",
1818
"/api-documentation",
1919
"/security",
20-
"/security/auth"
20+
"/security/auth",
2121
]
2222

2323
sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
@@ -26,7 +26,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
2626
driver = "java"
2727
driver-long = "MongoDB Java Driver"
2828
driver-short = "Java driver"
29-
version = "5.3"
29+
version = "5.4"
3030
full-version = "{+version+}.0"
3131
mdb-server = "MongoDB Server"
3232
package-name-org = "mongodb-org"

source/connection/connection-troubleshooting.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ against the connected secondary node if you set the read preference to
250250

251251
You can also specify the ``serverSelectionTimeoutMS`` connection option
252252
to adjust the amount of time in which the driver must select a server. To
253-
learn more, see the :ref:`java-connection-uri-options` guide.
253+
learn more, see the :ref:`mcs-cluster-settings` guide.
254254

255255
.. _java-miscellaneous-errors:
256256

source/connection/specify-connection-options.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Specify Connection Options
2626
Cluster Settings </connection/specify-connection-options/cluster-settings>
2727
Server Settings </connection/specify-connection-options/server-settings>
2828
Socket Settings </connection/specify-connection-options/socket-settings>
29+
Security Settings </connection/specify-connection-options/security-connection-options>
2930
Configure Client-level CRUD Settings </connection/specify-connection-options/configure-crud>
3031
Network Compression </connection/specify-connection-options/network-compression>
3132
JNDI Datasource </connection/specify-connection-options/jndi>
@@ -63,4 +64,4 @@ You can learn how to using logging and monitoring with the {+driver-short+} in
6364
the :ref:`Logging and Monitoring section <java-logging-monitoring>`, which
6465
includes the following pages:
6566

66-
.. include:: /includes/logging-monitoring/logging-monitoring-pages.rst
67+
.. include:: /includes/logging-monitoring/logging-monitoring-pages.rst

source/connection/specify-connection-options/security-connection-options.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ MongoDB supports many options for securing your data before and during
1818
transportation. For information about security options, see our :ref:`Security
1919
section <java-security>`, which includes the following:
2020

21-
.. include:: /includes/security/security-pages.rst
21+
.. include:: /includes/security/security-pages.rst

source/crud/query-documents/find.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ retrieve.
5656

5757
Call the ``find()`` method on an instance of a ``MongoCollection`` to filter for
5858
documents that match the provided query. For more information about how to
59-
specify a query, see our :doc:`Specify a Query </crud/query-document>` guide.
59+
specify a query, see our :ref:`java-query` guide.
60+
6061
You can then use methods such as ``forEach()`` or ``cursor()`` to retrieve
6162
matching documents. For more information, see the `FindIterable
6263
<{+api+}/apidocs/mongodb-driver-sync/com/mongodb/client/FindIterable.html>`__
+8-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.. note:: Example Setup
22

3-
This example connects to an instance of MongoDB by using a connection URI. To learn
4-
more about connecting to your MongoDB instance, see the :ref:`connection guide
5-
<connect-to-mongodb>`. This example also uses the ``movies`` collection in the
6-
``sample_mflix`` database included in the :atlas:`Atlas sample datasets
7-
</sample-data?jmp=docs_driver_java>`. You can load them into
8-
your database on the free tier of MongoDB Atlas by following the :atlas:`Get
9-
Started with Atlas Guide
10-
</getting-started/#atlas-getting-started?jmp=docs_driver_java>`.
3+
This example connects to an instance of MongoDB by using a
4+
connection URI. To learn more about connecting to your MongoDB
5+
instance, see the :ref:`java-connect-to-mongodb` guide. This example
6+
also uses the ``movies`` collection in the ``sample_mflix`` database
7+
included in the :atlas:`Atlas sample datasets </sample-data>`. You
8+
can load them into your database on the free tier of MongoDB Atlas
9+
by following the :atlas:`Get Started with Atlas Guide
10+
</getting-started/#atlas-getting-started>`.

source/includes/language-compatibility-table-java.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- Java 6
1313
- Java 5
1414

15-
* - 4.11 to 5.3
15+
* - 4.11 to 5.4
1616
- ✓
1717
- ✓
1818
- ✓
@@ -57,4 +57,5 @@
5757
- ✓
5858
-
5959

60-
.. [#virtual-threads-note] This driver version is not compatible with virtual threads.
60+
.. [#virtual-threads-note] This driver version is not compatible with
61+
virtual threads.

source/includes/mongodb-compatibility-table-java.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
- MongoDB 4.0
1515
- MongoDB 3.6
1616

17-
* - 5.2 to 5.3
17+
* - 5.2 to 5.4
1818
- ✓
1919
- ✓
2020
- ✓

source/includes/security/security-pages.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
- :ref:`In-Use Encryption <java-fle>`
33
- :ref:`TLS/SSL <tls-ssl>`
44
- :ref:`SOCKS5 Proxy <java-connect-socks>`
5-
- :ref:`Validate Driver Artifact Signatures <java-validate-signatures>`
5+
- :ref:`Validate Driver Artifact Signatures <java-validate-signatures>`

source/index.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ MongoDB Java Driver
2727
Data Formats </data-formats>
2828
Indexes </indexes>
2929
Run a Command </command>
30-
Atlas Search <https://www.mongodb.com/docs/atlas/atlas-search/>
30+
Atlas Search </atlas-search>
3131
Atlas Vector Search </atlas-vector-search>
3232
Logging and Monitoring </logging-monitoring>
3333
Security </security>

source/logging-monitoring/change-streams.txt

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.. _java-fundamentals-change-streams:
22
.. _retrieve-watch:
3-
.. _java-usage-watch:
43

54
===================
65
Open Change Streams
@@ -109,12 +108,12 @@ You can call ``forEach()`` on the ``ChangeStreamIterable`` to handle
109108
events as they occur, or you can use the ``iterator()`` method which
110109
returns a ``MongoChangeStreamCursor`` instance that you can use to traverse the results.
111110

112-
You can call the following methods on the ``MongoChangeStreamCursor`:
111+
You can call the following methods on a ``MongoChangeStreamCursor`` instance:
113112

114-
- ``hasNext()``: checks if there are more results.
115-
- ``next()`` returns the next document in the collection.
116-
- ``tryNext()`` immediately returns either the next available element in the
117-
change stream or ``null``.
113+
- ``hasNext()``: Checks if there are more results
114+
- ``next()``: Returns the next document in the collection
115+
- ``tryNext()``: Immediately returns either the next available element in the
116+
change stream or ``null``
118117

119118
.. important:: Iterating the Cursor Blocks the Current Thread
120119

@@ -513,4 +512,5 @@ Server Manual Entries
513512
- :manual:`Change Streams </changeStreams/>`
514513
- :manual:`Change Events </reference/change-events/>`
515514
- :manual:`Aggregation Pipeline </reference/operator/aggregation-pipeline/>`
516-
- :manual:`Aggregation Stages </changeStreams/#modify-change-stream-output>`
515+
- :manual:`Aggregation Stages
516+
</changeStreams/#modify-change-stream-output>`

source/reference.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ Reference
1111

1212
Release Notes </references/whats-new>
1313
Compatibility </references/compatibility>
14-
Third-Party Integrations </references/integrations/>
1514
Upgrade </references/upgrade>
16-
Migrate from the Legacy API </references/legacy>
15+
Migrate from the Legacy API </references/legacy>

source/references/whats-new.txt

+10
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ and features:
5252
the :ref:`java-oidc-kubernetes` section of the OIDC (Workload
5353
Identity Federation) guide
5454

55+
.. replacement:: atlas-query-operators
56+
57+
the :ref:`java-atlas-search` guide
58+
5559
.. _java-version-5.3:
5660

5761
What's New in 5.3
@@ -132,6 +136,12 @@ and features:
132136

133137
:ref:`java-atlas-vector-search` in the Aggregates Builders guide
134138

139+
.. replacement:: csot-link
140+
141+
the `MongoClientSettings.Builder.timeout()
142+
<{+core-api+}/com/mongodb/MongoClientSettings.Builder.html#timeout(long,java.util.concurrent.TimeUnit)>`__
143+
API documentation
144+
135145
.. _java-version-5.1.3:
136146

137147
What's New in 5.1.3

source/security/socks.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ SOCKS5 Proxy Settings
2929

3030
The proxy settings specify the SOCKS5 proxy server address and your
3131
authentication credentials. You can specify your settings in an instance of
32-
:ref:`MongoClientSettings <mongoclientsettings>` or in your :ref:`connection
33-
string <connection-uri>`.
32+
`MongoClientSettings <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.html>`__
33+
or in your :ref:`connection string <connection-uri>`.
3434

3535
.. important::
3636

0 commit comments

Comments
 (0)