Release notes
*Sourced from [mongodb's releases](https://github.com/mongodb/node-mongodb-native/releases).*
> ## v3.3.4
> The MongoDB Node.js team is pleased to announce version 3.3.4 of the driver
>
> ## Release Highlights
> This release primary consists of improvements to the "unified topology". In particular, a regression with interaction between the connection pool and topology could result in servers which "go away" (due to network error, for example) would not return, resulting in a `MongoTimeoutError`.
>
> ## Release Notes
>
Bug
>
>
>
[NODE-2123] - MaxListenersExceededWarning caused by topologyDescriptionChanged
>
>
[NODE-2214] - Incorrect removal of Unknown server type from ReplicaSetNoPrimary topology
>
>
[NODE-2234] - isConnected() takes legacy path with useUnifiedTopology
>
>
[NODE-2251] - `useUnifiedTopology` continuously emits &[#39](https://github-redirect.dependabot.com/mongodb/node-mongodb-native/issues/39);close&[#39](https://github-redirect.dependabot.com/mongodb/node-mongodb-native/issues/39); event when replica set member is down
>
[NODE-2270] - Servers are not removed from unknownServer list, leaking
>
>
[NODE-2274] - Unified topology never regains nodes which temporarily go down
>
>
[NODE-2277] - Unhandled error when server is offline
>
>
>
>
Improvement
>
>
>
[NODE-1517] - normalize state management across all stateful types
>
>
[NODE-2257] - Introduce ServerDescription equality to reduce SDAM events
>
>
[NODE-2263] - support ability to pass hint to update
>
>
[NODE-2276] - Add SDAM test for debouncing topology description updates
>
>
[NODE-2280] - Integrate a state machine into the unified topology
>
>
[NODE-2309] - Document the design and rationale of the unified topology
>
>
[NODE-2316] - Correct client metadata for unified topology
>
>
Commits
- [`ce60476`](https://github.com/mongodb/node-mongodb-native/commit/ce6047671f5da83f62ba075eabae27e327a960c4) chore(release): 3.3.4
- [`d126665`](https://github.com/mongodb/node-mongodb-native/commit/d126665b876c5d7302803a82c5291c08d7e5510a) fix(topology): report unified topology as `nodejs`
- [`0a22e3f`](https://github.com/mongodb/node-mongodb-native/commit/0a22e3f43dfc94c7a310e5ebfdade06caaeda53f) test: allow values other than `true` for unified filter
- [`d38a6b6`](https://github.com/mongodb/node-mongodb-native/commit/d38a6b6bc74194a14e544982028e421d351240f0) refactor(topology): always ensure `useUnifiedTopology` is present
- [`7dc7cb8`](https://github.com/mongodb/node-mongodb-native/commit/7dc7cb8f7140d3ffc47401503d37c674d83ff510) test: support only passing options to `configuration.newTopology`
- [`5f6a787`](https://github.com/mongodb/node-mongodb-native/commit/5f6a7875ae5914f65e96512ce2cea0ea8210f738) fix(connect): prevent multiple callbacks in error scenarios
- [`ba123a6`](https://github.com/mongodb/node-mongodb-native/commit/ba123a6082d62fd525acd01cd2ee3d70d43caa7e) refactor: support a factory type in `connect`
- [`51e8807`](https://github.com/mongodb/node-mongodb-native/commit/51e88077cd63098e127b12bcc2c3434719f2b723) doc: introduce documentation about the unified topology design
- [`0c1114d`](https://github.com/mongodb/node-mongodb-native/commit/0c1114de934e554896f0248824204249a6b1435d) refactor(topology): report topology state for helper methods
- [`b493e1b`](https://github.com/mongodb/node-mongodb-native/commit/b493e1b37498471d15a7ee294da3b390d4870227) chore(release): 3.3.4-rc0
- Additional commits viewable in [compare view](https://github.com/mongodb/node-mongodb-native/compare/v3.3.3...v3.3.4)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps mongodb from 3.3.3 to 3.3.4.
Release notes
*Sourced from [mongodb's releases](https://github.com/mongodb/node-mongodb-native/releases).* > ## v3.3.4 > The MongoDB Node.js team is pleased to announce version 3.3.4 of the driver > > ## Release Highlights > This release primary consists of improvements to the "unified topology". In particular, a regression with interaction between the connection pool and topology could result in servers which "go away" (due to network error, for example) would not return, resulting in a `MongoTimeoutError`. > > ## Release Notes >Bug >
>>- [NODE-2123] - MaxListenersExceededWarning caused by topologyDescriptionChanged
>
> - [NODE-2214] - Incorrect removal of Unknown server type from ReplicaSetNoPrimary topology
>
> - [NODE-2234] - isConnected() takes legacy path with useUnifiedTopology
>
> - [NODE-2251] - `useUnifiedTopology` continuously emits &[#39](https://github-redirect.dependabot.com/mongodb/node-mongodb-native/issues/39);close&[#39](https://github-redirect.dependabot.com/mongodb/node-mongodb-native/issues/39); event when replica set member is down
>
> - [NODE-2268] - Legacy SDAM ReplSet topology reports incorrect topology ID
>
> - [NODE-2270] - Servers are not removed from unknownServer list, leaking
>
> - [NODE-2274] - Unified topology never regains nodes which temporarily go down
>
> - [NODE-2277] - Unhandled error when server is offline
>
>
> >Improvement >
>>- [NODE-1517] - normalize state management across all stateful types
>
> - [NODE-2257] - Introduce ServerDescription equality to reduce SDAM events
>
> - [NODE-2263] - support ability to pass hint to update
>
> - [NODE-2276] - Add SDAM test for debouncing topology description updates
>
> - [NODE-2280] - Integrate a state machine into the unified topology
>
> - [NODE-2309] - Document the design and rationale of the unified topology
>
> - [NODE-2316] - Correct client metadata for unified topology
>
>
Commits
- [`ce60476`](https://github.com/mongodb/node-mongodb-native/commit/ce6047671f5da83f62ba075eabae27e327a960c4) chore(release): 3.3.4 - [`d126665`](https://github.com/mongodb/node-mongodb-native/commit/d126665b876c5d7302803a82c5291c08d7e5510a) fix(topology): report unified topology as `nodejs` - [`0a22e3f`](https://github.com/mongodb/node-mongodb-native/commit/0a22e3f43dfc94c7a310e5ebfdade06caaeda53f) test: allow values other than `true` for unified filter - [`d38a6b6`](https://github.com/mongodb/node-mongodb-native/commit/d38a6b6bc74194a14e544982028e421d351240f0) refactor(topology): always ensure `useUnifiedTopology` is present - [`7dc7cb8`](https://github.com/mongodb/node-mongodb-native/commit/7dc7cb8f7140d3ffc47401503d37c674d83ff510) test: support only passing options to `configuration.newTopology` - [`5f6a787`](https://github.com/mongodb/node-mongodb-native/commit/5f6a7875ae5914f65e96512ce2cea0ea8210f738) fix(connect): prevent multiple callbacks in error scenarios - [`ba123a6`](https://github.com/mongodb/node-mongodb-native/commit/ba123a6082d62fd525acd01cd2ee3d70d43caa7e) refactor: support a factory type in `connect` - [`51e8807`](https://github.com/mongodb/node-mongodb-native/commit/51e88077cd63098e127b12bcc2c3434719f2b723) doc: introduce documentation about the unified topology design - [`0c1114d`](https://github.com/mongodb/node-mongodb-native/commit/0c1114de934e554896f0248824204249a6b1435d) refactor(topology): report topology state for helper methods - [`b493e1b`](https://github.com/mongodb/node-mongodb-native/commit/b493e1b37498471d15a7ee294da3b390d4870227) chore(release): 3.3.4-rc0 - Additional commits viewable in [compare view](https://github.com/mongodb/node-mongodb-native/compare/v3.3.3...v3.3.4)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)