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 versions
Damian Legawiec9c80d201ac2d
diff --git a/packages/next/.changeset/README.md b/packages/next/.changeset/README.mddeleted file mode 100644index df24502753..0000000000--- a/packages/next/.changeset/README.md+++ /dev/null@@ -1,23 +0,0 @@-# Changesets--This folder is used by [Changesets](https://github.com/changesets/changesets) to track @spree/next version bumps and changelog entries.--## Adding a changeset--After making changes to the package, run:--```bash-cd next-npx changeset-```--This will prompt you to:-1. Select the package (`@spree/next`)-2. Choose the semver bump type (patch/minor/major)-3. Write a summary of the changes--A markdown file will be created in this directory describing the change.--## Releasing--When changeset files are merged to `main`, a "Version Packages" PR is automatically created. Merging that PR bumps the version, updates the CHANGELOG, and publishes to npm.diff --git a/packages/next/.changeset/auto-localization.md b/packages/next/.changeset/auto-localization.mddeleted file mode 100644index 1ac7c40c41..0000000000--- a/packages/next/.changeset/auto-localization.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/next": patch------Added automatic localization. Data functions now auto-read locale and country from cookies when no explicit options are provided. New exports: `setLocale` server action for country/language switchers, `createSpreeMiddleware` (from `@spree/next/middleware`) for URL-based routing with geo-detection. Added `country` to `SpreeNextOptions` and `countryCookieName`, `localeCookieName`, `defaultCountry` to `SpreeNextConfig`.diff --git a/packages/next/.changeset/flat-query-params.md b/packages/next/.changeset/flat-query-params.mddeleted file mode 100644index e530045fbd..0000000000--- a/packages/next/.changeset/flat-query-params.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/next": patch------Updated data function params to use typed flat query params (`ProductListParams`, `TaxonListParams`, `OrderListParams`) instead of `Record<string, unknown>`.diff --git a/packages/next/.changeset/remove-posts-types.md b/packages/next/.changeset/remove-posts-types.mddeleted file mode 100644index 956e463505..0000000000--- a/packages/next/.changeset/remove-posts-types.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/next": patch------Removed Posts and PostCategory references. Posts feature has been extracted to the `spree_posts` extension.diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.mdindex c62fe1493f..67b8b196ed 100644--- a/packages/next/CHANGELOG.md+++ b/packages/next/CHANGELOG.md@@ -1,5 +1,15 @@# @spree/next+## 0.6.1++### Patch Changes++- Added automatic localization. Data functions now auto-read locale and country from cookies when no explicit options are provided. New exports: `setLocale` server action for country/language switchers, `createSpreeMiddleware` (from `@spree/next/middleware`) for URL-based routing with geo-detection. Added `country` to `SpreeNextOptions` and `countryCookieName`, `localeCookieName`, `defaultCountry` to `SpreeNextConfig`.++- Updated data function params to use typed flat query params (`ProductListParams`, `TaxonListParams`, `OrderListParams`) instead of `Record<string, unknown>`.++- Removed Posts and PostCategory references. Posts feature has been extracted to the `spree_posts` extension.+## 0.6.0### Minor Changesdiff --git a/packages/next/package.json b/packages/next/package.jsonindex 6cb258f450..62281c88d6 100644--- a/packages/next/package.json+++ b/packages/next/package.json@@ -1,6 +1,6 @@{"name": "@spree/next",- "version": "0.6.0",+ "version": "0.6.1","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.0",+ "@spree/sdk": ">=0.6.1","next": ">=15.0.0","react": ">=19.0.0"},diff --git a/packages/sdk/.changeset/README.md b/packages/sdk/.changeset/README.mddeleted file mode 100644index a23e427dc3..0000000000--- a/packages/sdk/.changeset/README.md+++ /dev/null@@ -1,23 +0,0 @@-# Changesets--This folder is used by [Changesets](https://github.com/changesets/changesets) to track SDK version bumps and changelog entries.--## Adding a changeset--After making changes to the SDK, run:--```bash-cd sdk-npx changeset-```--This will prompt you to:-1. Select the package (`@spree/sdk`)-2. Choose the semver bump type (patch/minor/major)-3. Write a summary of the changes--A markdown file will be created in this directory describing the change.--## Releasing--When changeset files are merged to `main`, a "Version Packages" PR is automatically created. Merging that PR bumps the version, updates the CHANGELOG, and publishes to npm.diff --git a/packages/sdk/.changeset/auto-localization.md b/packages/sdk/.changeset/auto-localization.mddeleted file mode 100644index 530c9b116e..0000000000--- a/packages/sdk/.changeset/auto-localization.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/sdk": patch------Added client-level locale, currency, and country defaults. Set them at initialization (`createSpreeClient({ locale: 'fr', currency: 'EUR', country: 'FR' })`) or update later with `client.setLocale()`, `client.setCurrency()`, `client.setCountry()`. Per-request options still override defaults.diff --git a/packages/sdk/.changeset/flat-query-params.md b/packages/sdk/.changeset/flat-query-params.mddeleted file mode 100644index 60b855dd8a..0000000000--- a/packages/sdk/.changeset/flat-query-params.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/sdk": patch------Added flat query params for filtering and sorting. Instead of `{ 'q[name_cont]': 'shirt' }`, you can now write `{ name_cont: 'shirt', sort: 'price asc' }`. The SDK transforms these to Ransack format automatically. Old `q[...]` syntax still works for backward compatibility.diff --git a/packages/sdk/.changeset/remove-posts-types.md b/packages/sdk/.changeset/remove-posts-types.mddeleted file mode 100644index 10c1f68457..0000000000--- a/packages/sdk/.changeset/remove-posts-types.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/sdk": patch------Removed `StorePost` and `StorePostCategory` types and Zod schemas. Posts feature has been extracted to the `spree_posts` extension.diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.mdindex c7ca6715ff..9c341af975 100644--- a/packages/sdk/CHANGELOG.md+++ b/packages/sdk/CHANGELOG.md@@ -1,5 +1,15 @@# @spree/sdk+## 0.6.1++### Patch Changes++- Added client-level locale, currency, and country defaults. Set them at initialization (`createSpreeClient({ locale: 'fr', currency: 'EUR', country: 'FR' })`) or update later with `client.setLocale()`, `client.setCurrency()`, `client.setCountry()`. Per-request options still override defaults.++- Added flat query params for filtering and sorting. Instead of `{ 'q[name_cont]': 'shirt' }`, you can now write `{ name_cont: 'shirt', sort: 'price asc' }`. The SDK transforms these to Ransack format automatically. Old `q[...]` syntax still works for backward compatibility.++- Removed `StorePost` and `StorePostCategory` types and Zod schemas. Posts feature has been extracted to the `spree_posts` extension.+## 0.6.0### Minor Changesdiff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex 94c8f3ced7..4cfba34525 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -1,6 +1,6 @@{"name": "@spree/sdk",- "version": "0.6.0",+ "version": "0.6.1","description": "Official TypeScript SDK for Spree Commerce API","type": "module","main": "./dist/index.cjs",