The MongoDB Node.js team is pleased to announce version 5.6.0 of the mongodb package!
Release Highlights
Node 20 support
The MongoDB Node.js Driver now supports Node.js 20! 🎉
runCursorCommand API
We have added the Db#runCursorCommand method which can be used to execute generic cursor commands. This API complements the generic Db#command method.
TypeScript support for new time series options
The driver now has TypeScript support for the bucketMaxSpanSeconds and bucketRoundingSeconds options which will be available in MongoDB 7.0. You can read more about these options here.
Features
NODE-5019: add runCursorCommand API (#3655) (4da926e)
NODE-5071: support additional time series options (#3667) (ccf555d)
Bug Fixes
NODE-5249: remove strict flag from create collection options (#3677) (be8faaf)
NODE-5296: construct error messages for AggregateErrors in Node16+ (#3682) (e03178e)
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)
Bumps mongodb from 5.3.0 to 5.6.0.
Release notes
Sourced from mongodb's releases.
... (truncated)
Changelog
Sourced from mongodb's changelog.
Commits
f98f26c
chore(release): 5.6.00853c69
test(NODE-5326): remove drop search indexes tests (#3695)f647542
feat(NODE-5314): add search index helpers (#3672)e5e3c93
test(NODE-5317): use new evergreen scripts (#3669)1e58a4c
test(NODE-5265): fix flaky operation count test (#3688)8bfa945
test(NODE-5237): fix flaky deadlock tests and modernize deadlock test suite (...63ae351
ci(NODE-5312): change windows hosts to vsCurrent (#3687)da12eb9
ci(NODE-4698): test csfle with mongocryptd (#3684)436dc9c
test(NODE-4708): add rewrapmanydatakey prose test 2 (#3685)e03178e
fix(NODE-5296): construct error messages for AggregateErrors in Node16+ (#3682)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)