Skip to content

[Snyk] Upgrade mongoose from 7.6.5 to 8.0.0#11

Open
Abhinavxox wants to merge 1 commit intomainfrom
snyk-upgrade-37252f9615968c1dd0f1f416003de275
Open

[Snyk] Upgrade mongoose from 7.6.5 to 8.0.0#11
Abhinavxox wants to merge 1 commit intomainfrom
snyk-upgrade-37252f9615968c1dd0f1f416003de275

Conversation

@Abhinavxox
Copy link
Copy Markdown
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade mongoose from 7.6.5 to 8.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 2 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2023-10-31.
Release notes
Package name: mongoose
  • 8.0.0 - 2023-10-31

    8.0.0 / 2023-10-31

    • docs: add version support notes for Mongoose 8, including EOL date for Mongoose 6
  • 8.0.0-rc0 - 2023-10-24

    8.0.0-rc0 / 2023-10-24

    • BREAKING CHANGE: use MongoDB node driver 6, drop support for rawResult option and findOneAndRemove() #13753
    • BREAKING CHANGE: apply minimize by default when updating document #13843
    • BREAKING CHANGE: remove id setter #13784
    • BREAKING CHANGE: remove overwrite option for updateOne(), findOneAndUpdate(), etc. #13989 #13578
    • BREAKING CHANGE: make model.prototype.deleteOne() return query, not promise #13660 #13369
    • BREAKING CHANGE: remove Model.count(), Query.prototype.count() #13618 #13598
    • BREAKING CHANGE: allow null values for string enum #13620 #3044
    • BREAKING CHANGE: make base schema paths come before discriminator schema paths when running setters, validators, etc. #13846 #13794
    • BREAKING CHANGE: make Model.validate() use Model.castObject() to cast, and return casted copy of object instead of modifying in place #13287 #12668
    • BREAKING CHANGE: make internal file names all camelCase #13950 #13909 #13308
    • BREAKING CHANGE: make create() wait for all documents to finish inserting or error out before throwing an error if ordered = false #13621 #4628
    • BREAKING CHANGE: refactor out mongoose/lib/mongoose.js file to allow importing Mongoose without MongoDB driver #13905
    • BREAKING CHANGE(types): allow null for optional fields #13901
    • BREAKING CHANGE(types): infer return types types for Model.distinct and Query.distinct #13836 kaulshashank
  • 7.6.5 - 2023-11-14

    chore: release 7.6.5

from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • 5821568 chore: release 8.0.0
  • 3f850ce docs: add version support notes for Mongoose 8, including EOL date for Mongoose 6
  • db92dd9 Merge pull request #14004 from hasezoey/fixwebsite
  • 68166bf chore(scripts/website): fix script to correctly parse "-rc" like versions
  • c28cffe chore: release 8.0.0-rc0
  • 4280457 Merge pull request #13937 from Automattic/8.0
  • 502ec4b Merge pull request #13990 from Automattic/vkarpov15/gh-13897
  • 572e018 chore: add 8.0.0-rc0 changelog
  • b567ec6 feat: upgrade to MongoDB driver 6.2.0
  • 9e9ad37 Merge branch 'master' into 8.0
  • d3d2ec4 docs(migrating_to_8): add note about #13897 to migration guide
  • 8d61a7d Merge branch '8.0' into vkarpov15/gh-13897
  • f923f6c Merge pull request #13989 from Automattic/vkarpov15/gh-13578
  • 30888e3 test: fix typescript tests
  • ce66e23 fix lint
  • 8fe5c36 docs: fix lint
  • c7f110e docs(migrating_to_8): add note about `overwrite` to migration guide
  • d6cd1db test: fix a couple of failing tests
  • 84ac690 Merge branch '8.0' into vkarpov15/gh-13578
  • c5b16fe test: add additional assert re: code review comment
  • b630afb docs(migrating_to_8): add missing issues to migration guide
  • eefe935 Merge branch 'master' into 8.0
  • 4a2cb0b types(models): make all properties to Model constructor optional
  • f6ed0eb refactor: remove remaining usage of `overwrite` option

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@vercel
Copy link
Copy Markdown

vercel bot commented Nov 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hamro-kinmel ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2023 6:18pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants