@@ -12,6 +12,60 @@ Release Notes
12
12
:depth: 1
13
13
:class: singlecol
14
14
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
+
15
69
v2.3.9
16
70
------
17
71
*Released February 5, 2025*
23
77
- Upgrades Node.js version to 20.18.2. Node 20.18.2 resolves security issues.
24
78
For more information, see the `January 21, 2025 Node.js security release \
25
79
<https://nodejs.org/en/blog/release/v20.18.2>`__.
80
+
26
81
- Stricter validation of user input to address vulnerabilities.
27
82
28
83
New features released in this version:
0 commit comments