Skip to content

Commit 61282f4

Browse files
committed
Add 3.9 release to reference documentation
1 parent c08746e commit 61282f4

File tree

13 files changed

+104
-71
lines changed

13 files changed

+104
-71
lines changed

docs/landing/data/releases.toml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
current = "3.8.2"
1+
current = "3.9.0"
22

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

@@ -58,25 +63,16 @@ current = "3.8.2"
5863

5964
[[drivers]]
6065
name = "mongodb-driver-sync"
61-
description = "The synchronous driver, new in 3.7.<br/>For older versions of the driver please use the `mongodb-driver` or `mongo-java-driver`."
62-
versions = "3.8.2,3.7.1"
66+
description = "The synchronous driver, new in 3.7."
67+
versions = "3.9.0,3.8.2,3.7.1"
6368

6469
[[drivers]]
65-
name = "mongodb-driver"
66-
description = "The synchronous driver plus the legacy driver, new in 3.0.<br/>For older versions of the driver or for OSGi-based applications please use the `mongo-java-driver`."
67-
versions = "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"
68-
69-
[[drivers]]
70-
name = "mongo-java-driver"
71-
description = "An uber jar containing the bson library, the core library and the mongodb-driver.<br/>This artifact is a valid OSGi bundle."
72-
versions = "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,2.14.2,2.13.3"
70+
name = "mongodb-driver-legacy"
71+
description = "The legacy API for the synchronous driver.<br/>Prefer mongodb-driver-sync for new applications"
72+
versions = "3.9.0"
7373

7474
[[drivers]]
7575
name = "mongodb-driver-async"
76-
description = "The new asynchronous driver, new in 3.0"
77-
versions = "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"
76+
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"
7878

79-
[[drivers]]
80-
name = "mongodb-driver-core"
81-
description = "The core library, new in 3.0"
82-
versions = "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"

docs/landing/static/versions.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
[{"version": "3.8"}, {"version": "3.7"}, {"version": "3.6"}, {"version": "3.5"}, {"version": "3.4"}, {"version": "3.3"}, {"version": "3.2"}, {"version": "3 .1"}, {"version": "3 .0"}, {"version": "2.13"}, {"version": "2.14"}]
1+
[
2+
{"version": "3.9"},
3+
{"version": "3.8"},
4+
{"version": "3.7"},
5+
{"version": "3.6"},
6+
{"version": "3.5"},
7+
{"version": "3.4"},
8+
{"version": "3.3"},
9+
{"version": "3.2"},
10+
{"version": "3.1"},
11+
{"version": "3.0"},
12+
{"version": "2.14"},
13+
{"version": "2.13"}
14+
]

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.8"
1+
baseURL = "/mongo-java-driver/3.9"
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.8.2" >}}
25+
{{< install artifactId="bson" version="3.9.0" >}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ The MongoDB Async Driver requires either [Netty](http://netty.io/) or Java 7.
2323

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

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

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

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,16 @@ 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.8.
12+
The following guide provides information on using the callback-based MongoDB Async Java Driver 3.9.
1313

1414
{{% note %}}
15-
There are two higher level MongoDB Asynchronous Java Drivers available, that users may find easier to work with due to their friendlier APIs:
16-
17-
* [MongoDB RxJava Driver](http://mongodb.github.io/mongo-java-driver-rx/) An RxJava implementation of the MongoDB Driver.
18-
* [MongoDB Reactive Streams Java Driver](http://mongodb.github.io/mongo-java-driver-reactivestreams/) A Reactive Streams implementation for the JVM.
15+
The callback-based Async Java Driver has been deprecated in favor of the
16+
[MongoDB Reactive Streams Java Driver](http://mongodb.github.io/mongo-java-driver-reactivestreams/).
1917
{{% /note %}}
2018

21-
### What's New in 3.8
22-
23-
The [What's New]({{< relref "whats-new.md" >}}) guide explains the major new features of the driver.
19+
### What's New in 3.9
2420

25-
If you are upgrading from the 2.x series of the driver, consult the [Upgrading]({{< relref "upgrading.md" >}}) documentation for
26-
information on breaking changes.
21+
The callback-based MongoDB Async Java driver has been deprecated in the 3.9 release.
2722

2823
## Getting Started
2924

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

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,20 @@ 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.8.2" dependencies="true">}}
34+
{{< install artifactId="mongodb-driver-sync" version="3.9.0" dependencies="true">}}
35+
36+
## MongoDB Driver Legacy
37+
38+
The MongoDB Legacy driver `mongodb-driver-legacy` is the legacy synchronous Java driver whose entry point is `com.mongodb.MongoClient`
39+
and central classes include `com.mongodb.DB`, `com.mongodb.DBCollection`, and `com.mongodb.DBCursor`.
40+
41+
{{% note class="important" %}}
42+
43+
While not deprecated, we recommend that new applications depend on the `mongodb-driver-sync` module.
44+
45+
{{% /note %}}
46+
47+
{{< install artifactId="mongodb-driver-legacy" version="3.9.0" dependencies="true">}}
3548

3649
## MongoDB Driver
3750

@@ -44,9 +57,11 @@ For OSGi-based applications, use the [mongodb-driver-sync](#mongodb-driver-sync)
4457

4558
It is also *not* a Java 9 module.
4659

60+
This module is deprecated and will no longer be published in the next major release of the driver (4.0).
61+
4762
{{% /note %}}
4863

49-
{{< install artifactId="mongodb-driver" version="3.8.2" dependencies="true">}}
64+
{{< install artifactId="mongodb-driver" version="3.9.0" dependencies="true">}}
5065

5166

5267
## Uber Jar (Legacy)
@@ -59,6 +74,11 @@ jar is still available. The uber jar contains: the BSON library, the core libra
5974
This is a Java 9-compliant module with an Automatic-Module-Name of `org.mongodb.driver.sync.client`.
6075

6176
The `mongo-java-driver` artifact is a valid OSGi bundle whose symbolic name is `org.mongodb.mongo-java-driver`.
77+
78+
{{% note class="important" %}}
79+
80+
This module is deprecated and will no longer be published in the next major release of the driver (4.0).
81+
6282
{{% /note %}}
6383

64-
{{< install artifactId="mongo-java-driver" version="3.8.2">}}
84+
{{< install artifactId="mongo-java-driver" version="3.9.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.8 Documentation
10+
## MongoDB Driver 3.9 Documentation
1111

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

15-
### What's New in 3.8
15+
### What's New in 3.9
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.8.2.jar"/>
31+
<resource-root path="mongo-java-driver-3.9.0.jar"/>
3232
</resources>
3333
<dependencies>
3434
<module name="javax.api"/>

docs/reference/content/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ type = "index"
66

77
## MongoDB Java Driver Documentation
88

9-
Welcome to the MongoDB Java driver documentation hub for the 3.8 driver release.
9+
Welcome to the MongoDB Java driver documentation hub for the 3.9 driver release.
1010

1111

12-
### What's New in 3.8
12+
### What's New in 3.9
1313

14-
For key new features of 3.8, see [What's New]({{< relref "whats-new.md" >}}).
14+
For key new features of 3.9, see [What's New]({{< relref "whats-new.md" >}}).
1515

1616
### Upgrade
1717

0 commit comments

Comments
 (0)