Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Bump SDK and Next packages to 0.6.3
Damian Legawiecde5c1171e01d
diff --git a/packages/next/.changeset/add-markets-api.md b/packages/next/.changeset/add-markets-api.mddeleted file mode 100644index 32a357e884..0000000000--- a/packages/next/.changeset/add-markets-api.md+++ /dev/null@@ -1,9 +0,0 @@-----"@spree/next": patch------Add Markets data functions and update country types--- Add `listMarkets()`, `getMarket(id)`, `resolveMarket(country)`, `listMarketCountries(marketId)`, `getMarketCountry(marketId, iso)` data functions-- Export `StoreMarket` type-- **Breaking:** `StoreCountry` no longer includes `currency`, `default_locale`, `supported_locales` — use the markets API or `?include=market` on countriesdiff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.mdindex f50861a8cf..e53ccd3ad8 100644--- a/packages/next/CHANGELOG.md+++ b/packages/next/CHANGELOG.md@@ -1,5 +1,18 @@# @spree/next+## 0.6.3++### Patch Changes++- Add Markets data functions and update country types++ - Add `listMarkets()`, `getMarket(id)`, `resolveMarket(country)`, `listMarketCountries(marketId)`, `getMarketCountry(marketId, iso)` data functions+ - Export `StoreMarket` type+ - **Breaking:** `StoreCountry` no longer includes `currency`, `default_locale`, `supported_locales` — use the markets API or `?include=market` on countries++- Updated dependencies:+ - @spree/[email protected]+## 0.6.2### Patch Changesdiff --git a/packages/next/package.json b/packages/next/package.jsonindex 434f3daa12..f0ebb2c3a8 100644--- a/packages/next/package.json+++ b/packages/next/package.json@@ -1,6 +1,6 @@{"name": "@spree/next",- "version": "0.6.2",+ "version": "0.6.3","description": "Next.js integration for Spree Commerce — server actions, caching, and cookie-based auth","type": "module","main": "./dist/index.js",@@ -62,7 +62,7 @@"url": "https://github.com/spree/spree/issues"},"peerDependencies": {- "@spree/sdk": ">=0.6.2",+ "@spree/sdk": ">=0.6.3","next": ">=15.0.0","react": ">=19.0.0"},diff --git a/packages/sdk/.changeset/add-markets-api.md b/packages/sdk/.changeset/add-markets-api.mddeleted file mode 100644index 57adc40a4e..0000000000--- a/packages/sdk/.changeset/add-markets-api.md+++ /dev/null@@ -1,10 +0,0 @@-----"@spree/sdk": patch------Add Markets API support and simplify Country type--- Add `StoreMarket` type with `id`, `name`, `currency`, `default_locale`, `supported_locales`, `tax_inclusive`, `default`, and optional `countries`-- Add `client.store.markets` with `list()`, `get(id)`, `resolve(country)`, and nested `countries.list(marketId)` / `countries.get(marketId, iso)`-- **Breaking:** Remove `currency`, `default_locale`, `supported_locales` from `StoreCountry` — these now live on `StoreMarket`. Use `?include=market` on the countries endpoint or the markets endpoint directly-- Add optional `market?: StoreMarket` field to `StoreCountry` (populated when `?include=market` is passed)diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.mdindex 5ba6604169..d775efea77 100644--- a/packages/sdk/CHANGELOG.md+++ b/packages/sdk/CHANGELOG.md@@ -1,5 +1,16 @@# @spree/sdk+## 0.6.3++### Patch Changes++- Add Markets API support and simplify Country type++ - Add `StoreMarket` type with `id`, `name`, `currency`, `default_locale`, `supported_locales`, `tax_inclusive`, `default`, and optional `countries`+ - Add `client.store.markets` with `list()`, `get(id)`, `resolve(country)`, and nested `countries.list(marketId)` / `countries.get(marketId, iso)`+ - **Breaking:** Remove `currency`, `default_locale`, `supported_locales` from `StoreCountry` — these now live on `StoreMarket`. Use `?include=market` on the countries endpoint or the markets endpoint directly+ - Add optional `market?: StoreMarket` field to `StoreCountry` (populated when `?include=market` is passed)+## 0.6.2### Patch Changesdiff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex 4947834e5c..2ca27110c9 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -1,6 +1,6 @@{"name": "@spree/sdk",- "version": "0.6.2",+ "version": "0.6.3","description": "Official TypeScript SDK for Spree Commerce API","type": "module","main": "./dist/index.cjs",