-
Notifications
You must be signed in to change notification settings - Fork 879
feat(security) Allow end users to get automatic security patches without having to do a release of this package #2739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: canary
Are you sure you want to change the base?
Conversation
|
|
@stefanoruth is attempting to deploy a commit to the resend Team on Vercel. A member of the Team first needs to authorize it. |
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 3 files
| "main": "./index.mjs", | ||
| "dependencies": { | ||
| "next": "16.0.10" | ||
| "next": "^16.0.10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can do this for other packages, but not for Next.js. We publish a built version of the Next app and the built app between different versions of Next.js is not guaranteed to not break, and it has broken before so we'd rather keep this one pinned.
By addding ^ to the most common dependencies we allow other developers consuming this package to get security updates (patches) without having to release a new version of this package everytime.
Currently i see a code fix for using nextjs 16.0.10 that have been fixed 5 days ago, but there is no release for it yet unfortunatly.
Summary by cubic
Enable automatic security updates for consumers by switching fixed dependency versions to caret ranges in components, preview-server, and react-email. Compatible patches (and minors where safe) now roll in without releasing a new package version.
Written for commit 302dfe5. Summary will update automatically on new commits.