Skip to content

Commit

Permalink
ci(repo): Version packages (#5047)
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] authored Jan 31, 2025
1 parent 77dc55c commit e6df88a
Show file tree
Hide file tree
Showing 49 changed files with 284 additions and 89 deletions.
13 changes: 0 additions & 13 deletions .changeset/brown-suns-clap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fast-kiwis-visit.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/selfish-news-invent.md

This file was deleted.

39 changes: 0 additions & 39 deletions .changeset/sour-foxes-sort.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/witty-ladybugs-fix.md

This file was deleted.

17 changes: 17 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @clerk/astro

## 2.1.18

### Patch Changes

- Previously the `createPathMatcher()` function was re-implemented both in `@clerk/astro` and `@clerk/nextjs`, this PR moves this logic to `@clerk/shared`. ([#5043](https://github.com/clerk/javascript/pull/5043)) by [@wobsoriano](https://github.com/wobsoriano)

You can use it like so:

```ts
import { createPathMatcher } from '@clerk/shared/pathMatcher';
```

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/shared@2.20.17
- @clerk/types@4.44.3
- @clerk/backend@1.23.10

## 2.1.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/astro",
"version": "2.1.17",
"version": "2.1.18",
"description": "Clerk SDK for Astro",
"keywords": [
"auth",
Expand Down
8 changes: 8 additions & 0 deletions packages/backend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## 1.23.10

### Patch Changes

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/shared@2.20.17
- @clerk/types@4.44.3

## 1.23.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/backend",
"version": "1.23.9",
"version": "1.23.10",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
Expand Down
9 changes: 9 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 2.2.4

### Patch Changes

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`0f95982551565f11032b4d018d89746a081c1b76`](https://github.com/clerk/javascript/commit/0f95982551565f11032b4d018d89746a081c1b76), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/shared@2.20.17
- @clerk/clerk-js@5.50.2
- @clerk/clerk-react@5.22.9

## 2.2.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "2.2.3",
"version": "2.2.4",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand Down
11 changes: 11 additions & 0 deletions packages/clerk-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## 5.50.2

### Patch Changes

- Fix captcha layout shift on transfer flow, custom flows and invisible ([#5049](https://github.com/clerk/javascript/pull/5049)) by [@anagstef](https://github.com/anagstef)

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

## 5.50.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "5.50.1",
"version": "5.50.2",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand Down
9 changes: 9 additions & 0 deletions packages/elements/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @clerk/elements

## 0.22.18

### Patch Changes

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/shared@2.20.17
- @clerk/clerk-react@5.22.9
- @clerk/types@4.44.3

## 0.22.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/elements/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/elements",
"version": "0.22.17",
"version": "0.22.18",
"description": "Clerk Elements",
"keywords": [
"clerk",
Expand Down
8 changes: 8 additions & 0 deletions packages/expo-passkeys/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @clerk/expo-passkeys

## 0.1.17

### Patch Changes

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/shared@2.20.17
- @clerk/types@4.44.3

## 0.1.16

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo-passkeys/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/expo-passkeys",
"version": "0.1.16",
"version": "0.1.17",
"description": "Passkeys library to be used with Clerk for expo",
"keywords": [
"react-native",
Expand Down
10 changes: 10 additions & 0 deletions packages/expo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## 2.7.2

### Patch Changes

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`0f95982551565f11032b4d018d89746a081c1b76`](https://github.com/clerk/javascript/commit/0f95982551565f11032b4d018d89746a081c1b76), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/shared@2.20.17
- @clerk/clerk-js@5.50.2
- @clerk/clerk-react@5.22.9
- @clerk/types@4.44.3

## 2.7.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "2.7.1",
"version": "2.7.2",
"description": "Clerk React Native/Expo library",
"keywords": [
"react",
Expand Down
9 changes: 9 additions & 0 deletions packages/express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.3.45

### Patch Changes

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/shared@2.20.17
- @clerk/types@4.44.3
- @clerk/backend@1.23.10

## 1.3.44

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "1.3.44",
"version": "1.3.45",
"description": "Clerk server SDK for usage with Express",
"keywords": [
"clerk",
Expand Down
9 changes: 9 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 2.1.18

### Patch Changes

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

## 2.1.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/fastify",
"version": "2.1.17",
"version": "2.1.18",
"description": "Clerk SDK for Fastify",
"keywords": [
"auth",
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

## 3.10.3

### Patch Changes

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

## 3.10.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/localizations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/localizations",
"version": "3.10.2",
"version": "3.10.3",
"description": "Localizations for the Clerk components",
"keywords": [
"react",
Expand Down
20 changes: 20 additions & 0 deletions packages/nextjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Change Log

## 6.10.5

### Patch Changes

- Previously the `createPathMatcher()` function was re-implemented both in `@clerk/astro` and `@clerk/nextjs`, this PR moves this logic to `@clerk/shared`. ([#5043](https://github.com/clerk/javascript/pull/5043)) by [@wobsoriano](https://github.com/wobsoriano)

You can use it like so:

```ts
import { createPathMatcher } from '@clerk/shared/pathMatcher';
```

- Improve JSDoc comments to provide better IntelliSense in your IDE ([#5053](https://github.com/clerk/javascript/pull/5053)) by [@LekoArts](https://github.com/LekoArts)

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/shared@2.20.17
- @clerk/clerk-react@5.22.9
- @clerk/types@4.44.3
- @clerk/backend@1.23.10

## 6.10.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clerk/nextjs",
"version": "6.10.4",
"version": "6.10.5",
"description": "Clerk SDK for NextJS",
"keywords": [
"clerk",
Expand Down
48 changes: 48 additions & 0 deletions packages/nuxt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# @clerk/nuxt

## 1.1.0

### Minor Changes

- Add `createRouteMatcher()` helper function that allows you to protect multiple pages or API routes. ([#5050](https://github.com/clerk/javascript/pull/5050)) by [@wobsoriano](https://github.com/wobsoriano)

For protecting pages (in a global route middleware):

```ts
// createRouteMatcher is automatically imported
const isProtectedRoute = createRouteMatcher(['/dashboard(.*)', '/forum(.*)']);

export default defineNuxtRouteMiddleware(to => {
const { userId } = useAuth();

if (!userId.value && isProtectedRoute(to)) {
// Add custom logic to run before redirecting
return navigateTo('/sign-in');
}
});
```

For protecting API routes:

```ts
import { clerkMiddleware, createRouteMatcher } from '@clerk/nuxt/server';

// Unlike pages, you need to import `createRouteMatcher` from `@clerk/nuxt/server`
const isProtectedRoute = createRouteMatcher(['/api/user(.*)', '/api/projects(.*)']);

export default clerkMiddleware(event => {
const { userId } = event.context.auth;

if (!userId && isProtectedRoute(event)) {
setResponseStatus(event, 401);
return 'You are not authorized to access this resource.';
}
});
```

### Patch Changes

- Updated dependencies [[`26225f2c31a22560f7ece2e02f1d0080b5b89520`](https://github.com/clerk/javascript/commit/26225f2c31a22560f7ece2e02f1d0080b5b89520), [`833693a6792b621e72162d70673e7bdfa84a69b6`](https://github.com/clerk/javascript/commit/833693a6792b621e72162d70673e7bdfa84a69b6)]:
- @clerk/shared@2.20.17
- @clerk/types@4.44.3
- @clerk/backend@1.23.10
- @clerk/vue@1.1.9

## 1.0.13

### Patch Changes
Expand Down
Loading

0 comments on commit e6df88a

Please sign in to comment.