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 |
LekoArts
left a comment
There was a problem hiding this comment.
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
| ## 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.
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.
| Upgrade all packages to node@v18 version, moved some deps to dev dependencies | ||
| and introduced `isomorphicBtoa` helper in `@clerk/shared`. No newline at end of file |
There was a problem hiding this comment.
| 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
| "web-vitals": "^2.1.4" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "^18.18", |
There was a problem hiding this comment.
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 testruns as expected.npm run buildruns 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-extensiongatsby-plugin-clerkbuild/tooling/chore