Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/pre.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,6 +20,7 @@
"@clerk/elements": "0.0.1"
},
"changesets": [
"afraid-falcons-leave",
"afraid-nails-play",
"angry-beers-play",
"angry-clocks-attend",
Expand DownExpand Up@@ -67,6 +68,7 @@
"dirty-chefs-sell",
"dirty-icons-rescue",
"dirty-panthers-begin",
"dirty-rockets-cheat",
"dirty-sheep-warn",
"dirty-swans-joke",
"dry-feet-join",
Expand All@@ -80,6 +82,7 @@
"early-timers-wave",
"early-tomatoes-hide",
"eight-badgers-speak",
"eight-cherries-tan",
"eighty-walls-appear",
"eleven-bananas-joke",
"empty-jars-press",
Expand All@@ -103,14 +106,17 @@
"flat-bugs-visit",
"flat-clocks-clap",
"flat-donuts-sleep",
"flat-lions-divide",
"flat-pots-hear",
"flat-waves-cheat",
"fluffy-chicken-explain",
"fluffy-pets-greet",
"fluffy-queens-tap",
"fresh-crews-lick",
"friendly-boats-chew",
"friendly-months-film",
"friendly-parrots-nail",
"friendly-swans-clap",
"friendly-tables-chew",
"friendly-vans-develop",
"funny-avocados-shout",
Expand All@@ -133,6 +139,7 @@
"grumpy-suns-boil",
"happy-dolls-taste",
"happy-panthers-approve",
"happy-trees-burn",
"heavy-falcons-help",
"heavy-horses-nail",
"hip-eagles-clap",
Expand DownExpand Up@@ -200,6 +207,7 @@
"metal-toes-smell",
"metal-wolves-wave",
"mighty-bulldogs-try",
"mighty-cooks-admire",
"mighty-melons-greet",
"mighty-pugs-knock",
"mighty-rice-marry",
Expand All@@ -213,6 +221,7 @@
"moody-zoos-deliver",
"nasty-books-tap",
"nasty-lemons-obey",
"nasty-mirrors-arrive",
"neat-lies-thank",
"neat-mice-invite",
"neat-numbers-decide",
Expand All@@ -233,16 +242,19 @@
"odd-toes-develop",
"old-actors-beg",
"old-ads-push",
"old-guests-watch",
"old-onions-swim",
"old-timers-obey",
"olive-bags-reflect",
"olive-beers-scream",
"olive-kings-retire",
"olive-steaks-end",
"orange-files-end",
"orange-melons-destroy",
"orange-pumpkins-poke",
"perfect-ants-joke",
"pink-days-drum",
"pink-gifts-retire",
"pink-swans-fetch",
"polite-kiwis-arrive",
"poor-geese-rescue",
Expand All@@ -262,6 +274,7 @@
"purple-rules-prove",
"quick-countries-scream",
"quick-gorillas-grin",
"quick-poems-sip",
"quick-trains-rush",
"quiet-cougars-watch",
"rare-bottles-sell",
Expand DownExpand Up@@ -343,6 +356,7 @@
"strong-cows-sit",
"stupid-suits-accept",
"stupid-toys-remain",
"sweet-chairs-fry",
"sweet-planes-learn",
"sweet-pumas-press",
"swift-rocks-nail",
Expand All@@ -356,9 +370,11 @@
"tasty-terms-fly",
"ten-mugs-film",
"ten-nails-whisper",
"ten-taxis-lick",
"tender-peaches-yell",
"tender-phones-explain",
"thick-doors-smile",
"thin-coats-serve",
"thin-fireants-fix",
"thin-phones-drop",
"thirty-chicken-divide",
Expand DownExpand Up@@ -394,11 +410,13 @@
"wicked-suits-remain",
"wild-cougars-greet",
"wild-cycles-jog",
"wild-emus-whisper",
"wild-phones-smoke",
"wise-houses-shop",
"wise-lions-type",
"wise-scissors-know",
"witty-forks-cheer",
"witty-shirts-dream",
"yellow-elephants-begin",
"yellow-tigers-know",
"young-experts-attack",
Expand Down
55 changes: 55 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
# Change Log

## 1.0.0-alpha-v5.15

### Major Changes

- Change `SessionApi.getToken()` to return consistent `{ data, errors }` return value ([#2539](https://github.com/clerk/javascript/pull/2539)) by [@dimkl](https://github.com/dimkl)

and fix the `getToken()` from requestState to have the same return behavior as v4
(return Promise<string> or throw error).
This change fixes issues with `getToken()` in `@clerk/nextjs` / `@clerk/remix` / `@clerk/fastify` / `@clerk/sdk-node` / `gatsby-plugin-clerk`:

Example:

```typescript
import { getAuth } from '@clerk/nextjs/server';

const { getToken } = await getAuth(...);
const jwtString = await getToken(...);
```

The change in `SessionApi.getToken()` return value is a breaking change, to keep the existing behavior use the following:

```typescript
import { ClerkAPIResponseError } from '@clerk/shared/error';

const response = await clerkClient.sessions.getToken(...);

if (response.errors) {
const { status, statusText, clerkTraceId } = response;
const error = new ClerkAPIResponseError(statusText || '', {
data: [],
status: Number(status || ''),
clerkTraceId,
});
error.errors = response.errors;

throw error;
}

// the value of the v4 `clerkClient.sessions.getToken(...)`
const jwtString = response.data.jwt;
```

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.14

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/backend",
"version": "1.0.0-alpha-v5.14",
"version": "1.0.0-alpha-v5.15",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
Expand DownExpand Up@@ -95,7 +95,7 @@
"test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh"
},
"dependencies": {
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"cookie": "0.5.0",
"snakecase-keys": "5.4.4",
"tslib": "2.4.1"
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand DownExpand Up@@ -44,9 +44,9 @@
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 5.0.0-alpha-v5.16

### Patch Changes

- Allow dynamic values components props, even if these values change after the components are rendered. For example, a `SignIn` component with a `redirectUrl` prop passed in will always respect the latest value of `redirectUrl`. ([#2515](https://github.com/clerk/javascript/pull/2515)) by [@nikosdouvlis](https://github.com/nikosdouvlis)

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 5.0.0-alpha-v5.15

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "5.0.0-alpha-v5.15",
"version": "5.0.0-alpha-v5.16",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand DownExpand Up@@ -51,7 +51,7 @@
"browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0",
"dependencies": {
"@clerk/localizations": "2.0.0-alpha-v5.10",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
Expand Down
9 changes: 9 additions & 0 deletions packages/elements/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/elements

## 0.0.2-alpha-v5.5

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13), [`c0a7455ac`](https://github.com/clerk/javascript/commit/c0a7455acfaa51dc77fa626f7fc48bbdfe388cbd), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10
- @clerk/nextjs@5.0.0-alpha-v5.17

## 0.0.2-alpha-v5.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/elements",
"version": "0.0.2-alpha-v5.4",
"version": "0.0.2-alpha-v5.5",
"private": true,
"description": "Clerk Elements",
"keywords": [
Expand DownExpand Up@@ -58,9 +58,9 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/nextjs": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/nextjs": "5.0.0-alpha-v5.17",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@statelyai/inspect": "^0.1.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand DownExpand Up@@ -39,9 +39,9 @@
"publish:local": "npx yalc push --replace --sig"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"base-64": "^1.0.0",
"react-native-url-polyfill": "2.0.0"
},
Expand Down
16 changes: 16 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
# Change Log

## 1.0.0-alpha-v5.17

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`799abc281`](https://github.com/clerk/javascript/commit/799abc281182efb953dd6637f9db7fc61c71a2cd), [`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13)]:
- @clerk/backend@1.0.0-alpha-v5.15
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.16

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "1.0.0-alpha-v5.16",
"version": "1.0.0-alpha-v5.17",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand DownExpand Up@@ -40,8 +40,8 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/backend": "1.0.0-alpha-v5.14",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/backend": "1.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"cookies": "0.8.0"
},
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Version Packages (alpha-v5) by clerk-cookie · Pull Request #2554 · clerk/javascript · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/pre.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,6 +20,7 @@
"@clerk/elements": "0.0.1"
},
"changesets": [
"afraid-falcons-leave",
"afraid-nails-play",
"angry-beers-play",
"angry-clocks-attend",
Expand DownExpand Up@@ -67,6 +68,7 @@
"dirty-chefs-sell",
"dirty-icons-rescue",
"dirty-panthers-begin",
"dirty-rockets-cheat",
"dirty-sheep-warn",
"dirty-swans-joke",
"dry-feet-join",
Expand All@@ -80,6 +82,7 @@
"early-timers-wave",
"early-tomatoes-hide",
"eight-badgers-speak",
"eight-cherries-tan",
"eighty-walls-appear",
"eleven-bananas-joke",
"empty-jars-press",
Expand All@@ -103,14 +106,17 @@
"flat-bugs-visit",
"flat-clocks-clap",
"flat-donuts-sleep",
"flat-lions-divide",
"flat-pots-hear",
"flat-waves-cheat",
"fluffy-chicken-explain",
"fluffy-pets-greet",
"fluffy-queens-tap",
"fresh-crews-lick",
"friendly-boats-chew",
"friendly-months-film",
"friendly-parrots-nail",
"friendly-swans-clap",
"friendly-tables-chew",
"friendly-vans-develop",
"funny-avocados-shout",
Expand All@@ -133,6 +139,7 @@
"grumpy-suns-boil",
"happy-dolls-taste",
"happy-panthers-approve",
"happy-trees-burn",
"heavy-falcons-help",
"heavy-horses-nail",
"hip-eagles-clap",
Expand DownExpand Up@@ -200,6 +207,7 @@
"metal-toes-smell",
"metal-wolves-wave",
"mighty-bulldogs-try",
"mighty-cooks-admire",
"mighty-melons-greet",
"mighty-pugs-knock",
"mighty-rice-marry",
Expand All@@ -213,6 +221,7 @@
"moody-zoos-deliver",
"nasty-books-tap",
"nasty-lemons-obey",
"nasty-mirrors-arrive",
"neat-lies-thank",
"neat-mice-invite",
"neat-numbers-decide",
Expand All@@ -233,16 +242,19 @@
"odd-toes-develop",
"old-actors-beg",
"old-ads-push",
"old-guests-watch",
"old-onions-swim",
"old-timers-obey",
"olive-bags-reflect",
"olive-beers-scream",
"olive-kings-retire",
"olive-steaks-end",
"orange-files-end",
"orange-melons-destroy",
"orange-pumpkins-poke",
"perfect-ants-joke",
"pink-days-drum",
"pink-gifts-retire",
"pink-swans-fetch",
"polite-kiwis-arrive",
"poor-geese-rescue",
Expand All@@ -262,6 +274,7 @@
"purple-rules-prove",
"quick-countries-scream",
"quick-gorillas-grin",
"quick-poems-sip",
"quick-trains-rush",
"quiet-cougars-watch",
"rare-bottles-sell",
Expand DownExpand Up@@ -343,6 +356,7 @@
"strong-cows-sit",
"stupid-suits-accept",
"stupid-toys-remain",
"sweet-chairs-fry",
"sweet-planes-learn",
"sweet-pumas-press",
"swift-rocks-nail",
Expand All@@ -356,9 +370,11 @@
"tasty-terms-fly",
"ten-mugs-film",
"ten-nails-whisper",
"ten-taxis-lick",
"tender-peaches-yell",
"tender-phones-explain",
"thick-doors-smile",
"thin-coats-serve",
"thin-fireants-fix",
"thin-phones-drop",
"thirty-chicken-divide",
Expand DownExpand Up@@ -394,11 +410,13 @@
"wicked-suits-remain",
"wild-cougars-greet",
"wild-cycles-jog",
"wild-emus-whisper",
"wild-phones-smoke",
"wise-houses-shop",
"wise-lions-type",
"wise-scissors-know",
"witty-forks-cheer",
"witty-shirts-dream",
"yellow-elephants-begin",
"yellow-tigers-know",
"young-experts-attack",
Expand Down
55 changes: 55 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
# Change Log

## 1.0.0-alpha-v5.15

### Major Changes

- Change `SessionApi.getToken()` to return consistent `{ data, errors }` return value ([#2539](https://github.com/clerk/javascript/pull/2539)) by [@dimkl](https://github.com/dimkl)

and fix the `getToken()` from requestState to have the same return behavior as v4
(return Promise<string> or throw error).
This change fixes issues with `getToken()` in `@clerk/nextjs` / `@clerk/remix` / `@clerk/fastify` / `@clerk/sdk-node` / `gatsby-plugin-clerk`:

Example:

```typescript
import { getAuth } from '@clerk/nextjs/server';

const { getToken } = await getAuth(...);
const jwtString = await getToken(...);
```

The change in `SessionApi.getToken()` return value is a breaking change, to keep the existing behavior use the following:

```typescript
import { ClerkAPIResponseError } from '@clerk/shared/error';

const response = await clerkClient.sessions.getToken(...);

if (response.errors) {
const { status, statusText, clerkTraceId } = response;
const error = new ClerkAPIResponseError(statusText || '', {
data: [],
status: Number(status || ''),
clerkTraceId,
});
error.errors = response.errors;

throw error;
}

// the value of the v4 `clerkClient.sessions.getToken(...)`
const jwtString = response.data.jwt;
```

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.14

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/backend",
"version": "1.0.0-alpha-v5.14",
"version": "1.0.0-alpha-v5.15",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
Expand DownExpand Up@@ -95,7 +95,7 @@
"test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh"
},
"dependencies": {
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"cookie": "0.5.0",
"snakecase-keys": "5.4.4",
"tslib": "2.4.1"
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand DownExpand Up@@ -44,9 +44,9 @@
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 5.0.0-alpha-v5.16

### Patch Changes

- Allow dynamic values components props, even if these values change after the components are rendered. For example, a `SignIn` component with a `redirectUrl` prop passed in will always respect the latest value of `redirectUrl`. ([#2515](https://github.com/clerk/javascript/pull/2515)) by [@nikosdouvlis](https://github.com/nikosdouvlis)

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 5.0.0-alpha-v5.15

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "5.0.0-alpha-v5.15",
"version": "5.0.0-alpha-v5.16",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand DownExpand Up@@ -51,7 +51,7 @@
"browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0",
"dependencies": {
"@clerk/localizations": "2.0.0-alpha-v5.10",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
Expand Down
9 changes: 9 additions & 0 deletions packages/elements/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/elements

## 0.0.2-alpha-v5.5

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13), [`c0a7455ac`](https://github.com/clerk/javascript/commit/c0a7455acfaa51dc77fa626f7fc48bbdfe388cbd), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10
- @clerk/nextjs@5.0.0-alpha-v5.17

## 0.0.2-alpha-v5.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/elements",
"version": "0.0.2-alpha-v5.4",
"version": "0.0.2-alpha-v5.5",
"private": true,
"description": "Clerk Elements",
"keywords": [
Expand DownExpand Up@@ -58,9 +58,9 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/nextjs": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/nextjs": "5.0.0-alpha-v5.17",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@statelyai/inspect": "^0.1.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand DownExpand Up@@ -39,9 +39,9 @@
"publish:local": "npx yalc push --replace --sig"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"base-64": "^1.0.0",
"react-native-url-polyfill": "2.0.0"
},
Expand Down
16 changes: 16 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
# Change Log

## 1.0.0-alpha-v5.17

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`799abc281`](https://github.com/clerk/javascript/commit/799abc281182efb953dd6637f9db7fc61c71a2cd), [`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13)]:
- @clerk/backend@1.0.0-alpha-v5.15
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.16

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "1.0.0-alpha-v5.16",
"version": "1.0.0-alpha-v5.17",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand DownExpand Up@@ -40,8 +40,8 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/backend": "1.0.0-alpha-v5.14",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/backend": "1.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"cookies": "0.8.0"
},
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Version Packages (alpha-v5) by clerk-cookie · Pull Request #2554 · clerk/javascript · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/pre.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,6 +20,7 @@
"@clerk/elements": "0.0.1"
},
"changesets": [
"afraid-falcons-leave",
"afraid-nails-play",
"angry-beers-play",
"angry-clocks-attend",
Expand DownExpand Up@@ -67,6 +68,7 @@
"dirty-chefs-sell",
"dirty-icons-rescue",
"dirty-panthers-begin",
"dirty-rockets-cheat",
"dirty-sheep-warn",
"dirty-swans-joke",
"dry-feet-join",
Expand All@@ -80,6 +82,7 @@
"early-timers-wave",
"early-tomatoes-hide",
"eight-badgers-speak",
"eight-cherries-tan",
"eighty-walls-appear",
"eleven-bananas-joke",
"empty-jars-press",
Expand All@@ -103,14 +106,17 @@
"flat-bugs-visit",
"flat-clocks-clap",
"flat-donuts-sleep",
"flat-lions-divide",
"flat-pots-hear",
"flat-waves-cheat",
"fluffy-chicken-explain",
"fluffy-pets-greet",
"fluffy-queens-tap",
"fresh-crews-lick",
"friendly-boats-chew",
"friendly-months-film",
"friendly-parrots-nail",
"friendly-swans-clap",
"friendly-tables-chew",
"friendly-vans-develop",
"funny-avocados-shout",
Expand All@@ -133,6 +139,7 @@
"grumpy-suns-boil",
"happy-dolls-taste",
"happy-panthers-approve",
"happy-trees-burn",
"heavy-falcons-help",
"heavy-horses-nail",
"hip-eagles-clap",
Expand DownExpand Up@@ -200,6 +207,7 @@
"metal-toes-smell",
"metal-wolves-wave",
"mighty-bulldogs-try",
"mighty-cooks-admire",
"mighty-melons-greet",
"mighty-pugs-knock",
"mighty-rice-marry",
Expand All@@ -213,6 +221,7 @@
"moody-zoos-deliver",
"nasty-books-tap",
"nasty-lemons-obey",
"nasty-mirrors-arrive",
"neat-lies-thank",
"neat-mice-invite",
"neat-numbers-decide",
Expand All@@ -233,16 +242,19 @@
"odd-toes-develop",
"old-actors-beg",
"old-ads-push",
"old-guests-watch",
"old-onions-swim",
"old-timers-obey",
"olive-bags-reflect",
"olive-beers-scream",
"olive-kings-retire",
"olive-steaks-end",
"orange-files-end",
"orange-melons-destroy",
"orange-pumpkins-poke",
"perfect-ants-joke",
"pink-days-drum",
"pink-gifts-retire",
"pink-swans-fetch",
"polite-kiwis-arrive",
"poor-geese-rescue",
Expand All@@ -262,6 +274,7 @@
"purple-rules-prove",
"quick-countries-scream",
"quick-gorillas-grin",
"quick-poems-sip",
"quick-trains-rush",
"quiet-cougars-watch",
"rare-bottles-sell",
Expand DownExpand Up@@ -343,6 +356,7 @@
"strong-cows-sit",
"stupid-suits-accept",
"stupid-toys-remain",
"sweet-chairs-fry",
"sweet-planes-learn",
"sweet-pumas-press",
"swift-rocks-nail",
Expand All@@ -356,9 +370,11 @@
"tasty-terms-fly",
"ten-mugs-film",
"ten-nails-whisper",
"ten-taxis-lick",
"tender-peaches-yell",
"tender-phones-explain",
"thick-doors-smile",
"thin-coats-serve",
"thin-fireants-fix",
"thin-phones-drop",
"thirty-chicken-divide",
Expand DownExpand Up@@ -394,11 +410,13 @@
"wicked-suits-remain",
"wild-cougars-greet",
"wild-cycles-jog",
"wild-emus-whisper",
"wild-phones-smoke",
"wise-houses-shop",
"wise-lions-type",
"wise-scissors-know",
"witty-forks-cheer",
"witty-shirts-dream",
"yellow-elephants-begin",
"yellow-tigers-know",
"young-experts-attack",
Expand Down
55 changes: 55 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
# Change Log

## 1.0.0-alpha-v5.15

### Major Changes

- Change `SessionApi.getToken()` to return consistent `{ data, errors }` return value ([#2539](https://github.com/clerk/javascript/pull/2539)) by [@dimkl](https://github.com/dimkl)

and fix the `getToken()` from requestState to have the same return behavior as v4
(return Promise<string> or throw error).
This change fixes issues with `getToken()` in `@clerk/nextjs` / `@clerk/remix` / `@clerk/fastify` / `@clerk/sdk-node` / `gatsby-plugin-clerk`:

Example:

```typescript
import { getAuth } from '@clerk/nextjs/server';

const { getToken } = await getAuth(...);
const jwtString = await getToken(...);
```

The change in `SessionApi.getToken()` return value is a breaking change, to keep the existing behavior use the following:

```typescript
import { ClerkAPIResponseError } from '@clerk/shared/error';

const response = await clerkClient.sessions.getToken(...);

if (response.errors) {
const { status, statusText, clerkTraceId } = response;
const error = new ClerkAPIResponseError(statusText || '', {
data: [],
status: Number(status || ''),
clerkTraceId,
});
error.errors = response.errors;

throw error;
}

// the value of the v4 `clerkClient.sessions.getToken(...)`
const jwtString = response.data.jwt;
```

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.14

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/backend",
"version": "1.0.0-alpha-v5.14",
"version": "1.0.0-alpha-v5.15",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
Expand DownExpand Up@@ -95,7 +95,7 @@
"test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh"
},
"dependencies": {
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"cookie": "0.5.0",
"snakecase-keys": "5.4.4",
"tslib": "2.4.1"
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand DownExpand Up@@ -44,9 +44,9 @@
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 5.0.0-alpha-v5.16

### Patch Changes

- Allow dynamic values components props, even if these values change after the components are rendered. For example, a `SignIn` component with a `redirectUrl` prop passed in will always respect the latest value of `redirectUrl`. ([#2515](https://github.com/clerk/javascript/pull/2515)) by [@nikosdouvlis](https://github.com/nikosdouvlis)

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 5.0.0-alpha-v5.15

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "5.0.0-alpha-v5.15",
"version": "5.0.0-alpha-v5.16",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand DownExpand Up@@ -51,7 +51,7 @@
"browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0",
"dependencies": {
"@clerk/localizations": "2.0.0-alpha-v5.10",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
Expand Down
9 changes: 9 additions & 0 deletions packages/elements/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/elements

## 0.0.2-alpha-v5.5

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13), [`c0a7455ac`](https://github.com/clerk/javascript/commit/c0a7455acfaa51dc77fa626f7fc48bbdfe388cbd), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10
- @clerk/nextjs@5.0.0-alpha-v5.17

## 0.0.2-alpha-v5.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/elements",
"version": "0.0.2-alpha-v5.4",
"version": "0.0.2-alpha-v5.5",
"private": true,
"description": "Clerk Elements",
"keywords": [
Expand DownExpand Up@@ -58,9 +58,9 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/nextjs": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/nextjs": "5.0.0-alpha-v5.17",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@statelyai/inspect": "^0.1.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand DownExpand Up@@ -39,9 +39,9 @@
"publish:local": "npx yalc push --replace --sig"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"base-64": "^1.0.0",
"react-native-url-polyfill": "2.0.0"
},
Expand Down
16 changes: 16 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
# Change Log

## 1.0.0-alpha-v5.17

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`799abc281`](https://github.com/clerk/javascript/commit/799abc281182efb953dd6637f9db7fc61c71a2cd), [`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13)]:
- @clerk/backend@1.0.0-alpha-v5.15
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.16

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "1.0.0-alpha-v5.16",
"version": "1.0.0-alpha-v5.17",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand DownExpand Up@@ -40,8 +40,8 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/backend": "1.0.0-alpha-v5.14",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/backend": "1.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"cookies": "0.8.0"
},
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Version Packages (alpha-v5) by clerk-cookie · Pull Request #2554 · clerk/javascript · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/pre.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,6 +20,7 @@
"@clerk/elements": "0.0.1"
},
"changesets": [
"afraid-falcons-leave",
"afraid-nails-play",
"angry-beers-play",
"angry-clocks-attend",
Expand DownExpand Up@@ -67,6 +68,7 @@
"dirty-chefs-sell",
"dirty-icons-rescue",
"dirty-panthers-begin",
"dirty-rockets-cheat",
"dirty-sheep-warn",
"dirty-swans-joke",
"dry-feet-join",
Expand All@@ -80,6 +82,7 @@
"early-timers-wave",
"early-tomatoes-hide",
"eight-badgers-speak",
"eight-cherries-tan",
"eighty-walls-appear",
"eleven-bananas-joke",
"empty-jars-press",
Expand All@@ -103,14 +106,17 @@
"flat-bugs-visit",
"flat-clocks-clap",
"flat-donuts-sleep",
"flat-lions-divide",
"flat-pots-hear",
"flat-waves-cheat",
"fluffy-chicken-explain",
"fluffy-pets-greet",
"fluffy-queens-tap",
"fresh-crews-lick",
"friendly-boats-chew",
"friendly-months-film",
"friendly-parrots-nail",
"friendly-swans-clap",
"friendly-tables-chew",
"friendly-vans-develop",
"funny-avocados-shout",
Expand All@@ -133,6 +139,7 @@
"grumpy-suns-boil",
"happy-dolls-taste",
"happy-panthers-approve",
"happy-trees-burn",
"heavy-falcons-help",
"heavy-horses-nail",
"hip-eagles-clap",
Expand DownExpand Up@@ -200,6 +207,7 @@
"metal-toes-smell",
"metal-wolves-wave",
"mighty-bulldogs-try",
"mighty-cooks-admire",
"mighty-melons-greet",
"mighty-pugs-knock",
"mighty-rice-marry",
Expand All@@ -213,6 +221,7 @@
"moody-zoos-deliver",
"nasty-books-tap",
"nasty-lemons-obey",
"nasty-mirrors-arrive",
"neat-lies-thank",
"neat-mice-invite",
"neat-numbers-decide",
Expand All@@ -233,16 +242,19 @@
"odd-toes-develop",
"old-actors-beg",
"old-ads-push",
"old-guests-watch",
"old-onions-swim",
"old-timers-obey",
"olive-bags-reflect",
"olive-beers-scream",
"olive-kings-retire",
"olive-steaks-end",
"orange-files-end",
"orange-melons-destroy",
"orange-pumpkins-poke",
"perfect-ants-joke",
"pink-days-drum",
"pink-gifts-retire",
"pink-swans-fetch",
"polite-kiwis-arrive",
"poor-geese-rescue",
Expand All@@ -262,6 +274,7 @@
"purple-rules-prove",
"quick-countries-scream",
"quick-gorillas-grin",
"quick-poems-sip",
"quick-trains-rush",
"quiet-cougars-watch",
"rare-bottles-sell",
Expand DownExpand Up@@ -343,6 +356,7 @@
"strong-cows-sit",
"stupid-suits-accept",
"stupid-toys-remain",
"sweet-chairs-fry",
"sweet-planes-learn",
"sweet-pumas-press",
"swift-rocks-nail",
Expand All@@ -356,9 +370,11 @@
"tasty-terms-fly",
"ten-mugs-film",
"ten-nails-whisper",
"ten-taxis-lick",
"tender-peaches-yell",
"tender-phones-explain",
"thick-doors-smile",
"thin-coats-serve",
"thin-fireants-fix",
"thin-phones-drop",
"thirty-chicken-divide",
Expand DownExpand Up@@ -394,11 +410,13 @@
"wicked-suits-remain",
"wild-cougars-greet",
"wild-cycles-jog",
"wild-emus-whisper",
"wild-phones-smoke",
"wise-houses-shop",
"wise-lions-type",
"wise-scissors-know",
"witty-forks-cheer",
"witty-shirts-dream",
"yellow-elephants-begin",
"yellow-tigers-know",
"young-experts-attack",
Expand Down
55 changes: 55 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
# Change Log

## 1.0.0-alpha-v5.15

### Major Changes

- Change `SessionApi.getToken()` to return consistent `{ data, errors }` return value ([#2539](https://github.com/clerk/javascript/pull/2539)) by [@dimkl](https://github.com/dimkl)

and fix the `getToken()` from requestState to have the same return behavior as v4
(return Promise<string> or throw error).
This change fixes issues with `getToken()` in `@clerk/nextjs` / `@clerk/remix` / `@clerk/fastify` / `@clerk/sdk-node` / `gatsby-plugin-clerk`:

Example:

```typescript
import { getAuth } from '@clerk/nextjs/server';

const { getToken } = await getAuth(...);
const jwtString = await getToken(...);
```

The change in `SessionApi.getToken()` return value is a breaking change, to keep the existing behavior use the following:

```typescript
import { ClerkAPIResponseError } from '@clerk/shared/error';

const response = await clerkClient.sessions.getToken(...);

if (response.errors) {
const { status, statusText, clerkTraceId } = response;
const error = new ClerkAPIResponseError(statusText || '', {
data: [],
status: Number(status || ''),
clerkTraceId,
});
error.errors = response.errors;

throw error;
}

// the value of the v4 `clerkClient.sessions.getToken(...)`
const jwtString = response.data.jwt;
```

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.14

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/backend",
"version": "1.0.0-alpha-v5.14",
"version": "1.0.0-alpha-v5.15",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
Expand DownExpand Up@@ -95,7 +95,7 @@
"test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh"
},
"dependencies": {
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"cookie": "0.5.0",
"snakecase-keys": "5.4.4",
"tslib": "2.4.1"
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand DownExpand Up@@ -44,9 +44,9 @@
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 5.0.0-alpha-v5.16

### Patch Changes

- Allow dynamic values components props, even if these values change after the components are rendered. For example, a `SignIn` component with a `redirectUrl` prop passed in will always respect the latest value of `redirectUrl`. ([#2515](https://github.com/clerk/javascript/pull/2515)) by [@nikosdouvlis](https://github.com/nikosdouvlis)

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 5.0.0-alpha-v5.15

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "5.0.0-alpha-v5.15",
"version": "5.0.0-alpha-v5.16",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand DownExpand Up@@ -51,7 +51,7 @@
"browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0",
"dependencies": {
"@clerk/localizations": "2.0.0-alpha-v5.10",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
Expand Down
9 changes: 9 additions & 0 deletions packages/elements/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/elements

## 0.0.2-alpha-v5.5

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13), [`c0a7455ac`](https://github.com/clerk/javascript/commit/c0a7455acfaa51dc77fa626f7fc48bbdfe388cbd), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10
- @clerk/nextjs@5.0.0-alpha-v5.17

## 0.0.2-alpha-v5.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/elements",
"version": "0.0.2-alpha-v5.4",
"version": "0.0.2-alpha-v5.5",
"private": true,
"description": "Clerk Elements",
"keywords": [
Expand DownExpand Up@@ -58,9 +58,9 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/nextjs": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/nextjs": "5.0.0-alpha-v5.17",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@statelyai/inspect": "^0.1.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand DownExpand Up@@ -39,9 +39,9 @@
"publish:local": "npx yalc push --replace --sig"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"base-64": "^1.0.0",
"react-native-url-polyfill": "2.0.0"
},
Expand Down
16 changes: 16 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
# Change Log

## 1.0.0-alpha-v5.17

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`799abc281`](https://github.com/clerk/javascript/commit/799abc281182efb953dd6637f9db7fc61c71a2cd), [`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13)]:
- @clerk/backend@1.0.0-alpha-v5.15
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.16

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "1.0.0-alpha-v5.16",
"version": "1.0.0-alpha-v5.17",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand DownExpand Up@@ -40,8 +40,8 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/backend": "1.0.0-alpha-v5.14",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/backend": "1.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"cookies": "0.8.0"
},
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' Version Packages (alpha-v5) by clerk-cookie · Pull Request #2554 · clerk/javascript · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/pre.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,6 +20,7 @@
"@clerk/elements": "0.0.1"
},
"changesets": [
"afraid-falcons-leave",
"afraid-nails-play",
"angry-beers-play",
"angry-clocks-attend",
Expand DownExpand Up@@ -67,6 +68,7 @@
"dirty-chefs-sell",
"dirty-icons-rescue",
"dirty-panthers-begin",
"dirty-rockets-cheat",
"dirty-sheep-warn",
"dirty-swans-joke",
"dry-feet-join",
Expand All@@ -80,6 +82,7 @@
"early-timers-wave",
"early-tomatoes-hide",
"eight-badgers-speak",
"eight-cherries-tan",
"eighty-walls-appear",
"eleven-bananas-joke",
"empty-jars-press",
Expand All@@ -103,14 +106,17 @@
"flat-bugs-visit",
"flat-clocks-clap",
"flat-donuts-sleep",
"flat-lions-divide",
"flat-pots-hear",
"flat-waves-cheat",
"fluffy-chicken-explain",
"fluffy-pets-greet",
"fluffy-queens-tap",
"fresh-crews-lick",
"friendly-boats-chew",
"friendly-months-film",
"friendly-parrots-nail",
"friendly-swans-clap",
"friendly-tables-chew",
"friendly-vans-develop",
"funny-avocados-shout",
Expand All@@ -133,6 +139,7 @@
"grumpy-suns-boil",
"happy-dolls-taste",
"happy-panthers-approve",
"happy-trees-burn",
"heavy-falcons-help",
"heavy-horses-nail",
"hip-eagles-clap",
Expand DownExpand Up@@ -200,6 +207,7 @@
"metal-toes-smell",
"metal-wolves-wave",
"mighty-bulldogs-try",
"mighty-cooks-admire",
"mighty-melons-greet",
"mighty-pugs-knock",
"mighty-rice-marry",
Expand All@@ -213,6 +221,7 @@
"moody-zoos-deliver",
"nasty-books-tap",
"nasty-lemons-obey",
"nasty-mirrors-arrive",
"neat-lies-thank",
"neat-mice-invite",
"neat-numbers-decide",
Expand All@@ -233,16 +242,19 @@
"odd-toes-develop",
"old-actors-beg",
"old-ads-push",
"old-guests-watch",
"old-onions-swim",
"old-timers-obey",
"olive-bags-reflect",
"olive-beers-scream",
"olive-kings-retire",
"olive-steaks-end",
"orange-files-end",
"orange-melons-destroy",
"orange-pumpkins-poke",
"perfect-ants-joke",
"pink-days-drum",
"pink-gifts-retire",
"pink-swans-fetch",
"polite-kiwis-arrive",
"poor-geese-rescue",
Expand All@@ -262,6 +274,7 @@
"purple-rules-prove",
"quick-countries-scream",
"quick-gorillas-grin",
"quick-poems-sip",
"quick-trains-rush",
"quiet-cougars-watch",
"rare-bottles-sell",
Expand DownExpand Up@@ -343,6 +356,7 @@
"strong-cows-sit",
"stupid-suits-accept",
"stupid-toys-remain",
"sweet-chairs-fry",
"sweet-planes-learn",
"sweet-pumas-press",
"swift-rocks-nail",
Expand All@@ -356,9 +370,11 @@
"tasty-terms-fly",
"ten-mugs-film",
"ten-nails-whisper",
"ten-taxis-lick",
"tender-peaches-yell",
"tender-phones-explain",
"thick-doors-smile",
"thin-coats-serve",
"thin-fireants-fix",
"thin-phones-drop",
"thirty-chicken-divide",
Expand DownExpand Up@@ -394,11 +410,13 @@
"wicked-suits-remain",
"wild-cougars-greet",
"wild-cycles-jog",
"wild-emus-whisper",
"wild-phones-smoke",
"wise-houses-shop",
"wise-lions-type",
"wise-scissors-know",
"witty-forks-cheer",
"witty-shirts-dream",
"yellow-elephants-begin",
"yellow-tigers-know",
"young-experts-attack",
Expand Down
55 changes: 55 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
# Change Log

## 1.0.0-alpha-v5.15

### Major Changes

- Change `SessionApi.getToken()` to return consistent `{ data, errors }` return value ([#2539](https://github.com/clerk/javascript/pull/2539)) by [@dimkl](https://github.com/dimkl)

and fix the `getToken()` from requestState to have the same return behavior as v4
(return Promise<string> or throw error).
This change fixes issues with `getToken()` in `@clerk/nextjs` / `@clerk/remix` / `@clerk/fastify` / `@clerk/sdk-node` / `gatsby-plugin-clerk`:

Example:

```typescript
import { getAuth } from '@clerk/nextjs/server';

const { getToken } = await getAuth(...);
const jwtString = await getToken(...);
```

The change in `SessionApi.getToken()` return value is a breaking change, to keep the existing behavior use the following:

```typescript
import { ClerkAPIResponseError } from '@clerk/shared/error';

const response = await clerkClient.sessions.getToken(...);

if (response.errors) {
const { status, statusText, clerkTraceId } = response;
const error = new ClerkAPIResponseError(statusText || '', {
data: [],
status: Number(status || ''),
clerkTraceId,
});
error.errors = response.errors;

throw error;
}

// the value of the v4 `clerkClient.sessions.getToken(...)`
const jwtString = response.data.jwt;
```

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.14

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/backend",
"version": "1.0.0-alpha-v5.14",
"version": "1.0.0-alpha-v5.15",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
Expand DownExpand Up@@ -95,7 +95,7 @@
"test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh"
},
"dependencies": {
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"cookie": "0.5.0",
"snakecase-keys": "5.4.4",
"tslib": "2.4.1"
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand DownExpand Up@@ -44,9 +44,9 @@
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 5.0.0-alpha-v5.16

### Patch Changes

- Allow dynamic values components props, even if these values change after the components are rendered. For example, a `SignIn` component with a `redirectUrl` prop passed in will always respect the latest value of `redirectUrl`. ([#2515](https://github.com/clerk/javascript/pull/2515)) by [@nikosdouvlis](https://github.com/nikosdouvlis)

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 5.0.0-alpha-v5.15

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "5.0.0-alpha-v5.15",
"version": "5.0.0-alpha-v5.16",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand DownExpand Up@@ -51,7 +51,7 @@
"browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0",
"dependencies": {
"@clerk/localizations": "2.0.0-alpha-v5.10",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
Expand Down
9 changes: 9 additions & 0 deletions packages/elements/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/elements

## 0.0.2-alpha-v5.5

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13), [`c0a7455ac`](https://github.com/clerk/javascript/commit/c0a7455acfaa51dc77fa626f7fc48bbdfe388cbd), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10
- @clerk/nextjs@5.0.0-alpha-v5.17

## 0.0.2-alpha-v5.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/elements",
"version": "0.0.2-alpha-v5.4",
"version": "0.0.2-alpha-v5.5",
"private": true,
"description": "Clerk Elements",
"keywords": [
Expand DownExpand Up@@ -58,9 +58,9 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/nextjs": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/nextjs": "5.0.0-alpha-v5.17",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@statelyai/inspect": "^0.1.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand DownExpand Up@@ -39,9 +39,9 @@
"publish:local": "npx yalc push --replace --sig"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"base-64": "^1.0.0",
"react-native-url-polyfill": "2.0.0"
},
Expand Down
16 changes: 16 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
# Change Log

## 1.0.0-alpha-v5.17

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`799abc281`](https://github.com/clerk/javascript/commit/799abc281182efb953dd6637f9db7fc61c71a2cd), [`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13)]:
- @clerk/backend@1.0.0-alpha-v5.15
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.16

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "1.0.0-alpha-v5.16",
"version": "1.0.0-alpha-v5.17",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand DownExpand Up@@ -40,8 +40,8 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/backend": "1.0.0-alpha-v5.14",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/backend": "1.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"cookies": "0.8.0"
},
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Version Packages (alpha-v5) by clerk-cookie · Pull Request #2554 · clerk/javascript · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/pre.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,6 +20,7 @@
"@clerk/elements": "0.0.1"
},
"changesets": [
"afraid-falcons-leave",
"afraid-nails-play",
"angry-beers-play",
"angry-clocks-attend",
Expand DownExpand Up@@ -67,6 +68,7 @@
"dirty-chefs-sell",
"dirty-icons-rescue",
"dirty-panthers-begin",
"dirty-rockets-cheat",
"dirty-sheep-warn",
"dirty-swans-joke",
"dry-feet-join",
Expand All@@ -80,6 +82,7 @@
"early-timers-wave",
"early-tomatoes-hide",
"eight-badgers-speak",
"eight-cherries-tan",
"eighty-walls-appear",
"eleven-bananas-joke",
"empty-jars-press",
Expand All@@ -103,14 +106,17 @@
"flat-bugs-visit",
"flat-clocks-clap",
"flat-donuts-sleep",
"flat-lions-divide",
"flat-pots-hear",
"flat-waves-cheat",
"fluffy-chicken-explain",
"fluffy-pets-greet",
"fluffy-queens-tap",
"fresh-crews-lick",
"friendly-boats-chew",
"friendly-months-film",
"friendly-parrots-nail",
"friendly-swans-clap",
"friendly-tables-chew",
"friendly-vans-develop",
"funny-avocados-shout",
Expand All@@ -133,6 +139,7 @@
"grumpy-suns-boil",
"happy-dolls-taste",
"happy-panthers-approve",
"happy-trees-burn",
"heavy-falcons-help",
"heavy-horses-nail",
"hip-eagles-clap",
Expand DownExpand Up@@ -200,6 +207,7 @@
"metal-toes-smell",
"metal-wolves-wave",
"mighty-bulldogs-try",
"mighty-cooks-admire",
"mighty-melons-greet",
"mighty-pugs-knock",
"mighty-rice-marry",
Expand All@@ -213,6 +221,7 @@
"moody-zoos-deliver",
"nasty-books-tap",
"nasty-lemons-obey",
"nasty-mirrors-arrive",
"neat-lies-thank",
"neat-mice-invite",
"neat-numbers-decide",
Expand All@@ -233,16 +242,19 @@
"odd-toes-develop",
"old-actors-beg",
"old-ads-push",
"old-guests-watch",
"old-onions-swim",
"old-timers-obey",
"olive-bags-reflect",
"olive-beers-scream",
"olive-kings-retire",
"olive-steaks-end",
"orange-files-end",
"orange-melons-destroy",
"orange-pumpkins-poke",
"perfect-ants-joke",
"pink-days-drum",
"pink-gifts-retire",
"pink-swans-fetch",
"polite-kiwis-arrive",
"poor-geese-rescue",
Expand All@@ -262,6 +274,7 @@
"purple-rules-prove",
"quick-countries-scream",
"quick-gorillas-grin",
"quick-poems-sip",
"quick-trains-rush",
"quiet-cougars-watch",
"rare-bottles-sell",
Expand DownExpand Up@@ -343,6 +356,7 @@
"strong-cows-sit",
"stupid-suits-accept",
"stupid-toys-remain",
"sweet-chairs-fry",
"sweet-planes-learn",
"sweet-pumas-press",
"swift-rocks-nail",
Expand All@@ -356,9 +370,11 @@
"tasty-terms-fly",
"ten-mugs-film",
"ten-nails-whisper",
"ten-taxis-lick",
"tender-peaches-yell",
"tender-phones-explain",
"thick-doors-smile",
"thin-coats-serve",
"thin-fireants-fix",
"thin-phones-drop",
"thirty-chicken-divide",
Expand DownExpand Up@@ -394,11 +410,13 @@
"wicked-suits-remain",
"wild-cougars-greet",
"wild-cycles-jog",
"wild-emus-whisper",
"wild-phones-smoke",
"wise-houses-shop",
"wise-lions-type",
"wise-scissors-know",
"witty-forks-cheer",
"witty-shirts-dream",
"yellow-elephants-begin",
"yellow-tigers-know",
"young-experts-attack",
Expand Down
55 changes: 55 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
# Change Log

## 1.0.0-alpha-v5.15

### Major Changes

- Change `SessionApi.getToken()` to return consistent `{ data, errors }` return value ([#2539](https://github.com/clerk/javascript/pull/2539)) by [@dimkl](https://github.com/dimkl)

and fix the `getToken()` from requestState to have the same return behavior as v4
(return Promise<string> or throw error).
This change fixes issues with `getToken()` in `@clerk/nextjs` / `@clerk/remix` / `@clerk/fastify` / `@clerk/sdk-node` / `gatsby-plugin-clerk`:

Example:

```typescript
import { getAuth } from '@clerk/nextjs/server';

const { getToken } = await getAuth(...);
const jwtString = await getToken(...);
```

The change in `SessionApi.getToken()` return value is a breaking change, to keep the existing behavior use the following:

```typescript
import { ClerkAPIResponseError } from '@clerk/shared/error';

const response = await clerkClient.sessions.getToken(...);

if (response.errors) {
const { status, statusText, clerkTraceId } = response;
const error = new ClerkAPIResponseError(statusText || '', {
data: [],
status: Number(status || ''),
clerkTraceId,
});
error.errors = response.errors;

throw error;
}

// the value of the v4 `clerkClient.sessions.getToken(...)`
const jwtString = response.data.jwt;
```

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.14

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/backend",
"version": "1.0.0-alpha-v5.14",
"version": "1.0.0-alpha-v5.15",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
Expand DownExpand Up@@ -95,7 +95,7 @@
"test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh"
},
"dependencies": {
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"cookie": "0.5.0",
"snakecase-keys": "5.4.4",
"tslib": "2.4.1"
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand DownExpand Up@@ -44,9 +44,9 @@
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 5.0.0-alpha-v5.16

### Patch Changes

- Allow dynamic values components props, even if these values change after the components are rendered. For example, a `SignIn` component with a `redirectUrl` prop passed in will always respect the latest value of `redirectUrl`. ([#2515](https://github.com/clerk/javascript/pull/2515)) by [@nikosdouvlis](https://github.com/nikosdouvlis)

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 5.0.0-alpha-v5.15

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "5.0.0-alpha-v5.15",
"version": "5.0.0-alpha-v5.16",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand DownExpand Up@@ -51,7 +51,7 @@
"browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0",
"dependencies": {
"@clerk/localizations": "2.0.0-alpha-v5.10",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
Expand Down
9 changes: 9 additions & 0 deletions packages/elements/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/elements

## 0.0.2-alpha-v5.5

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13), [`c0a7455ac`](https://github.com/clerk/javascript/commit/c0a7455acfaa51dc77fa626f7fc48bbdfe388cbd), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10
- @clerk/nextjs@5.0.0-alpha-v5.17

## 0.0.2-alpha-v5.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/elements",
"version": "0.0.2-alpha-v5.4",
"version": "0.0.2-alpha-v5.5",
"private": true,
"description": "Clerk Elements",
"keywords": [
Expand DownExpand Up@@ -58,9 +58,9 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/nextjs": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/nextjs": "5.0.0-alpha-v5.17",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@statelyai/inspect": "^0.1.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand DownExpand Up@@ -39,9 +39,9 @@
"publish:local": "npx yalc push --replace --sig"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"base-64": "^1.0.0",
"react-native-url-polyfill": "2.0.0"
},
Expand Down
16 changes: 16 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
# Change Log

## 1.0.0-alpha-v5.17

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`799abc281`](https://github.com/clerk/javascript/commit/799abc281182efb953dd6637f9db7fc61c71a2cd), [`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13)]:
- @clerk/backend@1.0.0-alpha-v5.15
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.16

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "1.0.0-alpha-v5.16",
"version": "1.0.0-alpha-v5.17",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand DownExpand Up@@ -40,8 +40,8 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/backend": "1.0.0-alpha-v5.14",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/backend": "1.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"cookies": "0.8.0"
},
Expand Down
Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); Version Packages (alpha-v5) by clerk-cookie · Pull Request #2554 · clerk/javascript · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/pre.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,6 +20,7 @@
"@clerk/elements": "0.0.1"
},
"changesets": [
"afraid-falcons-leave",
"afraid-nails-play",
"angry-beers-play",
"angry-clocks-attend",
Expand DownExpand Up@@ -67,6 +68,7 @@
"dirty-chefs-sell",
"dirty-icons-rescue",
"dirty-panthers-begin",
"dirty-rockets-cheat",
"dirty-sheep-warn",
"dirty-swans-joke",
"dry-feet-join",
Expand All@@ -80,6 +82,7 @@
"early-timers-wave",
"early-tomatoes-hide",
"eight-badgers-speak",
"eight-cherries-tan",
"eighty-walls-appear",
"eleven-bananas-joke",
"empty-jars-press",
Expand All@@ -103,14 +106,17 @@
"flat-bugs-visit",
"flat-clocks-clap",
"flat-donuts-sleep",
"flat-lions-divide",
"flat-pots-hear",
"flat-waves-cheat",
"fluffy-chicken-explain",
"fluffy-pets-greet",
"fluffy-queens-tap",
"fresh-crews-lick",
"friendly-boats-chew",
"friendly-months-film",
"friendly-parrots-nail",
"friendly-swans-clap",
"friendly-tables-chew",
"friendly-vans-develop",
"funny-avocados-shout",
Expand All@@ -133,6 +139,7 @@
"grumpy-suns-boil",
"happy-dolls-taste",
"happy-panthers-approve",
"happy-trees-burn",
"heavy-falcons-help",
"heavy-horses-nail",
"hip-eagles-clap",
Expand DownExpand Up@@ -200,6 +207,7 @@
"metal-toes-smell",
"metal-wolves-wave",
"mighty-bulldogs-try",
"mighty-cooks-admire",
"mighty-melons-greet",
"mighty-pugs-knock",
"mighty-rice-marry",
Expand All@@ -213,6 +221,7 @@
"moody-zoos-deliver",
"nasty-books-tap",
"nasty-lemons-obey",
"nasty-mirrors-arrive",
"neat-lies-thank",
"neat-mice-invite",
"neat-numbers-decide",
Expand All@@ -233,16 +242,19 @@
"odd-toes-develop",
"old-actors-beg",
"old-ads-push",
"old-guests-watch",
"old-onions-swim",
"old-timers-obey",
"olive-bags-reflect",
"olive-beers-scream",
"olive-kings-retire",
"olive-steaks-end",
"orange-files-end",
"orange-melons-destroy",
"orange-pumpkins-poke",
"perfect-ants-joke",
"pink-days-drum",
"pink-gifts-retire",
"pink-swans-fetch",
"polite-kiwis-arrive",
"poor-geese-rescue",
Expand All@@ -262,6 +274,7 @@
"purple-rules-prove",
"quick-countries-scream",
"quick-gorillas-grin",
"quick-poems-sip",
"quick-trains-rush",
"quiet-cougars-watch",
"rare-bottles-sell",
Expand DownExpand Up@@ -343,6 +356,7 @@
"strong-cows-sit",
"stupid-suits-accept",
"stupid-toys-remain",
"sweet-chairs-fry",
"sweet-planes-learn",
"sweet-pumas-press",
"swift-rocks-nail",
Expand All@@ -356,9 +370,11 @@
"tasty-terms-fly",
"ten-mugs-film",
"ten-nails-whisper",
"ten-taxis-lick",
"tender-peaches-yell",
"tender-phones-explain",
"thick-doors-smile",
"thin-coats-serve",
"thin-fireants-fix",
"thin-phones-drop",
"thirty-chicken-divide",
Expand DownExpand Up@@ -394,11 +410,13 @@
"wicked-suits-remain",
"wild-cougars-greet",
"wild-cycles-jog",
"wild-emus-whisper",
"wild-phones-smoke",
"wise-houses-shop",
"wise-lions-type",
"wise-scissors-know",
"witty-forks-cheer",
"witty-shirts-dream",
"yellow-elephants-begin",
"yellow-tigers-know",
"young-experts-attack",
Expand Down
55 changes: 55 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
# Change Log

## 1.0.0-alpha-v5.15

### Major Changes

- Change `SessionApi.getToken()` to return consistent `{ data, errors }` return value ([#2539](https://github.com/clerk/javascript/pull/2539)) by [@dimkl](https://github.com/dimkl)

and fix the `getToken()` from requestState to have the same return behavior as v4
(return Promise<string> or throw error).
This change fixes issues with `getToken()` in `@clerk/nextjs` / `@clerk/remix` / `@clerk/fastify` / `@clerk/sdk-node` / `gatsby-plugin-clerk`:

Example:

```typescript
import { getAuth } from '@clerk/nextjs/server';

const { getToken } = await getAuth(...);
const jwtString = await getToken(...);
```

The change in `SessionApi.getToken()` return value is a breaking change, to keep the existing behavior use the following:

```typescript
import { ClerkAPIResponseError } from '@clerk/shared/error';

const response = await clerkClient.sessions.getToken(...);

if (response.errors) {
const { status, statusText, clerkTraceId } = response;
const error = new ClerkAPIResponseError(statusText || '', {
data: [],
status: Number(status || ''),
clerkTraceId,
});
error.errors = response.errors;

throw error;
}

// the value of the v4 `clerkClient.sessions.getToken(...)`
const jwtString = response.data.jwt;
```

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.14

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/backend",
"version": "1.0.0-alpha-v5.14",
"version": "1.0.0-alpha-v5.15",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
Expand DownExpand Up@@ -95,7 +95,7 @@
"test:cloudflare-workerd": "tests/cloudflare-workerd/run.sh"
},
"dependencies": {
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"cookie": "0.5.0",
"snakecase-keys": "5.4.4",
"tslib": "2.4.1"
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/chrome-extension/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand DownExpand Up@@ -44,9 +44,9 @@
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 5.0.0-alpha-v5.16

### Patch Changes

- Allow dynamic values components props, even if these values change after the components are rendered. For example, a `SignIn` component with a `redirectUrl` prop passed in will always respect the latest value of `redirectUrl`. ([#2515](https://github.com/clerk/javascript/pull/2515)) by [@nikosdouvlis](https://github.com/nikosdouvlis)

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5)]:
- @clerk/shared@2.0.0-alpha-v5.10

## 5.0.0-alpha-v5.15

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/clerk-js/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "5.0.0-alpha-v5.15",
"version": "5.0.0-alpha-v5.16",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand DownExpand Up@@ -51,7 +51,7 @@
"browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0",
"dependencies": {
"@clerk/localizations": "2.0.0-alpha-v5.10",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
Expand Down
9 changes: 9 additions & 0 deletions packages/elements/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @clerk/elements

## 0.0.2-alpha-v5.5

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13), [`c0a7455ac`](https://github.com/clerk/javascript/commit/c0a7455acfaa51dc77fa626f7fc48bbdfe388cbd), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10
- @clerk/nextjs@5.0.0-alpha-v5.17

## 0.0.2-alpha-v5.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/elements/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/elements",
"version": "0.0.2-alpha-v5.4",
"version": "0.0.2-alpha-v5.5",
"private": true,
"description": "Clerk Elements",
"keywords": [
Expand DownExpand Up@@ -58,9 +58,9 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/nextjs": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/nextjs": "5.0.0-alpha-v5.17",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@statelyai/inspect": "^0.1.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-alpha-v5.16

### Patch Changes

- Updated dependencies [[`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`db2d82901`](https://github.com/clerk/javascript/commit/db2d829013722957332bcf03928685a4771f9a3c)]:
- @clerk/clerk-js@5.0.0-alpha-v5.16
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.15

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/expo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "1.0.0-alpha-v5.15",
"version": "1.0.0-alpha-v5.16",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand DownExpand Up@@ -39,9 +39,9 @@
"publish:local": "npx yalc push --replace --sig"
},
"dependencies": {
"@clerk/clerk-js": "5.0.0-alpha-v5.15",
"@clerk/clerk-react": "5.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/clerk-js": "5.0.0-alpha-v5.16",
"@clerk/clerk-react": "5.0.0-alpha-v5.16",
"@clerk/shared": "2.0.0-alpha-v5.10",
"base-64": "^1.0.0",
"react-native-url-polyfill": "2.0.0"
},
Expand Down
16 changes: 16 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
# Change Log

## 1.0.0-alpha-v5.17

### Minor Changes

- Replace the `Clerk-Backend-SDK` header with `User-Agent` in BAPI requests and update it's value to contain both the package name and the package version of the clerk package ([#2558](https://github.com/clerk/javascript/pull/2558)) by [@dimkl](https://github.com/dimkl)

executing the request. Eg request from `@clerk/nextjs` to BAPI with append `User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16` using the latest version.

Miscellaneous changes: The backend test build changed to use tsup.

### Patch Changes

- Updated dependencies [[`799abc281`](https://github.com/clerk/javascript/commit/799abc281182efb953dd6637f9db7fc61c71a2cd), [`8cc45d2af`](https://github.com/clerk/javascript/commit/8cc45d2af98320ccced3768fb039b86576e424a5), [`b4e79c1b9`](https://github.com/clerk/javascript/commit/b4e79c1b9ab8e14cbfccaf290f0f596da0416e13)]:
- @clerk/backend@1.0.0-alpha-v5.15
- @clerk/shared@2.0.0-alpha-v5.10

## 1.0.0-alpha-v5.16

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/fastify/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "1.0.0-alpha-v5.16",
"version": "1.0.0-alpha-v5.17",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand DownExpand Up@@ -40,8 +40,8 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/backend": "1.0.0-alpha-v5.14",
"@clerk/shared": "2.0.0-alpha-v5.9",
"@clerk/backend": "1.0.0-alpha-v5.15",
"@clerk/shared": "2.0.0-alpha-v5.10",
"@clerk/types": "4.0.0-alpha-v5.12",
"cookies": "0.8.0"
},
Expand Down
Loading