-
Notifications
You must be signed in to change notification settings - Fork 253
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
chore(repo): Deprecate node@{14,15,16,17} versions #1864
Conversation
🦋 Changeset detectedLatest commit: 8553f03 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
It would be good to add the engines
field to all packages, e.g. shared
is missing that information
For our reasoning why we chose Node 18 we should use https://github.com/nodejs/release#release-schedule for our changelog. We'll just follow the LTS plan
The reason we chose Node 18 for the v5 release is outlined here: https://nodejs.org/en/blog/announcements/nodejs16-eol |
Blocked by #1837 |
5413517
to
20bead7
Compare
502b56d
to
781bdcc
Compare
packages/backend/README.md
Outdated
@@ -48,7 +48,7 @@ This package provides Clerk Backend API resources and low-level authentication u | |||
|
|||
## How to use | |||
|
|||
Works on Node >= 16 or on any V8 Isolates runtimes such as Cloudflare Workers. | |||
Works on Node.js `^18.18` (or later) or on any V8 Isolates runtimes (eg Cloudflare Workers). |
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.
In the README you write ^18.18
but in the engines
field we have >=18
.
Currently that would mean we allow ^18.0.0
. So if you want to have ^18.18.0
you'll need to adjust the engines
field everywhere.
.changeset/purple-pumas-study.md
Outdated
Upgrade all packages to node@v18 version, moved some deps to dev dependencies | ||
and introduced `isomorphicBtoa` helper in `@clerk/shared`. |
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.
Upgrade all packages to node@v18 version, moved some deps to dev dependencies | |
and introduced `isomorphicBtoa` helper in `@clerk/shared`. | |
Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is `18.18.0` now. |
For the new helper in @clerk/shared
you can add a new changeset with a minor
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-scripts": "5.0.1", | ||
"typescript": "^4.9.5", | ||
"web-vitals": "^2.1.4" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.18", |
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.
Nit: You write 18.18
everywhere but it would be better to also have the patch version everywhere. So if you mean 18.18.0
then use that
@LekoArts : I will update the |
7361d84
to
03d3ece
Compare
@LekoArts changes applied, ptal. |
Description
Some information about changes for all those node versions
Checklist
npm test
runs as expected.npm run build
runs as expected.Type of change
Packages affected
@clerk/clerk-js
@clerk/clerk-react
@clerk/nextjs
@clerk/remix
@clerk/types
@clerk/themes
@clerk/localizations
@clerk/clerk-expo
@clerk/backend
@clerk/clerk-sdk-node
@clerk/shared
@clerk/fastify
@clerk/chrome-extension
gatsby-plugin-clerk
build/tooling/chore