Skip to content

Commit 6f28677

Browse files
authored
DOCSP-37598-mongodb-shell-2.20-release (#325)
* DOCSP-37598-mongodb-shell-2.20-release * Fixed formatting on rubric line, modified bug fixes rubric line to be consistent with other RN, editorial and feedback edits. * Adding 2.2.1 RN * Adding clarifying text regarding bug fix in 2.2.0 and 2.2.1 headings, per feedback and github release notes edits. * Fixing monospace formatting and some indentation. * Changing important directive to warning, fixed directive spacing issues.
1 parent 5fda2d9 commit 6f28677

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

source/changelog.txt

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

15+
v2.2.1
16+
------
17+
18+
*Released March 19, 2024*
19+
20+
Fixes a bug in 2.2.0 where ``require('<module>')`` caused an error in
21+
script mode:
22+
23+
- :issue:`MONGOSH-1738` - ``require`` not working in script mode.
24+
25+
v2.2.0
26+
------
27+
28+
*Released March 11, 2024*
29+
30+
.. warning::
31+
This release is affected by a bug, fixed in 2.2.1, where ``require('<module>')``
32+
caused an error in script mode.
33+
34+
Performance improvements:
35+
36+
- :issue:`MONGOSH-1605` – ``mongosh`` uses Node.js startup
37+
snapshots again to improve initialization performance.
38+
39+
- :issue:`MONGOSH-1721` – ``mongosh`` now defaults to ``--quiet`` in
40+
non-interactive mode. For example, using ``--json`` or loading files
41+
from the command line without also specifying ``--shell``. Users who
42+
do not want this behavior need to specify ``--no-quiet``.
43+
44+
- :issue:`MONGOSH-1720` – Script execution in non-interactive mode becomes
45+
significantly faster by replacing the underlying evaluation mechanism.
46+
47+
Node.js:
48+
49+
- ``mongosh`` now uses version 6.5.0 of the :driver:`Node.js driver </node/>`.
50+
51+
- :issue:`NODE-5981` – Improved compliance for the Node.js driver. ``mongosh``
52+
enters ``directConnection=true`` by default when only a single host/port
53+
is given on the command line. This ignores ``readPreference`` options
54+
and consistently applies a ``primaryPreferred`` read preference, even
55+
if a read preference is specified on the connection string or on the
56+
individual command.
57+
58+
OIDC functionality:
59+
60+
- :issue:`COMPASS-7437` – ``mongosh`` will not request default OIDC scopes
61+
that are not supported by the Identity Provider.
62+
63+
- :issue:`MONGOSH-1712` – The ``--tlsUseSystemCA`` flag now also applies
64+
to HTTP requests made to the Identity Provider, to better accommodate
65+
customers behind TLS-terminating firewalls.
66+
67+
Issues fixed:
68+
69+
- :issue:`MONGOSH-1667` – ``passwordPrompt()`` works as originally intended.
70+
71+
- :issue:`MONGOSH-1702` – No more flaky deprecation warnings showing up for
72+
macOS homebrew users.
73+
74+
- :issue:`MONGOSH-1617` – Piping scripts into ``mongosh`` together with
75+
custom prompts from your ``.mongoshrc.js`` works consistently now.
76+
77+
`Full release notes available on JIRA
78+
<https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=17381&version=38080>`__.
79+
1580
v2.1.5
1681
------
1782

0 commit comments

Comments
 (0)