Automattic/mongoose (mongoose)
### [`v8.8.0`](https://redirect.github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#880--2024-10-31)
[Compare Source](https://redirect.github.com/Automattic/mongoose/compare/8.7.3...8.8.0)
\==================
- feat: upgrade mongodb -> ~6.10 [#14991](https://redirect.github.com/Automattic/mongoose/issues/14991) [#14877](https://redirect.github.com/Automattic/mongoose/issues/14877)
- feat(query): add schemaLevelProjections option to query to disable schema-level select: false [#14986](https://redirect.github.com/Automattic/mongoose/issues/14986) [#11474](https://redirect.github.com/Automattic/mongoose/issues/11474)
- feat: allow defining virtuals on arrays, not just array elements [#14955](https://redirect.github.com/Automattic/mongoose/issues/14955) [#2326](https://redirect.github.com/Automattic/mongoose/issues/2326)
- feat(model): add applyTimestamps() function to apply all schema timestamps, including subdocuments, to a given POJO [#14943](https://redirect.github.com/Automattic/mongoose/issues/14943) [#14698](https://redirect.github.com/Automattic/mongoose/issues/14698)
- feat(model): add hideIndexes option to syncIndexes() and cleanIndexes() [#14987](https://redirect.github.com/Automattic/mongoose/issues/14987) [#14868](https://redirect.github.com/Automattic/mongoose/issues/14868)
- fix(query): make sanitizeFilter disable implicit $in [#14985](https://redirect.github.com/Automattic/mongoose/issues/14985) [#14657](https://redirect.github.com/Automattic/mongoose/issues/14657)
- fix(model): avoid unhandled error if createIndex() throws a sync error [#14995](https://redirect.github.com/Automattic/mongoose/issues/14995)
- fix(model): avoid throwing TypeError if bulkSave()'s bulkWrite() fails with a non-BulkWriteError [#14993](https://redirect.github.com/Automattic/mongoose/issues/14993)
- types: added toJSON:flattenObjectIds effect [#14989](https://redirect.github.com/Automattic/mongoose/issues/14989)
- types: add `__v` to lean() result type and ModifyResult [#14990](https://redirect.github.com/Automattic/mongoose/issues/14990) [#12959](https://redirect.github.com/Automattic/mongoose/issues/12959)
- types: use globalThis instead of global for NativeDate [#14992](https://redirect.github.com/Automattic/mongoose/issues/14992) [#14988](https://redirect.github.com/Automattic/mongoose/issues/14988)
- docs(change-streams): fix markdown syntax highlighting for script output example [#14994](https://redirect.github.com/Automattic/mongoose/issues/14994)
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 is behind base branch, 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 contains the following updates:
8.7.3
->8.8.0
Release Notes
Automattic/mongoose (mongoose)
### [`v8.8.0`](https://redirect.github.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#880--2024-10-31) [Compare Source](https://redirect.github.com/Automattic/mongoose/compare/8.7.3...8.8.0) \================== - feat: upgrade mongodb -> ~6.10 [#14991](https://redirect.github.com/Automattic/mongoose/issues/14991) [#14877](https://redirect.github.com/Automattic/mongoose/issues/14877) - feat(query): add schemaLevelProjections option to query to disable schema-level select: false [#14986](https://redirect.github.com/Automattic/mongoose/issues/14986) [#11474](https://redirect.github.com/Automattic/mongoose/issues/11474) - feat: allow defining virtuals on arrays, not just array elements [#14955](https://redirect.github.com/Automattic/mongoose/issues/14955) [#2326](https://redirect.github.com/Automattic/mongoose/issues/2326) - feat(model): add applyTimestamps() function to apply all schema timestamps, including subdocuments, to a given POJO [#14943](https://redirect.github.com/Automattic/mongoose/issues/14943) [#14698](https://redirect.github.com/Automattic/mongoose/issues/14698) - feat(model): add hideIndexes option to syncIndexes() and cleanIndexes() [#14987](https://redirect.github.com/Automattic/mongoose/issues/14987) [#14868](https://redirect.github.com/Automattic/mongoose/issues/14868) - fix(query): make sanitizeFilter disable implicit $in [#14985](https://redirect.github.com/Automattic/mongoose/issues/14985) [#14657](https://redirect.github.com/Automattic/mongoose/issues/14657) - fix(model): avoid unhandled error if createIndex() throws a sync error [#14995](https://redirect.github.com/Automattic/mongoose/issues/14995) - fix(model): avoid throwing TypeError if bulkSave()'s bulkWrite() fails with a non-BulkWriteError [#14993](https://redirect.github.com/Automattic/mongoose/issues/14993) - types: added toJSON:flattenObjectIds effect [#14989](https://redirect.github.com/Automattic/mongoose/issues/14989) - types: add `__v` to lean() result type and ModifyResult [#14990](https://redirect.github.com/Automattic/mongoose/issues/14990) [#12959](https://redirect.github.com/Automattic/mongoose/issues/12959) - types: use globalThis instead of global for NativeDate [#14992](https://redirect.github.com/Automattic/mongoose/issues/14992) [#14988](https://redirect.github.com/Automattic/mongoose/issues/14988) - docs(change-streams): fix markdown syntax highlighting for script output example [#14994](https://redirect.github.com/Automattic/mongoose/issues/14994)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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.