Skip to content

Commit 2c63a02

Browse files
committed
chore(*): Add individual changesets
1 parent 2cd75fd commit 2c63a02

6 files changed

+113
-19
lines changed

.changeset/eight-badgers-speak.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
'@clerk/clerk-sdk-node': major
3+
---
4+
5+
## Breaking Changes
6+
7+
(Note: This is only relevant if, in the unlikely case, you are using `Clerk` from `@clerk/clerk-sdk-node` directly. If not, you can safely ignore this change.)
8+
9+
Remove the named `Clerk` import from `@clerk/clerk-sdk-node` and import `createClerkClient` instead. The latter is a factory method to create a Clerk client instance for you. This update aligns usage across our SDKs and will enable us to ship DX improvements better in the future. [SDK-1058]
10+
11+
```js
12+
import { Clerk } from '@clerk/clerk-sdk-node';
13+
const clerk = Clerk({ secretKey: '...' });
14+
```
15+
16+
You need to rename the import from `Clerk` to `createClerkClient` and change its usage:
17+
18+
```js
19+
import { createClerkClient } from '@clerk/clerk-sdk-node';
20+
const clerk = createClerkClient({ secretKey: '...' });
21+
```

.changeset/fuzzy-years-taste.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,22 @@
11
---
22
'@clerk/backend': major
3-
'@clerk/nextjs': major
4-
'@clerk/remix': major
5-
'gatsby-plugin-clerk': major
63
---
74

85
## Breaking Changes
96

10-
### @clerk/backend
11-
12-
Replace `Clerk` with `createClerkClient` [SDK-1058]
7+
Remove the named `Clerk` import from `@clerk/backend` and import `createClerkClient` instead. The latter is a factory method that will create a Clerk client instance for you. This aligns usage across our SDKs and will enable us to better ship DX improvements in the future. [SDK-1058]
138

149

10+
Inside your code, search for occurrences like these:
11+
1512
```js
1613
import { Clerk } from '@clerk/backend';
1714
const clerk = Clerk({ secretKey: '...' });
1815
```
1916

20-
now becomes:
17+
You need to rename the import from `Clerk` to `createClerkClient` and change its usage:
2118

2219
```js
2320
import { createClerkClient } from '@clerk/backend';
2421
const clerk = createClerkClient({ secretKey: '...' });
2522
```
26-
27-
### @clerk/gatsby-plugin-clerk
28-
29-
No longer returning `Clerk`. Please replace with `createClerkClient`
30-
31-
### @clerk/nextjs
32-
33-
No longer returning `Clerk`. Please replace with `createClerkClient`
34-
35-
### @clerk/remix
36-
37-
No longer returning `Clerk`. Please replace with `createClerkClient`

.changeset/metal-ears-cheat.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
'gatsby-plugin-clerk': major
3+
---
4+
5+
## Breaking Changes
6+
7+
Remove the named `Clerk` import from `gatsby-plugin-clerk` and import `createClerkClient` instead. The latter is a factory method to create a Clerk client instance for you. This update aligns usage across our SDKs and will enable us to ship DX improvements better in the future. [SDK-1058]
8+
9+
Inside your code, search for occurrences like these:
10+
11+
```js
12+
import { Clerk } from 'gatsby-plugin-clerk';
13+
const clerk = Clerk({ secretKey: '...' });
14+
```
15+
16+
You need to rename the import from `Clerk` to `createClerkClient` and change its usage:
17+
18+
```js
19+
import { createClerkClient } from 'gatsby-plugin-clerk';
20+
const clerk = createClerkClient({ secretKey: '...' });
21+
```

.changeset/shiny-pumas-share.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
'@clerk/remix': major
3+
---
4+
5+
## Breaking Changes
6+
7+
(Note: This is only relevant if, in the unlikely case, you are using `Clerk` from `@clerk/remix` directly. If not, you can safely ignore this change.)
8+
9+
Remove the named `Clerk` import from `@clerk/remix` and import `createClerkClient` instead. The latter is a factory method to create a Clerk client instance for you. This update aligns usage across our SDKs and will enable us to ship DX improvements better in the future. [SDK-1058]
10+
11+
```js
12+
import { Clerk } from '@clerk/remix';
13+
const clerk = Clerk({ secretKey: '...' });
14+
```
15+
16+
You need to rename the import from `Clerk` to `createClerkClient` and change its usage:
17+
18+
```js
19+
import { createClerkClient } from '@clerk/remix';
20+
const clerk = createClerkClient({ secretKey: '...' });
21+
```
22+

.changeset/small-cats-check.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
'@clerk/fastify': major
3+
---
4+
5+
## Breaking Changes
6+
7+
(Note: This is only relevant if, in the unlikely case, you are using `Clerk` from `@clerk/fastify` directly. If not, you can safely ignore this change.)
8+
9+
Remove the named `Clerk` import from `@clerk/fastify` and import `createClerkClient` instead. The latter is a factory method to create a Clerk client instance for you. This update aligns usage across our SDKs and will enable us to ship DX improvements better in the future. [SDK-1058]
10+
11+
12+
```js
13+
import { Clerk } from '@clerk/fastify';
14+
const clerk = Clerk({ secretKey: '...' });
15+
```
16+
17+
You need to rename the import from `Clerk` to `createClerkClient` and change its usage:
18+
19+
```js
20+
import { createClerkClient } from '@clerk/fastify';
21+
const clerk = createClerkClient({ secretKey: '...' });
22+
```
23+

.changeset/sour-avocados-sin.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
'@clerk/nextjs': major
3+
---
4+
5+
## Breaking Changes
6+
7+
(Note: This is only relevant if, in the unlikely case, you are using `Clerk` from `@clerk/nextjs` directly. If not, you can safely ignore this change.)
8+
9+
Remove the named `Clerk` import from `@clerk/nextjs` and import `createClerkClient` instead. The latter is a factory method to create a Clerk client instance for you. This update aligns usage across our SDKs and will enable us to ship DX improvements better in the future. [SDK-1058]
10+
11+
```js
12+
import { Clerk } from '@clerk/nextjs';
13+
const clerk = Clerk({ secretKey: '...' });
14+
```
15+
16+
You need to rename the import from `Clerk` to `createClerkClient` and change its usage:
17+
18+
```js
19+
import { createClerkClient } from '@clerk/nextjs';
20+
const clerk = createClerkClient({ secretKey: '...' });
21+
```
22+

0 commit comments

Comments
 (0)