Skip to content

Commit d891830

Browse files
authored
DOCSP-49224 Go v2.2 release (#486)
* DOCSP-49224 Go v2.2 release * compatibility * fix link * link context * monospace * RR review * edits * edit
1 parent 59062d1 commit d891830

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

Diff for: config/redirects

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
define: prefix docs/drivers/go
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 v1.13 v1.14 v1.15 v1.16 v1.17 v2.0 v2.1 master
3+
define: versions v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 v1.13 v1.14 v1.15 v1.16 v1.17 v2.0 v2.1 v2.2 master
44

5-
symlink: current -> v2.1
5+
symlink: current -> v2.2
66
symlink: upcoming -> master
77

88
raw: ${prefix}/ -> ${base}/current/

Diff for: source/fundamentals/enterprise-auth.txt

+2
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,8 @@ callback function that you defined:
478478
:end-before: end-credential-callback
479479
:emphasize-lines: 6
480480

481+
.. _golang-kubernetes-oidc:
482+
481483
Kubernetes
482484
~~~~~~~~~~
483485

Diff for: source/includes/mongodb-compatibility-table-go.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
- ✓
2424
- ✓
2525
- ✓
26-
-
26+
-
2727

2828
* - 2.1
2929
- ✓

Diff for: source/whats-new.txt

+22-3
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,14 @@ Learn what's new in:
4343
What's New in 2.2
4444
-----------------
4545

46-
.. important:: Breaking Changes
46+
.. important:: Breaking Change
4747

4848
The {+driver-short+} v2.2 release introduces the following breaking
49-
changes:
49+
change:
5050

5151
- Drops support for {+mdb-server+} v3.6. The minimum supported {+mdb-server+}
52-
version is now v4.0.
52+
version is now v4.0. To learn more about compatibility with {+mdb-server+}
53+
versions, see the :ref:`Compatibility <golang-compatibility>` reference.
5354

5455
This release includes the following improvements and fixes:
5556

@@ -58,6 +59,24 @@ This release includes the following improvements and fixes:
5859
see the example in the :ref:`BSON Options <golang-bson-options>` section of the
5960
BSON guide.
6061

62+
- Adds support for Kubernetes OIDC authentication. To learn more about how to configure
63+
MongoDB authentication for a Kubernetes cluster, see the
64+
:ref:`Kubernetes OIDC <golang-kubernetes-oidc>` section of the Enterprise
65+
Authentication Mechanisms guide.
66+
67+
- Adds support to configure the lifetime of the Data Encryption Key (DEK) cache. To learn
68+
more about DEK management, see the
69+
:manual:`Encryption Key Management </core/csfle/fundamentals/manage-keys>` guide in the
70+
{+mdb-server+} manual.
71+
72+
- Adds support for ``error.Is`` and ``error.As`` functions for improved
73+
error management. To learn more, see the `error.Is <https://pkg.go.dev/errors#Is>`__
74+
and `error.As <https://pkg.go.dev/errors#As>`__ Go API documentation.
75+
76+
For more information about the changes in this version, see the
77+
:github:`v2.2 release notes </mongodb/mongo-go-driver/releases/tag/v2.2.0>`
78+
on GitHub.
79+
6180
.. _golang-version-2.1:
6281

6382
What's New in 2.1

0 commit comments

Comments
 (0)