Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Database #393

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update Database #393

wants to merge 1 commit into from

Conversation

mend-for-github-com[bot]
Copy link
Contributor

@mend-for-github-com mend-for-github-com bot commented Oct 1, 2024

This PR contains the following updates:

Package Type Update Change
mongodb dependencies minor 6.8.0 -> 6.12.0
mongodb-memory-server (source) dependencies minor 9.4.1 -> 9.5.0

Release Notes

mongodb/node-mongodb-native (mongodb)

v6.12.0

Compare Source

Features
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

Compare Source

Features
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
  • NODE-6525: remove setPrototype and defineProperty from hot path (#​4321) (48ed47e)

v6.10.0

Compare Source

Features
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

Compare Source

Features
Bug Fixes
  • NODE-5720: on pre-4.4 sharded servers, the node driver uses error.writeConcern.code to 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

Compare Source

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

Compare Source

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
  • NODE-6355: respect utf8 validation option when iterating cursors (#​4220) (886cefb)

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

Compare Source

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
  • @​types/jest: upgrade to version 29.5.14 (bc77bba)
  • eslint-plugin-prettier: upgrade to version 5.2.1 (dcf2049)
  • prettier: upgrade to version 3.3.3 (ca8af06)
  • rimraf: upgrade to version 5.0.10 (749e099)
  • ts-jest: upgrade to version 29.2.5 (a2fa28e)

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

@mend-for-github-com mend-for-github-com bot added the dependencies Pull requests that update a dependency file label Oct 1, 2024
@mend-for-github-com mend-for-github-com bot force-pushed the mend/database branch 2 times, most recently from 1d7d913 to b5f9dd8 Compare October 22, 2024 05:59
@mend-for-github-com mend-for-github-com bot force-pushed the mend/database branch 2 times, most recently from 2d9029d to 085a42f Compare November 1, 2024 10:42
@mend-for-github-com mend-for-github-com bot force-pushed the mend/database branch 2 times, most recently from fc88104 to a96d609 Compare November 9, 2024 09:29
@mend-for-github-com mend-for-github-com bot force-pushed the mend/database branch 2 times, most recently from 7e82358 to f006171 Compare November 23, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

0 participants