diff --git a/.changeset/sample-products-before-connection.md b/.changeset/sample-products-before-connection.md deleted file mode 100644 index 2d60aa06..00000000 --- a/.changeset/sample-products-before-connection.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@godaddy/gd-commerce-storefront": minor -"@godaddy/gd-commerce-server": minor ---- - -Support storefronts that are not connected to a store yet. `Catalog sampleProducts` shows built-in sample products and a local sample cart only while the server reports `unbound`, and the components switch to the connected store automatically, without source changes. Unknown state, empty live catalogs, and failures never show samples. Add optional `CommerceConfiguration.readConnectionState()` to the server config contract, and reject live operations until the state is `ready`. Existing successful config responses and live cart behavior are unchanged. diff --git a/packages/commerce-server/CHANGELOG.md b/packages/commerce-server/CHANGELOG.md index 76987799..bfd08f2b 100644 --- a/packages/commerce-server/CHANGELOG.md +++ b/packages/commerce-server/CHANGELOG.md @@ -1,5 +1,11 @@ # @godaddy/gd-commerce-server +## 0.2.0 + +### Minor Changes + +- 2aba6ea: Support storefronts that are not connected to a store yet. `Catalog sampleProducts` shows built-in sample products and a local sample cart only while the server reports `unbound`, and the components switch to the connected store automatically, without source changes. Unknown state, empty live catalogs, and failures never show samples. Add optional `CommerceConfiguration.readConnectionState()` to the server config contract, and reject live operations until the state is `ready`. Existing successful config responses and live cart behavior are unchanged. + ## 0.1.1 ### Patch Changes diff --git a/packages/commerce-server/package.json b/packages/commerce-server/package.json index 9813bea3..ebacaeb7 100644 --- a/packages/commerce-server/package.json +++ b/packages/commerce-server/package.json @@ -1,6 +1,6 @@ { "name": "@godaddy/gd-commerce-server", - "version": "0.1.1", + "version": "0.2.0", "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 70ca6f93..75ed93b7 100644 --- a/packages/commerce-storefront/CHANGELOG.md +++ b/packages/commerce-storefront/CHANGELOG.md @@ -1,5 +1,11 @@ # @godaddy/gd-commerce-storefront +## 0.2.0 + +### Minor Changes + +- 2aba6ea: Support storefronts that are not connected to a store yet. `Catalog sampleProducts` shows built-in sample products and a local sample cart only while the server reports `unbound`, and the components switch to the connected store automatically, without source changes. Unknown state, empty live catalogs, and failures never show samples. Add optional `CommerceConfiguration.readConnectionState()` to the server config contract, and reject live operations until the state is `ready`. Existing successful config responses and live cart behavior are unchanged. + ## 0.1.3 ### Patch Changes diff --git a/packages/commerce-storefront/package.json b/packages/commerce-storefront/package.json index fa5f1bdd..e043a479 100644 --- a/packages/commerce-storefront/package.json +++ b/packages/commerce-storefront/package.json @@ -1,6 +1,6 @@ { "name": "@godaddy/gd-commerce-storefront", - "version": "0.1.3", + "version": "0.2.0", "description": "Opinionated React storefront templates for GoDaddy Commerce", "type": "module", "license": "MIT",