Skip to content

Commit ff2fb69

Browse files
chore(repo): Version packages (#2330)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 96b9bb5 commit ff2fb69

31 files changed

+246
-87
lines changed

.changeset/angry-clocks-attend.md

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

.changeset/friendly-parrots-nail.md

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

.changeset/long-dancers-whisper.md

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

.changeset/short-eagles-search.md

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

.changeset/thirty-chicken-divide.md

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

packages/backend/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Change Log
22

3+
## 0.36.0
4+
5+
### Minor Changes
6+
7+
- Introduce Protect for authorization. ([#2309](https://github.com/clerk/javascript/pull/2309)) by [@panteliselef](https://github.com/panteliselef)
8+
9+
Changes in public APIs:
10+
11+
- Rename Gate to Protect
12+
- Support for permission checks. (Previously only roles could be used)
13+
- Remove the `experimental` tags and prefixes
14+
- Drop `some` from the `has` utility and Protect. Protect now accepts a `condition` prop where a function is expected with the `has` being exposed as the param.
15+
- Protect can now be used without required props. In this case behaves as `<SignedIn>`, if no authorization props are passed.
16+
- `has` will throw an error if neither `permission` or `role` is passed.
17+
- `auth().protect()` for Nextjs App Router. Allow per page protection in app router. This utility will automatically throw a 404 error if user is not authorized or authenticated.
18+
- inside a page or layout file it will render the nearest `not-found` component set by the developer
19+
- inside a route handler it will return empty response body with a 404 status code
20+
21+
### Patch Changes
22+
23+
- Updated dependencies [[`b4868ab8f`](https://github.com/clerk/javascript/commit/b4868ab8fdb84144d2016b49e67e7fdd2c348316), [`2dc93d4d8`](https://github.com/clerk/javascript/commit/2dc93d4d8dcdc5f83c21576400ae6d6f43705847)]:
24+
- @clerk/types@3.60.0
25+
326
## 0.35.1
427

528
### Patch Changes

packages/backend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clerk/backend",
3-
"version": "0.35.1",
3+
"version": "0.36.0",
44
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
55
"homepage": "https://clerk.com/",
66
"bugs": {
@@ -56,7 +56,7 @@
5656
},
5757
"dependencies": {
5858
"@clerk/shared": "1.1.1",
59-
"@clerk/types": "3.59.0",
59+
"@clerk/types": "3.60.0",
6060
"@peculiar/webcrypto": "1.4.1",
6161
"@types/node": "16.18.6",
6262
"cookie": "0.5.0",

packages/chrome-extension/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Change Log
22

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- Introduce Protect for authorization. ([#2309](https://github.com/clerk/javascript/pull/2309)) by [@panteliselef](https://github.com/panteliselef)
8+
9+
Changes in public APIs:
10+
11+
- Rename Gate to Protect
12+
- Support for permission checks. (Previously only roles could be used)
13+
- Remove the `experimental` tags and prefixes
14+
- Drop `some` from the `has` utility and Protect. Protect now accepts a `condition` prop where a function is expected with the `has` being exposed as the param.
15+
- Protect can now be used without required props. In this case behaves as `<SignedIn>`, if no authorization props are passed.
16+
- `has` will throw an error if neither `permission` or `role` is passed.
17+
- `auth().protect()` for Nextjs App Router. Allow per page protection in app router. This utility will automatically throw a 404 error if user is not authorized or authenticated.
18+
- inside a page or layout file it will render the nearest `not-found` component set by the developer
19+
- inside a route handler it will return empty response body with a 404 status code
20+
21+
### Patch Changes
22+
23+
- Updated dependencies [[`b4868ab8f`](https://github.com/clerk/javascript/commit/b4868ab8fdb84144d2016b49e67e7fdd2c348316), [`2dc93d4d8`](https://github.com/clerk/javascript/commit/2dc93d4d8dcdc5f83c21576400ae6d6f43705847)]:
24+
- @clerk/clerk-js@4.67.0
25+
- @clerk/clerk-react@4.30.0
26+
327
## 0.5.8
428

529
### Patch Changes

packages/chrome-extension/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clerk/chrome-extension",
3-
"version": "0.5.8",
3+
"version": "0.6.0",
44
"description": "Clerk SDK for Chrome extensions",
55
"keywords": [
66
"auth",
@@ -45,8 +45,8 @@
4545
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
4646
},
4747
"dependencies": {
48-
"@clerk/clerk-js": "4.66.0",
49-
"@clerk/clerk-react": "4.29.0"
48+
"@clerk/clerk-js": "4.67.0",
49+
"@clerk/clerk-react": "4.30.0"
5050
},
5151
"devDependencies": {
5252
"@types/chrome": "*",

packages/clerk-js/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Change Log
22

3+
## 4.67.0
4+
5+
### Minor Changes
6+
7+
- Introduce Protect for authorization. ([#2309](https://github.com/clerk/javascript/pull/2309)) by [@panteliselef](https://github.com/panteliselef)
8+
9+
Changes in public APIs:
10+
11+
- Rename Gate to Protect
12+
- Support for permission checks. (Previously only roles could be used)
13+
- Remove the `experimental` tags and prefixes
14+
- Drop `some` from the `has` utility and Protect. Protect now accepts a `condition` prop where a function is expected with the `has` being exposed as the param.
15+
- Protect can now be used without required props. In this case behaves as `<SignedIn>`, if no authorization props are passed.
16+
- `has` will throw an error if neither `permission` or `role` is passed.
17+
- `auth().protect()` for Nextjs App Router. Allow per page protection in app router. This utility will automatically throw a 404 error if user is not authorized or authenticated.
18+
- inside a page or layout file it will render the nearest `not-found` component set by the developer
19+
- inside a route handler it will return empty response body with a 404 status code
20+
21+
### Patch Changes
22+
23+
- Update `@zxcvbn-ts/core` from `2.2.1` to `3.0.4`. Update `@zxcvbn-ts/language-common` from `3.0.2` to `3.0.4`. ([#2332](https://github.com/clerk/javascript/pull/2332)) by [@clerk-cookie](https://github.com/clerk-cookie)
24+
25+
- Updated dependencies [[`b4868ab8f`](https://github.com/clerk/javascript/commit/b4868ab8fdb84144d2016b49e67e7fdd2c348316), [`2dc93d4d8`](https://github.com/clerk/javascript/commit/2dc93d4d8dcdc5f83c21576400ae6d6f43705847)]:
26+
- @clerk/types@3.60.0
27+
- @clerk/localizations@1.26.13
28+
329
## 4.66.0
430

531
### Minor Changes

0 commit comments

Comments
 (0)