Skip to content

dependabot npm(deps): bump mongoose from 7.3.4 to 7.4.0

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

Bumps mongoose from 7.3.4 to 7.4.0.

Release notes

Sourced from mongoose's releases.

7.4.0 / 2023-07-18

  • perf: speed up mapOfSubdocs benchmark by 4x by avoiding unnecessary O(n^2) loop in getPathsToValidate() #13614
  • feat: upgrade to MongoDB Node.js driver 5.7.0 #13591
  • feat: support generating custom cast error message with a function #13608 #3162
  • feat(query): support MongoDB driver's includeResultMetadata option for findOneAndUpdate #13584 #13539
  • feat(connection): add Connection.prototype.removeDb() for removing a related connection #13580 #11821
  • feat(query): delay converting documents into POJOs until query execution, allow querying subdocuments with defaults disabled #13522
  • feat(model): add option "aggregateErrors" for create() #13544 hasezoey
  • feat(schema): add collectionOptions option to schemas #13513
  • fix: move all MongoDB-specific connection logic into driver layer, add createClient() method to handle creating MongoClient #13542
  • fix(document): allow setting keys with dots in mixed paths underneath nested paths #13536
  • types: augment bson.ObjectId instead of adding on own type #13515 #12537 hasezoey
  • docs(guide): fix md lint #13593 hasezoey
  • docs: changed the code from 'await author.save()' to 'await story1.save()' #13596 SomSingh23
Changelog

Sourced from mongoose's changelog.

7.4.0 / 2023-07-18

  • perf: speed up mapOfSubdocs benchmark by 4x by avoiding unnecessary O(n^2) loop in getPathsToValidate() #13614
  • feat: upgrade to MongoDB Node.js driver 5.7.0 #13591
  • feat: support generating custom cast error message with a function #13608 #3162
  • feat(query): support MongoDB driver's includeResultMetadata option for findOneAndUpdate #13584 #13539
  • feat(connection): add Connection.prototype.removeDb() for removing a related connection #13580 #11821
  • feat(query): delay converting documents into POJOs until query execution, allow querying subdocuments with defaults disabled #13522
  • feat(model): add option "aggregateErrors" for create() #13544 hasezoey
  • feat(schema): add collectionOptions option to schemas #13513
  • fix: move all MongoDB-specific connection logic into driver layer, add createClient() method to handle creating MongoClient #13542
  • fix(document): allow setting keys with dots in mixed paths underneath nested paths #13536
  • types: augment bson.ObjectId instead of adding on own type #13515 #12537 hasezoey
  • docs(guide): fix md lint #13593 hasezoey
  • docs: changed the code from 'await author.save()' to 'await story1.save()' #13596 SomSingh23

6.11.4 / 2023-07-17

  • perf: speed up mapOfSubdocs benchmark by 4x by avoiding unnecessary O(n^2) loop in getPathsToValidate() #13614
Commits
  • 587983e chore: release 7.4.0
  • 52a6485 Merge pull request #13613 from Automattic/7.4
  • 8378c82 types: allow any value for $meta because MongoDB now supports values other th...
  • 7e47266 Merge branch 'master' into 7.4
  • 8c17b91 Merge branch '6.x'
  • 20b030e chore: release 6.11.4
  • 895bc32 Merge pull request #13614 from Automattic/vkarpov15/gh-13191-2
  • b8ebe80 perf: speed up mapOfSubdocs benchmark by 4x by avoiding unnecessary O(n^2) lo...
  • dcc4c9a perf: some more small optimizations
  • 69405b2 Merge branch '6.x' into vkarpov15/gh-13191-2
  • Additional commits viewable in compare view

Merge request reports

Loading