keystonejs / keystone-5

https://v5.keystonejs.com
MIT License
64 stars 33 forks source link

Update dependency mongoose to v6 #293

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongoose (source) ^5.12.13 -> ^6.0.5 age adoption passing confidence

Release Notes

Automattic/mongoose ### [`v6.0.5`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​605--2021-09-06) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.0.4...6.0.5) \================== - fix(model): allow calling Model.validate() static with POJO array [#​10669](https://togithub.com/Automattic/mongoose/issues/10669) - fix(cast): let $expr through in query filters if strict mode enabled [#​10662](https://togithub.com/Automattic/mongoose/issues/10662) - fix(map): propagate flattenMaps option down to nested maps [#​10653](https://togithub.com/Automattic/mongoose/issues/10653) - fix(setDefaultsOnInsert): avoid adding unnecessary auto \_id to $setOnInsert [#​10646](https://togithub.com/Automattic/mongoose/issues/10646) - fix(schema): support object with values and message syntax for Number enums [#​10648](https://togithub.com/Automattic/mongoose/issues/10648) - fix(index.d.ts): fix Document#populate() type [#​10651](https://togithub.com/Automattic/mongoose/issues/10651) [thiagokisaki](https://togithub.com/thiagokisaki) - fix(index.d.ts): allow using $in and $nin on array paths [#​10605](https://togithub.com/Automattic/mongoose/issues/10605) - fix(index.d.ts): make \_id required in query results and return value from `create()` [#​10657](https://togithub.com/Automattic/mongoose/issues/10657) - docs: update deprecations.md to reflect version 6 [#​10673](https://togithub.com/Automattic/mongoose/issues/10673) [multiwebinc](https://togithub.com/multiwebinc) - docs: fix typo in queries.md [#​10681](https://togithub.com/Automattic/mongoose/issues/10681) [yogabonito](https://togithub.com/yogabonito) - docs: fix typo in models.md [#​10680](https://togithub.com/Automattic/mongoose/issues/10680) [yogabonito](https://togithub.com/yogabonito) - ci: add test for ubuntu-20.04 [#​10679](https://togithub.com/Automattic/mongoose/issues/10679) [YC](https://togithub.com/YC) ### [`v6.0.4`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​604--2021-09-01) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.0.3...6.0.4) \================== - fix(schema): handle maps of maps [#​10644](https://togithub.com/Automattic/mongoose/issues/10644) - fix: avoid setting defaults on insert on a path whose subpath is referenced in the update [#​10624](https://togithub.com/Automattic/mongoose/issues/10624) - fix(index.d.ts): simplify UpdateQuery to avoid "excessively deep and possibly infinite" errors with `extends Document` and `any` [#​10617](https://togithub.com/Automattic/mongoose/issues/10617) - fix(index.d.ts): allow using type: \[documentDefinition] when defining a doc array in a schema [#​10605](https://togithub.com/Automattic/mongoose/issues/10605) - docs: remove useNewUrlParser, useUnifiedTopology, some other legacy options from docs [#​10631](https://togithub.com/Automattic/mongoose/issues/10631) [#​10632](https://togithub.com/Automattic/mongoose/issues/10632) - docs(defaults): clarify that setDefaultsOnInsert is true by default in 6.x [#​10643](https://togithub.com/Automattic/mongoose/issues/10643) - test: use async/await instead of co [#​10633](https://togithub.com/Automattic/mongoose/issues/10633) [AbdelrahmanHafez](https://togithub.com/AbdelrahmanHafez) ### [`v6.0.3`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​603--2021-08-30) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.0.2...6.0.3) \================== - fix: handle buffering with find() now that find() no longer accepts a callback [#​10639](https://togithub.com/Automattic/mongoose/issues/10639) [#​10634](https://togithub.com/Automattic/mongoose/issues/10634) [#​10610](https://togithub.com/Automattic/mongoose/issues/10610) ### [`v6.0.2`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​602--2021-08-26) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.0.1...6.0.2) \================== - fix(query): handle find() when buffering on initial connection [#​10610](https://togithub.com/Automattic/mongoose/issues/10610) - fix(populate): get doc schema using $\__schema to avoid paths named `schema` [#​10619](https://togithub.com/Automattic/mongoose/issues/10619) - docs: use async/await in the quickstart [#​10610](https://togithub.com/Automattic/mongoose/issues/10610) - docs: fix links to guide, schematypes, connections in v5.x docs [#​10607](https://togithub.com/Automattic/mongoose/issues/10607) - docs: add link to 6.x migration guide to schemas guide [#​10616](https://togithub.com/Automattic/mongoose/issues/10616) - docs: add migration to 6.x in Migration Guides section [#​10618](https://togithub.com/Automattic/mongoose/issues/10618) [HunterKohler](https://togithub.com/HunterKohler) - docs: fix missing URL part on layout.pug [#​10622](https://togithub.com/Automattic/mongoose/issues/10622) [ItsLhun](https://togithub.com/ItsLhun) ### [`v6.0.1`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​601--2021-08-25) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.0.0...6.0.1) \================== - fix(aggregate): allow calling Model.aggregate() with options [#​10604](https://togithub.com/Automattic/mongoose/issues/10604) [amitbeck](https://togithub.com/amitbeck) - fix(index.d.ts): add instance, options, schema properties to SchemaType class [#​10609](https://togithub.com/Automattic/mongoose/issues/10609) - fix(index.d.ts): allow querying array of strings by string [#​10605](https://togithub.com/Automattic/mongoose/issues/10605) - fix(index.d.ts): allow using type: SchemaDefinitionProperty in schema definitions [#​10605](https://togithub.com/Automattic/mongoose/issues/10605) - fix(index.d.ts): remove strictQuery option [#​10598](https://togithub.com/Automattic/mongoose/issues/10598) [thiagokisaki](https://togithub.com/thiagokisaki) - docs: add link to migration guide in changelog [#​10600](https://togithub.com/Automattic/mongoose/issues/10600) [AbdelrahmanHafez](https://togithub.com/AbdelrahmanHafez) - docs: fix docs build for v5.x docs [#​10607](https://togithub.com/Automattic/mongoose/issues/10607) - docs(query): add note about strict option to setOptions() [#​10602](https://togithub.com/Automattic/mongoose/issues/10602) ### [`v6.0.0`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​600--2021-08-24) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.9...6.0.0) \================== - Follow the [migration guide](https://mongoosejs.com/docs/migrating_to\_6.html) to get a list of all breaking changes in v6.0. - BREAKING CHANGE: remove the deprecated safe option in favor of write concerns - fix: upgrade to mongodb driver 4.1.1 - fix: consistently use $\__parent to store subdoc parent as a property, and `$parent()` as a getter function [#​10584](https://togithub.com/Automattic/mongoose/issues/10584) [#​10414](https://togithub.com/Automattic/mongoose/issues/10414) - fix: allow calling `countDocuments()` with options ### [`v5.13.9`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5139--2021-09-06) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.8...5.13.9) \=================== - fix(populate): avoid setting empty array on lean document when populate result is undefined [#​10599](https://togithub.com/Automattic/mongoose/issues/10599) - fix(document): make depopulate() handle populated paths underneath document arrays [#​10592](https://togithub.com/Automattic/mongoose/issues/10592) - fix: peg [@​types/bson](https://togithub.com/types/bson) version to 1.x || 4.0.x to avoid stubbed 4.2.x release [#​10678](https://togithub.com/Automattic/mongoose/issues/10678) - fix(index.d.ts): simplify UpdateQuery to avoid "excessively deep and possibly infinite" errors with `extends Document` and `any` [#​10647](https://togithub.com/Automattic/mongoose/issues/10647) - fix(index.d.ts): allow specifying weights as an IndexOption [#​10586](https://togithub.com/Automattic/mongoose/issues/10586) - fix: upgrade to mpath v0.8.4 re: security issue [#​10683](https://togithub.com/Automattic/mongoose/issues/10683) ### [`v5.13.8`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5138--2021-08-23) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.7...5.13.8) \=================== - fix(populate): handle populating subdoc array virtual with sort [#​10552](https://togithub.com/Automattic/mongoose/issues/10552) - fix(model): check for code instead of codeName when checking for existing collections for backwards compat with MongoDB 3.2 [#​10420](https://togithub.com/Automattic/mongoose/issues/10420) - fix(index.d.ts): correct value of this for custom query helper methods [#​10545](https://togithub.com/Automattic/mongoose/issues/10545) - fix(index.d.ts): allow strings for ObjectIds in nested properties [#​10573](https://togithub.com/Automattic/mongoose/issues/10573) - fix(index.d.ts): add match to VirtualTypeOptions.options [#​8749](https://togithub.com/Automattic/mongoose/issues/8749) - fix(index.d.ts): allow QueryOptions populate parameter type PopulateOptions [#​10587](https://togithub.com/Automattic/mongoose/issues/10587) [osmanakol](https://togithub.com/osmanakol) - docs(api): add Document#$where to API docs [#​10583](https://togithub.com/Automattic/mongoose/issues/10583) ### [`v5.13.7`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5137--2021-08-11) [Compare Source](https://togithub.com/Automattic/mongoose/compare/477afdc8aa1297b87e784085133617765a059a4d...5.13.7) \=================== - perf(index.d.ts): loosen up restrictions on ModelType generic for Schema for a ~50% perf improvement when compiling TypeScript and using intellisense [#​10536](https://togithub.com/Automattic/mongoose/issues/10536) [#​10515](https://togithub.com/Automattic/mongoose/issues/10515) [#​10349](https://togithub.com/Automattic/mongoose/issues/10349) - fix(index.d.ts): fix broken `Schema#index()` types [#​10562](https://togithub.com/Automattic/mongoose/issues/10562) [JaredReisinger](https://togithub.com/JaredReisinger) - fix(index.d.ts): allow using SchemaTypeOptions with array of raw document interfaces [#​10537](https://togithub.com/Automattic/mongoose/issues/10537) - fix(index.d.ts): define IndexOptions in terms of mongodb.IndexOptions [#​10563](https://togithub.com/Automattic/mongoose/issues/10563) [JaredReisinger](https://togithub.com/JaredReisinger) - fix(index.d.ts): improve intellisense for DocumentArray `push()` [#​10546](https://togithub.com/Automattic/mongoose/issues/10546) - fix(index.d.ts): correct type for expires [#​10529](https://togithub.com/Automattic/mongoose/issues/10529) - fix(index.d.ts): add Query#model property to ts bindings [#​10531](https://togithub.com/Automattic/mongoose/issues/10531) - refactor(index.d.ts): make callbacks use the new Callback and CallbackWithoutResult types [#​10550](https://togithub.com/Automattic/mongoose/issues/10550) [thiagokisaki](https://togithub.com/thiagokisaki) ### [`v5.13.6`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5136--2021-08-09) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.5...477afdc8aa1297b87e784085133617765a059a4d) \=================== - fix: upgrade mongodb driver -> 3.6.11 [#​10543](https://togithub.com/Automattic/mongoose/issues/10543) [maon-fp](https://togithub.com/maon-fp) - fix(schema): throw more helpful error when defining a document array using a schema from a different copy of the Mongoose module [#​10453](https://togithub.com/Automattic/mongoose/issues/10453) - fix: add explicit check on constructor property to avoid throwing an error when checking objects with null prototypes [#​10512](https://togithub.com/Automattic/mongoose/issues/10512) - fix(cursor): make sure to clear stack every 1000 docs when calling `next()` to avoid stack overflow with large batch size [#​10449](https://togithub.com/Automattic/mongoose/issues/10449) - fix(index.d.ts): allow calling new Model(...) with generic Model param [#​10526](https://togithub.com/Automattic/mongoose/issues/10526) - fix(index.d.ts): update type declarations of Schema.index method [#​10538](https://togithub.com/Automattic/mongoose/issues/10538) [#​10530](https://togithub.com/Automattic/mongoose/issues/10530) [Raader](https://togithub.com/Raader) - fix(index.d.ts): add useNewUrlParser and useUnifiedTopology to ConnectOptions [#​10500](https://togithub.com/Automattic/mongoose/issues/10500) - fix(index.d.ts): add missing type for diffIndexes [#​10547](https://togithub.com/Automattic/mongoose/issues/10547) [bvgusak](https://togithub.com/bvgusak) - fix(index.d.ts): fixed incorrect type definition for Query's .map function [#​10544](https://togithub.com/Automattic/mongoose/issues/10544) [GCastilho](https://togithub.com/GCastilho) - docs(schema): add more info and examples to Schema#indexes() docs [#​10446](https://togithub.com/Automattic/mongoose/issues/10446) - chore: add types property to package.json [#​10557](https://togithub.com/Automattic/mongoose/issues/10557) [thiagokisaki](https://togithub.com/thiagokisaki) ### [`v5.13.5`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5135--2021-07-30) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.4...5.13.5) \=================== - perf(index.d.ts): improve typescript type checking performance [#​10515](https://togithub.com/Automattic/mongoose/issues/10515) [andreialecu](https://togithub.com/andreialecu) - fix(index.d.ts): fix debug type in MongooseOptions [#​10510](https://togithub.com/Automattic/mongoose/issues/10510) [thiagokisaki](https://togithub.com/thiagokisaki) - docs(api): clarify that `depopulate()` with no args depopulates all [#​10501](https://togithub.com/Automattic/mongoose/issues/10501) [gfrancz](https://togithub.com/gfrancz) ### [`v5.13.4`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5134--2021-07-28) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.3...5.13.4) \=================== - fix: avoid pulling non-schema paths from documents into nested paths [#​10449](https://togithub.com/Automattic/mongoose/issues/10449) - fix(update): support overwriting nested map paths [#​10485](https://togithub.com/Automattic/mongoose/issues/10485) - fix(update): apply timestamps to subdocs that would be newly created by `$setOnInsert` [#​10460](https://togithub.com/Automattic/mongoose/issues/10460) - fix(map): correctly clone subdocs when calling toObject() on a map [#​10486](https://togithub.com/Automattic/mongoose/issues/10486) - fix(cursor): cap parallel batchSize for populate at 5000 [#​10449](https://togithub.com/Automattic/mongoose/issues/10449) - fix(index.d.ts): improve autocomplete for new Model() by making `doc` an object with correct keys [#​10475](https://togithub.com/Automattic/mongoose/issues/10475) - fix(index.d.ts): add MongooseOptions interface [#​10471](https://togithub.com/Automattic/mongoose/issues/10471) [thiagokisaki](https://togithub.com/thiagokisaki) - fix(index.d.ts): make LeanDocument work with PopulatedDoc [#​10494](https://togithub.com/Automattic/mongoose/issues/10494) - docs(mongoose+connection): correct default value for bufferTimeoutMS [#​10476](https://togithub.com/Automattic/mongoose/issues/10476) - chore: remove unnecessary 'eslint-disable' comments [#​10466](https://togithub.com/Automattic/mongoose/issues/10466) [thiagokisaki](https://togithub.com/thiagokisaki) ### [`v5.13.3`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5133--2021-07-16) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.2...5.13.3) \=================== - fix(model): avoid throwing error when bulkSave() called on a document with no changes [#​10437](https://togithub.com/Automattic/mongoose/issues/10437) - fix(timestamps): apply timestamps when creating new subdocs with `$addToSet` and with positional operator [#​10447](https://togithub.com/Automattic/mongoose/issues/10447) - fix(schema): allow calling Schema#loadClass() with class that has a static getter with no setter [#​10436](https://togithub.com/Automattic/mongoose/issues/10436) - fix(model): handle re-applying object defaults after explicitly unsetting [#​10442](https://togithub.com/Automattic/mongoose/issues/10442) [semirturgay](https://togithub.com/semirturgay) - fix: bump mongodb driver -> 3.6.10 [#​10440](https://togithub.com/Automattic/mongoose/issues/10440) [AbdelrahmanHafez](https://togithub.com/AbdelrahmanHafez) - fix(index.d.ts): consistently use NativeDate instead of Date for Date validators and timestamps functions [#​10426](https://togithub.com/Automattic/mongoose/issues/10426) - fix(index.d.ts): allow calling `discriminator()` with non-document [#​10452](https://togithub.com/Automattic/mongoose/issues/10452) [#​10421](https://togithub.com/Automattic/mongoose/issues/10421) [DouglasGabr](https://togithub.com/DouglasGabr) - fix(index.d.ts): allow passing ResultType generic to Schema#path() [#​10435](https://togithub.com/Automattic/mongoose/issues/10435) ### [`v5.13.2`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5132--2021-07-03) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.1...5.13.2) \=================== - fix: hardcode [@​types/node](https://togithub.com/types/node) version for now to avoid breaking changes from [DefinitelyTyped/DefinitelyTyped#​53669](https://togithub.com/DefinitelyTyped/DefinitelyTyped/issues/53669) [#​10415](https://togithub.com/Automattic/mongoose/issues/10415) - fix(index.d.ts): allow using type: Date with Date paths in SchemaDefinitionType [#​10409](https://togithub.com/Automattic/mongoose/issues/10409) - fix(index.d.ts): allow extra VirtualTypeOptions for better plugin support [#​10412](https://togithub.com/Automattic/mongoose/issues/10412) - docs(api): add SchemaArray to docs [#​10397](https://togithub.com/Automattic/mongoose/issues/10397) - docs(schema+validation): fix broken links [#​10396](https://togithub.com/Automattic/mongoose/issues/10396) - docs(transactions): add note about creating a connection to transactions docs [#​10406](https://togithub.com/Automattic/mongoose/issues/10406) ### [`v5.13.1`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5131--2021-07-02) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.0...5.13.1) \=================== - fix(discriminator): allow using array as discriminator key in schema and as tied value [#​10303](https://togithub.com/Automattic/mongoose/issues/10303) - fix(index.d.ts): allow using & Document in schema definition for required subdocument arrays [#​10370](https://togithub.com/Automattic/mongoose/issues/10370) - fix(index.d.ts): if using DocType that doesn't extends Document, default to returning that DocType from `toObject()` and `toJSON()` [#​10345](https://togithub.com/Automattic/mongoose/issues/10345) - fix(index.d.ts): use raw DocType instead of LeanDocument when using `lean()` with queries if raw DocType doesn't `extends Document` [#​10345](https://togithub.com/Automattic/mongoose/issues/10345) - fix(index.d.ts): remove err: any in callbacks, use `err: CallbackError` instead [#​10340](https://togithub.com/Automattic/mongoose/issues/10340) - fix(index.d.ts): allow defining map of schemas in TypeScript [#​10389](https://togithub.com/Automattic/mongoose/issues/10389) - fix(index.d.ts): correct return type for Model.createCollection() [#​10359](https://togithub.com/Automattic/mongoose/issues/10359) - docs(promises+discriminators): correctly escape () in regexp to pull in examples correctly [#​10364](https://togithub.com/Automattic/mongoose/issues/10364) - docs(update): fix outdated URL about unindexed upsert [#​10406](https://togithub.com/Automattic/mongoose/issues/10406) [grimmer0125](https://togithub.com/grimmer0125) - docs(index.d.ts): proper placement of mongoose.Date JSDoc [thiagokisaki](https://togithub.com/thiagokisaki) ### [`v5.13.0`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5130--2021-06-28) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.12.15...5.13.0) \=================== - feat(query): add sanitizeProjection option to opt in to automatically sanitizing untrusted query projections [#​10243](https://togithub.com/Automattic/mongoose/issues/10243) - feat(model): add `bulkSave()` function that saves multiple docs in 1 `bulkWrite()` [#​9727](https://togithub.com/Automattic/mongoose/issues/9727) [#​9673](https://togithub.com/Automattic/mongoose/issues/9673) [AbdelrahmanHafez](https://togithub.com/AbdelrahmanHafez) - feat(document): allow passing a list of virtuals or `pathsToSkip` to apply in `toObject()` and `toJSON()` [#​10120](https://togithub.com/Automattic/mongoose/issues/10120) - fix(model): make Model.validate use object under validation as context by default [#​10360](https://togithub.com/Automattic/mongoose/issues/10360) [AbdelrahmanHafez](https://togithub.com/AbdelrahmanHafez) - feat(document): add support for pathsToSkip in validate and validateSync [#​10375](https://togithub.com/Automattic/mongoose/issues/10375) [AbdelrahmanHafez](https://togithub.com/AbdelrahmanHafez) - feat(model): add `diffIndexes()` function that calculates what indexes `syncIndexes()` will create/drop without actually executing any changes [#​10362](https://togithub.com/Automattic/mongoose/issues/10362) [IslandRhythms](https://togithub.com/IslandRhythms) - feat(document): avoid using sessions that have ended, so you can use documents that were loaded in the session after calling `endSession()` [#​10306](https://togithub.com/Automattic/mongoose/issues/10306) ### [`v5.12.15`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​51215--2021-06-25) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.12.14...5.12.15) \==================== - fix(index.d.ts): add extra TInstanceMethods generic param to `Schema` for cases when we can't infer from Model [#​10358](https://togithub.com/Automattic/mongoose/issues/10358) - fix(index.d.ts): added typings for near() in model aggregation [#​10373](https://togithub.com/Automattic/mongoose/issues/10373) [tbhaxor](https://togithub.com/tbhaxor) - fix(index.d.ts): correct function signature for `Query#cast()` [#​10388](https://togithub.com/Automattic/mongoose/issues/10388) [lkho](https://togithub.com/lkho) - docs(transactions): add import statement [#​10365](https://togithub.com/Automattic/mongoose/issues/10365) [JimLynchCodes](https://togithub.com/JimLynchCodes) - docs(schema): add missing `discriminatorKey` schema option [#​10386](https://togithub.com/Automattic/mongoose/issues/10386) [#​10376](https://togithub.com/Automattic/mongoose/issues/10376) [IslandRhythms](https://togithub.com/IslandRhythms) - docs(index.d.ts): fix typo [#​10363](https://togithub.com/Automattic/mongoose/issues/10363) [houssemchebeb](https://togithub.com/houssemchebeb) ### [`v5.12.14`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​51214--2021-06-15) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.12.13...5.12.14) \==================== - fix(schema): check that schema type is an object when setting isUnderneathDocArray [#​10361](https://togithub.com/Automattic/mongoose/issues/10361) [vmo-khanus](https://togithub.com/vmo-khanus) - fix(document): avoid infinite recursion when setting single nested subdoc to array [#​10351](https://togithub.com/Automattic/mongoose/issues/10351) - fix(populate): allow populating nested path in schema using `Model.populate()` [#​10335](https://togithub.com/Automattic/mongoose/issues/10335) - fix(drivers): emit operation-start/operation-end events to allow inspecting when operations start and end - fix(index.d.ts): improve typings for virtuals [#​10350](https://togithub.com/Automattic/mongoose/issues/10350) [thiagokisaki](https://togithub.com/thiagokisaki) - fix(index.d.ts): correct constructor type for Document [#​10328](https://togithub.com/Automattic/mongoose/issues/10328) - fix(index.d.ts): add `ValidationError` as a possible type for `ValidationError#errors` [#​10320](https://togithub.com/Automattic/mongoose/issues/10320) [IslandRhythms](https://togithub.com/IslandRhythms) - fix: remove unnecessary async devDependency that's causing npm audit warnings [#​10281](https://togithub.com/Automattic/mongoose/issues/10281) - docs(typescript): add schemas guide [#​10308](https://togithub.com/Automattic/mongoose/issues/10308) - docs(model): add options parameter description to `Model.exists()` [#​10336](https://togithub.com/Automattic/mongoose/issues/10336) [Aminoiz](https://togithub.com/Aminoiz)

Configuration

📅 Schedule: "before 7am on Tuesday" in timezone Australia/Sydney.

🚦 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.



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

changeset-bot[bot] commented 3 years ago

⚠️ No Changeset found

Latest commit: b30dae892f02f365f2a08f0e86a798c0c0a3373c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

renovate[bot] commented 3 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 6.x releases. However, if you upgrade to 6.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.