From 4ef1b498d31e0c0596d7f3058cad24194daf9fff Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 10 Dec 2024 16:10:59 +0000 Subject: [PATCH] Version Packages --- .changeset/tasty-walls-thank.md | 5 --- .changeset/three-singers-roll.md | 39 ------------------ packages/experimental-app-router/CHANGELOG.md | 40 +++++++++++++++++++ packages/experimental-app-router/package.json | 2 +- plugins/faustwp/CHANGELOG.md | 6 +++ plugins/faustwp/faustwp.php | 2 +- plugins/faustwp/package.json | 2 +- plugins/faustwp/readme.txt | 14 +++---- 8 files changed, 56 insertions(+), 54 deletions(-) delete mode 100644 .changeset/tasty-walls-thank.md delete mode 100644 .changeset/three-singers-roll.md diff --git a/.changeset/tasty-walls-thank.md b/.changeset/tasty-walls-thank.md deleted file mode 100644 index a988baa93..000000000 --- a/.changeset/tasty-walls-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@faustwp/wordpress-plugin': minor ---- - -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. diff --git a/.changeset/three-singers-roll.md b/.changeset/three-singers-roll.md deleted file mode 100644 index 579cf86e7..000000000 --- a/.changeset/three-singers-roll.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -'@faustwp/experimental-app-router': minor ---- - ---- - -## '@faustwp/experimental-app-router': minor - -Update @faustwp/experimental-app-router to account for next 15 changes to cookies and update NextResponse import - -Notable changes: - -- Adding await to all cookies requests as per Next documentation: https://nextjs.org/docs/app/api-reference/functions/cookies - -``` -import { cookies } from 'next/headers' - -export default async function Page() { - const cookieStore = await cookies() - const theme = cookieStore.get('theme') - return '...' -} -``` - -- Files changed: - - - packages/experimental-app-router/src/server-actions/logoutAction.ts - - packages/experimental-app-router/src/server-actions/utils/setRefreshToken.ts - - packages/experimental-app-router/src/server/auth/fetchTokens.ts - - packages/experimental-app-router/src/server/routeHandler/tokenHandler.ts - -- Updated Next App Router example to use latest next version and React 19 RC. -- Updated Example Login form using React 19s useActionState -- Updated Awaiting of params for Next 15 -- Files Changed: - - examples/next/app-router/app/login/page.tsx - - examples/next/app-router/package.json - - examples/next/app-router/[slug]hasPreviewProps.ts (made async) - - examples/next/app-router/[slug]page.tsx diff --git a/packages/experimental-app-router/CHANGELOG.md b/packages/experimental-app-router/CHANGELOG.md index 82e847642..963d4783b 100644 --- a/packages/experimental-app-router/CHANGELOG.md +++ b/packages/experimental-app-router/CHANGELOG.md @@ -1,5 +1,45 @@ # @faustwp/experimental-app-router +## 0.6.0 + +### Minor Changes + +- 5457479: --- + + ## '@faustwp/experimental-app-router': minor + + Update @faustwp/experimental-app-router to account for next 15 changes to cookies and update NextResponse import + + Notable changes: + + - Adding await to all cookies requests as per Next documentation: https://nextjs.org/docs/app/api-reference/functions/cookies + + ``` + import { cookies } from 'next/headers' + + export default async function Page() { + const cookieStore = await cookies() + const theme = cookieStore.get('theme') + return '...' + } + ``` + + - Files changed: + + - packages/experimental-app-router/src/server-actions/logoutAction.ts + - packages/experimental-app-router/src/server-actions/utils/setRefreshToken.ts + - packages/experimental-app-router/src/server/auth/fetchTokens.ts + - packages/experimental-app-router/src/server/routeHandler/tokenHandler.ts + + - Updated Next App Router example to use latest next version and React 19 RC. + - Updated Example Login form using React 19s useActionState + - Updated Awaiting of params for Next 15 + - Files Changed: + - examples/next/app-router/app/login/page.tsx + - examples/next/app-router/package.json + - examples/next/app-router/[slug]hasPreviewProps.ts (made async) + - examples/next/app-router/[slug]page.tsx + ## 0.5.0 ### Minor Changes diff --git a/packages/experimental-app-router/package.json b/packages/experimental-app-router/package.json index ba4660cc9..dcd2b0f47 100644 --- a/packages/experimental-app-router/package.json +++ b/packages/experimental-app-router/package.json @@ -1,7 +1,7 @@ { "name": "@faustwp/experimental-app-router", "type": "module", - "version": "0.5.0", + "version": "0.6.0", "description": "Experimental: A Faust package to support Next.js' App Router", "exports": { ".": "./dist/index.js", diff --git a/plugins/faustwp/CHANGELOG.md b/plugins/faustwp/CHANGELOG.md index 0c0c87e6d..29b5a1045 100644 --- a/plugins/faustwp/CHANGELOG.md +++ b/plugins/faustwp/CHANGELOG.md @@ -1,5 +1,11 @@ # Faust +## 1.6.0 + +### Minor Changes + +- 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. + ## 1.5.0 ### Minor Changes diff --git a/plugins/faustwp/faustwp.php b/plugins/faustwp/faustwp.php index 033de3d38..1cc18804f 100644 --- a/plugins/faustwp/faustwp.php +++ b/plugins/faustwp/faustwp.php @@ -9,7 +9,7 @@ * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: faustwp * Domain Path: /languages - * Version: 1.5.0 + * Version: 1.6.0 * Requires PHP: 7.2 * Requires at least: 5.7 * Update URI: false diff --git a/plugins/faustwp/package.json b/plugins/faustwp/package.json index 0d1e80cba..0792271a2 100644 --- a/plugins/faustwp/package.json +++ b/plugins/faustwp/package.json @@ -1,5 +1,5 @@ { "name": "@faustwp/wordpress-plugin", - "version": "1.5.0", + "version": "1.6.0", "private": true } diff --git a/plugins/faustwp/readme.txt b/plugins/faustwp/readme.txt index ba587720c..4c4bd20fd 100644 --- a/plugins/faustwp/readme.txt +++ b/plugins/faustwp/readme.txt @@ -3,7 +3,7 @@ Contributors: antpb, apmatthe, blakewpe, chriswiegman, claygriffiths, jasonkonen Tags: faustjs, faust, headless, decoupled, composable-architecture Requires at least: 5.7 Tested up to: 6.6.1 -Stable tag: 1.5.0 +Stable tag: 1.6.0 Requires PHP: 7.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -54,6 +54,12 @@ plugins/faustwp/.wordpress-org/screenshot-3.png == Changelog == += 1.6.0 = + +### Minor Changes + +- 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. + = 1.5.0 = ### Minor Changes @@ -66,10 +72,4 @@ plugins/faustwp/.wordpress-org/screenshot-3.png - e80d80af: Tested up to WordPress v6.6.1 -= 1.4.0 = - -### Minor Changes - -- 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. - [View the full changelog](https://github.com/wpengine/faustjs/blob/canary/plugins/faustwp/CHANGELOG.md) \ No newline at end of file