Automattic/mongoose
### [`v7.3.0`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#730--2023-06-14)
[Compare Source](https://togithub.com/Automattic/mongoose/compare/7.2.4...7.3.0)
\==================
- feat: upgrade mongodb -> 5.6.0 [#13455](https://togithub.com/Automattic/mongoose/issues/13455) [lorand-horvath](https://togithub.com/lorand-horvath)
- feat(aggregate): add Aggregate.prototype.finally() to be consistent with Promise API for TypeScript [#13509](https://togithub.com/Automattic/mongoose/issues/13509)
- feat(schema): support selecting subset of fields to apply optimistic concurrency to [#13506](https://togithub.com/Automattic/mongoose/issues/13506) [#10591](https://togithub.com/Automattic/mongoose/issues/10591)
- feat(model): add `ordered` option to `Model.create()` [#13472](https://togithub.com/Automattic/mongoose/issues/13472) [#4038](https://togithub.com/Automattic/mongoose/issues/4038)
- feat(schema): consistently add .get() function to all SchemaType classes
- feat(populate): pass virtual to match function to allow merging match options [#13477](https://togithub.com/Automattic/mongoose/issues/13477) [#12443](https://togithub.com/Automattic/mongoose/issues/12443)
- types: allow overwriting Paths in select() to tell TypeScript which fields are projected [#13478](https://togithub.com/Automattic/mongoose/issues/13478) [#13224](https://togithub.com/Automattic/mongoose/issues/13224)
- types(schema): add validateModifiedOnly as schema option [#13503](https://togithub.com/Automattic/mongoose/issues/13503) [#10153](https://togithub.com/Automattic/mongoose/issues/10153)
- docs: add note about validateModifiedOnly as a schema option [#13503](https://togithub.com/Automattic/mongoose/issues/13503) [#10153](https://togithub.com/Automattic/mongoose/issues/10153)
- docs(migrating_to\_7): update migrating_to\_7.md to include Model.countDocuments [#13508](https://togithub.com/Automattic/mongoose/issues/13508) [Climax777](https://togithub.com/Climax777)
- docs(further_reading): remove style for "img" [hasezoey](https://togithub.com/hasezoey)
### [`v7.2.4`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#724--2023-06-12)
[Compare Source](https://togithub.com/Automattic/mongoose/compare/7.2.3...7.2.4)
\==================
- fix(query): handle non-string discriminator key values in query [#13496](https://togithub.com/Automattic/mongoose/issues/13496) [#13492](https://togithub.com/Automattic/mongoose/issues/13492)
### [`v7.2.3`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#723--2023-06-09)
[Compare Source](https://togithub.com/Automattic/mongoose/compare/7.2.2...7.2.3)
\==================
- fix(model): ignore falsy last argument to create() for backwards compatibility [#13493](https://togithub.com/Automattic/mongoose/issues/13493) [#13491](https://togithub.com/Automattic/mongoose/issues/13491) [#13487](https://togithub.com/Automattic/mongoose/issues/13487) [MohOraby](https://togithub.com/MohOraby)
- types: remove generic param that's causing issues for typegoose [#13494](https://togithub.com/Automattic/mongoose/issues/13494) [#13482](https://togithub.com/Automattic/mongoose/issues/13482)
- types(aggregate): allow object syntax for $mergeObjects [#13470](https://togithub.com/Automattic/mongoose/issues/13470) [#13060](https://togithub.com/Automattic/mongoose/issues/13060)
- docs(connection): clarify how Connection.prototype.destroy() is different from close() [#13475](https://togithub.com/Automattic/mongoose/issues/13475)
- docs(populate): fix accidental removal of text [#13480](https://togithub.com/Automattic/mongoose/issues/13480)
- docs: add additional notes for Atlas X.509 authentication [#13452](https://togithub.com/Automattic/mongoose/issues/13452) [alexbevi](https://togithub.com/alexbevi)
- docs(populate): add a little more info on why we recommend using ObjectId for \_id [#13474](https://togithub.com/Automattic/mongoose/issues/13474) [#13400](https://togithub.com/Automattic/mongoose/issues/13400)
Configuration
📅 Schedule: Branch creation - "on friday" (UTC), 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.
This PR contains the following updates:
7.2.2
->7.3.0
Release Notes
Automattic/mongoose
### [`v7.3.0`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#730--2023-06-14) [Compare Source](https://togithub.com/Automattic/mongoose/compare/7.2.4...7.3.0) \================== - feat: upgrade mongodb -> 5.6.0 [#13455](https://togithub.com/Automattic/mongoose/issues/13455) [lorand-horvath](https://togithub.com/lorand-horvath) - feat(aggregate): add Aggregate.prototype.finally() to be consistent with Promise API for TypeScript [#13509](https://togithub.com/Automattic/mongoose/issues/13509) - feat(schema): support selecting subset of fields to apply optimistic concurrency to [#13506](https://togithub.com/Automattic/mongoose/issues/13506) [#10591](https://togithub.com/Automattic/mongoose/issues/10591) - feat(model): add `ordered` option to `Model.create()` [#13472](https://togithub.com/Automattic/mongoose/issues/13472) [#4038](https://togithub.com/Automattic/mongoose/issues/4038) - feat(schema): consistently add .get() function to all SchemaType classes - feat(populate): pass virtual to match function to allow merging match options [#13477](https://togithub.com/Automattic/mongoose/issues/13477) [#12443](https://togithub.com/Automattic/mongoose/issues/12443) - types: allow overwriting Paths in select() to tell TypeScript which fields are projected [#13478](https://togithub.com/Automattic/mongoose/issues/13478) [#13224](https://togithub.com/Automattic/mongoose/issues/13224) - types(schema): add validateModifiedOnly as schema option [#13503](https://togithub.com/Automattic/mongoose/issues/13503) [#10153](https://togithub.com/Automattic/mongoose/issues/10153) - docs: add note about validateModifiedOnly as a schema option [#13503](https://togithub.com/Automattic/mongoose/issues/13503) [#10153](https://togithub.com/Automattic/mongoose/issues/10153) - docs(migrating_to\_7): update migrating_to\_7.md to include Model.countDocuments [#13508](https://togithub.com/Automattic/mongoose/issues/13508) [Climax777](https://togithub.com/Climax777) - docs(further_reading): remove style for "img" [hasezoey](https://togithub.com/hasezoey) ### [`v7.2.4`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#724--2023-06-12) [Compare Source](https://togithub.com/Automattic/mongoose/compare/7.2.3...7.2.4) \================== - fix(query): handle non-string discriminator key values in query [#13496](https://togithub.com/Automattic/mongoose/issues/13496) [#13492](https://togithub.com/Automattic/mongoose/issues/13492) ### [`v7.2.3`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#723--2023-06-09) [Compare Source](https://togithub.com/Automattic/mongoose/compare/7.2.2...7.2.3) \================== - fix(model): ignore falsy last argument to create() for backwards compatibility [#13493](https://togithub.com/Automattic/mongoose/issues/13493) [#13491](https://togithub.com/Automattic/mongoose/issues/13491) [#13487](https://togithub.com/Automattic/mongoose/issues/13487) [MohOraby](https://togithub.com/MohOraby) - types: remove generic param that's causing issues for typegoose [#13494](https://togithub.com/Automattic/mongoose/issues/13494) [#13482](https://togithub.com/Automattic/mongoose/issues/13482) - types(aggregate): allow object syntax for $mergeObjects [#13470](https://togithub.com/Automattic/mongoose/issues/13470) [#13060](https://togithub.com/Automattic/mongoose/issues/13060) - docs(connection): clarify how Connection.prototype.destroy() is different from close() [#13475](https://togithub.com/Automattic/mongoose/issues/13475) - docs(populate): fix accidental removal of text [#13480](https://togithub.com/Automattic/mongoose/issues/13480) - docs: add additional notes for Atlas X.509 authentication [#13452](https://togithub.com/Automattic/mongoose/issues/13452) [alexbevi](https://togithub.com/alexbevi) - docs(populate): add a little more info on why we recommend using ObjectId for \_id [#13474](https://togithub.com/Automattic/mongoose/issues/13474) [#13400](https://togithub.com/Automattic/mongoose/issues/13400)Configuration
📅 Schedule: Branch creation - "on friday" (UTC), 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.
This PR has been generated by Mend Renovate. View repository job log here.