Skip to content

Commit

Permalink
Version Packages - V4 (#3413)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
clerk-cookie and github-actions[bot] committed May 21, 2024
1 parent fcc349c commit 5272a9e
Show file tree
Hide file tree
Showing 31 changed files with 240 additions and 117 deletions.
14 changes: 0 additions & 14 deletions .changeset/funny-berries-nail.md

This file was deleted.

37 changes: 0 additions & 37 deletions .changeset/mighty-dolphins-look.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shaggy-elephants-shop.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/silly-mugs-type.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 0.38.9

### Patch Changes

- Updated dependencies [[`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325)]:
- @clerk/types@3.65.0

## 0.38.8

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/backend",
"version": "0.38.8",
"version": "0.38.9",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
Expand Down Expand Up @@ -56,7 +56,7 @@
},
"dependencies": {
"@clerk/shared": "1.4.1",
"@clerk/types": "3.64.1",
"@clerk/types": "3.65.0",
"@peculiar/webcrypto": "1.4.1",
"@types/node": "16.18.6",
"cookie": "0.5.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## 0.7.0

### Minor Changes

- Update export snapshot tests to include `GoogleOneTap`. ([#3409](https://github.com/clerk/javascript/pull/3409)) by [@panteliselef](https://github.com/panteliselef)

### Patch Changes

- Updated dependencies [[`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325), [`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325)]:
- @clerk/clerk-react@4.32.0
- @clerk/clerk-js@4.73.0

## 0.6.26

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "0.6.26",
"version": "0.7.0",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand Down Expand Up @@ -45,8 +45,8 @@
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/clerk-js": "4.72.4",
"@clerk/clerk-react": "4.31.1"
"@clerk/clerk-js": "4.73.0",
"@clerk/clerk-react": "4.32.0"
},
"devDependencies": {
"@types/chrome": "*",
Expand Down
48 changes: 48 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# Change Log

## 4.73.0

### Minor Changes

- ### Use the Google One Tap component from with Vanilla JS ([#3409](https://github.com/clerk/javascript/pull/3409)) by [@panteliselef](https://github.com/panteliselef)

- `Clerk.openGoogleOneTap({ cancelOnTapOutside: false, fedCmSupport: false, itpSupport: false })`
- `Clerk.closeGoogleOneTap()`

### Low level APIs for custom flows

- `await Clerk.authenticateWithGoogleOneTap({ token: 'xxxx'})`
- `await Clerk.handleGoogleOneTapCallback()`

We recommend using this two methods together in order and let Clerk perform the correct redirections.

```tsx
google.accounts.id.initialize({
callback: async response => {
const signInOrUp = await Clerk.authenticateWithGoogleOneTap({ token: response.credential });
await Clerk.handleGoogleOneTapCallback(signInOrUp, {
afterSignInUrl: window.location.href,
});
},
});
```

In case you want to handle the redirection and session management yourself you can do so like this

```tsx
google.accounts.id.initialize({
callback: async response => {
const signInOrUp = await Clerk.authenticateWithGoogleOneTap({ token: response.credential });
if (signInOrUp.status === 'complete') {
await Clerk.setActive({
session: signInOrUp.createdSessionId,
});
}
},
});
```

### Patch Changes

- Updated dependencies [[`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325)]:
- @clerk/types@3.65.0
- @clerk/localizations@1.28.5

## 4.72.4

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/clerk-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "4.72.4",
"version": "4.73.0",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down Expand Up @@ -50,9 +50,9 @@
},
"browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0",
"dependencies": {
"@clerk/localizations": "1.28.4",
"@clerk/localizations": "1.28.5",
"@clerk/shared": "1.4.1",
"@clerk/types": "3.64.1",
"@clerk/types": "3.65.0",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
"@floating-ui/react": "0.25.4",
Expand Down
8 changes: 8 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## 0.20.22

### Patch Changes

- Updated dependencies [[`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325), [`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325)]:
- @clerk/clerk-react@4.32.0
- @clerk/clerk-js@4.73.0

## 0.20.21

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/expo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "0.20.21",
"version": "0.20.22",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down Expand Up @@ -39,14 +39,14 @@
"publish:local": "npx yalc push --replace --sig"
},
"dependencies": {
"@clerk/clerk-js": "4.72.4",
"@clerk/clerk-react": "4.31.1",
"@clerk/clerk-js": "4.73.0",
"@clerk/clerk-react": "4.32.0",
"@clerk/shared": "1.4.1",
"base-64": "1.0.0",
"react-native-url-polyfill": "2.0.0"
},
"devDependencies": {
"@clerk/types": "^3.64.1",
"@clerk/types": "^3.65.0",
"@types/base-64": "^1.0.0",
"@types/node": "^16.11.55",
"@types/react": "*",
Expand Down
8 changes: 8 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## 0.6.42

### Patch Changes

- Updated dependencies [[`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325)]:
- @clerk/types@3.65.0
- @clerk/backend@0.38.9

## 0.6.41

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/fastify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "0.6.41",
"version": "0.6.42",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
Expand Down Expand Up @@ -40,9 +40,9 @@
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/backend": "0.38.8",
"@clerk/backend": "0.38.9",
"@clerk/shared": "1.4.1",
"@clerk/types": "3.64.1",
"@clerk/types": "3.65.0",
"cookies": "0.8.0"
},
"devDependencies": {
Expand Down
10 changes: 10 additions & 0 deletions packages/gatsby-plugin-clerk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## 4.4.44

### Patch Changes

- Updated dependencies [[`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325), [`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325)]:
- @clerk/clerk-react@4.32.0
- @clerk/types@3.65.0
- @clerk/backend@0.38.9
- @clerk/clerk-sdk-node@4.13.17

## 4.4.43

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-plugin-clerk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gatsby-plugin-clerk",
"version": "4.4.43",
"version": "4.4.44",
"description": "Clerk SDK for Gatsby",
"keywords": [
"clerk",
Expand Down Expand Up @@ -44,10 +44,10 @@
"publish:local": "npx yalc push --replace --sig"
},
"dependencies": {
"@clerk/backend": "0.38.8",
"@clerk/clerk-react": "4.31.1",
"@clerk/clerk-sdk-node": "4.13.16",
"@clerk/types": "3.64.1",
"@clerk/backend": "0.38.9",
"@clerk/clerk-react": "4.32.0",
"@clerk/clerk-sdk-node": "4.13.17",
"@clerk/types": "3.65.0",
"cookie": "0.5.0",
"tslib": "2.4.1"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/localizations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 1.28.5

### Patch Changes

- Updated dependencies [[`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325)]:
- @clerk/types@3.65.0

## 1.28.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/localizations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/localizations",
"version": "1.28.4",
"version": "1.28.5",
"description": "Localizations for the Clerk components",
"keywords": [
"react",
Expand Down Expand Up @@ -38,7 +38,7 @@
"lint": "eslint src/"
},
"dependencies": {
"@clerk/types": "3.64.1"
"@clerk/types": "3.65.0"
},
"devDependencies": {
"tsup": "*",
Expand Down
28 changes: 28 additions & 0 deletions packages/nextjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Change Log

## 4.31.0

### Minor Changes

- Add support for GoogleOneTap ([#3409](https://github.com/clerk/javascript/pull/3409)) by [@panteliselef](https://github.com/panteliselef)

### React component

- `<GoogleOneTap/>`

Customize the UX of the prompt

```tsx
<GoogleOneTap
cancelOnTapOutside={false}
itpSupport={false}
fedCmSupport={false}
/>
```

### Patch Changes

- Updated dependencies [[`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325), [`fcc349cb5`](https://github.com/clerk/javascript/commit/fcc349cb59e4bfdf82165144ca5509a8c73d1325)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

## 4.30.1

### Patch Changes
Expand Down
Loading

0 comments on commit 5272a9e

Please sign in to comment.