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 mongoose to v8.3.2 #12940

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 18, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

Automattic/mongoose (mongoose)

v8.3.2

Compare Source

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

v8.3.1

Compare Source

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

  • fix(document): make update minimization unset property rather than setting to null #​14504 #​14445
  • fix(model): make Model.recompileSchema() also re-apply discriminators #​14500 #​14444
  • fix(schema): deduplicate idGetter so creating multiple models with same schema doesn't result in multiple id getters #​14492
  • fix: update kareem -> 2.6.3 for index.d.ts #​14508 #​14497
  • fix(mongoose): make setDriver() update mongoose.model() connections and collections #​14505
  • types(validation): support function for validator message property, and add support for accessing validator reason #​14499 #​14496
  • docs: remove typo #​14501 epmartini

v8.3.0

Compare Source

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

v8.2.4

Compare Source

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

v8.2.3

Compare Source

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

v8.2.2

Compare Source

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

v8.2.1

Compare Source

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

v8.2.0

Compare Source

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

v8.1.3

Compare Source

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

  • fix: avoid corrupting $set-ed arrays when transaction error occurs #​14346 #​14340
  • fix(populate): handle ref() functions that return a model instance #​14343 #​14249
  • fix: insert version key when using insertMany even if toObject.versionKey set to false #​14344
  • fix(cursor): make aggregation cursor support transform option to match query cursor #​14348 #​14331
  • docs(document): clarify that transform function option applies to subdocs #​13757

v8.1.2

Compare Source

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

  • fix: include virtuals in document array toString() output if toObject.virtuals set #​14335 #​14315
  • fix(document): handle setting nested path to spread doc with extra properties #​14287 #​14269
  • fix(populate): call setter on virtual populated path with populated doc instead of undefined #​14314
  • fix(QueryCursor): remove callback parameter of AggregationCursor and QueryCursor #​14299 DevooKim
  • types: add typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions #​14342 #​14341 FaizBShah
  • types(model): correct return type for findOneAndUpdate with includeResultMetadata and lean set #​14336 #​14303
  • types(connection): add type definition for createCollections() #​14295 #​14279
  • docs(timestamps): clarify that replaceOne() and findOneAndReplace() overwrite timestamps #​14337 #​14309

v8.1.1

Compare Source

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

  • fix(model): throw readable error when calling Model() with a string instead of model() #​14288 #​14281
  • fix(document): handle setting nested path to spread doc with extra properties #​14287 #​14269
  • types(query): add back context and setDefaultsOnInsert as Mongoose-specific query options #​14284 #​14282
  • types(query): add missing runValidators back to MongooseQueryOptions #​14278 #​14275

v8.1.0

Compare Source

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

v8.0.4

Compare Source

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

  • fix(update): set CastError path to full path if casting update fails #​14161 #​14114
  • fix: cast error when there is an elemMatch in the and clause #​14171 tosaka-n
  • fix: allow defining index on base model that applies to all discriminators #​14176 peplin
  • fix(model): deep clone bulkWrite() updateOne arguments to avoid mutating documents in update #​14197 #​14164
  • fix(populate): handle deselecting _id with array of fields in populate() #​14242 #​14231
  • types(model+query): use stricter typings for updateX(), replaceOne(),deleteX() Model functions #​14228 #​14204
  • types: fix return types for findByIdAndDelete overrides #​14196 #​14190
  • types(schema): add missing omit() method #​14235 amitbeck
  • types(model): add missing strict property to bulkWrite() top level options #​14239
  • docs(compatibility): add note that Mongoose 5.13 is fully compatible with MongoDB server 5 #​14230 #​14149
  • docs: add shared schemas guide #​14211
  • docs: update TLS/SSL guide for Mongoose v8 - MongoDB v6 driver deprecations #​14170 andylwelch
  • docs: update findOneAndUpdate tutorial to use includeResultMetadata #​14208 #​14207
  • docs: clarify disabling _id on subdocs #​14195 #​14194

v8.0.3

Compare Source

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

  • fix(schema): avoid creating unnecessary clone of schematype in nested array so nested document arrays use correct constructor #​14128 #​14101
  • docs(connections): add example of registering connection event handlers #​14150
  • docs(populate): add example of using refPath and ref functions #​14133 #​13834
  • types: handle using BigInt global class in schema definitions #​14160 #​14147
  • types: make findOneAndDelete() without options return result doc, not ModifyResult #​14153 #​14130
  • types(model): add no-generic override for insertMany() with options #​14152 #​13999
  • types: add missing Type for applyDefaults #​14159 jaypea

