Skip to content

Commit 12a83ca

Browse files
committed
Update reference documentation for 3.4 release
1 parent b952e41 commit 12a83ca

File tree

12 files changed

+51
-29
lines changed

12 files changed

+51
-29
lines changed

docs/landing/data/releases.toml

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
current = "3.3.0"
1+
current = "3.4.0"
2+
3+
[[versions]]
4+
version = "3.4.0-beta1"
5+
docs = "./3.4"
6+
api = "http://api.mongodb.com/java/3.4"
27

38
[[versions]]
49
version = "3.3.0"
@@ -34,19 +39,19 @@ current = "3.3.0"
3439
[[drivers]]
3540
name = "mongodb-driver"
3641
description = "The synchronous driver, new in 3.0.<br/>For older versions of the driver or for OSGi-based applications please use the `mongo-java-driver`."
37-
versions = "3.3.0,3.2.2,3.1.1,3.0.4"
42+
versions = "3.4.0-beta1,3.3.0,3.2.2,3.1.1,3.0.4"
3843

3944
[[drivers]]
4045
name = "mongo-java-driver"
4146
description = "An uber jar containing the bson library, the core library and the mongodb-driver.<br/>This artifact is a valid OSGi bundle."
42-
versions = "3.3.0,3.2.2,3.1.1,3.0.4,2.14.2,2.13.3"
47+
versions = "3.4.0-beta1,3.3.0,3.2.2,3.1.1,3.0.4,2.14.2,2.13.3"
4348

4449
[[drivers]]
4550
name = "mongodb-driver-async"
4651
description = "The new asynchronous driver, new in 3.0"
47-
versions = "3.3.0,3.2.2,3.1.1,3.0.4"
52+
versions = "3.4.0-beta1,3.3.0,3.2.2,3.1.1,3.0.4"
4853

4954
[[drivers]]
5055
name = "mongodb-driver-core"
5156
description = "The core library, new in 3.0"
52-
versions = "3.3.0,3.2.2,3.1.1,3.0.4"
57+
versions = "3.4.0-beta1,3.3.0,3.2.2,3.1.1,3.0.4"

docs/landing/static/versions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"version": "3.3"}, {"version": "3.2"}, {"version": "3.1"}, {"version": "3.0"}, {"version": "2.13"}, {"version": "2.14"}]
1+
[{"version": "3.4"}, {"version": "3.3"}, {"version": "3.2"}, {"version": "3.1"}, {"version": "3.0"}, {"version": "2.13"}, {"version": "2.14"}]

docs/reference/config.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseurl = "/mongo-java-driver/3.3"
1+
baseurl = "/mongo-java-driver/3.4"
22
languageCode = "en-us"
33
title = "MongoDB Java Driver"
44
theme = "mongodb"
@@ -14,7 +14,7 @@ canonifyurls = false
1414
pre = "<i class='fa fa-file-text-o'></i>"
1515
weight = 90
1616
identifier = "apiDocs"
17-
url = "http://api.mongodb.com/java/3.3"
17+
url = "http://api.mongodb.com/java/3.4"
1818

1919
[[menu.main]]
2020
name = "Source Code"

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

+1-1
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.3.0" >}}
25+
{{< install artifactId="bson" version="3.4.0-beta1" >}}

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

+1-1
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.3.0" dependencies="true">}}
26+
{{< install artifactId="mongodb-driver-async" version="3.4.0-beta1" dependencies="true">}}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ title = "MongoDB Async Driver"
1010
## MongoDB Async Java Driver Documentation
1111

1212
The following guide provides information on using the
13-
MongoDB Async Java Driver 3.3.
13+
MongoDB Async Java Driver 3.4.
1414

15-
### What's New in 3.3
15+
### What's New in 3.4
1616

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

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ title = "Installation"
1313
The recommended way to get started using one of the drivers in your
1414
project is with a dependency management system.
1515

16-
There are two Maven artifacts available in the 3.3 release. The preferred artifact for new applications is `mongodb-driver`
16+
There are two Maven artifacts available in the 3.4 release. The preferred artifact for new applications is `mongodb-driver`
1717
however, we still publish the legacy `mongo-java-driver` uber-jar.
1818

