Skip to content

DOCSP-49224 Go v2.2 release #486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 10, 2025
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/redirects
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
define: prefix docs/drivers/go
define: base https://www.mongodb.com/${prefix}
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
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

symlink: current -> v2.1
symlink: current -> v2.2
symlink: upcoming -> master

raw: ${prefix}/ -> ${base}/current/
Expand Down
2 changes: 2 additions & 0 deletions source/fundamentals/enterprise-auth.txt
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ callback function that you defined:
:end-before: end-credential-callback
:emphasize-lines: 6

.. _golang-kubernetes-oidc:

Kubernetes
~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion source/includes/mongodb-compatibility-table-go.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- ✓
- ✓
- ✓
-
-
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S: consider asking if this is the case that connecting to 3.6 causes an unfixable error or if its just not tested.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For technical reviewer: According to the compatibility table legend, should this be an x (version does not work with server version) or left blank (version not tested with server version)?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jtazin Can you provide some context on which mark we should put here?


* - 2.1
- ✓
Expand Down
25 changes: 22 additions & 3 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ Learn what's new in:
What's New in 2.2
-----------------

.. important:: Breaking Changes
.. important:: Breaking Change

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

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

This release includes the following improvements and fixes:

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

- Adds support for Kubernetes OIDC authentication. To learn more about how to configure
MongoDB authentication for a Kubernetes cluster, see the
:ref:`Kubernetes OIDC <golang-kubernetes-oidc>` section of the Enterprise
Authentication Mechanisms guide.

- Adds support to configure the lifetime of the Data Encryption Key (DEK) cache. To learn
more about DEK management, see the
:manual:`Encryption Key Management </core/csfle/fundamentals/manage-keys>` guide in the
{+mdb-server+} manual.

- Adds support for ``error.Is`` and ``error.As`` functions for improved
error management. To learn more, see the `error.Is <https://pkg.go.dev/errors#Is>`__
and `error.As <https://pkg.go.dev/errors#As>`__ Go API documentation.

For more information about the changes in this version, see the
:github:`v2.2 release notes </mongodb/mongo-go-driver/releases/tag/v2.2.0>`
on GitHub.

.. _golang-version-2.1:

What's New in 2.1
Expand Down
Loading