v8.0.2

Compare Source

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

  • fix(populate): set populated docs in correct order when populating virtual underneath doc array with justOne #​14105
  • fix(populate): fix curPath to update appropriately #​14099 #​14098 csy1204
  • types: make property names show up in intellisense for UpdateQuery #​14123 #​14090
  • types(document): correct return type for doc.deleteOne() re: Mongoose 8 breaking change #​14110 #​14081
  • types: correct types for when includeResultMetadata: true is set #​14078
  • types(models): allow specifying timestamps as inline option for bulkWrite() operations #​14112 #​14072
  • docs: fix rendering of 7.x server compatibility #​14086 laupow
  • docs(source/api): fix "index.js" -> "mongoose.js" rename #​14125
  • docs(README): update breaking change version #​14126

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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 18, 2023
@coveralls
Copy link

coveralls commented Dec 18, 2023

Pull Request Test Coverage Report for Build bcb2291c-8be8-42d5-87a9-c925b6f2ed82

Details

  • 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.123%

Totals Coverage Status
Change from base Build 022fd1b0-ad34-4993-a612-bcd87c29e742: 0.0%
Covered Lines: 6736
Relevant Lines: 7312

💛 - Coveralls

@renovate renovate bot force-pushed the renovate/mongoose-8.x branch 2 times, most recently from 51d4dcd to 43fc207 Compare December 19, 2023 08:15
@renovate renovate bot force-pushed the renovate/mongoose-8.x branch 2 times, most recently from fb7d31a to 973b627 Compare January 3, 2024 07:41
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.0.3 fix(deps): update dependency mongoose to v8.0.4 Jan 9, 2024
@renovate renovate bot force-pushed the renovate/mongoose-8.x branch 2 times, most recently from a648e6d to 5215be2 Compare January 16, 2024 19:28
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.0.4 fix(deps): update dependency mongoose to v8.1.0 Jan 16, 2024
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.1.0 fix(deps): update dependency mongoose to v8.1.1 Jan 25, 2024
@renovate renovate bot force-pushed the renovate/mongoose-8.x branch 3 times, most recently from 53e949c to 61ea1bc Compare January 31, 2024 08:51
@renovate renovate bot force-pushed the renovate/mongoose-8.x branch 2 times, most recently from eb9b9da to 3bc4028 Compare February 12, 2024 00:14
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.1.1 fix(deps): update dependency mongoose to v8.1.2 Feb 12, 2024
Copy link
Contributor Author

renovate bot commented Feb 12, 2024

⚠ Artifact update problem

