diff --git a/.changeset/commerce-catalog-channel-filter.md b/.changeset/commerce-catalog-channel-filter.md deleted file mode 100644 index 42651882..00000000 --- a/.changeset/commerce-catalog-channel-filter.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@godaddy/gd-commerce-server": patch ---- - -Filter storefront product lists and product details by the server-configured Commerce channel. Active products unavailable on that channel no longer appear in lists or resolve through direct product links. Search, category filters, and explicit product IDs retain the channel filter; browser query parameters cannot override it. - -Document stale-channel empty results and upstream channel lookup costs. Product browsing filters do not check channel eligibility for SKU lookup or cart writes; hosts must enforce any required restrictions on those operations. diff --git a/.changeset/storefront-html-api-response.md b/.changeset/storefront-html-api-response.md deleted file mode 100644 index 81388b5e..00000000 --- a/.changeset/storefront-html-api-response.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@godaddy/gd-commerce-storefront": patch ---- - -Show "The store could not be reached" instead of a JSON parse error when an `/api/commerce` route answers with the app's HTML page, such as an unmounted route behind a single-page app fallback or an HTML 404 page. The failure has status 502 rather than the page's status, so an HTML 404 never clears the saved cart. Development builds log which route returned HTML and how to mount the Commerce routes. The new `apiUnavailable` message has English and French text. diff --git a/packages/commerce-server/CHANGELOG.md b/packages/commerce-server/CHANGELOG.md index 27aad10f..9ff546d8 100644 --- a/packages/commerce-server/CHANGELOG.md +++ b/packages/commerce-server/CHANGELOG.md @@ -1,5 +1,13 @@ # @godaddy/gd-commerce-server +## 0.4.1 + +### Patch Changes + +- 4cd44e2: Filter storefront product lists and product details by the server-configured Commerce channel. Active products unavailable on that channel no longer appear in lists or resolve through direct product links. Search, category filters, and explicit product IDs retain the channel filter; browser query parameters cannot override it. + + Document stale-channel empty results and upstream channel lookup costs. Product browsing filters do not check channel eligibility for SKU lookup or cart writes; hosts must enforce any required restrictions on those operations. + ## 0.4.0 ### Minor Changes diff --git a/packages/commerce-server/package.json b/packages/commerce-server/package.json index d2df5abc..7c84ab90 100644 --- a/packages/commerce-server/package.json +++ b/packages/commerce-server/package.json @@ -1,6 +1,6 @@ { "name": "@godaddy/gd-commerce-server", - "version": "0.4.0", + "version": "0.4.1", "description": "Opinionated Express server integration for GoDaddy Commerce", "type": "module", "license": "MIT", diff --git a/packages/commerce-storefront/CHANGELOG.md b/packages/commerce-storefront/CHANGELOG.md index bca11b42..a00999b4 100644 --- a/packages/commerce-storefront/CHANGELOG.md +++ b/packages/commerce-storefront/CHANGELOG.md @@ -1,5 +1,11 @@ # @godaddy/gd-commerce-storefront +## 0.11.1 + +### Patch Changes + +- 8f69cfd: Show "The store could not be reached" instead of a JSON parse error when an `/api/commerce` route answers with the app's HTML page, such as an unmounted route behind a single-page app fallback or an HTML 404 page. The failure has status 502 rather than the page's status, so an HTML 404 never clears the saved cart. Development builds log which route returned HTML and how to mount the Commerce routes. The new `apiUnavailable` message has English and French text. + ## 0.11.0 ### Minor Changes diff --git a/packages/commerce-storefront/package.json b/packages/commerce-storefront/package.json index e2cb9a28..5ec816d1 100644 --- a/packages/commerce-storefront/package.json +++ b/packages/commerce-storefront/package.json @@ -1,6 +1,6 @@ { "name": "@godaddy/gd-commerce-storefront", - "version": "0.11.0", + "version": "0.11.1", "description": "Opinionated React storefront templates for GoDaddy Commerce", "type": "module", "license": "MIT",