Skip to content

Commit 5aa286c

Browse files
(DOCSP-12300): Add release notes for v0.3.1 and v0.4.0
1 parent ed290be commit 5aa286c

File tree

1 file changed

+80
-2
lines changed

1 file changed

+80
-2
lines changed

source/changelog.txt

Lines changed: 80 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,85 @@
1212
:depth: 1
1313
:class: singlecol
1414

15-
v0.2.2 - Current Release
16-
------------------------
15+
v0.4.0
16+
------
17+
18+
*Released September 15, 2020*
19+
20+
Improvements
21+
~~~~~~~~~~~~
22+
23+
Adds support for the following methods:
24+
25+
- :method:`db.collection.mapReduce()`
26+
27+
- :method:`db.collection.validate()`
28+
29+
Adds support for ``maxAwaitTimeMS`` for cursors.
30+
31+
v0.3.1
32+
------
33+
34+
*Released September 14, 2020*
35+
36+
Improvements
37+
~~~~~~~~~~~~
38+
39+
This release adds support for:
40+
41+
- New ``cursor`` methods
42+
43+
- Query ``planCache`` methods
44+
45+
- Error helper methods
46+
47+
- The following helper commands:
48+
49+
- ``show users``
50+
- ``show profile``
51+
- ``show logs``
52+
- ``show log[<name>]``
53+
54+
This release includes an ``.rpm`` artifact which can be downloaded from
55+
the `MongoDB Download Center
56+
<https://www.mongodb.com/download-center/community?jmp=docs>`__.
57+
58+
Behavior Updates
59+
~~~~~~~~~~~~~~~~
60+
61+
The legacy ``mongo`` shell error handling different was not consistent
62+
between commands. ``mongosh`` now standardizes the user-facing behavior
63+
here. Whenever a shell helper issues a db command that results in
64+
``{ ok: 0 }`` ``mongosh`` throwsan error. Running the raw command,
65+
however, does not throw an exception and prints the server output.
66+
67+
Bug Fixes
68+
~~~~~~~~~
69+
70+
- :issue:`MONGOSH-323 <MONGOSH-323>`: getUser() userId field is
71+
outputted as binary.
72+
73+
- :issue:`MONGOSH-337 <MONGOSH-337>`: Linux tarball is not gzipped.
74+
75+
- :issue:`MONGOSH-341 <MONGOSH-341>`: Wrong values with NumberLong for
76+
numbers > Number.MAX_SAFE_INTEGER. As a result of this fix, values
77+
passed to ``NumberLong`` and ``NumberDecimal`` must be strings.
78+
79+
.. important::
80+
81+
The fix for :issue:`MONGOSH-341 <MONGOSH-341>` is a breaking
82+
change when compared to behavior in the legacy ``mongo`` shell.
83+
84+
- :issue:`MONGOSH-346 <MONGOSH-346>`: ``Ctrl+C`` does not terminate the
85+
currently running command in the shell.
86+
87+
.. note::
88+
89+
``Ctrl+C`` terminates the process in the shell, but does not
90+
terminate the process on the mongodb server.
91+
92+
v0.2.2
93+
------
1794

1895
*Released August 31, 2020*
1996

@@ -26,6 +103,7 @@ This release adds support for the following APIs:
26103
:method:`db.currentOp()`. More detail in
27104
:issue:`MONGOSH-307 <MONGOSH-307>`.
28105

106+
29107
- Free monitoring commands such as :method:`db.enableFreeMonitoring()`.
30108
More detail in :issue:`MONGOSH-300 <MONGOSH-300>`.
31109

0 commit comments

Comments
 (0)