fix(deps): update dependency mongoose to v8.3.2 #10

Open
Fascinated wants to merge 1 commits from renovate/mongoose-8.x-lockfile into master
Owner

This PR contains the following updates:

Package Type Update Change
mongoose (source) dependencies minor 8.0.1 -> 8.3.2

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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mongoose](https://mongoosejs.com) ([source](https://github.com/Automattic/mongoose)) | dependencies | minor | [`8.0.1` -> `8.3.2`](https://renovatebot.com/diffs/npm/mongoose/8.0.1/8.3.2) | --- ### Release Notes <details> <summary>Automattic/mongoose (mongoose)</summary> ### [`v8.3.2`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#832--2024-04-16) [Compare Source](https://github.com/Automattic/mongoose/compare/8.3.1...8.3.2) \================== - fix(populate): avoid match function filtering out null values in populate result [#&#8203;14518](https://github.com/Automattic/mongoose/issues/14518) [#&#8203;14494](https://github.com/Automattic/mongoose/issues/14494) - types(query): make FilterQuery props resolve to any for generics support [#&#8203;14510](https://github.com/Automattic/mongoose/issues/14510) [#&#8203;14473](https://github.com/Automattic/mongoose/issues/14473) [#&#8203;14459](https://github.com/Automattic/mongoose/issues/14459) - types(DocumentArray): pass DocType generic to Document for correct toJSON() and toObject() return types [#&#8203;14526](https://github.com/Automattic/mongoose/issues/14526) [#&#8203;14469](https://github.com/Automattic/mongoose/issues/14469) - types(models): fix incorrect bulk write options [#&#8203;14513](https://github.com/Automattic/mongoose/issues/14513) [emiljanitzek](https://github.com/emiljanitzek) - docs: add documentation for calling schema.post() with async function [#&#8203;14514](https://github.com/Automattic/mongoose/issues/14514) [#&#8203;14305](https://github.com/Automattic/mongoose/issues/14305) ### [`v8.3.1`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#831--2024-04-08) [Compare Source](https://github.com/Automattic/mongoose/compare/8.3.0...8.3.1) \================== - fix(document): make update minimization unset property rather than setting to null [#&#8203;14504](https://github.com/Automattic/mongoose/issues/14504) [#&#8203;14445](https://github.com/Automattic/mongoose/issues/14445) - fix(model): make Model.recompileSchema() also re-apply discriminators [#&#8203;14500](https://github.com/Automattic/mongoose/issues/14500) [#&#8203;14444](https://github.com/Automattic/mongoose/issues/14444) - fix(schema): deduplicate idGetter so creating multiple models with same schema doesn't result in multiple id getters [#&#8203;14492](https://github.com/Automattic/mongoose/issues/14492) - fix: update kareem -> 2.6.3 for index.d.ts [#&#8203;14508](https://github.com/Automattic/mongoose/issues/14508) [#&#8203;14497](https://github.com/Automattic/mongoose/issues/14497) - fix(mongoose): make setDriver() update mongoose.model() connections and collections [#&#8203;14505](https://github.com/Automattic/mongoose/issues/14505) - types(validation): support function for validator message property, and add support for accessing validator reason [#&#8203;14499](https://github.com/Automattic/mongoose/issues/14499) [#&#8203;14496](https://github.com/Automattic/mongoose/issues/14496) - docs: remove typo [#&#8203;14501](https://github.com/Automattic/mongoose/issues/14501) [epmartini](https://github.com/epmartini) ### [`v8.3.0`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#830--2024-04-03) [Compare Source](https://github.com/Automattic/mongoose/compare/8.2.4...8.3.0) \================== - feat: use mongodb@6.5.0 - feat(document): add validateAllPaths option to validate() and validateSync() [#&#8203;14467](https://github.com/Automattic/mongoose/issues/14467) [#&#8203;14414](https://github.com/Automattic/mongoose/issues/14414) - feat: pathsToSave option to save() function [#&#8203;14385](https://github.com/Automattic/mongoose/issues/14385) [#&#8203;9583](https://github.com/Automattic/mongoose/issues/9583) - feat(query): add options parameter to Query.prototype.sort() [#&#8203;14375](https://github.com/Automattic/mongoose/issues/14375) [#&#8203;14365](https://github.com/Automattic/mongoose/issues/14365) - feat: add function SchemaType.prototype.validateAll [#&#8203;14434](https://github.com/Automattic/mongoose/issues/14434) [#&#8203;6910](https://github.com/Automattic/mongoose/issues/6910) - fix: handle array schema definitions with of keyword [#&#8203;14447](https://github.com/Automattic/mongoose/issues/14447) [#&#8203;14416](https://github.com/Automattic/mongoose/issues/14416) - types: add overwriteMiddlewareResult and skipMiddlewareFunction to types [#&#8203;14328](https://github.com/Automattic/mongoose/issues/14328) [#&#8203;14829](https://github.com/Automattic/mongoose/issues/14829) ### [`v8.2.4`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#824--2024-03-28) [Compare Source](https://github.com/Automattic/mongoose/compare/8.2.3...8.2.4) \================== - types(query): bring "getFilter" and "getQuery" in-line with "find" and other types [#&#8203;14463](https://github.com/Automattic/mongoose/issues/14463) [hasezoey](https://github.com/hasezoey) - types(schema): re-export the defintion for SearchIndexDescription [#&#8203;14464](https://github.com/Automattic/mongoose/issues/14464) [noseworthy](https://github.com/noseworthy) - docs: removed unused hook from docs [#&#8203;14461](https://github.com/Automattic/mongoose/issues/14461) [bernardarhia](https://github.com/bernardarhia) ### [`v8.2.3`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#823--2024-03-21) [Compare Source](https://github.com/Automattic/mongoose/compare/8.2.2...8.2.3) \================== - fix(schema): avoid returning string 'nested' as schematype [#&#8203;14453](https://github.com/Automattic/mongoose/issues/14453) [#&#8203;14443](https://github.com/Automattic/mongoose/issues/14443) [#&#8203;14435](https://github.com/Automattic/mongoose/issues/14435) - types(schema): add missing search index types [#&#8203;14449](https://github.com/Automattic/mongoose/issues/14449) [noseworthy](https://github.com/noseworthy) - types: improve the typing of FilterQuery<T> type to prevent it from only getting typed to any [#&#8203;14436](https://github.com/Automattic/mongoose/issues/14436) [#&#8203;14398](https://github.com/Automattic/mongoose/issues/14398) [#&#8203;14397](https://github.com/Automattic/mongoose/issues/14397) ### [`v8.2.2`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#822--2024-03-15) [Compare Source](https://github.com/Automattic/mongoose/compare/8.2.1...8.2.2) \================== - fix(model): improve update minimizing to only minimize top-level properties in the update [#&#8203;14437](https://github.com/Automattic/mongoose/issues/14437) [#&#8203;14420](https://github.com/Automattic/mongoose/issues/14420) [#&#8203;13782](https://github.com/Automattic/mongoose/issues/13782) - fix: add Null check in case schema.options\['type']\[0] is undefined [#&#8203;14431](https://github.com/Automattic/mongoose/issues/14431) [Atharv-Bobde](https://github.com/Atharv-Bobde) - types: consistently infer array of objects in schema as a DocumentArray [#&#8203;14430](https://github.com/Automattic/mongoose/issues/14430) [#&#8203;14367](https://github.com/Automattic/mongoose/issues/14367) - types: add TypeScript interface for the new PipelineStage - Vector Search - solving issue [#&#8203;14428](https://github.com/Automattic/mongoose/issues/14428) [#&#8203;14429](https://github.com/Automattic/mongoose/issues/14429) [jkorach](https://github.com/jkorach) - types: add pre and post function types on Query class [#&#8203;14433](https://github.com/Automattic/mongoose/issues/14433) [#&#8203;14432](https://github.com/Automattic/mongoose/issues/14432) [IICarst](https://github.com/IICarst) - types(model): make bulkWrite() types more flexible to account for casting [#&#8203;14423](https://github.com/Automattic/mongoose/issues/14423) - docs: update version support documentation for mongoose 5 & 6 [#&#8203;14427](https://github.com/Automattic/mongoose/issues/14427) [hasezoey](https://github.com/hasezoey) ### [`v8.2.1`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#821--2024-03-04) [Compare Source](https://github.com/Automattic/mongoose/compare/8.2.0...8.2.1) \================== - fix(document): make $clone avoid converting subdocs into POJOs [#&#8203;14395](https://github.com/Automattic/mongoose/issues/14395) [#&#8203;14353](https://github.com/Automattic/mongoose/issues/14353) - fix(connection): avoid unhandled error on createConnection() if on('error') handler registered [#&#8203;14390](https://github.com/Automattic/mongoose/issues/14390) [#&#8203;14377](https://github.com/Automattic/mongoose/issues/14377) - fix(schema): avoid applying default write concern to operations that are in a transaction [#&#8203;14391](https://github.com/Automattic/mongoose/issues/14391) [#&#8203;11382](https://github.com/Automattic/mongoose/issues/11382) - types(querycursor): correct cursor async iterator type with populate() support [#&#8203;14384](https://github.com/Automattic/mongoose/issues/14384) [#&#8203;14374](https://github.com/Automattic/mongoose/issues/14374) - types: missing typescript details on options params of updateMany, updateOne, etc. [#&#8203;14382](https://github.com/Automattic/mongoose/issues/14382) [#&#8203;14379](https://github.com/Automattic/mongoose/issues/14379) [#&#8203;14378](https://github.com/Automattic/mongoose/issues/14378) [FaizBShah](https://github.com/FaizBShah) [sderrow](https://github.com/sderrow) - types: allow Record\<string, string> as valid query select argument [#&#8203;14371](https://github.com/Automattic/mongoose/issues/14371) [sderrow](https://github.com/sderrow) ### [`v8.2.0`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#820--2024-02-22) [Compare Source](https://github.com/Automattic/mongoose/compare/8.1.3...8.2.0) \================== - feat(model): add recompileSchema() function to models to allow applying schema changes after compiling [#&#8203;14306](https://github.com/Automattic/mongoose/issues/14306) [#&#8203;14296](https://github.com/Automattic/mongoose/issues/14296) - feat: add middleware for bulkWrite() and createCollection() [#&#8203;14358](https://github.com/Automattic/mongoose/issues/14358) [#&#8203;14263](https://github.com/Automattic/mongoose/issues/14263) [#&#8203;7893](https://github.com/Automattic/mongoose/issues/7893) - feat(model): add `hydratedPopulatedDocs` option to make hydrate recursively hydrate populated docs [#&#8203;14352](https://github.com/Automattic/mongoose/issues/14352) [#&#8203;4727](https://github.com/Automattic/mongoose/issues/4727) - feat(connection): add withSession helper [#&#8203;14339](https://github.com/Automattic/mongoose/issues/14339) [#&#8203;14330](https://github.com/Automattic/mongoose/issues/14330) ### [`v8.1.3`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#813--2024-02-16) [Compare Source](https://github.com/Automattic/mongoose/compare/8.1.2...8.1.3) \================== - fix: avoid corrupting $set-ed arrays when transaction error occurs [#&#8203;14346](https://github.com/Automattic/mongoose/issues/14346) [#&#8203;14340](https://github.com/Automattic/mongoose/issues/14340) - fix(populate): handle ref() functions that return a model instance [#&#8203;14343](https://github.com/Automattic/mongoose/issues/14343) [#&#8203;14249](https://github.com/Automattic/mongoose/issues/14249) - fix: insert version key when using insertMany even if `toObject.versionKey` set to false [#&#8203;14344](https://github.com/Automattic/mongoose/issues/14344) - fix(cursor): make aggregation cursor support transform option to match query cursor [#&#8203;14348](https://github.com/Automattic/mongoose/issues/14348) [#&#8203;14331](https://github.com/Automattic/mongoose/issues/14331) - docs(document): clarify that transform function option applies to subdocs [#&#8203;13757](https://github.com/Automattic/mongoose/issues/13757) ### [`v8.1.2`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#812--2024-02-08) [Compare Source](https://github.com/Automattic/mongoose/compare/8.1.1...8.1.2) \================== - fix: include virtuals in document array toString() output if toObject.virtuals set [#&#8203;14335](https://github.com/Automattic/mongoose/issues/14335) [#&#8203;14315](https://github.com/Automattic/mongoose/issues/14315) - fix(document): handle setting nested path to spread doc with extra properties [#&#8203;14287](https://github.com/Automattic/mongoose/issues/14287) [#&#8203;14269](https://github.com/Automattic/mongoose/issues/14269) - fix(populate): call setter on virtual populated path with populated doc instead of undefined [#&#8203;14314](https://github.com/Automattic/mongoose/issues/14314) - fix(QueryCursor): remove callback parameter of AggregationCursor and QueryCursor [#&#8203;14299](https://github.com/Automattic/mongoose/issues/14299) [DevooKim](https://github.com/DevooKim) - types: add typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions [#&#8203;14342](https://github.com/Automattic/mongoose/issues/14342) [#&#8203;14341](https://github.com/Automattic/mongoose/issues/14341) [FaizBShah](https://github.com/FaizBShah) - types(model): correct return type for findOneAndUpdate with includeResultMetadata and lean set [#&#8203;14336](https://github.com/Automattic/mongoose/issues/14336) [#&#8203;14303](https://github.com/Automattic/mongoose/issues/14303) - types(connection): add type definition for `createCollections()` [#&#8203;14295](https://github.com/Automattic/mongoose/issues/14295) [#&#8203;14279](https://github.com/Automattic/mongoose/issues/14279) - docs(timestamps): clarify that replaceOne() and findOneAndReplace() overwrite timestamps [#&#8203;14337](https://github.com/Automattic/mongoose/issues/14337) [#&#8203;14309](https://github.com/Automattic/mongoose/issues/14309) ### [`v8.1.1`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#811--2024-01-24) [Compare Source](https://github.com/Automattic/mongoose/compare/8.1.0...8.1.1) \================== - fix(model): throw readable error when calling Model() with a string instead of model() [#&#8203;14288](https://github.com/Automattic/mongoose/issues/14288) [#&#8203;14281](https://github.com/Automattic/mongoose/issues/14281) - fix(document): handle setting nested path to spread doc with extra properties [#&#8203;14287](https://github.com/Automattic/mongoose/issues/14287) [#&#8203;14269](https://github.com/Automattic/mongoose/issues/14269) - types(query): add back context and setDefaultsOnInsert as Mongoose-specific query options [#&#8203;14284](https://github.com/Automattic/mongoose/issues/14284) [#&#8203;14282](https://github.com/Automattic/mongoose/issues/14282) - types(query): add missing runValidators back to MongooseQueryOptions [#&#8203;14278](https://github.com/Automattic/mongoose/issues/14278) [#&#8203;14275](https://github.com/Automattic/mongoose/issues/14275) ### [`v8.1.0`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#810--2024-01-16) [Compare Source](https://github.com/Automattic/mongoose/compare/8.0.4...8.1.0) \================== - feat: upgrade MongoDB driver -> 6.3.0 [#&#8203;14241](https://github.com/Automattic/mongoose/issues/14241) [#&#8203;14189](https://github.com/Automattic/mongoose/issues/14189) [#&#8203;14108](https://github.com/Automattic/mongoose/issues/14108) [#&#8203;14104](https://github.com/Automattic/mongoose/issues/14104) - feat: add Atlas search index helpers to Models and Schemas [#&#8203;14251](https://github.com/Automattic/mongoose/issues/14251) [#&#8203;14232](https://github.com/Automattic/mongoose/issues/14232) - feat(connection): add listCollections() helper to connections [#&#8203;14257](https://github.com/Automattic/mongoose/issues/14257) - feat(schematype): merge rather than overwrite default schematype validators [#&#8203;14124](https://github.com/Automattic/mongoose/issues/14124) [#&#8203;14070](https://github.com/Automattic/mongoose/issues/14070) - feat(types): support type hints in InferSchemaType [#&#8203;14008](https://github.com/Automattic/mongoose/issues/14008) [JavaScriptBach](https://github.com/JavaScriptBach) ### [`v8.0.4`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#804--2024-01-08) [Compare Source](https://github.com/Automattic/mongoose/compare/8.0.3...8.0.4) \================== - fix(update): set CastError path to full path if casting update fails [#&#8203;14161](https://github.com/Automattic/mongoose/issues/14161) [#&#8203;14114](https://github.com/Automattic/mongoose/issues/14114) - fix: cast error when there is an elemMatch in the and clause [#&#8203;14171](https://github.com/Automattic/mongoose/issues/14171) [tosaka-n](https://github.com/tosaka-n) - fix: allow defining index on base model that applies to all discriminators [#&#8203;14176](https://github.com/Automattic/mongoose/issues/14176) [peplin](https://github.com/peplin) - fix(model): deep clone bulkWrite() updateOne arguments to avoid mutating documents in update [#&#8203;14197](https://github.com/Automattic/mongoose/issues/14197) [#&#8203;14164](https://github.com/Automattic/mongoose/issues/14164) - fix(populate): handle deselecting \_id with array of fields in populate() [#&#8203;14242](https://github.com/Automattic/mongoose/issues/14242) [#&#8203;14231](https://github.com/Automattic/mongoose/issues/14231) - types(model+query): use stricter typings for updateX(), replaceOne(),deleteX() Model functions [#&#8203;14228](https://github.com/Automattic/mongoose/issues/14228) [#&#8203;14204](https://github.com/Automattic/mongoose/issues/14204) - types: fix return types for findByIdAndDelete overrides [#&#8203;14196](https://github.com/Automattic/mongoose/issues/14196) [#&#8203;14190](https://github.com/Automattic/mongoose/issues/14190) - types(schema): add missing omit() method [#&#8203;14235](https://github.com/Automattic/mongoose/issues/14235) [amitbeck](https://github.com/amitbeck) - types(model): add missing strict property to bulkWrite() top level options [#&#8203;14239](https://github.com/Automattic/mongoose/issues/14239) - docs(compatibility): add note that Mongoose 5.13 is fully compatible with MongoDB server 5 [#&#8203;14230](https://github.com/Automattic/mongoose/issues/14230) [#&#8203;14149](https://github.com/Automattic/mongoose/issues/14149) - docs: add shared schemas guide [#&#8203;14211](https://github.com/Automattic/mongoose/issues/14211) - docs: update TLS/SSL guide for Mongoose v8 - MongoDB v6 driver deprecations [#&#8203;14170](https://github.com/Automattic/mongoose/issues/14170) [andylwelch](https://github.com/andylwelch) - docs: update findOneAndUpdate tutorial to use includeResultMetadata [#&#8203;14208](https://github.com/Automattic/mongoose/issues/14208) [#&#8203;14207](https://github.com/Automattic/mongoose/issues/14207) - docs: clarify disabling \_id on subdocs [#&#8203;14195](https://github.com/Automattic/mongoose/issues/14195) [#&#8203;14194](https://github.com/Automattic/mongoose/issues/14194) ### [`v8.0.3`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#803--2023-12-07) [Compare Source](https://github.com/Automattic/mongoose/compare/8.0.2...8.0.3) \================== - fix(schema): avoid creating unnecessary clone of schematype in nested array so nested document arrays use correct constructor [#&#8203;14128](https://github.com/Automattic/mongoose/issues/14128) [#&#8203;14101](https://github.com/Automattic/mongoose/issues/14101) - docs(connections): add example of registering connection event handlers [#&#8203;14150](https://github.com/Automattic/mongoose/issues/14150) - docs(populate): add example of using `refPath` and `ref` functions [#&#8203;14133](https://github.com/Automattic/mongoose/issues/14133) [#&#8203;13834](https://github.com/Automattic/mongoose/issues/13834) - types: handle using BigInt global class in schema definitions [#&#8203;14160](https://github.com/Automattic/mongoose/issues/14160) [#&#8203;14147](https://github.com/Automattic/mongoose/issues/14147) - types: make findOneAndDelete() without options return result doc, not ModifyResult [#&#8203;14153](https://github.com/Automattic/mongoose/issues/14153) [#&#8203;14130](https://github.com/Automattic/mongoose/issues/14130) - types(model): add no-generic override for insertMany() with options [#&#8203;14152](https://github.com/Automattic/mongoose/issues/14152) [#&#8203;13999](https://github.com/Automattic/mongoose/issues/13999) - types: add missing Type for applyDefaults [#&#8203;14159](https://github.com/Automattic/mongoose/issues/14159) [jaypea](https://github.com/jaypea) ### [`v8.0.2`](https://github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#802--2023-11-28) [Compare Source](https://github.com/Automattic/mongoose/compare/8.0.1...8.0.2) \================== - fix(populate): set populated docs in correct order when populating virtual underneath doc array with justOne [#&#8203;14105](https://github.com/Automattic/mongoose/issues/14105) - fix(populate): fix curPath to update appropriately [#&#8203;14099](https://github.com/Automattic/mongoose/issues/14099) [#&#8203;14098](https://github.com/Automattic/mongoose/issues/14098) [csy1204](https://github.com/csy1204) - types: make property names show up in intellisense for UpdateQuery [#&#8203;14123](https://github.com/Automattic/mongoose/issues/14123) [#&#8203;14090](https://github.com/Automattic/mongoose/issues/14090) - types(document): correct return type for doc.deleteOne() re: Mongoose 8 breaking change [#&#8203;14110](https://github.com/Automattic/mongoose/issues/14110) [#&#8203;14081](https://github.com/Automattic/mongoose/issues/14081) - types: correct types for when includeResultMetadata: true is set [#&#8203;14078](https://github.com/Automattic/mongoose/issues/14078) - types(models): allow specifying timestamps as inline option for bulkWrite() operations [#&#8203;14112](https://github.com/Automattic/mongoose/issues/14112) [#&#8203;14072](https://github.com/Automattic/mongoose/issues/14072) - docs: fix rendering of 7.x server compatibility [#&#8203;14086](https://github.com/Automattic/mongoose/issues/14086) [laupow](https://github.com/laupow) - docs(source/api): fix "index.js" -> "mongoose.js" rename [#&#8203;14125](https://github.com/Automattic/mongoose/issues/14125) - docs(README): update breaking change version [#&#8203;14126](https://github.com/Automattic/mongoose/issues/14126) </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 [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNiIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS42IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Fascinated added 1 commit 2024-04-17 00:57:36 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/mongoose-8.x-lockfile:renovate/mongoose-8.x-lockfile
git checkout renovate/mongoose-8.x-lockfile
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Fascinated/scoresaber-reloaded-backend#10
No description provided.