Skip to content

Commit 5e09e56

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-31860-binary-constructors-shell (#288)
* DOCSP-31860-binary-constructors-shell * DOCSP-31860-binary-constructors-shell * DOCSP-31860-binary-constructors-shell * DOCSP-31860-binary-constructors-shell * DOCSP-31860-binary-constructors-shell * DOCSP-31860-binary-constructors-shell * DOCSP-31860-binary-constructors-shell * DOCSP-31860-binary-constructors-shell --------- Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
1 parent aef4f3f commit 5e09e56

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

source/changelog.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,20 @@ v2.0.0
1717

1818
*Upcoming*
1919

20+
- Added support for these constructors:
21+
22+
- :method:`Binary.createFromBase64()`
23+
- :method:`Binary.createFromHexString()`
24+
- :method:`ObjectId.createFromBase64()`
25+
- :method:`ObjectId.createFromHexString()`
26+
27+
- ``mongosh`` returns binary values as ``Binary.createFromBase64(
28+
<base64String> )`` values instead of ``Binary( Buffer.from(
29+
<base64String> ) )`` values. For example: ``binaryValue:
30+
Binary.createFromBase64("SGVsbG8gV29ybGQhCg==")``
31+
32+
For additional details, see :method:`Binary.createFromBase64()`.
33+
2034
- Removes support for :ref:`Free Monitoring <free-monitoring-mongodb>`
2135
helper functions:
2236

0 commit comments

Comments
 (0)