[Snyk] Upgrade mongoose from 7.3.4 to 7.4.0
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade mongoose from 7.3.4 to 7.4.0.
- The recommended version is 1 version ahead of your current version.
- The recommended version was released 21 days ago, on 2023-07-18.
Release notes
Package name: mongoose
-
7.4.0 - 2023-07-18
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
-
7.3.4 - 2023-07-12
7.3.4 / 2023-07-12
- chore: release 7.4.4 to overwrite accidental publish of 5.13.20 to latest tag
Commit messages
Package name: mongoose
- 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 than "textScore" for $meta
- 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) loop in getPathsToValidate()
- dcc4c9a perf: some more small optimizations
- 69405b2 Merge branch '6.x' into vkarpov15/gh-13191-2
- c9e8861 Merge pull request #13608 from Automattic/vkarpov15/gh-3162
- 5db1d0d test: fix #3162 tests
- 96ff8ab fix lint, try fixing ts benchmark blowup
- d6cf0a0 docs: explain how to overwrite cast error messages in validation docs
- 57a5db5 feat: support generating custom cast error message with a function
- c1c0dcc Merge branch 'master' into 7.4
- eeefdd2 Merge pull request #13596 from SomSingh23/populate
- ed901d9 Merge branch 'Automattic:master' into populate
- fe9f43c text formatting off , no change in code
- 05cfd01 Merge pull request #13544 from hasezoey/fix1731
- f827937 Changed the code from 'await author.save()' to 'await story1.save()' inside the 'docs/populate.md' file.
- a4feabb Merge pull request #13591 from Automattic/vkarpov15/mongodb-57
- 1d2c79f Merge pull request #13580 from Automattic/vkarpov15/gh-11821
- 5635aad Merge pull request #13593 from hasezoey/74mdlint
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.