Skip to content

Commit

Permalink
Merge pull request #141 from wobsoriano/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
wobsoriano authored Sep 4, 2024
2 parents 46e9c76 + 80dc9a2 commit 07bbb8f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
30 changes: 0 additions & 30 deletions .changeset/small-pumas-scream.md

This file was deleted.

30 changes: 30 additions & 0 deletions packages/vue-clerk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## 0.6.8

### Patch Changes

- 4ebc2cc: Support roles and permissions in Nuxt middleware

Examples:

Allow users that have the `org:invoices:create` permission

```ts
definePageMeta({
middleware: "auth",
auth: {
permission: "org:invoices:create",
},
});
```

Allow users with the `org:billing` role

```ts
definePageMeta({
middleware: "auth",
auth: {
role: "org:billing",
},
});
```

## 0.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-clerk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-clerk",
"type": "module",
"version": "0.6.7",
"version": "0.6.8",
"description": "Unofficial Vue + Clerk integration.",
"author": "Robert Soriano <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 07bbb8f

Please sign in to comment.