Skip to content

Commit 35ad05e

Browse files
authored
DOCSP-26526: v4.8.0 release updates (#301)
* DOCSP-26526: v4.8.0 release updates * 6.1 rapid release inclusion * MW PR fixes 1
1 parent fa6695d commit 35ad05e

File tree

7 files changed

+60
-4
lines changed

7 files changed

+60
-4
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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 master
3+
define: versions v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 master
44

55
raw: ${prefix}/ -> ${base}/current/
66
raw: ${prefix}/master -> ${base}/upcoming/

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
1818
driver = "java"
1919
driver-long = "MongoDB Java Driver"
2020
version = "4.8"
21-
full-version = "{+version+}.0-beta0"
21+
full-version = "{+version+}.0"
2222
mdb-server = "MongoDB server"
2323

2424
package-name-org = "mongodb-org"

source/fundamentals/logging.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ tab corresponding to the logging framework you would like to use in your project
133133
:copyable: false
134134

135135
...
136-
16:03:59.468 [main] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:7, serverValue:<server value>}] to <connection uri>
136+
16:03:59.468 [main] DEBUG org.mongodb.driver.connection - Opened connection [connectionId{localValue:7, serverValue:<server value>}] to <connection uri>
137137
16:03:59.483 [main] DEBUG org.mongodb.driver.protocol.command - Sending command '{"find": "<my collection>", "filter": {}, "limit": 1, "singleBatch": true, "$db": "<my database>", "lsid": {"id": {"$binary": {"base64": "<_id>", "subType": "04"}}}}' with request id 13 to database <my database> on connection [connectionId{localValue:7, serverValue:<server value>}] to server <connection uri>
138138
16:03:59.502 [main] DEBUG org.mongodb.driver.protocol.command - Execution of command with request id 13 completed successfully in 27.79 ms on connection [connectionId{localValue:7, serverValue:<server value>}] to server <connection uri>
139139

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
- Java 6
1212
- Java 5
1313

14+
* - 4.8
15+
- ✓
16+
- ✓
17+
- ✓
18+
-
19+
-
20+
-
21+
1422
* - 4.7
1523
- ✓
1624
- ✓

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:class: compatibility-large
55

66
* - Java Driver Version
7+
- MongoDB 6.1
78
- MongoDB 6.0
89
- MongoDB 5.0
910
- MongoDB 4.4
@@ -21,11 +22,13 @@
2122
- ✓
2223
- ✓
2324
- ✓
25+
- ✓
2426
-
2527
-
2628
-
2729
-
2830
* - 4.7
31+
- ⊛
2932
- ✓
3033
- ✓
3134
- ✓
@@ -37,6 +40,7 @@
3740
- ✓
3841
- ✓
3942
* - 4.6
43+
- ⊛
4044
- ⊛
4145
- ✓
4246
- ✓
@@ -48,6 +52,7 @@
4852
- ✓
4953
- ✓
5054
* - 4.5
55+
- ⊛
5156
- ⊛
5257
- ✓
5358
- ✓
@@ -59,6 +64,7 @@
5964
- ✓
6065
- ✓
6166
* - 4.4
67+
- ⊛
6268
- ⊛
6369
- ✓
6470
- ✓
@@ -70,6 +76,7 @@
7076
- ✓
7177
- ✓
7278
* - 4.3
79+
- ⊛
7380
- ⊛
7481
- ✓
7582
- ✓
@@ -81,6 +88,7 @@
8188
- ✓
8289
- ✓
8390
* - 4.2
91+
- ⊛
8492
- ⊛
8593
- ⊛
8694
- ✓
@@ -92,6 +100,7 @@
92100
- ✓
93101
- ✓
94102
* - 4.1
103+
- ⊛
95104
- ⊛
96105
- ⊛
97106
- ✓
@@ -106,6 +115,7 @@
106115
- ⊛
107116
- ⊛
108117
- ⊛
118+
- ⊛
109119
- ✓
110120
- ✓
111121
- ✓
@@ -117,6 +127,7 @@
117127
- ⊛
118128
- ⊛
119129
- ⊛
130+
- ⊛
120131
- ✓
121132
- ✓
122133
- ✓
@@ -128,6 +139,7 @@
128139
- ⊛
129140
- ⊛
130141
- ⊛
142+
- ⊛
131143
- ✓
132144
- ✓
133145
- ✓
@@ -140,6 +152,7 @@
140152
- ⊛
141153
- ⊛
142154
- ⊛
155+
- ⊛
143156
- ✓
144157
- ✓
145158
- ✓
@@ -151,6 +164,7 @@
151164
- ⊛
152165
- ⊛
153166
- ⊛
167+
- ⊛
154168
- ✓
155169
- ✓
156170
- ✓
@@ -162,13 +176,15 @@
162176
- ⊛
163177
- ⊛
164178
- ⊛
179+
- ⊛
165180
- ✓
166181
- ✓
167182
- ✓
168183
- ✓
169184
- ✓
170185
- ✓
171186
* - 3.7
187+
-
172188
-
173189
-
174190
-
@@ -180,6 +196,7 @@
180196
- ✓
181197
- ✓
182198
* - 3.6
199+
-
183200
-
184201
-
185202
-
@@ -191,6 +208,7 @@
191208
- ✓
192209
- ✓
193210
* - 3.5
211+
-
194212
-
195213
-
196214
-
@@ -202,6 +220,7 @@
202220
- ✓
203221
- ✓
204222
* - 3.4
223+
-
205224
-
206225
-
207226
-
@@ -213,6 +232,7 @@
213232
- ✓
214233
- ✓
215234
* - 3.3
235+
-
216236
-
217237
-
218238
-
@@ -224,6 +244,7 @@
224244
- ✓
225245
- ✓
226246
* - 3.2
247+
-
227248
-
228249
-
229250
-
@@ -235,6 +256,7 @@
235256
- ✓
236257
- ✓
237258
* - 3.1
259+
-
238260
-
239261
-
240262
-
@@ -246,6 +268,7 @@
246268
- ✓
247269
- ✓
248270
* - 3.0
271+
-
249272
-
250273
-
251274
-

