Skip to content

Commit f3abdd3

Browse files
committed
Update reference documentation for 3.10 release
1 parent 774a855 commit f3abdd3

File tree

14 files changed

+81
-39
lines changed

14 files changed

+81
-39
lines changed

docs/landing/data/releases.toml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
current = "3.9.0"
1+
current = "3.10.0"
22

33
[[versions]]
4-
version = "3.9.0"
4+
version = "3.10.0"
55
status = "current"
6+
docs = "./3.10"
7+
api = "./3.10/javadoc"
8+
9+
[[versions]]
10+
version = "3.9.0"
611
docs = "./3.9"
712
api = "./3.9/javadoc"
813

@@ -64,15 +69,15 @@ current = "3.9.0"
6469
[[drivers]]
6570
name = "mongodb-driver-sync"
6671
description = "The synchronous driver, new in 3.7."
67-
versions = "3.9.0,3.8.2,3.7.1"
72+
versions = "3.10.0,3.9.0,3.8.2,3.7.1"
6873

6974
[[drivers]]
7075
name = "mongodb-driver-legacy"
7176
description = "The legacy API for the synchronous driver.<br/>Prefer mongodb-driver-sync for new applications"
72-
versions = "3.9.0"
77+
versions = "3.10.0,3.9.0"
7378

7479
[[drivers]]
7580
name = "mongodb-driver-async"
7681
description = "The callback-based asynchronous driver.<br/>Prefer the Reactive Streams driver for new applications."
77-
versions = "3.9.0,3.8.2,3.7.1,3.6.4,3.5.0,3.4.3,3.3.0,3.2.2,3.1.1,3.0.4"
82+
versions = "3.10.0,3.9.0,3.8.2,3.7.1,3.6.4,3.5.0,3.4.3,3.3.0,3.2.2,3.1.1,3.0.4"
7883

