From c003877434a508cee90125f230c293a554c74523 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 25 Sep 2025 13:10:31 +0000 Subject: [PATCH 1/2] Version Packages --- .changeset/huge-walls-raise.md | 5 --- .../next/faustwp-getting-started/package.json | 2 +- packages/faustwp-core/CHANGELOG.md | 38 +++++++++++-------- packages/faustwp-core/package.json | 2 +- 4 files changed, 24 insertions(+), 23 deletions(-) delete mode 100644 .changeset/huge-walls-raise.md diff --git a/.changeset/huge-walls-raise.md b/.changeset/huge-walls-raise.md deleted file mode 100644 index 61d560b4c..000000000 --- a/.changeset/huge-walls-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@faustwp/core': patch ---- - -#2181 - Sanitize URL in cookie key to make it RFC 6265 sec 4.1.1 compliant. diff --git a/examples/next/faustwp-getting-started/package.json b/examples/next/faustwp-getting-started/package.json index e78be0026..5ac8c22ed 100644 --- a/examples/next/faustwp-getting-started/package.json +++ b/examples/next/faustwp-getting-started/package.json @@ -12,7 +12,7 @@ "dependencies": { "@apollo/client": "^3.10.4", "@faustwp/cli": "^3.3.1", - "@faustwp/core": "^3.3.1", + "@faustwp/core": "^3.3.2", "@wordpress/base-styles": "^5.10.0", "@wordpress/block-library": "^9.10.0", "classnames": "^2.5.1", diff --git a/packages/faustwp-core/CHANGELOG.md b/packages/faustwp-core/CHANGELOG.md index 7f79d4944..ea21de1a3 100644 --- a/packages/faustwp-core/CHANGELOG.md +++ b/packages/faustwp-core/CHANGELOG.md @@ -1,5 +1,11 @@ # @faustwp/core +## 3.3.2 + +### Patch Changes + +- b5c208f: #2181 - Sanitize URL in cookie key to make it RFC 6265 sec 4.1.1 compliant. + ## 3.3.1 ### Patch Changes @@ -62,11 +68,11 @@ export default function Sitemap() {} export function getServerSideProps(ctx) { - return getSitemapProps(ctx, { - sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this - frontendUrl: process.env.NEXT_PUBLIC_SITE_URL, - sitemapPathsToIgnore: ['/wp-sitemap-users-*'], - }); + return getSitemapProps(ctx, { + sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this + frontendUrl: process.env.NEXT_PUBLIC_SITE_URL, + sitemapPathsToIgnore: ['/wp-sitemap-users-*'], + }); } ``` @@ -170,7 +176,7 @@ ```jsx - Log Out + Log Out ``` @@ -276,18 +282,18 @@ import { FaustPage } from '@faustwp/core'; type GetPageData = { - generalSettings: { - title: string; - }; + generalSettings: { + title: string; + }; }; type PageProps = { - myProp: string; + myProp: string; }; const Page: FaustPage = (props) => { - const { myProp, data } = props; - return <>; + const { myProp, data } = props; + return <>; }; ``` @@ -356,9 +362,9 @@ export default function Sitemap() {} export function getServerSideProps(context) { - return getSitemapProps(context, { - frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var - }); + return getSitemapProps(context, { + frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var + }); } ``` @@ -388,7 +394,7 @@ import { FaustHooks, FaustPlugin } from '@faustwp/core'; export class MyPlugin implements FaustPlugin { - apply(hooks: FaustHooks) {} + apply(hooks: FaustHooks) {} } ``` diff --git a/packages/faustwp-core/package.json b/packages/faustwp-core/package.json index 9a8db3f82..eadf2ba46 100644 --- a/packages/faustwp-core/package.json +++ b/packages/faustwp-core/package.json @@ -1,6 +1,6 @@ { "name": "@faustwp/core", - "version": "3.3.1", + "version": "3.3.2", "description": "Faust is a framework that aims to make headless WordPress as streamlined as classic WordPress for both developers and publishers", "main": "dist/cjs/index.js", "module": "dist/mjs/index.js", From cedcaad5d8cda0ddebd14d9ff8a1677ca2ea532a Mon Sep 17 00:00:00 2001 From: ahuseyn Date: Mon, 29 Sep 2025 12:18:37 +0200 Subject: [PATCH 2/2] fix: changelog format --- packages/faustwp-core/CHANGELOG.md | 32 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/faustwp-core/CHANGELOG.md b/packages/faustwp-core/CHANGELOG.md index ea21de1a3..a9412ec78 100644 --- a/packages/faustwp-core/CHANGELOG.md +++ b/packages/faustwp-core/CHANGELOG.md @@ -68,11 +68,11 @@ export default function Sitemap() {} export function getServerSideProps(ctx) { - return getSitemapProps(ctx, { - sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this - frontendUrl: process.env.NEXT_PUBLIC_SITE_URL, - sitemapPathsToIgnore: ['/wp-sitemap-users-*'], - }); + return getSitemapProps(ctx, { + sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this + frontendUrl: process.env.NEXT_PUBLIC_SITE_URL, + sitemapPathsToIgnore: ['/wp-sitemap-users-*'], + }); } ``` @@ -176,7 +176,7 @@ ```jsx - Log Out + Log Out ``` @@ -282,18 +282,18 @@ import { FaustPage } from '@faustwp/core'; type GetPageData = { - generalSettings: { - title: string; - }; + generalSettings: { + title: string; + }; }; type PageProps = { - myProp: string; + myProp: string; }; const Page: FaustPage = (props) => { - const { myProp, data } = props; - return <>; + const { myProp, data } = props; + return <>; }; ``` @@ -362,9 +362,9 @@ export default function Sitemap() {} export function getServerSideProps(context) { - return getSitemapProps(context, { - frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var - }); + return getSitemapProps(context, { + frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var + }); } ``` @@ -394,7 +394,7 @@ import { FaustHooks, FaustPlugin } from '@faustwp/core'; export class MyPlugin implements FaustPlugin { - apply(hooks: FaustHooks) {} + apply(hooks: FaustHooks) {} } ```