WhiteSource-FAQs / nodegoat

Apache License 2.0
0 stars 0 forks source link

Update dependency mongodb to v3 - abandoned #33

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago

This PR contains the following updates:

Package Type Update Change
mongodb dependencies major ^2.1.18 -> ^3.0.0

By merging this PR, the below vulnerabilities will be automatically resolved:

Severity CVSS Score CVE
High High 9.8 CVE-2020-7610
Medium Medium 6.5 WS-2019-0311

Release Notes

mongodb/node-mongodb-native ### [`v3.1.13`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​3113-httpsgithubcommongodbnode-mongodb-nativecomparev3112v3113-2019-01-23) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.12...v3.1.13) ##### Bug Fixes - restore ability to webpack by removing `makeLazyLoader` ([050267d](https://togithub.com/mongodb/node-mongodb-native/commit/050267d)) - **bulk:** honor ignoreUndefined in initializeUnorderedBulkOp ([e806be4](https://togithub.com/mongodb/node-mongodb-native/commit/e806be4)) - **changeStream:** properly handle changeStream event mid-close ([#​1902](https://togithub.com/mongodb/node-mongodb-native/issues/1902)) ([5ad9fa9](https://togithub.com/mongodb/node-mongodb-native/commit/5ad9fa9)) - **db_ops:** ensure we async resolve errors in createCollection ([210c71d](https://togithub.com/mongodb/node-mongodb-native/commit/210c71d)) ### [`v3.1.12`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​3112-httpsgithubcommongodbnode-mongodb-nativecomparev3111v3112-2019-01-16) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.11...v3.1.12) ##### Features - **core:** update to mongodb-core v3.1.11 ([9bef6e7](https://togithub.com/mongodb/node-mongodb-native/commit/9bef6e7)) ### [`v3.1.11`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​3111-httpsgithubcommongodbnode-mongodb-nativecomparev3110v3111-2019-01-15) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.10...v3.1.11) ##### Bug Fixes - **bulk:** fix error propagation in empty bulk.execute ([a3adb3f](https://togithub.com/mongodb/node-mongodb-native/commit/a3adb3f)) - **bulk:** make sure that any error in bulk write is propagated ([bedc2d2](https://togithub.com/mongodb/node-mongodb-native/commit/bedc2d2)) - **bulk:** properly calculate batch size for bulk writes ([aafe71b](https://togithub.com/mongodb/node-mongodb-native/commit/aafe71b)) - **operations:** do not call require in a hot path ([ff82ff4](https://togithub.com/mongodb/node-mongodb-native/commit/ff82ff4)) ### [`v3.1.10`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​3110-httpsgithubcommongodbnode-mongodb-nativecomparev319v3110-2018-11-16) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.9...v3.1.10) ##### Bug Fixes - **auth:** remember to default to admin database ([c7dec28](https://togithub.com/mongodb/node-mongodb-native/commit/c7dec28)) ##### Features - **core:** update to mongodb-core v3.1.9 ([bd3355b](https://togithub.com/mongodb/node-mongodb-native/commit/bd3355b)) ### [`v3.1.9`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​319-httpsgithubcommongodbnode-mongodb-nativecomparev318v319-2018-11-06) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.8...v3.1.9) ##### Bug Fixes - **db:** move db constants to other file to avoid circular ref ([#​1858](https://togithub.com/mongodb/node-mongodb-native/issues/1858)) ([239036f](https://togithub.com/mongodb/node-mongodb-native/commit/239036f)) - **estimated-document-count:** support options other than maxTimeMs ([36c3c7d](https://togithub.com/mongodb/node-mongodb-native/commit/36c3c7d)) ##### Features - **core:** update to mongodb-core v3.1.8 ([80d7c79](https://togithub.com/mongodb/node-mongodb-native/commit/80d7c79)) ### [`v3.1.8`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​318-httpsgithubcommongodbnode-mongodb-nativecomparev317v318-2018-10-10) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.7...v3.1.8) ##### Bug Fixes - **connect:** use reported default databse from new uri parser ([811f8f8](https://togithub.com/mongodb/node-mongodb-native/commit/811f8f8)) ##### Features - **core:** update to mongodb-core v3.1.7 ([dbfc905](https://togithub.com/mongodb/node-mongodb-native/commit/dbfc905)) ### [`v3.1.7`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​317-httpsgithubcommongodbnode-mongodb-nativecomparev316v317-2018-10-09) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.6...v3.1.7) ##### Features - **core:** update mongodb-core to v3.1.6 ([61b054e](https://togithub.com/mongodb/node-mongodb-native/commit/61b054e)) ### [`v3.1.6`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​316-httpsgithubcommongodbnode-mongodb-nativecomparev315v316-2018-09-15) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.5...v3.1.6) ##### Features - **core:** update to core v3.1.5 ([c5f823d](https://togithub.com/mongodb/node-mongodb-native/commit/c5f823d)) ### [`v3.1.5`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​315-httpsgithubcommongodbnode-mongodb-nativecomparev314v315-2018-09-14) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.4...v3.1.5) ##### Bug Fixes - **cursor:** allow `$meta` based sort when passing an array to `sort()` ([f93a8c3](https://togithub.com/mongodb/node-mongodb-native/commit/f93a8c3)) - **utils:** only set retryWrites to true for valid operations ([3b725ef](https://togithub.com/mongodb/node-mongodb-native/commit/3b725ef)) ##### Features - **core:** bump core to v3.1.4 ([805d58a](https://togithub.com/mongodb/node-mongodb-native/commit/805d58a)) ### [`v3.1.4`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​314-httpsgithubcommongodbnode-mongodb-nativecomparev313v314-2018-08-25) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.3...v3.1.4) ##### Bug Fixes - **buffer:** use safe-buffer polyfill to maintain compatibility ([327da95](https://togithub.com/mongodb/node-mongodb-native/commit/327da95)) - **change-stream:** properly support resumablity in stream mode ([c43a34b](https://togithub.com/mongodb/node-mongodb-native/commit/c43a34b)) - **connect:** correct replacement of topology on connect callback ([918a1e0](https://togithub.com/mongodb/node-mongodb-native/commit/918a1e0)) - **cursor:** remove deprecated notice on forEach ([a474158](https://togithub.com/mongodb/node-mongodb-native/commit/a474158)) - **url-parser:** bail early on validation when using domain socket ([3cb3da3](https://togithub.com/mongodb/node-mongodb-native/commit/3cb3da3)) ##### Features - **client-ops:** allow bypassing creation of topologies on connect ([fe39b93](https://togithub.com/mongodb/node-mongodb-native/commit/fe39b93)) - **core:** update mongodb-core to 3.1.3 ([a029047](https://togithub.com/mongodb/node-mongodb-native/commit/a029047)) - **test:** use connection strings for all calls to `newClient` ([1dac18f](https://togithub.com/mongodb/node-mongodb-native/commit/1dac18f)) ### [`v3.1.3`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​313-httpsgithubcommongodbnode-mongodb-nativecomparev312v313-2018-08-13) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.2...v3.1.3) ##### Features - **core:** update to mongodb-core 3.1.2 ([337cb79](https://togithub.com/mongodb/node-mongodb-native/commit/337cb79)) ### [`v3.1.2`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​312-httpsgithubcommongodbnode-mongodb-nativecomparev306v312-2018-08-13) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.1...v3.1.2) ##### Bug Fixes - **aggregate:** support user-provided `batchSize` ([ad10dee](https://togithub.com/mongodb/node-mongodb-native/commit/ad10dee)) - **buffer:** replace deprecated Buffer constructor ([759dd85](https://togithub.com/mongodb/node-mongodb-native/commit/759dd85)) - **bulk:** fixing retryable writes for mass-change ops ([0604036](https://togithub.com/mongodb/node-mongodb-native/commit/0604036)) - **bulk:** handle MongoWriteConcernErrors ([12ff392](https://togithub.com/mongodb/node-mongodb-native/commit/12ff392)) - **change_stream:** do not check isGetMore if error\[mongoErrorContextSymbol] is undefined ([#​1720](https://togithub.com/mongodb/node-mongodb-native/issues/1720)) ([844c2c8](https://togithub.com/mongodb/node-mongodb-native/commit/844c2c8)) - **change-stream:** fix change stream resuming with promises ([3063f00](https://togithub.com/mongodb/node-mongodb-native/commit/3063f00)) - **client-ops:** return transform map to map rather than function ([cfb7d83](https://togithub.com/mongodb/node-mongodb-native/commit/cfb7d83)) - **collection:** correctly shallow clone passed in options ([7727700](https://togithub.com/mongodb/node-mongodb-native/commit/7727700)) - **collection:** countDocuments throws error when query doesn't match docs ([09c7d8e](https://togithub.com/mongodb/node-mongodb-native/commit/09c7d8e)) - **collection:** depend on `resolveReadPreference` for inheritance ([a649e35](https://togithub.com/mongodb/node-mongodb-native/commit/a649e35)) - **collection:** ensure findAndModify always use readPreference primary ([86344f4](https://togithub.com/mongodb/node-mongodb-native/commit/86344f4)) - **collection:** isCapped returns false instead of undefined ([b8471f1](https://togithub.com/mongodb/node-mongodb-native/commit/b8471f1)) - **collection:** only send bypassDocumentValidation if true ([fdb828b](https://togithub.com/mongodb/node-mongodb-native/commit/fdb828b)) - **count-documents:** return callback on error case ([fca1185](https://togithub.com/mongodb/node-mongodb-native/commit/fca1185)) - **cursor:** cursor count with collation fix ([71879c3](https://togithub.com/mongodb/node-mongodb-native/commit/71879c3)) - **cursor:** cursor hasNext returns false when exhausted ([184b817](https://togithub.com/mongodb/node-mongodb-native/commit/184b817)) - **cursor:** cursor.count not respecting parent readPreference ([5a9fdf0](https://togithub.com/mongodb/node-mongodb-native/commit/5a9fdf0)) - **cursor:** set readPreference for cursor.count ([13d776f](https://togithub.com/mongodb/node-mongodb-native/commit/13d776f)) - **db:** don't send session down to createIndex command ([559c195](https://togithub.com/mongodb/node-mongodb-native/commit/559c195)) - **db:** throw readable error when creating `_id` with background: true ([b3ff3ed](https://togithub.com/mongodb/node-mongodb-native/commit/b3ff3ed)) - **db_ops:** call collection.find() with correct parameters ([#​1795](https://togithub.com/mongodb/node-mongodb-native/issues/1795)) ([36e92f1](https://togithub.com/mongodb/node-mongodb-native/commit/36e92f1)) - **db_ops:** fix two incorrectly named variables ([15dc808](https://togithub.com/mongodb/node-mongodb-native/commit/15dc808)) - **findOneAndUpdate:** ensure that update documents contain atomic operators ([eb68074](https://togithub.com/mongodb/node-mongodb-native/commit/eb68074)) - **index:** export MongoNetworkError ([98ab29e](https://togithub.com/mongodb/node-mongodb-native/commit/98ab29e)) - **mongo_client:** translate options for connectWithUrl ([78f6977](https://togithub.com/mongodb/node-mongodb-native/commit/78f6977)) - **mongo-client:** pass arguments to ctor when new keyword is used ([d6c3417](https://togithub.com/mongodb/node-mongodb-native/commit/d6c3417)) - **mongos:** bubble up close events after the first one ([#​1713](https://togithub.com/mongodb/node-mongodb-native/issues/1713)) ([3e91d77](https://togithub.com/mongodb/node-mongodb-native/commit/3e91d77)), closes [Automattic/mongoose#​6249](https://togithub.com/Automattic/mongoose/issues/6249) [#​1685](https://togithub.com/mongodb/node-mongodb-native/issues/1685) - **parallelCollectionScan:** do not use implicit sessions on cursors ([2de470a](https://togithub.com/mongodb/node-mongodb-native/commit/2de470a)) - **retryWrites:** fixes more bulk ops to not use retryWrites ([69e5254](https://togithub.com/mongodb/node-mongodb-native/commit/69e5254)) - **server:** remove unnecessary print statement ([2bcbc12](https://togithub.com/mongodb/node-mongodb-native/commit/2bcbc12)) - **teardown:** properly destroy a topology when initial connect fails ([b8d2f1d](https://togithub.com/mongodb/node-mongodb-native/commit/b8d2f1d)) - **topology-base:** sending `endSessions` is always skipped now ([a276cbe](https://togithub.com/mongodb/node-mongodb-native/commit/a276cbe)) - **txns:** omit writeConcern when in a transaction ([b88c938](https://togithub.com/mongodb/node-mongodb-native/commit/b88c938)) - **utils:** restructure inheritance rules for read preferences ([6a7dac1](https://togithub.com/mongodb/node-mongodb-native/commit/6a7dac1)) ##### Features - **auth:** add support for SCRAM-SHA-256 ([f53195d](https://togithub.com/mongodb/node-mongodb-native/commit/f53195d)) - **changeStream:** Adding new 4.0 ChangeStream features ([2cb4894](https://togithub.com/mongodb/node-mongodb-native/commit/2cb4894)) - **changeStream:** allow resuming on getMore errors ([4ba5adc](https://togithub.com/mongodb/node-mongodb-native/commit/4ba5adc)) - **changeStream:** expanding changeStream resumable errors ([49fbafd](https://togithub.com/mongodb/node-mongodb-native/commit/49fbafd)) - **ChangeStream:** update default startAtOperationTime ([50a9f65](https://togithub.com/mongodb/node-mongodb-native/commit/50a9f65)) - **collection:** add colleciton level document mapping/unmapping ([d03335e](https://togithub.com/mongodb/node-mongodb-native/commit/d03335e)) - **collection:** Implement new count API ([a5240ae](https://togithub.com/mongodb/node-mongodb-native/commit/a5240ae)) - **Collection:** warn if callback is not function in find and findOne ([cddaba0](https://togithub.com/mongodb/node-mongodb-native/commit/cddaba0)) - **core:** bump core dependency to v3.1.0 ([4937240](https://togithub.com/mongodb/node-mongodb-native/commit/4937240)) - **cursor:** new cursor.transformStream method ([397fcd2](https://togithub.com/mongodb/node-mongodb-native/commit/397fcd2)) - **deprecation:** create deprecation function ([4f907a0](https://togithub.com/mongodb/node-mongodb-native/commit/4f907a0)) - **deprecation:** wrap deprecated functions ([a5d0f1d](https://togithub.com/mongodb/node-mongodb-native/commit/a5d0f1d)) - **GridFS:** add option to disable md5 in file upload ([704a88e](https://togithub.com/mongodb/node-mongodb-native/commit/704a88e)) - **listCollections:** add support for nameOnly option ([d2d0367](https://togithub.com/mongodb/node-mongodb-native/commit/d2d0367)) - **parallelCollectionScan:** does not allow user to pass a session ([4da9e03](https://togithub.com/mongodb/node-mongodb-native/commit/4da9e03)) - **read-preference:** add transaction to inheritance rules ([18ca41d](https://togithub.com/mongodb/node-mongodb-native/commit/18ca41d)) - **read-preference:** unify means of read preference resolution ([#​1738](https://togithub.com/mongodb/node-mongodb-native/issues/1738)) ([2995e11](https://togithub.com/mongodb/node-mongodb-native/commit/2995e11)) - **urlParser:** use core URL parser ([c1c5d8d](https://togithub.com/mongodb/node-mongodb-native/commit/c1c5d8d)) - **withSession:** add top level helper for session lifetime ([9976b86](https://togithub.com/mongodb/node-mongodb-native/commit/9976b86)) ##### Reverts - **collection:** reverting collection-mapping features ([7298c76](https://togithub.com/mongodb/node-mongodb-native/commit/7298c76)), closes [#​1698](https://togithub.com/mongodb/node-mongodb-native/issues/1698) [mongodb/js-bson#​253](https://togithub.com/mongodb/js-bson/issues/253) ### [`v3.1.1`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​3113-httpsgithubcommongodbnode-mongodb-nativecomparev3112v3113-2019-01-23) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.1.0...v3.1.1) ##### Bug Fixes - restore ability to webpack by removing `makeLazyLoader` ([050267d](https://togithub.com/mongodb/node-mongodb-native/commit/050267d)) - **bulk:** honor ignoreUndefined in initializeUnorderedBulkOp ([e806be4](https://togithub.com/mongodb/node-mongodb-native/commit/e806be4)) - **changeStream:** properly handle changeStream event mid-close ([#​1902](https://togithub.com/mongodb/node-mongodb-native/issues/1902)) ([5ad9fa9](https://togithub.com/mongodb/node-mongodb-native/commit/5ad9fa9)) - **db_ops:** ensure we async resolve errors in createCollection ([210c71d](https://togithub.com/mongodb/node-mongodb-native/commit/210c71d)) ### [`v3.1.0`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​310-httpsgithubcommongodbnode-mongodb-nativecomparev306v310-2018-06-27) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.11...v3.1.0) ##### Bug Fixes - **aggregate:** support user-provided `batchSize` ([ad10dee](https://togithub.com/mongodb/node-mongodb-native/commit/ad10dee)) - **bulk:** fixing retryable writes for mass-change ops ([0604036](https://togithub.com/mongodb/node-mongodb-native/commit/0604036)) - **bulk:** handle MongoWriteConcernErrors ([12ff392](https://togithub.com/mongodb/node-mongodb-native/commit/12ff392)) - **change_stream:** do not check isGetMore if error\[mongoErrorContextSymbol] is undefined ([#​1720](https://togithub.com/mongodb/node-mongodb-native/issues/1720)) ([844c2c8](https://togithub.com/mongodb/node-mongodb-native/commit/844c2c8)) - **change-stream:** fix change stream resuming with promises ([3063f00](https://togithub.com/mongodb/node-mongodb-native/commit/3063f00)) - **collection:** depend on `resolveReadPreference` for inheritance ([a649e35](https://togithub.com/mongodb/node-mongodb-native/commit/a649e35)) - **collection:** only send bypassDocumentValidation if true ([fdb828b](https://togithub.com/mongodb/node-mongodb-native/commit/fdb828b)) - **cursor:** cursor count with collation fix ([71879c3](https://togithub.com/mongodb/node-mongodb-native/commit/71879c3)) - **cursor:** cursor hasNext returns false when exhausted ([184b817](https://togithub.com/mongodb/node-mongodb-native/commit/184b817)) - **cursor:** cursor.count not respecting parent readPreference ([5a9fdf0](https://togithub.com/mongodb/node-mongodb-native/commit/5a9fdf0)) - **db:** don't send session down to createIndex command ([559c195](https://togithub.com/mongodb/node-mongodb-native/commit/559c195)) - **db:** throw readable error when creating `_id` with background: true ([b3ff3ed](https://togithub.com/mongodb/node-mongodb-native/commit/b3ff3ed)) - **findOneAndUpdate:** ensure that update documents contain atomic operators ([eb68074](https://togithub.com/mongodb/node-mongodb-native/commit/eb68074)) - **index:** export MongoNetworkError ([98ab29e](https://togithub.com/mongodb/node-mongodb-native/commit/98ab29e)) - **mongo-client:** pass arguments to ctor when new keyword is used ([d6c3417](https://togithub.com/mongodb/node-mongodb-native/commit/d6c3417)) - **mongos:** bubble up close events after the first one ([#​1713](https://togithub.com/mongodb/node-mongodb-native/issues/1713)) ([3e91d77](https://togithub.com/mongodb/node-mongodb-native/commit/3e91d77)), closes [Automattic/mongoose#​6249](https://togithub.com/Automattic/mongoose/issues/6249) [#​1685](https://togithub.com/mongodb/node-mongodb-native/issues/1685) - **parallelCollectionScan:** do not use implicit sessions on cursors ([2de470a](https://togithub.com/mongodb/node-mongodb-native/commit/2de470a)) - **retryWrites:** fixes more bulk ops to not use retryWrites ([69e5254](https://togithub.com/mongodb/node-mongodb-native/commit/69e5254)) - **topology-base:** sending `endSessions` is always skipped now ([a276cbe](https://togithub.com/mongodb/node-mongodb-native/commit/a276cbe)) - **txns:** omit writeConcern when in a transaction ([b88c938](https://togithub.com/mongodb/node-mongodb-native/commit/b88c938)) - **utils:** restructure inheritance rules for read preferences ([6a7dac1](https://togithub.com/mongodb/node-mongodb-native/commit/6a7dac1)) ##### Features - **auth:** add support for SCRAM-SHA-256 ([f53195d](https://togithub.com/mongodb/node-mongodb-native/commit/f53195d)) - **changeStream:** Adding new 4.0 ChangeStream features ([2cb4894](https://togithub.com/mongodb/node-mongodb-native/commit/2cb4894)) - **changeStream:** allow resuming on getMore errors ([4ba5adc](https://togithub.com/mongodb/node-mongodb-native/commit/4ba5adc)) - **changeStream:** expanding changeStream resumable errors ([49fbafd](https://togithub.com/mongodb/node-mongodb-native/commit/49fbafd)) - **ChangeStream:** update default startAtOperationTime ([50a9f65](https://togithub.com/mongodb/node-mongodb-native/commit/50a9f65)) - **collection:** add colleciton level document mapping/unmapping ([d03335e](https://togithub.com/mongodb/node-mongodb-native/commit/d03335e)) - **collection:** Implement new count API ([a5240ae](https://togithub.com/mongodb/node-mongodb-native/commit/a5240ae)) - **Collection:** warn if callback is not function in find and findOne ([cddaba0](https://togithub.com/mongodb/node-mongodb-native/commit/cddaba0)) - **core:** bump core dependency to v3.1.0 ([855bfdb](https://togithub.com/mongodb/node-mongodb-native/commit/855bfdb)) - **cursor:** new cursor.transformStream method ([397fcd2](https://togithub.com/mongodb/node-mongodb-native/commit/397fcd2)) - **GridFS:** add option to disable md5 in file upload ([704a88e](https://togithub.com/mongodb/node-mongodb-native/commit/704a88e)) - **listCollections:** add support for nameOnly option ([d2d0367](https://togithub.com/mongodb/node-mongodb-native/commit/d2d0367)) - **parallelCollectionScan:** does not allow user to pass a session ([4da9e03](https://togithub.com/mongodb/node-mongodb-native/commit/4da9e03)) - **read-preference:** add transaction to inheritance rules ([18ca41d](https://togithub.com/mongodb/node-mongodb-native/commit/18ca41d)) - **read-preference:** unify means of read preference resolution ([#​1738](https://togithub.com/mongodb/node-mongodb-native/issues/1738)) ([2995e11](https://togithub.com/mongodb/node-mongodb-native/commit/2995e11)) - **urlParser:** use core URL parser ([c1c5d8d](https://togithub.com/mongodb/node-mongodb-native/commit/c1c5d8d)) - **withSession:** add top level helper for session lifetime ([9976b86](https://togithub.com/mongodb/node-mongodb-native/commit/9976b86)) ##### Reverts - **collection:** reverting collection-mapping features ([7298c76](https://togithub.com/mongodb/node-mongodb-native/commit/7298c76)), closes [#​1698](https://togithub.com/mongodb/node-mongodb-native/issues/1698) [mongodb/js-bson#​253](https://togithub.com/mongodb/js-bson/issues/253) #### [3.0.6](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.5...v3.0.6) (2018-04-09) ##### Bug Fixes - **db:** ensure `dropDatabase` always uses primary read preference ([e62e5c9](https://togithub.com/mongodb/node-mongodb-native/commit/e62e5c9)) - **driverBench:** driverBench has default options object now ([c557817](https://togithub.com/mongodb/node-mongodb-native/commit/c557817)) ##### Features - **command-monitoring:** support enabling command monitoring ([5903680](https://togithub.com/mongodb/node-mongodb-native/commit/5903680)) - **core:** update to mongodb-core v3.0.6 ([cfdd0ae](https://togithub.com/mongodb/node-mongodb-native/commit/cfdd0ae)) - **driverBench:** Implementing DriverBench ([d10fbad](https://togithub.com/mongodb/node-mongodb-native/commit/d10fbad)) #### [3.0.5](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.4...v3.0.5) (2018-03-23) ##### Bug Fixes - **AggregationCursor:** adding session tracking to AggregationCursor ([baca5b7](https://togithub.com/mongodb/node-mongodb-native/commit/baca5b7)) - **Collection:** fix session leak in parallelCollectonScan ([3331ec9](https://togithub.com/mongodb/node-mongodb-native/commit/3331ec9)) - **comments:** adding fixes for PR comments ([ee110ac](https://togithub.com/mongodb/node-mongodb-native/commit/ee110ac)) - **url_parser:** support a default database on mongodb+srv uris ([6d39b2a](https://togithub.com/mongodb/node-mongodb-native/commit/6d39b2a)) ##### Features - **sessions:** adding implicit cursor session support ([a81245b](https://togithub.com/mongodb/node-mongodb-native/commit/a81245b)) #### [3.0.4](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.2...v3.0.4) (2018-03-05) ##### Bug Fixes - **collection:** fix error when calling remove with no args ([#​1657](https://togithub.com/mongodb/node-mongodb-native/issues/1657)) ([4c9b0f8](https://togithub.com/mongodb/node-mongodb-native/commit/4c9b0f8)) - **executeOperation:** don't mutate options passed to commands ([934a43a](https://togithub.com/mongodb/node-mongodb-native/commit/934a43a)) - **jsdoc:** mark db.collection callback as optional + typo fix ([#​1658](https://togithub.com/mongodb/node-mongodb-native/issues/1658)) ([c519b9b](https://togithub.com/mongodb/node-mongodb-native/commit/c519b9b)) - **sessions:** move active session tracking to topology base ([#​1665](https://togithub.com/mongodb/node-mongodb-native/issues/1665)) ([b1f296f](https://togithub.com/mongodb/node-mongodb-native/commit/b1f296f)) - **utils:** fixes executeOperation to clean up sessions ([04e6ef6](https://togithub.com/mongodb/node-mongodb-native/commit/04e6ef6)) ##### Features - **default-db:** use dbName from uri if none provided ([23b1938](https://togithub.com/mongodb/node-mongodb-native/commit/23b1938)) - **mongodb-core:** update to mongodb-core 3.0.4 ([1fdbaa5](https://togithub.com/mongodb/node-mongodb-native/commit/1fdbaa5)) #### [3.0.3](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.2...v3.0.3) (2018-02-23) ##### Bug Fixes - **collection:** fix error when calling remove with no args ([#​1657](https://togithub.com/mongodb/node-mongodb-native/issues/1657)) ([4c9b0f8](https://togithub.com/mongodb/node-mongodb-native/commit/4c9b0f8)) - **executeOperation:** don't mutate options passed to commands ([934a43a](https://togithub.com/mongodb/node-mongodb-native/commit/934a43a)) - **jsdoc:** mark db.collection callback as optional + typo fix ([#​1658](https://togithub.com/mongodb/node-mongodb-native/issues/1658)) ([c519b9b](https://togithub.com/mongodb/node-mongodb-native/commit/c519b9b)) - **sessions:** move active session tracking to topology base ([#​1665](https://togithub.com/mongodb/node-mongodb-native/issues/1665)) ([b1f296f](https://togithub.com/mongodb/node-mongodb-native/commit/b1f296f)) #### [3.0.2](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.1...v3.0.2) (2018-01-29) ##### Bug Fixes - **collection:** ensure dynamic require of `db` is wrapped in parentheses ([efa78f0](https://togithub.com/mongodb/node-mongodb-native/commit/efa78f0)) - **db:** only callback with MongoError NODE-1293 ([#​1652](https://togithub.com/mongodb/node-mongodb-native/issues/1652)) ([45bc722](https://togithub.com/mongodb/node-mongodb-native/commit/45bc722)) - **topology base:** allow more than 10 event listeners ([#​1630](https://togithub.com/mongodb/node-mongodb-native/issues/1630)) ([d9fb750](https://togithub.com/mongodb/node-mongodb-native/commit/d9fb750)) - **url parser:** preserve auth creds when composing conn string ([#​1640](https://togithub.com/mongodb/node-mongodb-native/issues/1640)) ([eddca5e](https://togithub.com/mongodb/node-mongodb-native/commit/eddca5e)) ##### Features - **bulk:** forward 'checkKeys' option for ordered and unordered bulk operations ([421a6b2](https://togithub.com/mongodb/node-mongodb-native/commit/421a6b2)) - **collection:** expose `dbName` property of collection ([6fd05c1](https://togithub.com/mongodb/node-mongodb-native/commit/6fd05c1)) #### [3.0.1](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.0...v3.0.1) (2017-12-24) - update mongodb-core to 3.0.1 ### [`v3.0.11`](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.10...v3.0.11) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.10...v3.0.11) ### [`v3.0.10`](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.9...v3.0.10) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.9...v3.0.10) ### [`v3.0.9`](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.8...v3.0.9) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.8...v3.0.9) ### [`v3.0.8`](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.7...v3.0.8) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.7...v3.0.8) ### [`v3.0.7`](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.6...v3.0.7) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.6...v3.0.7) ### [`v3.0.6`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​306-httpsgithubcommongodbnode-mongodb-nativecomparev305v306-2018-04-09) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.5...v3.0.6) ##### Bug Fixes - **db:** ensure `dropDatabase` always uses primary read preference ([e62e5c9](https://togithub.com/mongodb/node-mongodb-native/commit/e62e5c9)) - **driverBench:** driverBench has default options object now ([c557817](https://togithub.com/mongodb/node-mongodb-native/commit/c557817)) ##### Features - **command-monitoring:** support enabling command monitoring ([5903680](https://togithub.com/mongodb/node-mongodb-native/commit/5903680)) - **core:** update to mongodb-core v3.0.6 ([cfdd0ae](https://togithub.com/mongodb/node-mongodb-native/commit/cfdd0ae)) - **driverBench:** Implementing DriverBench ([d10fbad](https://togithub.com/mongodb/node-mongodb-native/commit/d10fbad)) ### [`v3.0.5`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​305-httpsgithubcommongodbnode-mongodb-nativecomparev304v305-2018-03-23) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.4...v3.0.5) ##### Bug Fixes - **AggregationCursor:** adding session tracking to AggregationCursor ([baca5b7](https://togithub.com/mongodb/node-mongodb-native/commit/baca5b7)) - **Collection:** fix session leak in parallelCollectonScan ([3331ec9](https://togithub.com/mongodb/node-mongodb-native/commit/3331ec9)) - **comments:** adding fixes for PR comments ([ee110ac](https://togithub.com/mongodb/node-mongodb-native/commit/ee110ac)) - **url_parser:** support a default database on mongodb+srv uris ([6d39b2a](https://togithub.com/mongodb/node-mongodb-native/commit/6d39b2a)) ##### Features - **sessions:** adding implicit cursor session support ([a81245b](https://togithub.com/mongodb/node-mongodb-native/commit/a81245b)) ### [`v3.0.4`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​304-httpsgithubcommongodbnode-mongodb-nativecomparev302v304-2018-03-05) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.3...v3.0.4) ##### Bug Fixes - **collection:** fix error when calling remove with no args ([#​1657](https://togithub.com/mongodb/node-mongodb-native/issues/1657)) ([4c9b0f8](https://togithub.com/mongodb/node-mongodb-native/commit/4c9b0f8)) - **executeOperation:** don't mutate options passed to commands ([934a43a](https://togithub.com/mongodb/node-mongodb-native/commit/934a43a)) - **jsdoc:** mark db.collection callback as optional + typo fix ([#​1658](https://togithub.com/mongodb/node-mongodb-native/issues/1658)) ([c519b9b](https://togithub.com/mongodb/node-mongodb-native/commit/c519b9b)) - **sessions:** move active session tracking to topology base ([#​1665](https://togithub.com/mongodb/node-mongodb-native/issues/1665)) ([b1f296f](https://togithub.com/mongodb/node-mongodb-native/commit/b1f296f)) - **utils:** fixes executeOperation to clean up sessions ([04e6ef6](https://togithub.com/mongodb/node-mongodb-native/commit/04e6ef6)) ##### Features - **default-db:** use dbName from uri if none provided ([23b1938](https://togithub.com/mongodb/node-mongodb-native/commit/23b1938)) - **mongodb-core:** update to mongodb-core 3.0.4 ([1fdbaa5](https://togithub.com/mongodb/node-mongodb-native/commit/1fdbaa5)) ### [`v3.0.3`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​303-httpsgithubcommongodbnode-mongodb-nativecomparev302v303-2018-02-23) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.2...v3.0.3) ##### Bug Fixes - **collection:** fix error when calling remove with no args ([#​1657](https://togithub.com/mongodb/node-mongodb-native/issues/1657)) ([4c9b0f8](https://togithub.com/mongodb/node-mongodb-native/commit/4c9b0f8)) - **executeOperation:** don't mutate options passed to commands ([934a43a](https://togithub.com/mongodb/node-mongodb-native/commit/934a43a)) - **jsdoc:** mark db.collection callback as optional + typo fix ([#​1658](https://togithub.com/mongodb/node-mongodb-native/issues/1658)) ([c519b9b](https://togithub.com/mongodb/node-mongodb-native/commit/c519b9b)) - **sessions:** move active session tracking to topology base ([#​1665](https://togithub.com/mongodb/node-mongodb-native/issues/1665)) ([b1f296f](https://togithub.com/mongodb/node-mongodb-native/commit/b1f296f)) ### [`v3.0.2`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​302-httpsgithubcommongodbnode-mongodb-nativecomparev301v302-2018-01-29) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.1...v3.0.2) ##### Bug Fixes - **collection:** ensure dynamic require of `db` is wrapped in parentheses ([efa78f0](https://togithub.com/mongodb/node-mongodb-native/commit/efa78f0)) - **db:** only callback with MongoError NODE-1293 ([#​1652](https://togithub.com/mongodb/node-mongodb-native/issues/1652)) ([45bc722](https://togithub.com/mongodb/node-mongodb-native/commit/45bc722)) - **topology base:** allow more than 10 event listeners ([#​1630](https://togithub.com/mongodb/node-mongodb-native/issues/1630)) ([d9fb750](https://togithub.com/mongodb/node-mongodb-native/commit/d9fb750)) - **url parser:** preserve auth creds when composing conn string ([#​1640](https://togithub.com/mongodb/node-mongodb-native/issues/1640)) ([eddca5e](https://togithub.com/mongodb/node-mongodb-native/commit/eddca5e)) ##### Features - **bulk:** forward 'checkKeys' option for ordered and unordered bulk operations ([421a6b2](https://togithub.com/mongodb/node-mongodb-native/commit/421a6b2)) - **collection:** expose `dbName` property of collection ([6fd05c1](https://togithub.com/mongodb/node-mongodb-native/commit/6fd05c1)) ### [`v3.0.1`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​301-httpsgithubcommongodbnode-mongodb-nativecomparev300v301-2017-12-24) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.0.0...v3.0.1) - update mongodb-core to 3.0.1 ### [`v3.0.0`](https://togithub.com/mongodb/node-mongodb-native/blob/master/HISTORY.md#​300-httpsgithubcommongodbnode-mongodb-nativecomparev300-rc0v300-2017-12-24) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v2.2.36...v3.0.0) ##### Bug Fixes - **aggregate:** remove support for inline results for aggregate ([#​1620](https://togithub.com/mongodb/node-mongodb-native/issues/1620)) ([84457ec](https://togithub.com/mongodb/node-mongodb-native/commit/84457ec)) - **topologies:** unify topologies connect API ([#​1615](https://togithub.com/mongodb/node-mongodb-native/issues/1615)) ([0fb4658](https://togithub.com/mongodb/node-mongodb-native/commit/0fb4658)) ##### Features - **keepAlive:** make keepAlive options consistent ([#​1612](https://togithub.com/mongodb/node-mongodb-native/issues/1612)) ([f608f44](https://togithub.com/mongodb/node-mongodb-native/commit/f608f44)) ##### BREAKING CHANGES - **topologies:** Function signature for `.connect` method on replset and mongos has changed. You shouldn't have been using this anyway, but if you were, you only should pass `options` and `callback`. Part of NODE-1089 - **keepAlive:** option `keepAlive` is now split into boolean `keepAlive` and number `keepAliveInitialDelay` Fixes NODE-998

mend-for-github-com[bot] commented 2 years ago

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.