-
Notifications
You must be signed in to change notification settings - Fork 53
DOCSP-41078 - v6.8 #896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
DOCSP-41078 - v6.8 #896
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2d152d8
v6.8
mongoKart df36bdb
code fix
mongoKart 4f9b654
reword
mongoKart 6a5e9f8
fix code
mongoKart e886f08
fixes
mongoKart 1866828
code block
mongoKart dbe1589
js feedback
mongoKart f46f5c1
add with
mongoKart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
- MongoDB 3.0 | ||
- MongoDB 2.6 | ||
|
||
* - 6.0 to 6.7 | ||
* - 6.0 to 6.8 | ||
- ✓ | ||
- ✓ | ||
- ✓ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -19,6 +19,7 @@ What's New | |||||
|
||||||
Learn what's new in: | ||||||
|
||||||
* :ref:`Version 6.8 <version-6.8>` | ||||||
* :ref:`Version 6.7 <version-6.7>` | ||||||
* :ref:`Version 6.6 <version-6.6>` | ||||||
* :ref:`Version 6.5 <version-6.5>` | ||||||
|
@@ -58,6 +59,69 @@ Learn what's new in: | |||||
* :ref:`Version 3.7 <version-3.7>` | ||||||
* :ref:`Version 3.6 <version-3.6>` | ||||||
|
||||||
.. _version-6.8: | ||||||
|
||||||
What's New in 6.8 | ||||||
----------------- | ||||||
|
||||||
The {+driver-short+} v6.7 release includes the following features: | ||||||
|
||||||
- Fixes a bug where a local KMS provider accepted a ``BSON Binary`` instance at | ||||||
runtime, but the TypeScript compiler allowed only values of type ``Buffer`` and | ||||||
``string``. | ||||||
|
||||||
- The ``ReadConcernMajorityNotAvailableYet`` error is now a retryable read error. | ||||||
|
||||||
- KMS providers can now be associated with a name, and multiple keys can be provided | ||||||
for each KMS provider. This feature requires ``mongodb-client-encryption`` v6.0.1 or later. | ||||||
mongoKart marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
You can't use named KMS providers if your application uses the automatic | ||||||
KMS provider refresh capability. | ||||||
|
||||||
The following code example shows how to configure a ``ClientEncryption`` object with | ||||||
multiple AWS keys: | ||||||
|
||||||
.. code-block:: javascript | ||||||
:copyable: true | ||||||
|
||||||
const clientEncryption = new ClientEncryption(keyVaultClient, { | ||||||
'aws:key1': { | ||||||
accessKeyId: ..., | ||||||
secretAccessKey: ... | ||||||
}, | ||||||
'aws:key2': { | ||||||
accessKeyId: ..., | ||||||
secretAccessKey: ... | ||||||
}, | ||||||
|
||||||
clientEncryption.createDataKey('aws:key-1', { ... }); | ||||||
jordan-smith721 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
- When you create a KMIP data key, you can now specify the ``delegated`` option. If this | ||||||
option is set to ``true``, the KMIP provider performs encryption and decryption of | ||||||
the data key locally, ensuring that the encryption key never leaves the KMIP server. | ||||||
This feature requires ``mongodb-client-encryption`` v6.0.1 or later. | ||||||
|
||||||
The following code example shows how to specify this option: | ||||||
|
||||||
.. code-block:: javascript | ||||||
:copyable: true | ||||||
|
||||||
clientEncryption.createDataKey('kmip', { masterKey: { delegated: true } } ); | ||||||
jordan-smith721 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
- The driver now decodes BSON responses as the cursor iterates over them, | ||||||
rather than decoding the entire BSON response when it is received. | ||||||
|
||||||
- The Github release for the ``mongodb`` package now contains a detached signature file for | ||||||
the NPM package (named ``mongodb-X.Y.Z.tgz.sig``). This change applies to every major | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think these parenthesis are necessary
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i think the file name refers to the signature file, not the NPM package. reworded anyway
mongoKart marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
and patch release for versions 5 and 6 of the driver. To verify the package signature, | ||||||
mongoKart marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
follow the instructions in the Release Integrity section of the | ||||||
`README.md <https://github.com/mongodb/node-mongodb-native/blob/v6.8.0/README.md#release-integrity>`__ | ||||||
file in the driver's GitHub repository. | ||||||
|
||||||
To learn more about this release, see the | ||||||
`v6.8.0 Release Notes | ||||||
<https://github.com/mongodb/node-mongodb-native/releases/tag/v6.8.0>`__ on | ||||||
GitHub. | ||||||
|
||||||
.. _version-6.7: | ||||||
|
||||||
What's New in 6.7 | ||||||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.