studio
studio copied to clipboard
Update Database
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| mongodb | dependencies | minor | 6.8.0 -> 6.13.1 |
| mongodb-memory-server (source) | dependencies | minor | 9.4.1 -> 9.5.0 |
Release Notes
mongodb/node-mongodb-native (mongodb)
v6.13.1
Bug Fixes
- NODE-6407: use conversationId returned from server in saslContinue (#4368) (fbefa6b)
- NODE-6613: Update error messages when primaries go stale (#4397) (6528c8d)
- NODE-6690: Remove extraneous Document in replaceOne return type (#4383) (6c81d4e)
- NODE-6763: pass WriteConcernOptions instead on WriteConcernSettings (#4421) (26f15d7)
- NODE-6777: update BSON to 6.10.3 (#4428) (db5b9e0)
v6.13.0
Features
- NODE-5672: support standardized logging (#4387) (d1b2453)
- NODE-6258: add signal support to find and aggregate (#4364) (73def18)
- NODE-6451: retry SRV and TXT lookup for DNS timeout errors (#4375) (fd902d3)
- NODE-6633: MongoClient.close closes active cursors (#4372) (654069f)
Bug Fixes
- NODE-5225: concurrent MongoClient.close() calls each attempt to close the client (#4376) (9419af7)
- NODE-6340: OIDC reauth uses caches speculative auth result (#4379) (8b2b7fd)
Performance Improvements
- NODE-6452: Optimize CommandStartedEvent and CommandSucceededEvent constructors (#4371) (41b066b)
- NODE-6616: shortcircuit logging ejson.stringify (#4377) (c1bcf0d)
v6.12.0
Features
- NODE-6593: add support for [email protected] (#4346) (ea8a33f)
- NODE-6605: add error message when invalidating primary (#4340) (37613f1)
Bug Fixes
- NODE-6583: upgrade to BSON v6.10.1 to remove internal unbounded type cache (#4338) (249c279)
- NODE-6600: set object mode correctly for message chunking in SizedMessageTransform (#4345) (5558573)
- NODE-6602: only wrap errors from SOCKS in network errors (#4347) (ed83f36)
v6.11.0
Features
- NODE-5682: set maxTimeMS on commands and preempt I/O (#4174) (e4e6a5e)
- NODE-5844: add iscryptd to ServerDescription (#4239) (c39d443)
- NODE-6069: OIDC k8s machine workflow (#4270) (82c931c)
- NODE-6090: Implement CSOT logic for connection checkout and server selection (bd8a9f4)
- NODE-6231: Add CSOT behaviour for retryable reads and writes (#4186) (2ffd5eb)
- NODE-6274: add CSOT support to bulkWrite (#4250) (c5a9ae5)
- NODE-6275: Add CSOT support to GridFS (#4246) (3cb8187)
- NODE-6304: add CSOT support for non-tailable cursors (#4195) (131f6ed)
- NODE-6305: Add CSOT support to tailable cursors (#4218) (2398fc6)
- NODE-6312: add error transformation for server timeouts (#4192) (c2c0cb9)
- NODE-6313: add CSOT support to sessions and transactions (#4199) (5f1102f)
- NODE-6387: Add CSOT support to change streams (#4256) (4588ff2)
- NODE-6389: add support for timeoutMS in StateMachine.execute() (#4243) (c55f965)
- NODE-6390: Add timeoutMS support to auto encryption (#4265) (55e08e7)
- NODE-6391: Add timeoutMS support to explicit encryption (#4269) (f745b99)
- NODE-6392: add timeoutMS support to ClientEncryption helpers part 1 (#4281) (e86f11e)
- NODE-6403: add CSOT support to client bulk write (#4261) (365d63b)
- NODE-6421: add support for timeoutMS to explain helpers (#4268) (5b2629b)
- NODE-6446: deprecate legacy timeout options (#4279) (c28608b)
- NODE-6551: update bson to 6.10.0 (#4329) (adb15fe)
Bug Fixes
- NODE-6374: MongoOperationTimeoutError inherits MongoRuntimeError (#4237) (9fb896a)
- NODE-6412: read stale response from previously timed out connection (#4273) (fd8f3bd)
- NODE-6454: use timeoutcontext for state machine execute() cursor options (#4291) (5dd8ee5)
- NODE-6469: pool is cleared before connection checkin on error (#4296) (06a2e2c)
- NODE-6523: deleteMany in gridfs passes timeoutMS to predicate, not options (#4319) (1965ed5)
Performance Improvements
v6.10.0
Features
- NODE-5838: remove support for server 3.6 (#4182) (7b71e1f)
- NODE-6060: set fire-and-forget protocol when writeConcern is w: 0 (#4219) (643a875)
- NODE-6289: allow valid srv hostnames with less than 3 parts (#4197) (3d5bd51)
- NODE-6329: client bulk write happy path (#4206) (3d3da40)
- NODE-6337: implement client bulk write batching (#4248) (d56e235)
- NODE-6338: implement client bulk write error handling (#4262) (8def42d)
- NODE-6342: support maxTimeMS for explain commands (#4207) (20396e1)
- NODE-6350: add typescript support to client bulkWrite API (#4257) (30c61f2)
- NODE-6409: new errors for unacknowledged bulk writes (#4276) (7fde8dd)
- NODE-6419: deprecate explain options API for find and aggregate (#4271) (a473de9)
Bug Fixes
- NODE-6394: data events missed while awaiting drain (#4249) (3f9d243)
- NODE-6418: change stream resumes infinitely after failed aggregates (#4267) (6ecf198)
- NODE-6436: only force majority write concern on commitTransaction retry (#4284) (a7d1d43)
v6.9.0
Features
- NODE-5459: add durations to connection pool events (#4166) (7295695)
- NODE-5614: add support for explicit resource management (#4177) (b3f3987)
- NODE-5754: allow auto select family options (#4185) (54efb7d)
- NODE-5908: support range v2 (#4141) (de253a7)
- NODE-6225: add property ownership check before referencing
mongocryptdSpawnPathandmongocryptdSpawnArgs(#4151) (f48f8d3) - NODE-6244: Bump max supported wire version and server version (#4163) (45bc098)
- NODE-6252: insertMany and bulkWrite permit readonly arrays (#4175) (4b219d3)
- NODE-6278: deprecate 3.6 servers (#4178) (35d8840)
- NODE-6309: Mark range API as stable (#4190) (f53e9d9)
- NODE-6327: new client bulk write types and builders (#4205) (6d65ae7)
- NODE-6365: pass through
allowPartialTrustChainTLS flag (#4228) (d6c147d)
Bug Fixes
- NODE-5720: on pre-4.4 sharded servers, the node driver uses
error.writeConcern.codeto determine retryability (#4155) (b26c328) - NODE-6241: allow Binary as local kms provider key for auto encryption (#4165) (d85f827)
- NODE-6259: replace dynamically assigned length property with a static getter (#4173) (320dde0)
- NODE-6276: preserve top level error code MongoWriteConcernError (#4183) (e902584)
- NODE-6284: make sparsity and trimFactor optional (#4189) (8622545)
- NODE-6355: respect utf8 validation options when iterating cursors (#4214) (8bfe187)
- NODE-6362: cache cursor deserialization options across deserialize calls (#4221) (833eaa4)
- NODE-6367: enable mixed use of iteration APIs (#4231) (08912c8)
Performance Improvements
v6.8.2
The MongoDB Node.js team is pleased to announce version 6.8.2 of the mongodb package!
Release Notes
Fixed mixed use of cursor.next() and cursor[Symbol.asyncIterator]
In 6.8.0, we inadvertently prevented the use of cursor.next() along with using for await syntax to iterate cursors. If your code made use of the following pattern and the call to cursor.next retrieved all your documents in the first batch, then the for-await loop would never be entered. This issue is now fixed.
const firstDoc = await cursor.next();
for await (const doc of cursor) {
// process doc
// ...
}
Bug Fixes
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v6.8.1
The MongoDB Node.js team is pleased to announce version 6.8.1 of the mongodb package!
Release Notes
Fixed enableUtf8Validation option
Starting in v6.8.0 we inadvertently removed the ability to disable UTF-8 validation when deserializing BSON. Validation is normally a good thing, but it was always meant to be configurable and the recent Node.js runtime issues (v22.7.0) make this option indispensable for avoiding errors from mistakenly generated invalid UTF-8 bytes.
Bug Fixes
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
typegoose/mongodb-memory-server (mongodb-memory-server)
v9.5.0
Fixes
- MongoBinaryDownloadUrl: add mapping for Linux Mint 22 (1589600)
- MongoBinaryDownloadUrl: fix rhel8 handling for newer versions (48e99bf), closes #893
- MongoBinaryDownloadUrl: refactor fedora handling to pass through to rhel (5a0dfd3), closes #893
Refactor
- MongoBinaryDownloadUrl::getFedoraVersionString: change to use "else if" chain (4eb1440)
Dependencies
- debug: upgrade to version 4.3.7 (2acbfca)
- follow-redirects: upgrade to version 1.15.9 (62ed4cb)
- https-proxy-agent: upgrade to version 7.0.5 (fab84c2)
- semver: upgrade to version 7.6.3 (816472f)
Dev-Dependencies
Configuration
📅 Schedule: Branch creation - "on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
disabled