-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into NODE-3482-rm-unref
- Loading branch information
Showing
34 changed files
with
1,542 additions
and
1,628 deletions.
There are no files selected for viewing
This file contains 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 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 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 |
---|---|---|
|
@@ -28,3 +28,22 @@ npm install --save snappy@7 | |
### `.unref()` removed from `Db` | ||
|
||
The `.unref()` method was a no-op and has now been removed from the Db class. | ||
|
||
|
||
### @aws-sdk/credential-providers v3.201.0 or later and optional peerDependency | ||
|
||
`@aws-sdk/credential-providers` has been added to the package.json as a peerDependency that is **optional**. | ||
This means `npm` will let you know if the version of the sdk you have installed is incompatible with the driver. | ||
|
||
```sh | ||
npm install --save @aws-sdk/[email protected] | ||
``` | ||
|
||
### Minimum supported Node version | ||
|
||
The new minimum supported Node.js version is now 14.20.1. | ||
|
||
### Custom Promise library support removed | ||
|
||
The MongoClient option `promiseLibrary` along with the `Promise.set` export that allows specifying a custom promise library has been removed. | ||
This allows the driver to adopt async/await syntax which has [performance benefits](https://v8.dev/blog/fast-async) over manual promise construction. |
Oops, something went wrong.