diff --git a/.monorepo-source.json b/.monorepo-source.json index 980b129..73a03b3 100644 --- a/.monorepo-source.json +++ b/.monorepo-source.json @@ -1,7 +1,7 @@ { "productId": "funkycommerce-headless", "repository": "coded-letter/superfunky-theme", - "source": "coded-letter/coded-letter-monorepo@4d30981f3726872e6d6f8f82f6ab2cdc80ad9000", + "source": "coded-letter/coded-letter-monorepo@cf26b9dbcecfd5ce323b5007f3916b88198a50f3", "sourcePath": "workspace/backend/wordpress/themes/free/funkycommerce-headless", "installSlug": "funkycommerce-headless", "kind": "theme", diff --git a/functions.php b/functions.php index 1c65373..e4bb6fd 100644 --- a/functions.php +++ b/functions.php @@ -9,7 +9,7 @@ exit; } -define( 'FUNKYCOMMERCE_HEADLESS_VERSION', '1.2.28' ); +define( 'FUNKYCOMMERCE_HEADLESS_VERSION', '1.2.29' ); /** * Whether Superfunky Pro is active and licensed. diff --git a/inc/artifact-renderer.php b/inc/artifact-renderer.php index 7598c52..e3d9a75 100644 --- a/inc/artifact-renderer.php +++ b/inc/artifact-renderer.php @@ -1509,7 +1509,7 @@ private static function route_seed_entries( $route, $rendered, $dependencies ) { $keys[] = 'page:' . $uri; $keys[] = 'content-page-by-uri:v1:' . $uri; } elseif ( 'product' === $route['object']->post_type ) { - $keys[] = 'product:' . $route['path']; + $keys[] = 'product:' . $uri; $keys[] = 'product:' . $route['object']->post_name; } else { $keys[] = 'post:' . $uri; diff --git a/package-lock.json b/package-lock.json index 3c48d1e..807d489 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "funkycommerce-headless-theme", - "version": "1.2.28", + "version": "1.2.29", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "funkycommerce-headless-theme", - "version": "1.2.28", + "version": "1.2.29", "devDependencies": { "autoprefixer": "^10.4.20", "esbuild": "^0.28.2", diff --git a/package.json b/package.json index 8aa7385..c53c136 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "funkycommerce-headless-theme", "private": true, - "version": "1.2.28", + "version": "1.2.29", "description": "Tailwind/build tooling for the FunkyCommerce Headless WordPress theme's native frontend assets (block templates, template parts, loader, and Spotify slot).", "scripts": { "build:css": "tailwindcss -i ./assets/css/theme-source.css -o ./assets/dist/theme.css --minify", diff --git a/readme.txt b/readme.txt index 296b95a..3504bf2 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: headless, woocommerce, wpgraphql, full-site-editing Requires at least: 6.7 Tested up to: 6.8 Requires PHP: 7.4 -Stable tag: 1.2.28 +Stable tag: 1.2.29 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -15,6 +15,11 @@ Control Center, the theme also ships a complete native WordPress rendering path "Native frontend theme" below) with accessible header/footer/navigation templates and core front/home/singular/archive/search/404 routes styled to match the storefront. +== 1.2.29 highlights == + +* Aligns product artifact hydration keys with the storefront's canonical trailing-slash routes. +* Prevents ready product artifacts from falling through to a duplicate blocking GraphQL request. + == 1.2.28 highlights == * Keeps trusted CMS scripts inert in server-rendered HTML until the storefront safely decodes and executes them. diff --git a/style.css b/style.css index 6315ccc..8860065 100644 --- a/style.css +++ b/style.css @@ -7,7 +7,7 @@ Description: A minimal, content-first block theme for polished WordPress preview Requires at least: 6.7 Tested up to: 6.8 Requires PHP: 7.4 -Version: 1.2.28 +Version: 1.2.29 Update URI: https://github.com/coded-letter/superfunky-theme License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html