Skip to content

Commit a75778f

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-32212-parsing-logic (#291)
* DOCSP-32212-parsing-logic * DOCSP-32212-parsing-logic * DOCSP-32212-parsing-logic * DOCSP-32212-parsing-logic * DOCSP-32212-parsing-logic * DOCSP-32212-parsing-logic --------- Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 5e09e56 commit a75778f

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

source/changelog.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ v2.0.0
2626

2727
- ``mongosh`` returns binary values as ``Binary.createFromBase64(
2828
<base64String> )`` values instead of ``Binary( Buffer.from(
29-
<base64String> ) )`` values. For example: ``binaryValue:
30-
Binary.createFromBase64("SGVsbG8gV29ybGQhCg==")``
29+
<base64String> ) )`` values. For example:
30+
``binaryValue:Binary.createFromBase64( "SGVsbG8gV29ybGQhCg==" )``
3131

3232
For additional details, see :method:`Binary.createFromBase64()`.
33-
33+
34+
- .. include:: /includes/boolean-logic-connection-strings.rst
35+
3436
- Removes support for :ref:`Free Monitoring <free-monitoring-mongodb>`
3537
helper functions:
3638

source/connect.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,7 @@ Limitations
348348

349349
- ``zstd``
350350
- ``snappy``
351+
352+
- Starting in ``mongosh`` 2.0.0:
353+
354+
.. include:: /includes/boolean-logic-connection-strings.rst
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
For boolean values in :manual:`connection strings
2+
</reference/connection-string>`, you:
3+
4+
- must use ``true`` or ``false``.
5+
- cannot use ``1``, ``y``, ``yes``, or ``t`` instead of ``true``.
6+
- cannot use ``-1``, ``0``, ``n``, ``no``, or ``f`` instead of
7+
``false``.

0 commit comments

Comments
 (0)