Bump mongodb from 4.17.1 to 6.2.0
Bumps mongodb from 4.17.1 to 6.2.0.
Release notes
Sourced from mongodb's releases.
v6.2.0
6.2.0 (2023-10-19)
The MongoDB Node.js team is pleased to announce version 6.2.0 of the
mongodbpackage!Release Notes
Updated to BSON 6.2.0
BSON now prints in full color! :rainbow: :rocket:
See our release notes for BSON 6.2.0 here for more examples!
insertedIdsin bulk write now contain only successful insertionsPrior to this fix, the bulk write error's
result.insertedIdsproperty contained the_idof each attempted insert in a bulk operation.Now, when a
bulkwrite()or aninsertMany()operation rejects one or more inserts, throwing an error, the error'sresult.insertedIdsproperty will only contain the_idfields of successfully inserted documents.Fixed edge case leak in
findOne()When running a
findOneagainst a time series collection, the driver left the implicit session for the cursor un-ended due to the way the server returns the resulting cursor information. Now the cursor will always be cleaned up regardless of the outcome of the find operation.Removed client-side collection and database name validation
Database and collection name checking will now be in sync with the MongoDB server's naming restrictions. Specifically, users can now create collections that start or end with the '.' character.
Features
- NODE-5613: add
awaitedfield to SDAM heartbeat events (#3895) (b50aadc)- update bson to 6.2.0 (#3898) (32b7176)
Bug Fixes
- NODE-5496: remove client-side collection and database name check validation (#3873) (98550c6)
- NODE-5628: bulkWriteResult.insertedIds does not filter out _ids that are not actually inserted (#3867) (09f2a67)
- NODE-5706: make findOne() close implicit session to avoid memory leak (#3897) (995d138)
Documentation
We invite you to try the
mongodblibrary immediately, and report any issues to the NODE project.v6.1.0
6.1.0 (2023-09-14)
... (truncated)
Changelog
Sourced from mongodb's changelog.
6.2.0 (2023-10-19)
Features
- NODE-5613: add
awaitedfield to SDAM heartbeat events (#3895) (b50aadc)- update bson to 6.2.0 (#3898) (32b7176)
Bug Fixes
- NODE-5496: remove client-side collection and database name check validation (#3873) (98550c6)
- NODE-5628: bulkWriteResult.insertedIds does not filter out _ids that are not actually inserted (#3867) (09f2a67)
- NODE-5706: make findOne() close implicit session to avoid memory leak (#3897) (995d138)
6.1.0 (2023-09-14)
Features
Bug Fixes
- NODE-5551: set AWS region from environment variable for STSClient (#3831) (e9a5079)
- NODE-5588: recursive calls to next cause memory leak (#3841) (9a8fdb2)
6.0.0 (2023-08-28)
⚠ BREAKING CHANGES
- NODE-5584: adopt bson v6 and mongodb-client-encryption v6 (#3845)
- NODE-5484: mark MongoError for internal use and remove Node14 cause assignment logic (#3800)
- NODE-4788: use implementer Writable methods for GridFSBucketWriteStream (#3808)
- NODE-4986: remove callbacks from ClientEncryption encrypt, decrypt, and createDataKey (#3797)
- NODE-5490: bump kerberos compatibility to ^2.0.1 (#3798)
- NODE-3568: ensure includeResultsMetadata is false by default (#3786)
- NODE-3989: only accept true and false for boolean options (#3791)
- NODE-5233: prevent session from one client from being used on another (#3790)
- NODE-5444: emit deprecation warning for useNewUrlParser and useUnifiedTopology (#3792)
- NODE-5470: convert remaining FLE to TS and drop support for
onKMSProvidersRefresh(#3787)- NODE-5508: remove EvalOperation and EvalOptions (#3795)
- NODE-3920: validate options are not repeated in connection string (#3788)
- NODE-3924: read tls files async (#3776)
- NODE-5430: make AutoEncrypter and MongoClient.autoEncrypter internal (#3789)
- NODE-4961: remove command result from commit and abort transaction APIs (#3784)
- NODE-2014: return executor result from withSession and withTransaction (#3783)
- NODE-5409: allow socks to be installed optionally (#3782)
... (truncated)
Commits
bcb97ffchore(main): release 6.2.0 [skip-ci] (#3876)e1c8c3btest: remove mongosh integration tests (#3850)32b7176feat: update bson to 6.2.0 (#3898)995d138fix(NODE-5706): make findOne() close implicit session to avoid memory leak (#...b50aadcfeat(NODE-5613): addawaitedfield to SDAM heartbeat events (#3895)db90293refactor(NODE-5675): refactor server selection and connection checkout to use...4ff8080test(NODE-5704): fix explain tests (#3893)e5cbdd8test(NODE-5694): update azure configuration (#3891)8c562f4ci(NODE-5615): unit test on Node18 and Node20 (#3879)98550c6fix(NODE-5496): remove client-side collection and database name check validat...- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.