Skip to content

Commit

Permalink
chore(clerk-sdk-node): Add transition period notice and migration info (
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano authored Oct 9, 2024
1 parent e50ce1b commit b0a85b4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/neat-wasps-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clerk/clerk-sdk-node": patch
---

Add transition period notice and migration info
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions packages/sdk-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@

</div>

> [!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.
Expand Down
6 changes: 6 additions & 0 deletions packages/sdk-node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);

0 comments on commit b0a85b4

Please sign in to comment.