diff --git a/.changeset/afraid-terms-shake.md b/.changeset/afraid-terms-shake.md deleted file mode 100644 index 9e79e4b84..000000000 --- a/.changeset/afraid-terms-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@faustwp/blocks": patch ---- - -Bug: Fixed an issue an issue with WordPressBlocksProvider and the theme argument to allow it to be optional and not throw an error. By default theme is now an empty object diff --git a/.changeset/popular-glasses-occur.md b/.changeset/popular-glasses-occur.md deleted file mode 100644 index 8e51c7b54..000000000 --- a/.changeset/popular-glasses-occur.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@faustwp/blocks': major ---- - -Update of the CoreParagraph block to support the native WP anchor attribute. GitHub issue: "[[feat] Add anchor attribute to core/paragraph block](https://github.com/wpengine/faustjs/issues/1954)" - -Introduces new field to `core/paragraph` block: `anchor`. This field allows users to add an anchor to the paragraph block. The anchor is used to create a link to a specific part of the page. The anchor is added to the block's wrapper element as an ID attribute. - -**Files changed:** - - packages/blocks/src/blocks/CoreParagraph.tsx (added anchor attribute) - - packages/blocks/package.json (updated package version to 6.0.0) 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/blocks/CHANGELOG.md b/packages/blocks/CHANGELOG.md index 30ace3489..98218a343 100644 --- a/packages/blocks/CHANGELOG.md +++ b/packages/blocks/CHANGELOG.md @@ -1,5 +1,22 @@ # @faustwp/blocks +## 6.0.0 + +### Major Changes + +- 99b5793: Update of the CoreParagraph block to support the native WP anchor attribute. GitHub issue: "[[feat] Add anchor attribute to core/paragraph block](https://github.com/wpengine/faustjs/issues/1954)" + + Introduces new field to `core/paragraph` block: `anchor`. This field allows users to add an anchor to the paragraph block. The anchor is used to create a link to a specific part of the page. The anchor is added to the block's wrapper element as an ID attribute. + + **Files changed:** + + - packages/blocks/src/blocks/CoreParagraph.tsx (added anchor attribute) + - packages/blocks/package.json (updated package version to 6.0.0) + +### Patch Changes + +- bdb7d7f: Bug: Fixed an issue an issue with WordPressBlocksProvider and the theme argument to allow it to be optional and not throw an error. By default theme is now an empty object + ## 5.0.0 ### Major Changes 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