Skip to content

Commit 4ef1b49

Browse files
Version Packages
1 parent bdd3a16 commit 4ef1b49

File tree

8 files changed

+56
-54
lines changed

8 files changed

+56
-54
lines changed

.changeset/tasty-walls-thank.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/three-singers-roll.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/experimental-app-router/CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# @faustwp/experimental-app-router
22

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- 5457479: ---
8+
9+
## '@faustwp/experimental-app-router': minor
10+
11+
Update @faustwp/experimental-app-router to account for next 15 changes to cookies and update NextResponse import
12+
13+
Notable changes:
14+
15+
- Adding await to all cookies requests as per Next documentation: https://nextjs.org/docs/app/api-reference/functions/cookies
16+
17+
```
18+
import { cookies } from 'next/headers'
19+
20+
export default async function Page() {
21+
const cookieStore = await cookies()
22+
const theme = cookieStore.get('theme')
23+
return '...'
24+
}
25+
```
26+
27+
- Files changed:
28+
29+
- packages/experimental-app-router/src/server-actions/logoutAction.ts
30+
- packages/experimental-app-router/src/server-actions/utils/setRefreshToken.ts
31+
- packages/experimental-app-router/src/server/auth/fetchTokens.ts
32+
- packages/experimental-app-router/src/server/routeHandler/tokenHandler.ts
33+
34+
- Updated Next App Router example to use latest next version and React 19 RC.
35+
- Updated Example Login form using React 19s useActionState
36+
- Updated Awaiting of params for Next 15
37+
- Files Changed:
38+
- examples/next/app-router/app/login/page.tsx
39+
- examples/next/app-router/package.json
40+
- examples/next/app-router/[slug]hasPreviewProps.ts (made async)
41+
- examples/next/app-router/[slug]page.tsx
42+
343
## 0.5.0
444

545
### Minor Changes

packages/experimental-app-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@faustwp/experimental-app-router",
33
"type": "module",
4-
"version": "0.5.0",
4+
"version": "0.6.0",
55
"description": "Experimental: A Faust package to support Next.js' App Router",
66
"exports": {
77
".": "./dist/index.js",

plugins/faustwp/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Faust
22

3+
## 1.6.0
4+
5+
### Minor Changes
6+
7+
- 28f1f83: Added new filter `faustwp_public_redirect_status_code`, allowing WordPress plugins and themes to choose the [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) to use when generating redirects when the [enable public route redirects](https://faustjs.org/docs/faustwp/settings#enabling-public-route-redirects) setting is active.
8+
39
## 1.5.0
410

511
### Minor Changes

plugins/faustwp/faustwp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010
* Text Domain: faustwp
1111
* Domain Path: /languages
12-
* Version: 1.5.0
12+
* Version: 1.6.0
1313
* Requires PHP: 7.2
1414
* Requires at least: 5.7
1515
* Update URI: false

plugins/faustwp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "@faustwp/wordpress-plugin",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"private": true
55
}

plugins/faustwp/readme.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: antpb, apmatthe, blakewpe, chriswiegman, claygriffiths, jasonkonen
33
Tags: faustjs, faust, headless, decoupled, composable-architecture
44
Requires at least: 5.7
55
Tested up to: 6.6.1
6-
Stable tag: 1.5.0
6+
Stable tag: 1.6.0
77
Requires PHP: 7.2
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -54,6 +54,12 @@ plugins/faustwp/.wordpress-org/screenshot-3.png
5454

5555
== Changelog ==
5656

57+
= 1.6.0 =
58+
59+
### Minor Changes
60+
61+
- 28f1f83: Added new filter `faustwp_public_redirect_status_code`, allowing WordPress plugins and themes to choose the [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) to use when generating redirects when the [enable public route redirects](https://faustjs.org/docs/faustwp/settings#enabling-public-route-redirects) setting is active.
62+
5763
= 1.5.0 =
5864

5965
### Minor Changes
@@ -66,10 +72,4 @@ plugins/faustwp/.wordpress-org/screenshot-3.png
6672

6773
- e80d80af: Tested up to WordPress v6.6.1
6874

69-
= 1.4.0 =
70-
71-
### Minor Changes
72-
73-
- 9ff1df86: Introduces a new setting on the Faust settings page that allows users to opt-in or out of Faust removing Nav Menu Locations that are not registered on the Faust Settings page.
74-
7575
[View the full changelog](https://github.com/wpengine/faustjs/blob/canary/plugins/faustwp/CHANGELOG.md)

0 commit comments

Comments
 (0)