From 92f3739d3429bc76e3dc56509c9dabd582737a57 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Thu, 10 Apr 2025 10:18:33 -0400 Subject: [PATCH 1/8] DOCSP-49224 Go v2.2 release --- config/redirects | 4 ++-- source/whats-new.txt | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/config/redirects b/config/redirects index 3f9bb0ca..99597fd4 100644 --- a/config/redirects +++ b/config/redirects @@ -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/ diff --git a/source/whats-new.txt b/source/whats-new.txt index 0d2b3e9f..862f3c9c 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -58,6 +58,21 @@ This release includes the following improvements and fixes: see the example in the :ref:`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 Kubernetes section of the + :ref:`golang-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:`` guide. + +- Adds support for error.Is and error.As in all stable public APIs for improved + error management. To learn more, see the `error.Is `__ + and `error.As `__ Go API documentation. + +For more information about the changes in this version, see the +:github:`v2.2 release notes ` +on GitHub. + .. _golang-version-2.1: What's New in 2.1 From 2c404b9daeaa66fa270c5b9863c0197fd9ba0768 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Thu, 10 Apr 2025 10:26:48 -0400 Subject: [PATCH 2/8] compatibility --- source/includes/mongodb-compatibility-table-go.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/mongodb-compatibility-table-go.rst b/source/includes/mongodb-compatibility-table-go.rst index d53e8b14..3b8a223f 100644 --- a/source/includes/mongodb-compatibility-table-go.rst +++ b/source/includes/mongodb-compatibility-table-go.rst @@ -23,7 +23,7 @@ - ✓ - ✓ - ✓ - - + - ✗ * - 2.1 - ✓ From 44c82b3942df7b30e81ddbf27ee8668ce4b5f62a Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Thu, 10 Apr 2025 10:30:58 -0400 Subject: [PATCH 3/8] fix link --- source/whats-new.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index 862f3c9c..e05d398c 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -63,7 +63,8 @@ This release includes the following improvements and fixes: :ref:`golang-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:`` guide. + more about DEK management, see the + :manual:`Encryption Key Management ` guide. - Adds support for error.Is and error.As in all stable public APIs for improved error management. To learn more, see the `error.Is `__ From 3e260721fc337853f95f0118b784a29457031ddc Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Thu, 10 Apr 2025 10:36:55 -0400 Subject: [PATCH 4/8] link context --- source/whats-new.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index e05d398c..d7849c2d 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -64,7 +64,8 @@ This release includes the following improvements and fixes: - 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 ` guide. + :manual:`Encryption Key Management ` guide in the + {+mdb-server+} manual. - Adds support for error.Is and error.As in all stable public APIs for improved error management. To learn more, see the `error.Is `__ From d37200e16f99dbe3bde657e99ce805618a302036 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Thu, 10 Apr 2025 10:40:08 -0400 Subject: [PATCH 5/8] monospace --- source/whats-new.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index d7849c2d..cdd4cd35 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -67,7 +67,7 @@ This release includes the following improvements and fixes: :manual:`Encryption Key Management ` guide in the {+mdb-server+} manual. -- Adds support for error.Is and error.As in all stable public APIs for improved +- Adds support for ``error.Is`` and ``error.As`` in all stable public APIs for improved error management. To learn more, see the `error.Is `__ and `error.As `__ Go API documentation. From 0680958d6ae742b9aea0749892d55fbb2a8ae12c Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Thu, 10 Apr 2025 10:58:04 -0400 Subject: [PATCH 6/8] RR review --- source/whats-new.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index cdd4cd35..e5de1476 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -64,7 +64,7 @@ This release includes the following improvements and fixes: - 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 ` guide in the + :manual:`Encryption Key Management ` guide in the {+mdb-server+} manual. - Adds support for ``error.Is`` and ``error.As`` in all stable public APIs for improved From 71f2227d3f5511f4ea3d7d836980e2e65d6fdee1 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Thu, 10 Apr 2025 11:12:28 -0400 Subject: [PATCH 7/8] edits --- source/fundamentals/enterprise-auth.txt | 2 ++ source/whats-new.txt | 16 +++++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/source/fundamentals/enterprise-auth.txt b/source/fundamentals/enterprise-auth.txt index 39c8bd3a..3fd7673a 100644 --- a/source/fundamentals/enterprise-auth.txt +++ b/source/fundamentals/enterprise-auth.txt @@ -478,6 +478,8 @@ callback function that you defined: :end-before: end-credential-callback :emphasize-lines: 6 +.. _golang-kubernetes-oidc: + Kubernetes ~~~~~~~~~~ diff --git a/source/whats-new.txt b/source/whats-new.txt index e5de1476..d4590f85 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -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 ` reference. This release includes the following improvements and fixes: @@ -59,15 +60,16 @@ This release includes the following improvements and fixes: BSON guide. - Adds support for Kubernetes OIDC authentication. To learn more about how to configure - MongoDB authentication for a Kubernetes cluster, see the Kubernetes section of the - :ref:`golang-enterprise-authentication-mechanisms` guide. + MongoDB authentication for a Kubernetes cluster, see the + :ref:`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 ` guide in the + :manual:`Encryption Key Management ` guide in the {+mdb-server+} manual. -- Adds support for ``error.Is`` and ``error.As`` in all stable public APIs for improved +- Adds support for ``error.Is`` and ``error.As`` functions for improved error management. To learn more, see the `error.Is `__ and `error.As `__ Go API documentation. From 4804677dea12068c15c3fc77fe70c36efda82f09 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Thu, 10 Apr 2025 11:52:30 -0400 Subject: [PATCH 8/8] edit --- source/whats-new.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index d4590f85..9edf57e2 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -49,7 +49,7 @@ What's New in 2.2 change: - Drops support for {+mdb-server+} v3.6. The minimum supported {+mdb-server+} - version is now v4.0. To learn more about compatibility for {+driver-short+} + version is now v4.0. To learn more about compatibility with {+mdb-server+} versions, see the :ref:`Compatibility ` reference. This release includes the following improvements and fixes: