Skip to content

dependabot npm(deps): bump mongoose from 8.7.3 to 8.8.0

Depen d'Abot requested to merge dependabot-npm_and_yarn-mongoose-8.8.0 into master

Bumps mongoose from 8.7.3 to 8.8.0.

Release notes

Sourced from mongoose's releases.

8.8.0 / 2024-10-31

  • feat: upgrade mongodb -> ~6.10 #14991 #14877
  • feat(query): add schemaLevelProjections option to query to disable schema-level select: false #14986 #11474
  • feat: allow defining virtuals on arrays, not just array elements #14955 #2326
  • feat(model): add applyTimestamps() function to apply all schema timestamps, including subdocuments, to a given POJO #14943 #14698
  • feat(model): add hideIndexes option to syncIndexes() and cleanIndexes() #14987 #14868
  • fix(query): make sanitizeFilter disable implicit $in #14985 #14657
  • fix(model): avoid unhandled error if createIndex() throws a sync error #14995
  • fix(model): avoid throwing TypeError if bulkSave()'s bulkWrite() fails with a non-BulkWriteError #14993
  • types: added toJSON:flattenObjectIds effect #14989
  • types: add __v to lean() result type and ModifyResult #14990 #12959
  • types: use globalThis instead of global for NativeDate #14992 #14988
  • docs(change-streams): fix markdown syntax highlighting for script output example #14994
Changelog

Sourced from mongoose's changelog.

8.8.0 / 2024-10-31

  • feat: upgrade mongodb -> ~6.10 #14991 #14877
  • feat(query): add schemaLevelProjections option to query to disable schema-level select: false #14986 #11474
  • feat: allow defining virtuals on arrays, not just array elements #14955 #2326
  • feat(model): add applyTimestamps() function to apply all schema timestamps, including subdocuments, to a given POJO #14943 #14698
  • feat(model): add hideIndexes option to syncIndexes() and cleanIndexes() #14987 #14868
  • fix(query): make sanitizeFilter disable implicit $in #14985 #14657
  • fix(model): avoid unhandled error if createIndex() throws a sync error #14995
  • fix(model): avoid throwing TypeError if bulkSave()'s bulkWrite() fails with a non-BulkWriteError #14993
  • types: added toJSON:flattenObjectIds effect #14989
  • types: add __v to lean() result type and ModifyResult #14990 #12959
  • types: use globalThis instead of global for NativeDate #14992 #14988
  • docs(change-streams): fix markdown syntax highlighting for script output example #14994
Commits
  • 10a3aed chore: release 8.8.0
  • 326f9ab chore: bump max num of instantiations for typescript
  • 53b2750 Merge pull request #14996 from Automattic/8.8
  • 8e4411d Merge pull request #14995 from Automattic/vkarpov15/createindex-sync-error
  • 36e3d9d Merge pull request #14993 from Automattic/vkarpov15/bulksave-writeerrors
  • 66b44b5 fix: better way to handle non-MongoBulkWriteErrors
  • 5e9ee2c Merge pull request #14994 from dragontaek-lee/format-change-stream-result-exa...
  • 6d1eda7 Merge pull request #14989 from OguzBey/tojson-type-improve
  • 38ee9bf Merge branch 'master' into 8.8
  • 95e182a Merge pull request #14990 from Automattic/vkarpov15/gh-12959-versionkey
  • Additional commits viewable in compare view

Merge request reports

Loading