Skip to content

Commit

Permalink
docsp-31857 - 1.12.1 (mongodb#281)
Browse files Browse the repository at this point in the history
* Apply suggestions from code review

Co-authored-by: Rea Rustagi <[email protected]>
  • Loading branch information
mongoKart and rustagir authored Aug 3, 2023
1 parent cfd5002 commit e9fa218
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
driver-long = "MongoDB Go Driver"
driver-short = "Go driver"
docs-branch = "master" # always set this to the docs branch (i.e. master, 1.7, 1.8, etc.)
version = "v1.12.0" # always set this to the driver version (i.e. v1.7.0, v1.8.0, etc.)
version = "v1.12.1" # always set this to the driver version (i.e. v1.7.0, v1.8.0, etc.)
example = "https://raw.githubusercontent.com/mongodb/docs-golang/{+docs-branch+}/source/includes/usage-examples/code-snippets"
api = "https://pkg.go.dev/go.mongodb.org/mongo-driver@{+version+}"
stable-api = "Stable API"
Expand Down
16 changes: 16 additions & 0 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ What's New

Learn what's new in:

* :ref:`Version 1.12.1 <version-1.12.1>`
* :ref:`Version 1.12 <version-1.12>`
* :ref:`Version 1.11 <version-1.11>`
* :ref:`Version 1.10 <version-1.10>`
Expand All @@ -32,6 +33,21 @@ Learn what's new in:
* :ref:`Version 1.1 <version-1.1>`
* :ref:`Version 1.0 <version-1.0>`

.. _version-1.12.1:

What's New in 1.12.1
--------------------

The 1.12 {+driver-short+} release includes the following improvements and fixes:

- The driver unpins connections when ending a session. This prevents connections
from leaking when a user runs a transaction while connected to a load balancer.

- The driver does not throw a runtime error when you unmarshal an empty
``bson.RawValue`` type with an invalid type or marshal a ``nil`` pointer of a ``ReadConcern`` instance.

- Setting ``options.LogComponentAll`` as the log component correctly results in the publication of logs against all components.

.. _version-1.12:

What's New in 1.12
Expand Down

0 comments on commit e9fa218

Please sign in to comment.