Skip to content

Commit cfe0d94

Browse files
ci(repo): Version packages
1 parent bffb42a commit cfe0d94

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+299
-110
lines changed

.changeset/cool-geckos-stick.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

.changeset/fair-ways-create.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/giant-comics-argue.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/grumpy-lamps-study.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/smart-pandas-carry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/violet-terms-fix.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/agent-toolkit/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @clerk/agent-toolkit
22

3+
## 0.1.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`f1be1fe`](https://github.com/clerk/javascript/commit/f1be1fe3d575c11acd04fc7aadcdec8f89829894), [`bffb42a`](https://github.com/clerk/javascript/commit/bffb42aaf266a188b9ae7d16ace3024d468a3bd4)]:
8+
- @clerk/types@4.62.0
9+
- @clerk/shared@3.10.0
10+
- @clerk/backend@2.2.1
11+
312
## 0.1.2
413

514
### Patch Changes

packages/agent-toolkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clerk/agent-toolkit",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Clerk Toolkit for AI Agents",
55
"homepage": "https://clerk.com/",
66
"bugs": {

packages/astro/CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,68 @@
11
# @clerk/astro
22

3+
## 2.10.0
4+
5+
### Minor Changes
6+
7+
- Introduce feature or plan based authorization ([#6188](https://github.com/clerk/javascript/pull/6188)) by [@wobsoriano](https://github.com/wobsoriano)
8+
9+
## `<Protect />`
10+
11+
### Plan
12+
13+
```html
14+
<Protect plan="my-plan" />
15+
```
16+
17+
### Feature
18+
19+
```html
20+
<Protect feature="my-feature" />
21+
```
22+
23+
### Scoped per user or per org
24+
25+
```html
26+
<Protect feature="org:my-feature" />
27+
<Protect feature="user:my-feature" />
28+
<Protect plan="org:my-plan" />
29+
<Protect plan="user:my-plan" />
30+
```
31+
32+
## `useAuth()` in React
33+
34+
### Plan
35+
36+
```ts
37+
const { has } = useAuth();
38+
has({ plan: 'my-plan' });
39+
```
40+
41+
### Feature
42+
43+
```ts
44+
const { has } = useAuth();
45+
has({ feature: 'my-feature' });
46+
```
47+
48+
### Scoped per user or per org
49+
50+
```ts
51+
const { has } = useAuth();
52+
53+
has({ feature: 'org:my-feature' });
54+
has({ feature: 'user:my-feature' });
55+
has({ plan: 'user:my-plan' });
56+
has({ plan: 'org:my-plan' });
57+
```
58+
59+
### Patch Changes
60+
61+
- Updated dependencies [[`f1be1fe`](https://github.com/clerk/javascript/commit/f1be1fe3d575c11acd04fc7aadcdec8f89829894), [`bffb42a`](https://github.com/clerk/javascript/commit/bffb42aaf266a188b9ae7d16ace3024d468a3bd4)]:
62+
- @clerk/types@4.62.0
63+
- @clerk/shared@3.10.0
64+
- @clerk/backend@2.2.1
65+
366
## 2.9.2
467

568
### Patch Changes

packages/astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clerk/astro",
3-
"version": "2.9.2",
3+
"version": "2.10.0",
44
"description": "Clerk SDK for Astro",
55
"keywords": [
66
"auth",

0 commit comments

Comments
 (0)