docs/landing/static/versions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[
2+
{"version": "3.10"},
23
{"version": "3.9"},
34
{"version": "3.8"},
45
{"version": "3.7"},

docs/reference/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL = "/mongo-java-driver/3.9"
1+
baseURL = "/mongo-java-driver/3.10"
22
languageCode = "en-us"
33
title = "MongoDB Java Driver"
44
theme = "mongodb"

docs/reference/content/bson/installation-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ This library comprehensively supports [BSON](http://www.bsonspec.org),
2222
the data storage and network transfer format that MongoDB uses for "documents".
2323
BSON is short for Binary [JSON](http://json.org/), is a binary-encoded serialization of JSON-like documents.
2424

25-
{{< install artifactId="bson" version="3.9.0" >}}
25+
{{< install artifactId="bson" version="3.10.0" >}}

docs/reference/content/driver-async/getting-started/installation.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ title = "Installation"
1414
The recommended way to get started using one of the drivers in your project is with a dependency management system.
1515

1616
{{% note class="important" %}}
17-
The MongoDB Async Driver requires either [Netty](http://netty.io/) or Java 7.
17+
When TLS/SSL is disabled, the MongoDB Async Driver requires either [Netty](http://netty.io/) or Java 7+.
18+
When TLS/SSL is enabled, the MongoDB Async Driver requires either [Netty](http://netty.io/) or Java 8+.
1819
{{% /note %}}
1920

2021
{{< distroPicker >}}
@@ -23,4 +24,4 @@ The MongoDB Async Driver requires either [Netty](http://netty.io/) or Java 7.
2324

2425
The MongoDB Async Driver provides asynchronous API that can leverage either Netty or Java 7's AsynchronousSocketChannel for fast and non-blocking I/O.
2526

26-
{{< install artifactId="mongodb-driver-async" version="3.9.0" dependencies="true">}}
27+
{{< install artifactId="mongodb-driver-async" version="3.10.0" dependencies="true">}}

docs/reference/content/driver-async/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ title = "MongoDB Async Driver"
99

1010
## MongoDB Async Java Driver Documentation
1111

12-
The following guide provides information on using the callback-based MongoDB Async Java Driver 3.9.
12+
The following guide provides information on using the callback-based MongoDB Async Java Driver 3.10.
1313

1414
{{% note %}}
1515
The callback-based Async Java Driver has been deprecated in favor of the
1616
[MongoDB Reactive Streams Java Driver](http://mongodb.github.io/mongo-java-driver-reactivestreams/).
1717
{{% /note %}}
1818

19+
### What's New in 3.19
20+
21+
The driver now natively supports TLS/SSL when used with Java 8+.
22+
1923
### What's New in 3.9
2024

2125
The callback-based MongoDB Async Java driver has been deprecated in the 3.9 release.

docs/reference/content/driver-async/tutorials/connect-to-mongodb.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ documentation for more information.
4747
import com.mongodb.ServerAddress;
4848
import com.mongodb.async.client.*;
4949
import com.mongodb.connection.ClusterSettings;
50-
import com.mongodb.connection.netty.NettyStreamFactoryFactory;
5150
import java.util.Arrays;
5251
import static java.util.Arrays.asList;
5352
```
@@ -227,16 +226,11 @@ connection string (or `ConnectionString` object) or the `MongoClientSettings` or
227226

228227
{{% note %}}
229228
Netty is an optional dependency of the asynchronous driver. If your application requires Netty, it must explicitly add a dependency to
230-
Netty artifacts. The driver is currently tested against Netty 4.0.
229+
Netty artifacts. The driver is currently tested against Netty 4.1.
231230
{{% /note %}}
232231

233-
By default, the async driver relies on the
234-
[`AsynchronousSocketChannel`](http://docs.oracle.com/javase/7/docs/api/java/nio/channels/AsynchronousSocketChannel.html) class, introduced
235-
in Java 7. However, an application must use [Netty](http://netty.io/) instead if:
236-
237-
* The application is configured to use SSL to communicate with the MongoDB server, or
238-
239-
* The application runs on Java 6.
232+
In its default configuration, the async driver is supported on Java 7+ when TLS/SSL is disabled, and on Java 8+ when TLS/SSL is enabled.
233+
Otherwise, applications must use [Netty](http://netty.io/).
240234

241235
To configure the driver to use Netty,
242236

docs/reference/content/driver/getting-started/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The `mongodb-driver-sync` artifact is a valid OSGi bundle whose symbolic name is
3131

3232
{{% /note %}}
3333

34-
{{< install artifactId="mongodb-driver-sync" version="3.9.0" dependencies="true">}}
34+
{{< install artifactId="mongodb-driver-sync" version="3.10.0" dependencies="true">}}
3535

3636
## MongoDB Driver Legacy
3737

@@ -44,7 +44,7 @@ While not deprecated, we recommend that new applications depend on the `mongodb-
4444

4545
{{% /note %}}
4646

47-
{{< install artifactId="mongodb-driver-legacy" version="3.9.0" dependencies="true">}}
47+
{{< install artifactId="mongodb-driver-legacy" version="3.10.0" dependencies="true">}}
4848

4949
## MongoDB Driver
5050

@@ -61,7 +61,7 @@ This module is deprecated and will no longer be published in the next major rele
6161

6262
{{% /note %}}
6363

64-
{{< install artifactId="mongodb-driver" version="3.9.0" dependencies="true">}}
64+
{{< install artifactId="mongodb-driver" version="3.10.0" dependencies="true">}}
6565

6666

6767
## Uber Jar (Legacy)
@@ -81,4 +81,4 @@ This module is deprecated and will no longer be published in the next major rele
8181

8282
{{% /note %}}
8383

84-
{{< install artifactId="mongo-java-driver" version="3.9.0">}}
84+
{{< install artifactId="mongo-java-driver" version="3.10.0">}}

docs/reference/content/driver/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ title = "MongoDB Driver"
77
pre = "<i class='fa fa-arrows-h'></i>"
88
+++
99

10-
## MongoDB Driver 3.9 Documentation
10+
## MongoDB Driver 3.10 Documentation
1111

1212
The following guide provides information on using the synchronous
13-
MongoDB Java Driver 3.9.
13+
MongoDB Java Driver 3.10.
1414

15-
### What's New in 3.9
15+
### What's New in 3.10
1616

1717
The [What's New]({{< relref "whats-new.md" >}}) guide explains
1818
the major new features of the driver.

docs/reference/content/driver/tutorials/jndi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The configuration of the `MongoClientFactory` differs depending on the applicati
2828

2929
<module xmlns="urn:jboss:module:1.3" name="org.mongodb">
3030
<resources>
31-
<resource-root path="mongo-java-driver-3.9.0.jar"/>
31+
<resource-root path="mongo-java-driver-3.10.0.jar"/>
3232
</resources>
3333
<dependencies>
3434
<module name="javax.api"/>

0 commit comments

Comments
 (0)