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

fix(deps): update dependency mongodb to v5 #11385

Merged
merged 1 commit into from
Mar 27, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 24, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongodb 3.6.0 -> 5.1.0 age adoption passing confidence

Release Notes

mongodb/node-mongodb-native

v5.1.0

Compare Source

Features
Bug Fixes
  • NODE-5044: Write Concern 0 Must Not Affect Read Operations (#​3541) (#​3575) (10146a4)
  • NODE-5052: prevent cursor and changestream close logic from running more than once (#​3562) (71d0d79)
  • NODE-5064: consolidate connection cleanup logic and ensure socket is always closed (#​3572) (e544d88)
5.0.1 (2023-02-07)
Bug Fixes
  • NODE-5027: revert "ensure that MessageStream is destroyed when connections are destroyed" (#​3552) (2d178d0)

v5.0.1

Compare Source

v5.0.0

Compare Source

⚠ BREAKING CHANGES
  • NODE-5016: compile ts with target es2020 (#​3545)
Features
Bug Fixes

v4.14.0

Compare Source

The MongoDB Node.js team is pleased to announce version 4.14.0 of the mongodb package!

Deprecations
  • NODE-4992: Deprecate methods and options that reference legacy logger (#​3532) (6c94b4a)
Bug Fixes
  • NODE-4999: Write Concern 0 Must Not Affect Read Operations (#​3541) (ddfc2b9)
  • NODE-5026: revert "ensure that MessageStream is destroyed when connections are destroyed" (#​3551) (c4da623)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.

v4.13.0

Compare Source

Features
Bug Fixes
  • NODE-4447: disable causal consistency in implicit sessions (#​3479) (6566fb5)
  • NODE-4834: ensure that MessageStream is destroyed when connections are destroyed (#​3482) (8338bae)
4.12.1 (2022-11-23)
Bug Fixes

v4.12.1

Compare Source

v4.12.0

Compare Source

Features
Bug Fixes
  • NODE-4609: allow mapping to falsey non-null values in cursors (#​3452) (1bf6ef1)
  • NODE-4735: fix change stream consecutive resumabilty (#​3453) (89b27e9)
  • NODE-4753: remove erroneous deprecation of geoNear (#​3465) (199dcaf)
  • NODE-4783: handle orphaned operation descriptions (#​3463) (4c9b4d8)

v4.11.0

Compare Source

Features
Bug Fixes
  • NODE-3712,NODE-4546: electionId should be ordered before setVersion (#​3174) (ca51fec)
  • NODE-3921: error on invalid TLS option combinations (#​3405) (1a550df)
  • NODE-4186: accept ReadPreferenceLike in TransactionOptions type (#​3425) (dc62bcb)
  • NODE-4475: make interrupted message more specific (#​3437) (5f37cb6)
  • NODE-4608: prevent parallel monitor checks (#​3404) (78bcfe4)
  • NODE-4647: improve error message (#​3409) (0d3c02e)
  • NODE-4649: use SDAM handling for errors from min pool size population (#​3424) (ef3b55d)

v4.10.0

Compare Source

Features
  • NODE-4385: add cmap pool pausing functionality (#​3321) (335ee55)
  • NODE-4484: add experimental support for disambiguatedPaths in change stream documents (#​3365) (846365a)
  • NODE-4519: deprecate promiseLibrary and PromiseProvider (#​3403) (5c322b6)
  • NODE-4547: mark all callback APIs as deprecated (#​3388) (a983f14)
  • NODE-4607: add exports needed by legacy client (#​3396) (972f760)
  • NODE-4634: add support for bulk FindOperators.hint() (#​3408) (8758890)
Bug Fixes

v4.9.1

Compare Source

The MongoDB Node.js team is pleased to announce version 4.9.1 of the mongodb package!

Release Highlights

This is a bug fix release as noted below.

Bug Fixes
  • NODE-4583: revert nested union type support (#​3383) (014d0b3)
  • NODE-4591: only set loadBalanced on handshake when explicitly set (#​3386) (861d465)

v4.9.0

Compare Source

Features
  • NODE-3517: improve index spec handling and type definitions (#​3315) (0754bf9)
  • NODE-4336: deprecate old write concern options and add missing writeConcern to MongoClientOptions (#​3340) (d2b6ad8)
  • NODE-4548: export ChangeStream class from top-level (#​3357) (48f295a)
Bug Fixes
  • NODE-4159,NODE-4512: remove servers with incorrect setName from topology and fix unix socket parsing (#​3348) (00dcf2d)
  • NODE-4273: pass 'comment' option through to distinct command (#​3339) (753ecfe)
  • NODE-4413: set maxTimeMS on getMores when maxAwaitTimeMS is specified (#​3319) (dcbfd6e)
  • NODE-4429: select server sync for endSessions during close (#​3363) (5086ead)
  • NODE-4467: Add back support for oplogReplay option as deprecated (#​3337) (6c69b7d)
  • NODE-4496: counter values incorrecly compared when instance of Long (#​3342) (d29eb8c)
  • NODE-4513: type for nested objects in query & update (#​3349) (ec1a68f)
  • NODE-4533: session support error message and unified test runner (#​3355) (6a0e502)
  • NODE-4555: export BSON internally (#​3367) (4ce6e4c)
4.8.1 (2022-07-26)
Bug Fixes

v4.8.1

Compare Source

v4.8.0

Compare Source

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

v4.7.0

Compare Source

Features
Bug Fixes
  • NODE-4103: respect BSON options when creating change streams (#​3247) (b2798d9)
  • NODE-4108: improve return type for withTransaction() (#​3236) (48e0e6e)
  • NODE-4254: allow csfle to be dynamically required (#​3260) (cd6b5a0)
  • NODE-4281: ensure that the driver always uses Node.js timers (#​3275) (4501a1c)

v4.6.0

Compare Source

Features
  • NODE-4185: Allow opting out of disk use on cursor builder (#​3230) (d216725)
  • NODE-4189: Add support for clustered collections (#​3229) (79a917b)
Bug Fixes
  • NODE-3565: Improve error message for insertMany with partially empty array (#​3221) (0ef2516)
  • NODE-4232: stream() also returns generic AsyncIterable (ed4ba58)

v4.5.0

Compare Source

Features
Bug Fixes
  • NODE-3769: retryable writes are not compliant with specification (#​3144) (ff26b12)
  • NODE-3810: delay timeout errors by one event loop tick (#​3180) (0ed7cbf)
  • NODE-4069: remove 'default' from options for fullDocument field in change stream options (#​3169) (799689e)
  • NODE-4074: ensure getTopology doesn't throw synchronously (#​3172) (329f081)
  • NODE-4129: constrain watch type parameter to extend ChangeStream type parameter (#​3183) (43ba9fc)
4.4.1 (2022-03-03)
Features
  • NODE-3866: Add let option to ReplaceOptions for replaceOne operation (#​3148) (f76635a)
Bug Fixes

v4.4.1

Compare Source

v4.4.0

Compare Source

Features
Bug Fixes
  • fix csfle imports (#​3142) (541e939)
  • NODE-3621: fixed type of documentKey property on ChangeStreamDocument (#​3118) (c63a21b)
  • NODE-3795: unexpected No auth provider for DEFAULT defined error (#​3092) (fb38a56)
  • NODE-3813: unexpected type conversion of read preference tags (#​3138) (3e7b894)
  • NODE-3878: use legacy count operation on collection.count (#​3126) (12c6835)
  • NODE-3917: Throw an error when directConnection is set with multiple hosts (#​3143) (b192493)
4.3.1 (2022-01-18)
Bug Fixes
  • NODE-3792: remove offensive language throughout the codebase (#​3091) (8e2b0cc)
  • NODE-3852,NODE-3854,NODE-3856: Misc typescript fixes for 4.3.1 (#​3102) (dd5195a)

v4.3.1

Compare Source

v4.3.0

Compare Source

Features
Bug Fixes
4.2.2 (2021-12-13)
Bug Fixes
  • NODE-3705: ReadPreference.fromOptions omitting hedge and maxStalenessSeconds when readPreference is a string (#​3060) (b9fbac5)
  • NODE-3711: retry txn end on retryable write (#​3045) (7b00d0f)
  • NODE-3765: make replacement for replaceOne operations without _id (#​3040) (e07e564)
  • stricter protocol check in connection string (#​3078) (bc05671)
4.2.1 (2021-11-30)
Bug Fixes
  • NODE-2370: correct a return type of hasNext() (#​3058) (b6a63df)
  • NODE-3627: Enable flexible BSON validation for server error key containing invalid utf-8 (#​3054) (7a507f0)
  • NODE-3648: run get more ops through server selection (#​3030) (268e211)
  • NODE-3767: don't delete dbName if authSource is provided (#​3055) (0a830e2)
  • NODE-3770: Filter type uses WithId on the schema (#​3053) (307d623)

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source

Features
  • NODE-3083: support aggregate writes on secondaries (#​3022) (f696909)
  • NODE-3446: deprecate mapReduce command (#​3036) (b6c73bf)
  • NODE-3467: implement srvMaxHosts, srvServiceName options (#​3031) (1f8b539)
  • NODE-3469,NODE-3615,NODE-3507: update min and max wire versions (#​3014) (2a78d5a)
  • NODE-3691: make time series options granularity type strict (#​3005) (98017f9)
  • NODE-3692: make change stream events typing more generic (#​3034) (d5ae78e)
  • NODE-3728: Allow to pass authorizedCollections option to the db.listCollections method (#​3021) (e1234a7)
  • NODE-3729: add withId to default return type for collection.find and collection.findOne (#​3039) (52520aa)
Bug Fixes
  • NODE-3116: reschedule unreliable async interval first (#​3006) (33886a7)
  • NODE-3344: allow setting defaultTransactionOptions with POJO rather than ReadConcern instance (#​3032) (53b3164)
  • NODE-3515: do proper opTime merging in bulk results (#​3012) (43300c3)
  • NODE-3668: compile error with OptionalId on TS 4.5 beta (#​3004) (ee7f095)
  • NODE-3726: add optional option overloads of Db's createCollection function (#​3019) (c3149e1)
  • NODE-3727: add overloads for BulkOperationBase's execute function (#​3018) (216d194)
4.1.3 (2021-10-05)
Bug Fixes
4.1.2 (2021-09-14)
Bug Fixes
4.1.1 (2021-08-24)
Bug Fixes

v4.1.4

Compare Source

Release Highlights

This release includes a couple of bug fixes as noted below:

Bug Fixes
  • NODE-3515: do proper opTime merging in bulk results (#​3012) (43300c3)
  • NODE-3668: compile error with OptionalId on TS 4.5 beta (#​3004) (ee7f095)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.

v4.1.3

Compare Source

v4.1.2

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

Features
Bug Fixes
  • NODE-2883: Aggregate Operation should not require parent parameter (#​2918) (dc6e2d6)
  • NODE-3058: accept null or undefined anywhere we permit nullish values (#​2921) (b42a1b4)
  • NODE-3441: fix typings for createIndexes (#​2915) (f87f376)
  • NODE-3442: AsyncIterator has incorrect return type (#​2916) (4a10389)
  • NODE-3452: readonly filters not permitted by typings (#​2927) (ce51e78)
  • NODE-3510: omit incorrect | void in declaration of Promise overload of rename() (#​2922) (58c1e84)
  • NODE-3513: default command monitoring to off (#​2926) (3c60245)
4.0.1 (2021-07-20)
Features
Bug Fixes
  • NODE-3199: unable to bundle driver due to uncaught require (#​2904) (9e48bbd)
  • NODE-3393: snapshot time not applied if distinct executed first (#​2908) (7aa3008)
  • NODE-3417: allow calling db() before MongoClient is connected (#​2889) (51ea86d)

v4.0.1

Compare Source

v4.0.0

Compare Source

Features
Bug Fixes

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 24, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Mar 24, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: sample/13-mongo-typeorm/package-lock.json
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

@coveralls
Copy link

Pull Request Test Coverage Report for Build 98cc1145-5c46-4f9b-b97c-81c4676fd9d6

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 92.656%

Totals Coverage Status
Change from base Build 47144a88-6f14-4e70-80c9-f0571ab5d310: 0.0%
Covered Lines: 6498
Relevant Lines: 7013

💛 - Coveralls

@kamilmysliwiec kamilmysliwiec merged commit 8bdb847 into master Mar 27, 2023
@delete-merged-branch delete-merged-branch bot deleted the renovate/mongodb-5.x branch March 27, 2023 06:51
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants