Skip to content

armgit / spree

Public Imported from GitHub
0

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.

Bump SDK and Next packages versions

Damian Legawiec9c80d201ac2d
diff --git a/packages/next/.changeset/README.md b/packages/next/.changeset/README.md
deleted file mode 100644
index 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.md
deleted file mode 100644
index 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.md
deleted file mode 100644
index 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.md
deleted file mode 100644
index 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.md
index 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 Changes
diff --git a/packages/next/package.json b/packages/next/package.json
index 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.md
deleted file mode 100644
index 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.md
deleted file mode 100644
index 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.md
deleted file mode 100644
index 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.md
deleted file mode 100644
index 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.md
index 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 Changes
diff --git a/packages/sdk/package.json b/packages/sdk/package.json
index 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",