From 89392ae949f7f697fe067c01085d9eda2ae4f74d Mon Sep 17 00:00:00 2001 From: wobsoriano Date: Tue, 8 Oct 2024 15:58:53 -0700 Subject: [PATCH 1/3] chore(sdk-node): Add transition perioud notice and migration info --- README.md | 6 +++--- packages/sdk-node/README.md | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0aeac9ce9c9..a7389aeb604 100644 --- a/README.md +++ b/README.md @@ -39,11 +39,11 @@ Would you like to work on Open Source software and help maintain this repository This repository contains the SDKs for environment/platforms that Clerk supports. For example, if you want to use Clerk with Node.js you can install: ```sh -npm install @clerk/clerk-sdk-node +npm install @clerk/backend # or -yarn add @clerk/clerk-sdk-node +yarn add @clerk/backend # or -pnpm add @clerk/clerk-sdk-node +pnpm add @clerk/backend ``` ## 🎓 Learning Clerk diff --git a/packages/sdk-node/README.md b/packages/sdk-node/README.md index e1fdedb1b9d..95ac976fda5 100644 --- a/packages/sdk-node/README.md +++ b/packages/sdk-node/README.md @@ -25,6 +25,9 @@ +> [!IMPORTANT] +> Starting October 8, 2024, the Node SDK is entering a three-month notice period. We encourage everyone to migrate to `@clerk/express`. For full details, please see our [changelog](https://clerk.com/changelog/2024-10-08-express-sdk). + ## Getting Started [Clerk](https://clerk.com/?utm_source=github&utm_medium=clerk_sdk_node) is the easiest way to add authentication and user management to your Node.js application. Add sign up, sign in, and profile management to your application in minutes. From 767bd5c5ffdfd77d7a04a0278ee4da2be2da45d1 Mon Sep 17 00:00:00 2001 From: Robert Soriano Date: Tue, 8 Oct 2024 16:04:13 -0700 Subject: [PATCH 2/3] chore: add changeset --- .changeset/neat-wasps-explain.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/neat-wasps-explain.md diff --git a/.changeset/neat-wasps-explain.md b/.changeset/neat-wasps-explain.md new file mode 100644 index 00000000000..639fe7cc17e --- /dev/null +++ b/.changeset/neat-wasps-explain.md @@ -0,0 +1,5 @@ +--- +"@clerk/clerk-sdk-node": patch +--- + +Add transition period notice and migration info From a1b79d35dcac3f2650c987db79742beee2aac749 Mon Sep 17 00:00:00 2001 From: wobsoriano Date: Wed, 9 Oct 2024 08:58:50 -0700 Subject: [PATCH 3/3] chore: log deprecation notice --- packages/sdk-node/src/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/sdk-node/src/index.ts b/packages/sdk-node/src/index.ts index 6de071dd83c..4194c5e28e5 100644 --- a/packages/sdk-node/src/index.ts +++ b/packages/sdk-node/src/index.ts @@ -24,3 +24,9 @@ export { createClerkExpressRequireAuth, createClerkExpressWithAuth }; export { requireAuth } from './requireAuth'; export { withAuth } from './withAuth'; + +console.warn( + 'Starting October 8, 2024, the Node SDK is entering a three-month notice period. ' + + 'We encourage everyone to migrate to @clerk/express. ' + + 'For full details, please see our changelog: https://clerk.com/changelog/2024-10-08-express-sdk', +);