Skip to content

Commit faf71ad

Browse files
DOCSP-47787 mongosh 2.4.0 release notes (#377)
* Draft content and version bump * Bumped driver versions * Passive voice * NEsted list markup * Internal review feedback * External review feedback
1 parent dbf9e59 commit faf71ad

File tree

2 files changed

+56
-1
lines changed

2 files changed

+56
-1
lines changed

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ toc_landing_pages = ["/install",
1717

1818
[constants]
1919

20-
version = "2.3.8"
20+
version = "2.4.0"
2121
mdb-version = "8.0"
2222
pgp-version = "{+mdb-version+}"
2323
atlas = "MongoDB Atlas"

source/changelog.txt

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,60 @@ Release Notes
1212
:depth: 1
1313
:class: singlecol
1414

15+
v2.4.0
16+
------
17+
*Released February 24, 2025*
18+
19+
``mongosh`` now uses the following driver versions:
20+
21+
- `Node.js driver 6.13.0 <https://github.com/mongodb/node-mongodb-native/releases/tag/v6.13.0>`__.
22+
- `Node.js BSON package 6.10.3 <https://github.com/mongodb/js-bson/releases/tag/v6.10.3>`__.
23+
24+
New features released in this version:
25+
26+
- :issue:`MONGOSH-2013` - Added a ``history()`` command, which returns an array of
27+
all previously run commands.
28+
29+
- :issue:`MONGOSH-1090` - Added a ``log.getPath()`` command, which returns the path
30+
to the currently active log file.
31+
32+
- :issue:`MONGOSH-1995` - Added help output for logging commands.
33+
34+
- Added the following logging configuration options, which you can set directly
35+
in the :ref:`configuration file <configure-settings-global>`, or by calling
36+
the :ref:`config api <configure-settings-api>`.
37+
38+
- :issue:`MONGOSH-1988` - Disable logging by setting ``disableLogging: true``.
39+
40+
- :issue:`MONGOSH-1983`, :issue:`MONGOSH-2012` - Specify a custom path for
41+
:ref:`log files <mdb-shell-logs>` by setting ``logLocation``.
42+
43+
- :issue:`MONGOSH-1986` - Compress log files by setting
44+
``logCompressionEnabled: true``.
45+
46+
- :issue:`MONGOSH-1984` - Limit the number of days to keep log files by
47+
setting ``logRetentionDays`` (default 30).
48+
49+
- :issue:`MONGOSH-1985` - Limit the maximum size of the logs directory by
50+
setting ``logRetentionGB`` (default uncapped).
51+
52+
- :issue:`MONGOSH-1987` - Limit the maximum number of log files by setting
53+
``logMaxFileCount`` (default 100).
54+
55+
56+
Bug Fixes:
57+
58+
- :issue:`MONGOSH-1914` - Fixed an issue where multiple ``mongosh`` processes
59+
could attempt to remove outdated log files at the same time, leading to one
60+
process terminating with ``Error: ENOENT: no such file or directory``.
61+
62+
- :issue:`MONGOSH-2002` - Improved error messaging when attempting to serialize
63+
a cursor.
64+
65+
`Full release notes available on JIRA
66+
<https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=17381&version=42122>`__.
67+
68+
1569
v2.3.9
1670
------
1771
*Released February 5, 2025*
@@ -23,6 +77,7 @@ v2.3.9
2377
- Upgrades Node.js version to 20.18.2. Node 20.18.2 resolves security issues.
2478
For more information, see the `January 21, 2025 Node.js security release \
2579
<https://nodejs.org/en/blog/release/v20.18.2>`__.
80+
2681
- Stricter validation of user input to address vulnerabilities.
2782

2883
New features released in this version:

0 commit comments

Comments
 (0)