Skip to content

Commit 736d39f

Browse files
authored
Update reference documentation for the 4.2 release (#638)
1 parent 2082802 commit 736d39f

File tree

8 files changed

+26
-14
lines changed

8 files changed

+26
-14
lines changed

docs/landing/data/releases.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
current = "4.1.1"
1+
current = "4.2.0"
22

33
[[versions]]
4-
version = "4.2.0-beta1"
4+
status = "current"
5+
version = "4.2.0"
56
docs = "./4.2"
67
api = "./4.2/apidocs"
78

89
[[versions]]
9-
status = "current"
1010
version = "4.1.1"
1111
docs = "./4.1"
1212
api = "./4.1/apidocs"

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="4.2.0-beta1" >}}
25+
{{< install artifactId="bson" version="4.2.0" >}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ The recommended way to get started using one of the drivers in your project is w
1818

1919
The Reactive Streams implementation for asynchronous stream processing with non-blocking back pressure.
2020

21-
{{< install artifactId="mongodb-driver-reactivestreams" version="4.2.0-beta1">}}
21+
{{< install artifactId="mongodb-driver-reactivestreams" version="4.2.0">}}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ The Reactive Streams based Scala implementation for asynchronous stream processi
2020

2121
### Scala 2.12
2222

23-
{{< install artifactId="mongo-scala-driver" version="4.2.0-beta1" groupId="org.mongodb.scala" scalaVersion="2.12">}}
23+
{{< install artifactId="mongo-scala-driver" version="4.2.0" groupId="org.mongodb.scala" scalaVersion="2.12">}}
2424

2525
### Scala 2.11
2626

27-
{{< install artifactId="mongo-scala-driver" version="4.2.0-beta1" groupId="org.mongodb.scala" scalaVersion="2.11">}}
27+
{{< install artifactId="mongo-scala-driver" version="4.2.0" groupId="org.mongodb.scala" scalaVersion="2.11">}}

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

Lines changed: 2 additions & 2 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="4.2.0-beta1" dependencies="true">}}
34+
{{< install artifactId="mongodb-driver-sync" version="4.2.0" dependencies="true">}}
3535

3636
## MongoDB Driver Legacy
3737

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

4545
{{% /note %}}
4646

47-
{{< install artifactId="mongodb-driver-legacy" version="4.2.0-beta1" dependencies="true">}}
47+
{{< install artifactId="mongodb-driver-legacy" version="4.2.0" dependencies="true">}}

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="mongodb-driver-sync-4.2.0-beta1.jar"/>
31+
<resource-root path="mongodb-driver-sync-4.2.0.jar"/>
3232
</resources>
3333
<dependencies>
3434
<module name="javax.api"/>

docs/reference/content/upgrading.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ title = "Upgrade Considerations"
1212
The 4.2 release is a minor release as per the definition of [semantic versioning](https://semver.org). As such, there are no breaking
1313
changes in this release for users upgrading from the 4.1 release.
1414

15+
Note that in this release the Reactive Streams driver has taken an implementation dependency on
16+
[Project Reactor](https://projectreactor. io/). The minimum supported Project Reactor version is *Californium-SR23*.
17+
1518
# Upgrading to the 4.1 Driver
1619

1720
The 4.1 release is a minor release as per the definition of [semantic versioning](https://semver.org). As such, there are no breaking

docs/reference/content/whats-new.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,19 @@ title = "What's New"
99

1010
# What's new in 4.2
1111

12-
This release fully supports all MongoDB releases from versions 2.6 to 4.4. Key new features of the 4.2 Java driver release include:
13-
14-
* Client-side field level encryption has been expanded to support Azure and GCP Keystores.
15-
* Added support to cache Kerberos tickets so that they can be re-used for multiple authentication requests.
12+
This release fully supports all MongoDB releases from versions 2.6 to 4.4. New features of the 4.2 Java driver release include:
13+
14+
* The Reactive Streams driver now utilizes [Project Reactor](https://projectreactor.io/) internally. Project reactor follows
15+
the Reactive Streams specification and has greatly simplified the implementation of the driver.
16+
* Added support for Azure and GCP key stores to client-side field level encryption.
17+
* Added support for caching Kerberos tickets so that they can be re-used for multiple authentication requests.
18+
* Added support for constructing legacy `com.mongodb.MongoClient` instances with `MongoClientSettings` or `ConnectionString` as
19+
the configuration, instead of `MongoClientOptions` or `MongoClientURI`.
20+
* Added support for `explain` of `find` and `aggregate` commands.
21+
* Added a `JsonObject` class to make encoding from and decoding to JSON more efficient by avoiding an intermediate `Map` representation.
22+
* Added a `BsonRepresentation` annotation that allows `ObjectId` BSON values to be represented as `String`s in POJO classes.
23+
* Added support for the `BsonIgnore` annotation in Scala case classes.
24+
* Added a `Filters.empty()` method.
1625

1726
# What's new in 4.1
1827

0 commit comments

Comments
 (0)