From 735bace2691b38b8d904f3d3b0db2c528701ff13 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:20:46 +0000 Subject: [PATCH 1/3] chore(deps-dev): Bump @adobe/css-tools from 4.3.1 to 4.3.2 (#1668) Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2. - [Changelog](https://github.com/adobe/css-tools/blob/main/History.md) - [Commits](https://github.com/adobe/css-tools/commits) --- updated-dependencies: - dependency-name: "@adobe/css-tools" dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index fc203416f..00a79d079 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2182,9 +2182,10 @@ } }, "node_modules/@adobe/css-tools": { - "version": "4.3.1", - "dev": true, - "license": "MIT" + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.2.tgz", + "integrity": "sha512-DA5a1C0gD/pLOvhv33YMrbf2FK3oUzwNl9oOJqE4XVjuEtt6XIakRcsd7eLiOSPkp1kTRQGICTA8cKra/vFbjw==", + "dev": true }, "node_modules/@ampproject/remapping": { "version": "2.2.1", From c75ab2be63bfeb4eb716d96a32821ccb0340ac34 Mon Sep 17 00:00:00 2001 From: Theofanis Despoudis <328805+theodesp@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:05:29 +0000 Subject: [PATCH 2/3] Bug: Fix blockset cli failing when path contains spaces (#1669) --- .changeset/shy-pumas-grab.md | 5 +++++ packages/faustwp-cli/src/blockset.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/shy-pumas-grab.md diff --git a/.changeset/shy-pumas-grab.md b/.changeset/shy-pumas-grab.md new file mode 100644 index 000000000..2584a841f --- /dev/null +++ b/.changeset/shy-pumas-grab.md @@ -0,0 +1,5 @@ +--- +'@faustwp/cli': patch +--- + +Bug: Quote blockset "output-path" to prevent issues with space in paths. diff --git a/packages/faustwp-cli/src/blockset.ts b/packages/faustwp-cli/src/blockset.ts index 89060423a..b266badf2 100644 --- a/packages/faustwp-cli/src/blockset.ts +++ b/packages/faustwp-cli/src/blockset.ts @@ -149,7 +149,7 @@ export async function compileBlocks(): Promise { args = args.concat([ '--no-watch', `--webpack-src-dir=${FAUST_BLOCKS_SRC_DIR}`, - `--output-path=${FAUST_BUILD_DIR}`, + `--output-path="${FAUST_BUILD_DIR}"`, ]); const res = spawnSync(command, args, { shell: true, From 22a64b6627984f198a0fc30281e29f02ac97bfdc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 6 Dec 2023 12:03:15 -0600 Subject: [PATCH 3/3] Version Packages (#1654) Co-authored-by: github-actions[bot] --- .changeset/four-books-invent.md | 5 ----- .changeset/shy-pumas-grab.md | 5 ----- .changeset/smooth-cooks-warn.md | 5 ----- .changeset/violet-taxis-report.md | 9 --------- .changeset/yellow-foxes-complain.md | 5 ----- examples/next/app-router/package.json | 4 ++-- examples/next/block-support/package.json | 2 +- .../next/faustwp-getting-started/package.json | 2 +- packages/experimental-app-router/CHANGELOG.md | 10 ++++++++++ packages/experimental-app-router/package.json | 4 ++-- packages/faustwp-cli/CHANGELOG.md | 6 ++++++ packages/faustwp-cli/package.json | 2 +- plugins/faustwp/CHANGELOG.md | 8 ++++++++ plugins/faustwp/faustwp.php | 2 +- plugins/faustwp/package.json | 2 +- plugins/faustwp/readme.txt | 16 +++++++++------- 16 files changed, 42 insertions(+), 45 deletions(-) delete mode 100644 .changeset/four-books-invent.md delete mode 100644 .changeset/shy-pumas-grab.md delete mode 100644 .changeset/smooth-cooks-warn.md delete mode 100644 .changeset/violet-taxis-report.md delete mode 100644 .changeset/yellow-foxes-complain.md diff --git a/.changeset/four-books-invent.md b/.changeset/four-books-invent.md deleted file mode 100644 index 21f3cec7f..000000000 --- a/.changeset/four-books-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@faustwp/wordpress-plugin': patch ---- - -Fixed a bug that caused links to files in wp-content to be rewritten to the Faust Front-end site URL when they should not have been. diff --git a/.changeset/shy-pumas-grab.md b/.changeset/shy-pumas-grab.md deleted file mode 100644 index 2584a841f..000000000 --- a/.changeset/shy-pumas-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@faustwp/cli': patch ---- - -Bug: Quote blockset "output-path" to prevent issues with space in paths. diff --git a/.changeset/smooth-cooks-warn.md b/.changeset/smooth-cooks-warn.md deleted file mode 100644 index 907c5fe71..000000000 --- a/.changeset/smooth-cooks-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@faustwp/wordpress-plugin': patch ---- - -Bug Fix: Fixed missing call to autosave when using Post/Page previews. diff --git a/.changeset/violet-taxis-report.md b/.changeset/violet-taxis-report.md deleted file mode 100644 index beca4fa83..000000000 --- a/.changeset/violet-taxis-report.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@faustwp/experimental-app-router': patch ---- - -Added: New util for fetching data on the client side. In a client component (`use client`), you can now use Apollo's `useQuery` to fetch data once your application is wrapped with the `` component. This new component is available via: - -```tsx -import { FaustProvider } from '@faustwp/experimental-app-router/ssr'; -``` diff --git a/.changeset/yellow-foxes-complain.md b/.changeset/yellow-foxes-complain.md deleted file mode 100644 index 98ec986b2..000000000 --- a/.changeset/yellow-foxes-complain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@faustwp/wordpress-plugin': patch ---- - -Fixed a bug where links were rewritten to the Faust Front-end Site URL when using the post editor, resulting in those rewritten links being saved to the post content and guid fields when they shouldn't be. These links are now saved with the URL pointing to the WP site, as they should be. They are still rewritten at runtime to link to the Front-end Site URL when appropriate. diff --git a/examples/next/app-router/package.json b/examples/next/app-router/package.json index b5dc72966..25c71dae8 100644 --- a/examples/next/app-router/package.json +++ b/examples/next/app-router/package.json @@ -12,9 +12,9 @@ "dependencies": { "@apollo/client": "^3.8.0", "@apollo/experimental-nextjs-app-support": "^0.5.1", - "@faustwp/cli": "^1.2.0", + "@faustwp/cli": "^1.2.1", "@faustwp/core": "^1.2.0", - "@faustwp/experimental-app-router": "^0.2.1", + "@faustwp/experimental-app-router": "^0.2.2", "graphql": "^16.7.1", "next": "^14.0.1", "react": "^18.3.0-canary-ce2bc58a9-20231102", diff --git a/examples/next/block-support/package.json b/examples/next/block-support/package.json index bcdf35e28..a86fc9ec9 100644 --- a/examples/next/block-support/package.json +++ b/examples/next/block-support/package.json @@ -13,7 +13,7 @@ "dependencies": { "@apollo/client": "^3.8.8", "@faustwp/blocks": "2.0.0", - "@faustwp/cli": "^1.2.0", + "@faustwp/cli": "^1.2.1", "@faustwp/core": "^1.2.0", "@wordpress/base-styles": "^4.38.0", "@wordpress/block-library": "^8.24.0", diff --git a/examples/next/faustwp-getting-started/package.json b/examples/next/faustwp-getting-started/package.json index 8cd0f66f4..ad28d5d5b 100644 --- a/examples/next/faustwp-getting-started/package.json +++ b/examples/next/faustwp-getting-started/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@apollo/client": "^3.6.6", - "@faustwp/cli": "^1.2.0", + "@faustwp/cli": "^1.2.1", "@faustwp/core": "^1.2.0", "@wordpress/base-styles": "^4.36.0", "@wordpress/block-library": "^7.19.0", diff --git a/packages/experimental-app-router/CHANGELOG.md b/packages/experimental-app-router/CHANGELOG.md index 13eaf40fb..7b4b0276e 100644 --- a/packages/experimental-app-router/CHANGELOG.md +++ b/packages/experimental-app-router/CHANGELOG.md @@ -1,5 +1,15 @@ # @faustwp/experimental-app-router +## 0.2.2 + +### Patch Changes + +- 626207b: Added: New util for fetching data on the client side. In a client component (`use client`), you can now use Apollo's `useQuery` to fetch data once your application is wrapped with the `` component. This new component is available via: + + ```tsx + import { FaustProvider } from '@faustwp/experimental-app-router/ssr'; + ``` + ## 0.2.1 ### Patch Changes diff --git a/packages/experimental-app-router/package.json b/packages/experimental-app-router/package.json index 9cf535b02..6cca92d17 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.2.1", + "version": "0.2.2", "description": "Experimental: A Faust package to support Next.js' App Router", "exports": { ".": "./dist/index.js", @@ -58,7 +58,7 @@ "devDependencies": { "@apollo/client": "^3.8.0", "@apollo/experimental-nextjs-app-support": "^0.5.1", - "@faustwp/cli": "^1.1.3", + "@faustwp/cli": "^1.2.1", "@faustwp/core": "^1.1.2", "@testing-library/jest-dom": "^5.17.0", "@types/node": "^20.4.6", diff --git a/packages/faustwp-cli/CHANGELOG.md b/packages/faustwp-cli/CHANGELOG.md index 3b8528904..be98df16c 100644 --- a/packages/faustwp-cli/CHANGELOG.md +++ b/packages/faustwp-cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @faustwp/cli +## 1.2.1 + +### Patch Changes + +- c75ab2b: Bug: Quote blockset "output-path" to prevent issues with space in paths. + ## 1.2.0 ### Minor Changes diff --git a/packages/faustwp-cli/package.json b/packages/faustwp-cli/package.json index 1279f4c62..354c7fdef 100644 --- a/packages/faustwp-cli/package.json +++ b/packages/faustwp-cli/package.json @@ -1,6 +1,6 @@ { "name": "@faustwp/cli", - "version": "1.2.0", + "version": "1.2.1", "description": "This modules provides a CLI to develop, build, and serve your Faust apps", "main": "dist/index.js", "type": "module", diff --git a/plugins/faustwp/CHANGELOG.md b/plugins/faustwp/CHANGELOG.md index f9a3fcf20..29d9c9a05 100644 --- a/plugins/faustwp/CHANGELOG.md +++ b/plugins/faustwp/CHANGELOG.md @@ -1,5 +1,13 @@ # Faust +## 1.1.2 + +### Patch Changes + +- 78a061a: Fixed a bug that caused links to files in wp-content to be rewritten to the Faust Front-end site URL when they should not have been. +- 2559958: Bug Fix: Fixed missing call to autosave when using Post/Page previews. +- 75f5c80: Fixed a bug where links were rewritten to the Faust Front-end Site URL when using the post editor, resulting in those rewritten links being saved to the post content and guid fields when they shouldn't be. These links are now saved with the URL pointing to the WP site, as they should be. They are still rewritten at runtime to link to the Front-end Site URL when appropriate. + ## 1.1.1 ### Patch Changes diff --git a/plugins/faustwp/faustwp.php b/plugins/faustwp/faustwp.php index 42198f2d2..095492ea0 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.1.1 + * Version: 1.1.2 * Requires PHP: 7.2 * Requires at least: 5.7 * diff --git a/plugins/faustwp/package.json b/plugins/faustwp/package.json index 5308d8d49..77ee19b1e 100644 --- a/plugins/faustwp/package.json +++ b/plugins/faustwp/package.json @@ -1,5 +1,5 @@ { "name": "@faustwp/wordpress-plugin", - "version": "1.1.1", + "version": "1.1.2", "private": true } diff --git a/plugins/faustwp/readme.txt b/plugins/faustwp/readme.txt index 665c13078..c02b4dabd 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.4 -Stable tag: 1.1.1 +Stable tag: 1.1.2 Requires PHP: 7.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -54,6 +54,14 @@ plugins/faustwp/.wordpress-org/screenshot-3.png == Changelog == += 1.1.2 = + +### Patch Changes + +- 78a061a: Fixed a bug that caused links to files in wp-content to be rewritten to the Faust Front-end site URL when they should not have been. +- 2559958: Bug Fix: Fixed missing call to autosave when using Post/Page previews. +- 75f5c80: Fixed a bug where links were rewritten to the Faust Front-end Site URL when using the post editor, resulting in those rewritten links being saved to the post content and guid fields when they shouldn't be. These links are now saved with the URL pointing to the WP site, as they should be. They are still rewritten at runtime to link to the Front-end Site URL when appropriate. + = 1.1.1 = ### Patch Changes @@ -70,10 +78,4 @@ plugins/faustwp/.wordpress-org/screenshot-3.png - d3d30aa: Added support for authenticated WPGraphQL introspection queries using FAUST_SECRET_KEY. It is no longer required to enable "Public Introspection" in WPGraphQL. -= 1.0.4 = - -### Patch Changes - -- fcc6d37: Fixed a bug in the block editor screen where the preview link was missing the `p` and `previewPathName` query arguments after saving a draft. - [View the full changelog](https://github.com/wpengine/faustjs/blob/canary/plugins/faustwp/CHANGELOG.md) \ No newline at end of file