chore(deps): update dependency mongoose to v8.5.1 #149

Merged
renovate[bot] merged 1 commit from renovate/all-minor-patch into main 2024-07-15 10:28:45 +08:00
renovate[bot] commented 2024-07-09 05:28:56 +08:00 (Migrated from github.com)

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongoose (source) 8.4.5 -> 8.5.1 age adoption passing confidence

Release Notes

Automattic/mongoose (mongoose)

v8.5.1

Compare Source

==================

  • perf(model): performance improvements for insertMany() #​14724
  • fix(model): avoid leaving subdoc defaults on top-level doc when setting subdocument to same value #​14728 #​14722
  • fix(model): handle transactionAsyncLocalStorage option with insertMany() #​14743
  • types: make _id required on Document type #​14735 #​14660
  • types: fix ChangeStream.close to return a Promise like the driver #​14740 orgads

v8.5.0

Compare Source

==================

  • perf: memoize toJSON / toObject default options #​14672
  • feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() #​14699 #​14268
  • feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema #​14691
  • feat: allow setting array default value to null #​14717 #​6691
  • feat(mongoose): allow drivers to set global plugins #​14682
  • feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set #​14681 #​14611
  • fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() #​14732 #​9885
  • fix(query): remove count() and findOneAndRemove() from query chaining #​14692 #​14689
  • fix: remove default connection if setting createInitialConnection to false after Mongoose instance created #​14679 #​8302
  • types(models+query): infer return type from schema for 1-level deep nested paths #​14632
  • types(connection): make transaction() return type match the executor function #​14661 #​14656
  • docs: fix docs links in index.md mirasayon

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mongoose](https://mongoosejs.com) ([source](https://togithub.com/Automattic/mongoose)) | [`8.4.5` -> `8.5.1`](https://renovatebot.com/diffs/npm/mongoose/8.4.5/8.5.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/mongoose/8.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/mongoose/8.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/mongoose/8.4.5/8.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/mongoose/8.4.5/8.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>Automattic/mongoose (mongoose)</summary> ### [`v8.5.1`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#851--2024-07-12) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.5.0...8.5.1) \================== - perf(model): performance improvements for insertMany() [#&#8203;14724](https://togithub.com/Automattic/mongoose/issues/14724) - fix(model): avoid leaving subdoc defaults on top-level doc when setting subdocument to same value [#&#8203;14728](https://togithub.com/Automattic/mongoose/issues/14728) [#&#8203;14722](https://togithub.com/Automattic/mongoose/issues/14722) - fix(model): handle transactionAsyncLocalStorage option with insertMany() [#&#8203;14743](https://togithub.com/Automattic/mongoose/issues/14743) - types: make \_id required on Document type [#&#8203;14735](https://togithub.com/Automattic/mongoose/issues/14735) [#&#8203;14660](https://togithub.com/Automattic/mongoose/issues/14660) - types: fix ChangeStream.close to return a Promise<void> like the driver [#&#8203;14740](https://togithub.com/Automattic/mongoose/issues/14740) [orgads](https://togithub.com/orgads) ### [`v8.5.0`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#850--2024-07-08) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.4.5...8.5.0) \================== - perf: memoize toJSON / toObject default options [#&#8203;14672](https://togithub.com/Automattic/mongoose/issues/14672) - feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() [#&#8203;14699](https://togithub.com/Automattic/mongoose/issues/14699) [#&#8203;14268](https://togithub.com/Automattic/mongoose/issues/14268) - feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema [#&#8203;14691](https://togithub.com/Automattic/mongoose/issues/14691) - feat: allow setting array default value to null [#&#8203;14717](https://togithub.com/Automattic/mongoose/issues/14717) [#&#8203;6691](https://togithub.com/Automattic/mongoose/issues/6691) - feat(mongoose): allow drivers to set global plugins [#&#8203;14682](https://togithub.com/Automattic/mongoose/issues/14682) - feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set [#&#8203;14681](https://togithub.com/Automattic/mongoose/issues/14681) [#&#8203;14611](https://togithub.com/Automattic/mongoose/issues/14611) - fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() [#&#8203;14732](https://togithub.com/Automattic/mongoose/issues/14732) [#&#8203;9885](https://togithub.com/Automattic/mongoose/issues/9885) - fix(query): remove count() and findOneAndRemove() from query chaining [#&#8203;14692](https://togithub.com/Automattic/mongoose/issues/14692) [#&#8203;14689](https://togithub.com/Automattic/mongoose/issues/14689) - fix: remove default connection if setting createInitialConnection to false after Mongoose instance created [#&#8203;14679](https://togithub.com/Automattic/mongoose/issues/14679) [#&#8203;8302](https://togithub.com/Automattic/mongoose/issues/8302) - types(models+query): infer return type from schema for 1-level deep nested paths [#&#8203;14632](https://togithub.com/Automattic/mongoose/issues/14632) - types(connection): make transaction() return type match the executor function [#&#8203;14661](https://togithub.com/Automattic/mongoose/issues/14661) [#&#8203;14656](https://togithub.com/Automattic/mongoose/issues/14656) - docs: fix docs links in index.md [mirasayon](https://togithub.com/mirasayon) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/wdhdev/url-shortener). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Commenting is not possible because the repository is archived.
No description provided.