Skip to content

Commit aa4dcfa

Browse files
mongoKartChris Cho
andauthored
docsp-29316 - version 5.3 updates (#664)
* Update to v5.3 Co-authored-by: Chris Cho <[email protected]>
1 parent f2dc3ee commit aa4dcfa

File tree

6 files changed

+49
-2
lines changed

6 files changed

+49
-2
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/drivers/node
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v3.6 v3.7 v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 v4.10 v4.11 v4.12 v4.13 v4.14 v4.15 v5.0 v5.1 v5.2 master
3+
define: versions v3.6 v3.7 v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 v4.10 v4.11 v4.12 v4.13 v4.14 v4.15 v5.0 v5.1 v5.2 v5.3 master
44

55
symlink: current -> master
66

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ toc_landing_pages = [
1717
sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
1818

1919
[constants]
20-
version = "5.2"
20+
version = "5.3"
2121
package-name-org = "mongodb-org"
2222
api = "https://mongodb.github.io/node-mongodb-native/{+version+}"
2323
min-node-version = "v12"

source/faq.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ milliseconds to wait before initiating a :wikipedia:`TLS keepAlive
283283
will keep a socket alive by sending periodic probes to MongoDB. However,
284284
this only works if the operating system supports ``SO_KEEPALIVE``\ .
285285

286+
This setting is deprecated in v5.3 of the {+driver-short+} and later.
287+
286288
.. warning::
287289
If a firewall ignores or drops the ``keepAlive`` packets this may not work
288290

source/fundamentals/crud/read-operations/cursor.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ through results unless you want to return all documents at once.
9898
:start-after: start fetchAll cursor example
9999
:end-before: end fetchAll cursor example
100100

101+
.. _node-fundamentals-async-iteration:
102+
101103
Asynchronous Iteration
102104
~~~~~~~~~~~~~~~~~~~~~~
103105

source/includes/mongodb-compatibility-table-node.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@
1616
- MongoDB 3.0
1717
- MongoDB 2.6
1818

19+
* - 5.3
20+
- ✓
21+
- ✓
22+
- ✓
23+
- ✓
24+
- ✓
25+
- ✓
26+
- ✓
27+
-
28+
-
29+
-
30+
-
31+
1932
* - 5.2
2033
- ✓
2134
- ✓

source/whats-new.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ What's New
1010

1111
Learn what's new in:
1212

13+
* :ref:`Version 5.3 <version-5.3>`
1314
* :ref:`Version 5.2 <version-5.2>`
1415
* :ref:`Version 5.1 <version-5.1>`
1516
* :ref:`Version 5.0 <version-5.0>`
@@ -32,6 +33,35 @@ Learn what's new in:
3233
* :ref:`Version 3.7 <version-3.7>`
3334
* :ref:`Version 3.6 <version-3.6>`
3435

36+
.. _version-5.3:
37+
38+
What's New in 5.3
39+
-----------------
40+
41+
New features of the 5.3 {+driver-short+} release include:
42+
43+
.. important:: Deprecation Notice
44+
45+
- The ``forEach()`` cursor method, which allows you to iteratively access
46+
results from queries and aggregations, is deprecated. Use the
47+
``for await...of`` syntax instead, as shown
48+
:ref:`here. <node-fundamentals-async-iteration>`
49+
- The ``addUser()`` method is deprecated. Use ``createUser()`` instead.
50+
- The ``keepAlive`` and ``keepAliveInitialDelay`` connection options are
51+
deprecated.
52+
- Methods that contain duplicated functionality in the ``BulkWriteResult`` class are deprecated.
53+
See the
54+
`API documentation <https://mongodb.github.io/node-mongodb-native/5.3/classes/BulkWriteResult.html#nInserted>`__
55+
for a full list of deprecated methods and the preferred alternatives.
56+
57+
- Client metadata now includes function as a service (FaaS) environment information
58+
and alternative runtime detection.
59+
- The driver now allows SRV record addresses that contain a trailing dot.
60+
- ``UpdateResult.upsertedId`` now returns null when no documents are updated.
61+
62+
To learn more, see the `v5.3.0 Release Highlights
63+
<https://github.com/mongodb/node-mongodb-native/releases/tag/v5.3.0>`__.
64+
3565
.. _version-5.2:
3666

3767
What's New in 5.2

0 commit comments

Comments
 (0)