Renovate failed to update artifacts 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/06-mongoose/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @nestjs/mongoose@10.0.2
npm ERR! Found: reflect-metadata@0.2.1
npm ERR! node_modules/reflect-metadata
npm ERR!   reflect-metadata@"0.2.1" from the root project
npm ERR!   peer reflect-metadata@"^0.1.12 || ^0.2.0" from @nestjs/common@10.3.2
npm ERR!   node_modules/@nestjs/common
npm ERR!     @nestjs/common@"10.3.2" from the root project
npm ERR!     peer @nestjs/common@"^10.0.0" from @nestjs/core@10.3.2
npm ERR!     node_modules/@nestjs/core
npm ERR!       @nestjs/core@"10.3.2" from the root project
npm ERR!       3 more (@nestjs/mongoose, @nestjs/platform-express, @nestjs/testing)
npm ERR!     3 more (@nestjs/mongoose, @nestjs/platform-express, @nestjs/testing)
npm ERR!   1 more (@nestjs/core)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer reflect-metadata@"^0.1.12" from @nestjs/mongoose@10.0.2
npm ERR! node_modules/@nestjs/mongoose
npm ERR!   @nestjs/mongoose@"10.0.2" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: reflect-metadata@0.1.14
npm ERR! node_modules/reflect-metadata
npm ERR!   peer reflect-metadata@"^0.1.12" from @nestjs/mongoose@10.0.2
npm ERR!   node_modules/@nestjs/mongoose
npm ERR!     @nestjs/mongoose@"10.0.2" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-04-16T18_11_50_209Z-debug-0.log

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @nestjs/common@10.3.1
npm ERR! Found: reflect-metadata@0.2.2
npm ERR! node_modules/reflect-metadata
npm ERR!   reflect-metadata@"0.2.2" from the root project
npm ERR!   peer reflect-metadata@"^0.1.13 || ^0.2.0" from @nestjs/graphql@12.1.1
npm ERR!   node_modules/@nestjs/graphql
npm ERR!     dev @nestjs/graphql@"12.1.1" from the root project
npm ERR!     peer @nestjs/graphql@"^12.0.0" from @nestjs/apollo@12.1.0
npm ERR!     node_modules/@nestjs/apollo
npm ERR!       dev @nestjs/apollo@"12.1.0" from the root project
npm ERR!   3 more (@nestjs/mapped-types, @nestjs/typeorm, typeorm)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer reflect-metadata@"^0.1.12" from @nestjs/common@10.3.1
npm ERR! node_modules/@nestjs/common
npm ERR!   peer @nestjs/common@"^9.3.8 || ^10.0.0" from @nestjs/apollo@12.1.0
npm ERR!   node_modules/@nestjs/apollo
npm ERR!     dev @nestjs/apollo@"12.1.0" from the root project
npm ERR!   peer @nestjs/common@"^10.0.0" from @nestjs/core@10.3.1
npm ERR!   node_modules/@nestjs/core
npm ERR!     peer @nestjs/core@"^9.3.8 || ^10.0.0" from @nestjs/apollo@12.1.0
npm ERR!     node_modules/@nestjs/apollo
npm ERR!       dev @nestjs/apollo@"12.1.0" from the root project
npm ERR!     3 more (@nestjs/graphql, @nestjs/mongoose, @nestjs/typeorm)
npm ERR!   4 more (@nestjs/graphql, @nestjs/mapped-types, ...)
npm ERR! 
npm ERR! Conflicting peer dependency: reflect-metadata@0.1.14
npm ERR! node_modules/reflect-metadata
npm ERR!   peer reflect-metadata@"^0.1.12" from @nestjs/common@10.3.1
npm ERR!   node_modules/@nestjs/common
npm ERR!     peer @nestjs/common@"^9.3.8 || ^10.0.0" from @nestjs/apollo@12.1.0
npm ERR!     node_modules/@nestjs/apollo
npm ERR!       dev @nestjs/apollo@"12.1.0" from the root project
npm ERR!     peer @nestjs/common@"^10.0.0" from @nestjs/core@10.3.1
npm ERR!     node_modules/@nestjs/core
npm ERR!       peer @nestjs/core@"^9.3.8 || ^10.0.0" from @nestjs/apollo@12.1.0
npm ERR!       node_modules/@nestjs/apollo
npm ERR!         dev @nestjs/apollo@"12.1.0" from the root project
npm ERR!       3 more (@nestjs/graphql, @nestjs/mongoose, @nestjs/typeorm)
npm ERR!     4 more (@nestjs/graphql, @nestjs/mapped-types, ...)
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-04-16T18_12_04_331Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-04-16T18_12_04_331Z-debug-0.log

@renovate renovate bot force-pushed the renovate/mongoose-8.x branch 3 times, most recently from 93d3800 to d4c1634 Compare February 16, 2024 23:03
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.1.2 fix(deps): update dependency mongoose to v8.1.3 Feb 16, 2024
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.1.3 fix(deps): update dependency mongoose to v8.2.0 Feb 22, 2024
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.2.0 fix(deps): update dependency mongoose to v8.2.1 Mar 4, 2024
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.2.1 fix(deps): update dependency mongoose to v8.2.2 Mar 15, 2024
@renovate renovate bot force-pushed the renovate/mongoose-8.x branch 4 times, most recently from eb43274 to f74f7a3 Compare March 21, 2024 23:39
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.2.2 fix(deps): update dependency mongoose to v8.2.3 Mar 21, 2024
@renovate renovate bot force-pushed the renovate/mongoose-8.x branch 2 times, most recently from e9576e9 to 7e4a52f Compare March 28, 2024 20:46
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.2.3 fix(deps): update dependency mongoose to v8.2.4 Mar 28, 2024
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.2.4 fix(deps): update dependency mongoose to v8.3.0 Apr 3, 2024
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.3.0 fix(deps): update dependency mongoose to v8.3.1 Apr 8, 2024
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.3.1 fix(deps): update dependency mongoose to v8.3.2 Apr 16, 2024
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.

None yet

1 participant