source/upgrade.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ Version 4.8 Breaking Changes
6060
- The driver ends support for connecting to {+mdb-server+} versions v3.4 and
6161
earlier. To learn more about this change, see the :ref:`<java-server-release-change-v4.8>`
6262
section.
63+
- You must add an explicit dependency on the ``org.bson.codecs.record``
64+
module if your application deploys the driver in an OSGi container and
65+
relies on the driver for encoding and decoding Java records.
6366

6467
.. _java-breaking-changes-v4.7:
6568

source/whats-new.txt

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Learn what's new in:
2424
* :ref:`Version 4.1 <version-4.1>`
2525
* :ref:`Version 4.0 <version-4.0>`
2626

27-
.. _upcoming-breaking-chages:
27+
.. _upcoming-breaking-changes:
2828

2929
.. _version-4.8:
3030

@@ -35,6 +35,28 @@ The 4.8 driver ends support for MongoDB v3.4 and earlier. To learn
3535
more about breaking changes in this driver version and how to address
3636
them, see :ref:`<java-server-release-change-v4.8>`.
3737

38+
Behavioral changes with the 4.8 driver release include:
39+
40+
- Requirement that you add an explicit dependency on the ``org.bson.codecs.record``
41+
module if your application deploys the driver in an OSGi container and
42+
relies on the driver for encoding and decoding Java records.
43+
- Logging of new connection messages at the ``DEBUG`` level instead
44+
of at ``INFO``.
45+
46+
New features of the 4.8 driver release include:
47+
48+
- Added support for authentication with AWS. The driver takes an
49+
optional dependency on both AWS SDK version 1 and version 2.
50+
- Support for obtaining credentials from the environment for both GCP
51+
and Azure for in-use encryption.
52+
- Support for deserialization of records containing components with
53+
generic parameters.
54+
- Support for deserialization of records containing components with more
55+
specific container types, such as ``SortedSet``, ``NavigableMap``, ``LinkedList``,
56+
or ``TreeSet``.
57+
- Support for recursive record types, records whose type
58+
definitions contain cycles.
59+
3860
.. _version-4.7.1:
3961
.. _version-4.7:
4062

0 commit comments

Comments
 (0)