Skip to content

Commit f73dc9c

Browse files
authored
DOCSP-29541: newclient and connect deprecation notice (#258)
* DOCSP-29541: newclient and connect deprecation notice * MW pr suggestions
1 parent fa2fbd7 commit f73dc9c

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

source/whats-new.txt

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ What's New
2020

2121
Learn what's new in:
2222

23+
* :ref:`Version 1.12 <version-1.12>`
2324
* :ref:`Version 1.11 <version-1.11>`
2425
* :ref:`Version 1.10 <version-1.10>`
2526
* :ref:`Version 1.9 <version-1.9>`
@@ -33,11 +34,22 @@ Learn what's new in:
3334
* :ref:`Version 1.1 <version-1.1>`
3435
* :ref:`Version 1.0 <version-1.0>`
3536

37+
.. _version-1.12:
38+
39+
What's New in 1.12
40+
------------------
41+
42+
.. important:: Deprecation Notice
43+
44+
- The ``mongo.NewClient()`` and ``client.Connect()`` methods are
45+
deprecated. You can create a client and connect in one call
46+
by using the ``mongo.Connect()`` method.
47+
3648
.. _version-1.11.0:
3749
.. _version-1.11:
3850

3951
What's New in 1.11
40-
--------------------
52+
------------------
4153

4254
.. important:: Upgrade to Version 1.11.3 or Higher
4355

@@ -90,7 +102,7 @@ New features of the 1.11 Go driver release include:
90102
.. _version-1.10:
91103

92104
What's New in 1.10
93-
--------------------
105+
------------------
94106

95107
.. important:: Upgrade to Version 1.10.1 or Higher
96108

@@ -141,7 +153,7 @@ New features of the 1.10 Go driver release include:
141153
.. _version-1.9:
142154

143155
What's New in 1.9
144-
-------------------
156+
-----------------
145157

146158
New features of the 1.9 Go driver release include:
147159

0 commit comments

Comments
 (0)