Skip to content

Commit e91eeff

Browse files
authored
docsp-34315 - 1.13 version updates (#317)
1 parent 69e1b39 commit e91eeff

6 files changed

+38
-28
lines changed

Diff for: .backportrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"repoName": "docs-golang",
55

66
// the branches available to backport to
7-
"targetBranchChoices": ["master", "v1.11", "v1.10", "v1.9", "v1.8", "v1.7"],
7+
"targetBranchChoices": ["master", "v1.13", "v1.12", "v1.11", "v1.10", "v1.9", "v1.8", "v1.7"],
88

99
// Optional: automatically merge backport PR
1010
"autoMerge": true,

Diff for: config/redirects

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/drivers/go
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 master
3+
define: versions v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 v1.13 master
44

55
symlink: current -> master
66

Diff for: snooty.toml

+1-1
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.2" # always set this to the driver version (i.e. v1.7.0, v1.8.0, etc.)
20+
version = "v1.13.0" # 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"

Diff for: source/includes/language-compatibility-table-go.rst

+2-24
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,7 @@ The first column lists the driver version.
1010

1111
* - Go Driver Version
1212
- Minimum Go Language Version
13-
* - 1.12
13+
* - 1.11 to 1.13
1414
- 1.13
15-
* - 1.11
16-
- 1.13
17-
* - 1.10
18-
- 1.10
19-
* - 1.9
20-
- 1.10
21-
* - 1.8
22-
- 1.10
23-
* - 1.7
24-
- 1.10
25-
* - 1.6
26-
- 1.10
27-
* - 1.5
28-
- 1.10
29-
* - 1.4
30-
- 1.10
31-
* - 1.3
32-
- 1.10
33-
* - 1.2
34-
- 1.10
35-
* - 1.1
36-
- 1.10
37-
* - 1.0
15+
* - 1.0 to 1.10
3816
- 1.10

Diff for: source/includes/mongodb-compatibility-table-go.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- MongoDB 3.2
1717
- MongoDB 3.0
1818
- MongoDB 2.6
19-
* - 1.12
19+
* - 1.12 to 1.13
2020
- ✓
2121
- ✓
2222
- ✓

Diff for: source/whats-new.txt

+32
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ What's New
1010
:depth: 1
1111
:class: singlecol
1212

13+
.. facet::
14+
:name: genre
15+
:values: reference
16+
17+
.. meta::
18+
:keywords: update, backward compatibility
19+
1320
.. tip:: Release Notes
1421

1522
To learn more about changes and updates between versions, you can
@@ -18,6 +25,7 @@ What's New
1825

1926
Learn what's new in:
2027

28+
* :ref:`Version 1.13 <version-1.13>`
2129
* :ref:`Version 1.12.1 <version-1.12.1>`
2230
* :ref:`Version 1.12 <version-1.12>`
2331
* :ref:`Version 1.11 <version-1.11>`
@@ -33,6 +41,30 @@ Learn what's new in:
3341
* :ref:`Version 1.1 <version-1.1>`
3442
* :ref:`Version 1.0 <version-1.0>`
3543

44+
.. _version-1.13:
45+
46+
What's New in 1.13
47+
------------------
48+
49+
The 1.13 {+driver-short+} release includes the following improvements and fixes:
50+
51+
- Logging for server selection and SDAM. To learn more about logging, see the
52+
:ref:`golang-logging` documentation.
53+
54+
- Methods on the ``Collection`` type that allow you to manage search indexes programmatically.
55+
56+
- The ``event.CommandStartedEvent`` and ``event.CommandFinishedEvent`` events return
57+
the ``DatabaseName`` field. This field is also included in the command-logging analogs.
58+
59+
- In a sharded topology, when selecting a server to retry an unsuccessful query, the driver
60+
excludes the server used for the initial attempt. Instead, if there's more than
61+
one eligible ``mongos`` instance, the driver randomly selects one. Unhealthy instances
62+
are automatically excluded from selection.
63+
64+
- Streaming SDAM is disabled by default on AWS Lambda and similar function-as-a-service
65+
(FaaS) platforms. You can enable monitoring by using the
66+
``serverMonitoringMode`` URI option.
67+
3668
.. _version-1.12.1:
3769

3870
What's New in 1.12.1

0 commit comments

Comments
 (0)