Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 4, 2021
1 parent cf8a12f commit 048a3e8
Show file tree
Hide file tree
Showing 11 changed files with 69 additions and 52 deletions.
5 changes: 0 additions & 5 deletions .changeset/fresh-ads-know.md

This file was deleted.

27 changes: 0 additions & 27 deletions .changeset/six-dingos-shake.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/two-bugs-fix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/weak-sheep-work.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/next/getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"wpe-build": "next build"
},
"dependencies": {
"@faustjs/core": "^0.11.0",
"@faustjs/next": "^0.11.0",
"@faustjs/core": "^0.12.0",
"@faustjs/next": "^0.12.0",
"next": "^11.1.2",
"normalize.css": "^8.0.1",
"react": "^17.0.2",
Expand Down
12 changes: 12 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @faustjs/core

## 0.12.0

### Minor Changes

- 4ded997: Implement `logoutHandler` middleware

### Patch Changes

- c4b205a: Implemented `changesets` 🦋
- 5c7f662: Added the appropriate `Content-Type` response header to the `authorizeHandler` middleware
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@faustjs/core",
"version": "0.11.0",
"version": "0.12.0",
"description": "This module helps you use WordPress as a Headless CMS",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
Expand Down
38 changes: 38 additions & 0 deletions packages/next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# @faustjs/next

## 0.12.0

### Minor Changes

- 5c7f662: Introduced an argument to the `useAuth` hook, `UseAuthOptions`, to provide users the ability to disable automatic redirect from the `useAuth` hook upon an unauthenticated user.

```tsx
import { client } from 'client';

export default function Page() {
const { isLoading, isAuthenticated, authResult } = client.auth.useAuth({
shouldRedirect: false,
});

if (isLoading) {
return <p>Loading...</p>;
}

if (!isAuthenticated) {
return (
<p>You need to be authenticated to see this content. Please login.</p>
);
}

return <p>Authenticated content</p>;
}
```

### Patch Changes

- c4b205a: Implemented `changesets` 🦋
- Updated dependencies [4ded997]
- Updated dependencies [c4b205a]
- Updated dependencies [5c7f662]
- @faustjs/core@0.12.0
- @faustjs/react@0.12.0
6 changes: 3 additions & 3 deletions packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@faustjs/next",
"version": "0.11.0",
"version": "0.12.0",
"description": "This module helps you use WordPress as a Headless CMS with Next.js",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
Expand Down Expand Up @@ -84,8 +84,8 @@
"dependencies": {
"@gqty/logger": "^2.0.0",
"@gqty/react": "^2.0.0",
"@faustjs/core": "^0.11.0",
"@faustjs/react": "^0.11.0",
"@faustjs/core": "^0.12.0",
"@faustjs/react": "^0.12.0",
"graphql": ">=15.6",
"lodash": "^4.17.21"
}
Expand Down
11 changes: 11 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @faustjs/react

## 0.12.0

### Patch Changes

- c4b205a: Implemented `changesets` 🦋
- Updated dependencies [4ded997]
- Updated dependencies [c4b205a]
- Updated dependencies [5c7f662]
- @faustjs/core@0.12.0
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@faustjs/react",
"version": "0.11.0",
"version": "0.12.0",
"description": "This module helps you use WordPress as a Headless CMS with React",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
Expand Down Expand Up @@ -79,7 +79,7 @@
},
"dependencies": {
"@gqty/react": "^2.0.0",
"@faustjs/core": "^0.11.0",
"@faustjs/core": "^0.12.0",
"gqty": "^2.0.1",
"graphql": ">=15.6",
"lodash": "^4.17.21"
Expand Down

0 comments on commit 048a3e8

Please sign in to comment.