1919
{{< distroPicker >}}
@@ -29,7 +29,7 @@ For OSGi-based applications, use the [mongo-java-driver](#uber-jar-legacy) uber
2929

3030
{{% /note %}}
3131

32-
{{< install artifactId="mongodb-driver" version="3.3.0" dependencies="true">}}
32+
{{< install artifactId="mongodb-driver" version="3.4.0-beta1" dependencies="true">}}
3333

3434

3535
## Uber Jar (Legacy)
@@ -41,4 +41,4 @@ For new applications, the preferred artifact is [mongodb-driver](#mongodb-driver
4141
The `mongo-java-driver` artifact is a valid OSGi bundle.
4242
{{% /note %}}
4343

44-
{{< install artifactId="mongo-java-driver" version="3.3.0">}}
44+
{{< install artifactId="mongo-java-driver" version="3.4.0-beta1">}}

docs/reference/content/driver/index.md

+3-3
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.3 Documentation
10+
## MongoDB Driver 3.4 Documentation
1111

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

15-
### What's New in 3.3
15+
### What's New in 3.4
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

+1-1
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.3.0.jar"/>
31+
<resource-root path="mongo-java-driver-3.4.0-beta1.jar"/>
3232
</resources>
3333
<dependencies>
3434
<module name="javax.api"/>

docs/reference/content/index.md

+3-3
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.3 driver release.
9+
Welcome to the MongoDB Java driver documentation hub for the 3.4 driver release.
1010

1111

12-
### What's New in 3.3
12+
### What's New in 3.4
1313

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

1616
### Upgrade
1717

docs/reference/content/upgrading.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,20 @@ its implementation. See [Async]({{< ref "driver-async/index.md" >}}) for detail
3434

3535
The following table specifies the compatibility of the MongoDB Java driver for use with a specific version of MongoDB.
3636

37-
|Java Driver Version|MongoDB 2.6|MongoDB 3.0 |MongoDB 3.2|
38-
|-------------------|-----------|------------|-----------|
39-
|Version 3.3 ||||
40-
|Version 3.2 ||||
41-
|Version 3.1 ||| |
37+
|Java Driver Version|MongoDB 2.6|MongoDB 3.0 |MongoDB 3.2|MongoDB 3.4|
38+
|-------------------|-----------|------------|-----------|-----------|
39+
|Version 3.4 |||||
40+
|Version 3.3 |||| |
41+
|Version 3.2 |||| |
42+
|Version 3.1 ||| | |
43+
|Version 3.0 ||| | |
4244

4345
The following table specifies the compatibility of the MongoDB Java driver for use with a specific version of Java.
4446

4547
|Java Driver Version|Java 5 | Java 6 | Java 7 | Java 8 |
4648
|-------------------|-------|--------|--------|--------|
49+
|Version 3.4 | ||||
4750
|Version 3.3 | ||||
4851
|Version 3.2 | ||||
4952
|Version 3.1 | ||||
53+
|Version 3.0 | ||||

docs/reference/content/whats-new.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ title = "What's New"
99

1010
# What's New
1111

12-
Some key new features of the Java driver and Java Async driver include:
12+
This release includes full support for the upcoming MongoDB 3.4 server release. Key new features include:
1313

1414
### Support for Decimal128 Format
1515

1616
``` java
1717
import org.bson.types.Decimal128;
1818
```
1919

20-
The `Decimal128` format supports numbers with up to 34 decimal digits
20+
The [Decimal128]({{<docsref "release-notes/3.3-dev-series/#decimal-type">}}) format supports numbers with up to 34 decimal digits
2121
(i.e. significant digits) and an exponent range of −6143 to +6144.
2222

2323
To create a `Decimal128` number, you can use
@@ -152,6 +152,19 @@ collection.bulkWrite(Arrays.asList(
152152
For more information on collation, including the supported locales, refer to the
153153
[manual]({{<docsref "release-notes/3.3-dev-series-collation/">}}).
154154

155+
### Other MongoDB 3.4 features
156+
157+
* Support for specification of
158+
[maximum staleness for secondary reads](https://github.com/mongodb/specifications/blob/master/source/max-staleness/max-staleness.rst)
159+
* Support for the
160+
[MongoDB handshake protocol](https://github.com/mongodb/specifications/blob/master/source/mongodb-handshake/handshake.rst).
161+
* Builders for [eight new aggregation pipeline stages]({{<docsref "release-notes/3.3-dev-series/#aggregation">}})
162+
* Helpers for creating [read-only views]({{<docsref "release-notes/3.3-dev-series/#views">}})
163+
164+
### Support for JNDI
165+
166+
The synchronous driver now includes a [JNDI]({{<ref "driver/tutorials/jndi.md">}}) ObjectFactory implementation.
167+
155168

156169
## Upgrading
157170

0 commit comments

Comments
 (0)