Skip to content

Commit

Permalink
chore(repo): Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkl committed Nov 3, 2023
1 parent 2db7885 commit ae6352e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .changeset/popular-singers-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
'@clerk/clerk-sdk-node': major
---

Drop deprecations. Migration steps:

- use `CLERK_SECRET_KEY` instead of `CLERK_API_KEY` env variable
- use `secretKey` instead of `apiKey`
- use `CLERK_PUBLISHABLE_KEY` instead of `CLERK_FRONTEND_API` env variable
- use `publishableKey` instead of `frontendApi`
- drop Redwood hotfix (upgrade to latest version)
- use `createClerkClient` with options to create a new clerkClient instead of using
the following setters:
- `setClerkApiVersion`
- `setClerkHttpOptions`
- `setClerkServerApiUrl`
- `setClerkApiKey`
- use `@clerk/clerk-sdk-node/instance` subpath import instead of `@clerk/clerk-sdk-node/{cjs|esm}/instance`

Extra:
- improve esm/cjs exports and bundle only index.ts and instance.ts

0 comments on commit ae6352e

Please sign in to comment.