Skip to content

Commit

Permalink
DOCSP-41087: 1.15.1 and 1.16 releases (#369)
Browse files Browse the repository at this point in the history
* DOCSP-41087: 1.15.1 and 1.16 releases

* edits
  • Loading branch information
norareidy authored Jul 2, 2024
1 parent 5e37333 commit 5348430
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/redirects
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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 master
define: versions v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 v1.13 v1.14 v1.15 v1.16 master

symlink: current -> master

Expand Down
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.15.0" # always set this to the driver version (i.e. v1.7.0, v1.8.0, etc.)
version = "v1.16.0" # 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
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 @@ -16,7 +16,7 @@
- MongoDB 3.2
- MongoDB 3.0
- MongoDB 2.6
* - 1.12 to 1.15
* - 1.12 to 1.16
- ✓
- ✓
- ✓
Expand Down
38 changes: 38 additions & 0 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ What's New
Learn what's new in:

* :ref:`Version 2.0 <version-2.0>`
* :ref:`Version 1.16 <version-1.16>`
* :ref:`Version 1.15.1 <version-1.15.1>`
* :ref:`Version 1.15 <version-1.15>`
* :ref:`Version 1.14 <version-1.14>`
* :ref:`Version 1.13 <version-1.13>`
Expand Down Expand Up @@ -85,6 +87,42 @@ The 2.0 {+driver-short+} release includes the following improvements and fixes:
- The ``Distinct()`` method returns a struct that can be decoded into a
specified type. See the :ref:`golang-retrieve-distinct` guide to learn more.

.. _version-1.16:

What's New in 1.16
------------------

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

- Adds support for specifying an index type when creating an Atlas Search index.

- Reduces memory usage when the ``zstd`` compression algorithm is enabled.

- Upgrades some dependency requirements. For a list of upgrades, see the "Upgrade Dependencies"
section of the :github:`v1.16 release notes </mongodb/mongo-go-driver/releases/tag/v1.16.0>`.

For more information about these changes, see the :github:`v1.16 release notes
</mongodb/mongo-go-driver/releases/tag/v1.16.0>` on Github.

.. _version-1.15.1:

What's New in 1.15.1
--------------------

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

- Fixes a possible connection leak where disconnecting from a replica set cluster
left behind ``rttMonitor`` connections.

- Adds support for manually specifying a ``maxTimeMS`` value for read and aggregation
operations when a client-wide timeout and an operation timeout are set.

- Adds a ``RemainingBatchLength()`` method that you can call on a change stream.

For more information about these changes, see the :github:`v1.15.1 release notes
</mongodb/mongo-go-driver/releases/tag/v1.15.1>` on Github.

.. _version-1.15:

What's New in 1.15
Expand Down

0 comments on commit 5348430

Please sign in to comment.