Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/database-email-update/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@notionhq/client": "file:../../",
"@sendgrid/mail": "^7.7.0",
"@sendgrid/mail": "^8.0.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This upgrade to @sendgrid/mail v8.0.0 introduces a new, stricter requirement for the Node.js version, which is a breaking change for this project.

  • @sendgrid/mail@^7.7.0 requires Node.js >=6.
  • @sendgrid/mail@^8.0.0 requires Node.js >=14.16.

The root package.json for this repository specifies "node": ">=12". This update will cause dependency installation to fail or lead to runtime errors on environments using Node.js versions 12 and 13, which were previously supported.

To resolve this, you should consider either updating the project's required Node.js version in the root package.json and associated CI/deployment environments, or postponing this upgrade if you must maintain compatibility with older Node.js versions.

"dotenv": "^16.0.1",
"ts-node": "^10.8.2"
},
Expand Down