Skip to content

Commit 27e322f

Browse files
mongoKartrustagir
andcommitted
docsp-31857 - 1.12.1 (#281)
* Apply suggestions from code review Co-authored-by: Rea Rustagi <[email protected]> (cherry picked from commit e9fa218)
1 parent 53b86f2 commit 27e322f

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
1717
driver-long = "MongoDB Go Driver"
1818
driver-short = "Go driver"
1919
docs-branch = "master" # always set this to the docs branch (i.e. master, 1.7, 1.8, etc.)
20-
version = "v1.12.0" # always set this to the driver version (i.e. v1.7.0, v1.8.0, etc.)
20+
version = "v1.12.1" # always set this to the driver version (i.e. v1.7.0, v1.8.0, etc.)
2121
example = "https://raw.githubusercontent.com/mongodb/docs-golang/{+docs-branch+}/source/includes/usage-examples/code-snippets"
2222
api = "https://pkg.go.dev/go.mongodb.org/mongo-driver@{+version+}"
2323
stable-api = "Stable API"

source/whats-new.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ What's New
1818

1919
Learn what's new in:
2020

21+
* :ref:`Version 1.12.1 <version-1.12.1>`
2122
* :ref:`Version 1.12 <version-1.12>`
2223
* :ref:`Version 1.11 <version-1.11>`
2324
* :ref:`Version 1.10 <version-1.10>`
@@ -32,6 +33,21 @@ Learn what's new in:
3233
* :ref:`Version 1.1 <version-1.1>`
3334
* :ref:`Version 1.0 <version-1.0>`
3435

36+
.. _version-1.12.1:
37+
38+
What's New in 1.12.1
39+
--------------------
40+
41+
The 1.12 {+driver-short+} release includes the following improvements and fixes:
42+
43+
- The driver unpins connections when ending a session. This prevents connections
44+
from leaking when a user runs a transaction while connected to a load balancer.
45+
46+
- The driver does not throw a runtime error when you unmarshal an empty
47+
``bson.RawValue`` type with an invalid type or marshal a ``nil`` pointer of a ``ReadConcern`` instance.
48+
49+
- Setting ``options.LogComponentAll`` as the log component correctly results in the publication of logs against all components.
50+
3551
.. _version-1.12:
3652

3753
What's New in 1.12

0 commit comments

Comments
 (0)