MyGit

v3.6.11

mongodb/node-mongodb-native

版本发布时间: 2021-08-06 00:22:41

mongodb/node-mongodb-native最新发布版本:v6.9.0(2024-09-13 01:12:41)

The MongoDB Node.js team is pleased to announce version 3.6.11 of the mongodb package!

Release Highlights

This patch addresses a few bugs listed below. Notably, we fixed an issue with the way we imported one of our optional dependencies that blocked webpack bundling.

If you are a webpack user you will still get warnings for our optional dependencies (if you don't use them). You can hush the warnings by adding this option to your webpack config:

{
    // ...
    externals: [
        'mongodb-client-encryption',
        'aws4',
        'saslprep',
        'kerberos',
        'snappy',
        'bson-ext',
    ],
    // ...
}

It is important to note that this will leave the imports in place and not pull in the code to your bundle. If you later do adopt using these dependencies you'll want to revert the relevant setting.

Bug Fixes

Documentation

We invite you to try the mongodb package immediately, and report any issues to the NODE project.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2021-08-06发行的版本