nodejs-boilerplate
nodejs-boilerplate copied to clipboard
Bump mongodb from 4.5.0 to 4.8.1
Bumps mongodb from 4.5.0 to 4.8.1.
Release notes
Sourced from mongodb's releases.
v4.8.1
The MongoDB Node.js team is pleased to announce version 4.8.1 of the mongodb package!
Release Highlights
This patch comes with some bug fixes that are listed below as well as a quality of life improvement for nested keys in the
UpdateFilter
andFilter
types. Thanks to@coyotte508
(#3328) for contributing this improvement!Bug Fixes
- NODE-4423: better type support for nested objects in query & update (#3328) (05e007b)
- NODE-4425: webpack optional import of FLE issue (#3324) (5ab2b05)
- NODE-4444: use Node.js clear timers (#3327) (c5cfe21)
Documentation
- Reference: https://docs.mongodb.com/drivers/node/current/
- API: https://mongodb.github.io/node-mongodb-native/4.8
- Changelog: https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v4.8.0
The MongoDB Node.js team is pleased to announce version 4.8.0 of the mongodb package!
Release Highlights
UpdateFilter nested fields
Thanks to a contribution from
@coyotte508
, in this release you will now get auto-complete and type safety for nested keys in an update filter. See the example below:Optional
client.connect()
fixupIn our last release we made explicitly calling
client.connect()
before performing operations optional with some caveats. In this releaseclient.startSession()
can now be called before connecting to MongoDB.NOTES:
- The only APIs that need the client to be connected before using are the legacy
collection.initializeUnorderedBulkOp()
/collection.initializeOrderedBulkOp()
builder methods. However, the preferredcollection.bulkWrite()
API can be used without calling connect explicitly.- While executing operations without explicitly connecting may be streamlined and convenient, depending on your use case
client.connect()
could still be useful to find out early if there is some easily detectable issue (ex. networking) that prevents you from accessing your database.Features
- NODE-4078: allow comment with estimated doc count (#3301) (bed1fe3)
- NODE-4267: support nested fields in type completion for UpdateFilter (#3259) (1a9a44c)
Bug Fixes
- NODE-4125: change stream resumability (#3289) (aa5f97e)
- NODE-4262: make startSession work without a connection (#3286) (89ad7c3)
Documentation
... (truncated)
Changelog
Sourced from mongodb's changelog.
4.8.1 (2022-07-26)
Bug Fixes
- NODE-4423: better type support for nested objects in query & update (#3328) (05e007b)
- NODE-4425: webpack optional import of FLE issue (#3324) (5ab2b05)
- NODE-4444: use Node.js clear timers (#3327) (c5cfe21)
4.8.0 (2022-07-13)
Features
- NODE-4078: allow comment with estimated doc count (#3301) (bed1fe3)
- NODE-4267: support nested fields in type completion for UpdateFilter (#3259) (1a9a44c)
- NODE-4294: mark queryable encryption options beta (#3300) (4c07bbb)
- NODE-4301: remove shared lib experimental tags (#3298) (3976783)
Bug Fixes
- NODE-4125: change stream resumability (#3289) (aa5f97e)
- NODE-4262: make startSession work without a connection (#3286) (89ad7c3)
- sync showExpandedEvents spec tests (#3288) (cfe18f9)
4.7.0 (2022-06-06)
Features
- NODE-1837: add zstd compression option (#3237) (1261432)
- NODE-2993: implement maxConnecting (#3255) (c9d3816)
- NODE-3750: make maxConnecting configurable (#3261) (ee41447)
- NODE-3938: Add support for pre/post images in change streams (#3250) (981465c)
- NODE-4079: estimated document count uses count (#3244) (a752e75)
- NODE-4081: fix and deprecate change stream resume options (#3270) (47adfb3)
- NODE-4139: streaming protocol message changes (#3256) (4b9ad77)
- NODE-4192: make MongoClient.connect optional (#3232) (a2359e4)
- NODE-4196: add support for showExpandedEvents in change streams (#3254) (9c1782e)
- NODE-4229: bump maxWireVersion to 17 (#3265) (d13cec2)
Bug Fixes
... (truncated)
Commits
6c3ac96
chore(release): 4.8.166ea88f
test(NODE-4469): unskip all key management tests (#3322)05e007b
fix(NODE-4423): better type support for nested objects in query & update (#3328)7613d4b
test: fix aws auth tests (#3325)a24132d
chore(NODE-4431): fix failing change stream tests & csfle tests on windows (#...5ab2b05
fix(NODE-4425): webpack optional import of FLE issue (#3324)c5cfe21
fix(NODE-4444): use Node.js clear timers (#3327)4aa9d9d
refactor(NODE-4415): clean up cmap implementation (#3320)b59f17c
refactor(NODE-4392): getMore and killCursors methods (#3317)be34a94
chore(release): 4.8.0- Additional commits viewable in compare view
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)