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 TS packages to align with Spree 5.6.1 release (#14370)
Damian Legawiec95c35377ba81
diff --git a/.changeset/admin-sdk-searchable-sortable-custom-fields.md b/.changeset/admin-sdk-searchable-sortable-custom-fields.mddeleted file mode 100644index 4e324e3c65..0000000000--- a/.changeset/admin-sdk-searchable-sortable-custom-fields.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/admin-sdk": patch------Custom field definitions now support storefront search, sort, and filtering: `CustomFieldDefinition` exposes `searchable`, `sortable`, and `filter_key`, and create/update params accept `searchable` (short_text, long_text, number) and `sortable` (short_text, number). Product list requests accept the resulting `cf_*` keys as both `sort` values and Ransack filter predicates (e.g. `q[cf_custom_material_i_cont]`).diff --git a/.changeset/admin-sdk-user-stores.md b/.changeset/admin-sdk-user-stores.mddeleted file mode 100644index 82a8042272..0000000000--- a/.changeset/admin-sdk-user-stores.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/admin-sdk": patch------`AdminUser` now includes a `stores` array — every store the user holds a role on (`{ id, name, code }` with prefixed IDs), powering the dashboard store switcher.diff --git a/.changeset/cli-admin-spec-user-stores.md b/.changeset/cli-admin-spec-user-stores.mddeleted file mode 100644index ad8e4b02d4..0000000000--- a/.changeset/cli-admin-spec-user-stores.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/cli": patch------The bundled offline Admin API spec now documents the `stores` array on admin user responses, and the `searchable`, `sortable`, and `filter_key` fields on custom field definitions.diff --git a/.changeset/dashboard-import-export-type-shorthand.md b/.changeset/dashboard-import-export-type-shorthand.mddeleted file mode 100644index 25f5e27afe..0000000000--- a/.changeset/dashboard-import-export-type-shorthand.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/dashboard": patch------The import and export buttons now pass the API type shorthand (`"products"`, `"customers"`, `"orders"`, `"coupon_codes"`) instead of the Ruby class name, and the import wizard reads the shorthand the API returns. Values in the older `Spree::Imports::Products` form are still understood, so an import opened from a cached payload keeps rendering its type and "view records" link correctly.diff --git a/.changeset/dashboard-metafield-search-sort.md b/.changeset/dashboard-metafield-search-sort.mddeleted file mode 100644index a2be77354d..0000000000--- a/.changeset/dashboard-metafield-search-sort.md+++ /dev/null@@ -1,6 +0,0 @@-----"@spree/dashboard": patch-"@spree/dashboard-core": patch------Searchable and sortable custom fields now appear as first-class product table columns. Definitions can be marked searchable/sortable from the definition form, and the new `metafieldColumns` prop on `ResourceTable` merges them into the column selector, the Sort dropdown, and the filter panel — with operators matching each field type. `ColumnDef` gains an `expand` field so a visible column can declare the association the list request must expand.diff --git a/.changeset/import-export-api-type-shorthand.md b/.changeset/import-export-api-type-shorthand.mddeleted file mode 100644index d53b4e3ef2..0000000000--- a/.changeset/import-export-api-type-shorthand.md+++ /dev/null@@ -1,10 +0,0 @@-----"@spree/admin-sdk": patch-"@spree/dashboard-core": patch------**Breaking (Admin API):** `type` on imports and exports is now the API shorthand (`"products"`, `"customers"`, `"product_translations"`, `"orders"`, `"gift_cards"`, `"coupon_codes"`, `"newsletter_subscribers"`) instead of the Ruby class name (`"Spree::Imports::Products"`). `ImportType` and `ExportType` are typed accordingly.--Creating an import or export accepts either form, so a `type` read back from the API round-trips. Ransack filters (`type_eq`) are unaffected — they match the database column and still take the class name.--Polymorphic type fields follow the same convention: `owner_type` on imports and `item_type` on import rows now return `"store"` / `"product"` rather than `"Spree::Store"` / `"Spree::Product"`.diff --git a/.changeset/import-sheet-example-csv.md b/.changeset/import-sheet-example-csv.mddeleted file mode 100644index 2adfbf2685..0000000000--- a/.changeset/import-sheet-example-csv.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/dashboard-core": patch------The CSV import sheet now offers a downloadable example file alongside the existing (headers-only) template, so you can see a populated CSV before preparing your own — or import it as-is. The examples are Spree's own sample data, the same files `rake spree:load_sample_data` uses, served through `GET /api/v3/admin/imports/example` and pinned to the installed Spree version so they always match your import schema. Import types with no example file simply omit the link.diff --git a/.changeset/invitation-polymorphic-type-shorthand.md b/.changeset/invitation-polymorphic-type-shorthand.mddeleted file mode 100644index 9d589931a8..0000000000--- a/.changeset/invitation-polymorphic-type-shorthand.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/sdk": patch------`resource_type`, `inviter_type` and `invitee_type` on the `Invitation` type now return the API shorthand (`"store"`, `"admin_user"`) instead of the Ruby class name, matching how every other type field on the API is serialized. The TypeScript types are unchanged (`string | null`); only the values differ.diff --git a/.changeset/open-parrots-search.md b/.changeset/open-parrots-search.mddeleted file mode 100644index 8ca368292f..0000000000--- a/.changeset/open-parrots-search.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/sdk": patch------Expose product_id and Product at Wishlist Itemdiff --git a/.changeset/sdk-metafield-sort-label.md b/.changeset/sdk-metafield-sort-label.mddeleted file mode 100644index d04dfb5b27..0000000000--- a/.changeset/sdk-metafield-sort-label.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/sdk": patch------`ProductFilterSortOption` now includes a `label` field — a human-readable name for custom-field-backed sort options (`cf_*` keys) returned by the product filters endpoint; `null` for built-in sort options.diff --git a/.changeset/store-switcher-view-store-gating.md b/.changeset/store-switcher-view-store-gating.mddeleted file mode 100644index c94b5bb987..0000000000--- a/.changeset/store-switcher-view-store-gating.md+++ /dev/null@@ -1,5 +0,0 @@-----"@spree/dashboard-core": patch------The top-bar "View store" link is now only shown when the store has a storefront URL configured (`preferred_storefront_url`), and the sidebar store switcher is a real switcher: it lists every store the signed-in admin can access and navigates between store dashboards, rendering a plain header (no dropdown) for single-store admins. The switcher trigger also gains a localized accessible name.diff --git a/packages/admin-sdk/CHANGELOG.md b/packages/admin-sdk/CHANGELOG.mdindex bd821d53b3..9c05b163d1 100644--- a/packages/admin-sdk/CHANGELOG.md+++ b/packages/admin-sdk/CHANGELOG.md@@ -1,5 +1,19 @@# @spree/admin-sdk+## 0.8.1++### Patch Changes++- [#14353](https://github.com/spree/spree/pull/14353) [`8bf0dd0`](https://github.com/spree/spree/commit/8bf0dd070c9369549c54a9233bca97111d7aff11) Thanks [@ifizza](https://github.com/ifizza)! - Custom field definitions now support storefront search, sort, and filtering: `CustomFieldDefinition` exposes `searchable`, `sortable`, and `filter_key`, and create/update params accept `searchable` (short*text, long_text, number) and `sortable` (short_text, number). Product list requests accept the resulting `cf*\*`keys as both`sort`values and Ransack filter predicates (e.g.`q[cf_custom_material_i_cont]`).++- [#14357](https://github.com/spree/spree/pull/14357) [`f811d1e`](https://github.com/spree/spree/commit/f811d1ee5f604e24f86aa59be3317f87627fe3c7) Thanks [@damianlegawiec](https://github.com/damianlegawiec)! - `AdminUser` now includes a `stores` array — every store the user holds a role on (`{ id, name, code }` with prefixed IDs), powering the dashboard store switcher.++- [#14363](https://github.com/spree/spree/pull/14363) [`705e515`](https://github.com/spree/spree/commit/705e515ac881d071f45c768359380bd0ea5d23bd) Thanks [@damianlegawiec](https://github.com/damianlegawiec)! - **Breaking (Admin API):** `type` on imports and exports is now the API shorthand (`"products"`, `"customers"`, `"product_translations"`, `"orders"`, `"gift_cards"`, `"coupon_codes"`, `"newsletter_subscribers"`) instead of the Ruby class name (`"Spree::Imports::Products"`). `ImportType` and `ExportType` are typed accordingly.++ Creating an import or export accepts either form, so a `type` read back from the API round-trips. Ransack filters (`type_eq`) are unaffected — they match the database column and still take the class name.++ Polymorphic type fields follow the same convention: `owner_type` on imports and `item_type` on import rows now return `"store"` / `"product"` rather than `"Spree::Store"` / `"Spree::Product"`.+## 0.8.0### Minor Changesdiff --git a/packages/admin-sdk/package.json b/packages/admin-sdk/package.jsonindex 0fe66c179a..9e9161380f 100644--- a/packages/admin-sdk/package.json+++ b/packages/admin-sdk/package.json@@ -1,6 +1,6 @@{"name": "@spree/admin-sdk",- "version": "0.8.0",+ "version": "0.8.1","description": "Official TypeScript SDK for Spree Commerce Admin API","type": "module","main": "./dist/index.cjs",diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.mdindex 8e8dfc000b..d32a93dece 100644--- a/packages/cli/CHANGELOG.md+++ b/packages/cli/CHANGELOG.md@@ -1,5 +1,11 @@# @spree/cli+## 2.4.9++### Patch Changes++- [#14357](https://github.com/spree/spree/pull/14357) [`f811d1e`](https://github.com/spree/spree/commit/f811d1ee5f604e24f86aa59be3317f87627fe3c7) Thanks [@damianlegawiec](https://github.com/damianlegawiec)! - The bundled offline Admin API spec now documents the `stores` array on admin user responses, and the `searchable`, `sortable`, and `filter_key` fields on custom field definitions.+## 2.4.8### Patch Changes@@ -205,6 +211,7 @@ dashboard` wrote `VITE_SPREE_API_URL=http://localhost:<port>` into### Minor Changes- New `spree api` and `spree auth` command groups — a generic Admin API client (`get`/`post`/`patch`/`delete`) built into the CLI:+- `spree api get|post|patch|delete <path>` — generic verbs with Ransack `-q` filters, `--sort`/`--page`/`--limit`/`--expand`/`--fields`, and JSON bodies from inline/`@file`/stdin- `spree api endpoints` / `spree api schema` — offline schema introspection over a bundled OpenAPI snapshot, including each endpoint's required scope- `spree api status` — resolved credentials + server reachabilitydiff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 62874e5228..d111676241 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@spree/cli",- "version": "2.4.8",+ "version": "2.4.9","description": "CLI for managing Spree Commerce projects","type": "module","bin": {diff --git a/packages/dashboard-core/CHANGELOG.md b/packages/dashboard-core/CHANGELOG.mdindex 6786f29257..4449cb792a 100644--- a/packages/dashboard-core/CHANGELOG.md+++ b/packages/dashboard-core/CHANGELOG.md@@ -1,5 +1,21 @@# @spree/dashboard-core+## 0.13.1++### Patch Changes++- [#14353](https://github.com/spree/spree/pull/14353) [`8bf0dd0`](https://github.com/spree/spree/commit/8bf0dd070c9369549c54a9233bca97111d7aff11) Thanks [@ifizza](https://github.com/ifizza)! - Searchable and sortable custom fields now appear as first-class product table columns. Definitions can be marked searchable/sortable from the definition form, and the new `metafieldColumns` prop on `ResourceTable` merges them into the column selector, the Sort dropdown, and the filter panel — with operators matching each field type. `ColumnDef` gains an `expand` field so a visible column can declare the association the list request must expand.++- [#14363](https://github.com/spree/spree/pull/14363) [`705e515`](https://github.com/spree/spree/commit/705e515ac881d071f45c768359380bd0ea5d23bd) Thanks [@damianlegawiec](https://github.com/damianlegawiec)! - **Breaking (Admin API):** `type` on imports and exports is now the API shorthand (`"products"`, `"customers"`, `"product_translations"`, `"orders"`, `"gift_cards"`, `"coupon_codes"`, `"newsletter_subscribers"`) instead of the Ruby class name (`"Spree::Imports::Products"`). `ImportType` and `ExportType` are typed accordingly.++ Creating an import or export accepts either form, so a `type` read back from the API round-trips. Ransack filters (`type_eq`) are unaffected — they match the database column and still take the class name.++ Polymorphic type fields follow the same convention: `owner_type` on imports and `item_type` on import rows now return `"store"` / `"product"` rather than `"Spree::Store"` / `"Spree::Product"`.++- [#14363](https://github.com/spree/spree/pull/14363) [`705e515`](https://github.com/spree/spree/commit/705e515ac881d071f45c768359380bd0ea5d23bd) Thanks [@damianlegawiec](https://github.com/damianlegawiec)! - The CSV import sheet now offers a downloadable example file alongside the existing (headers-only) template, so you can see a populated CSV before preparing your own — or import it as-is. The examples are Spree's own sample data, the same files `rake spree:load_sample_data` uses, served through `GET /api/v3/admin/imports/example` and pinned to the installed Spree version so they always match your import schema. Import types with no example file simply omit the link.++- [#14357](https://github.com/spree/spree/pull/14357) [`f811d1e`](https://github.com/spree/spree/commit/f811d1ee5f604e24f86aa59be3317f87627fe3c7) Thanks [@damianlegawiec](https://github.com/damianlegawiec)! - The top-bar "View store" link is now only shown when the store has a storefront URL configured (`preferred_storefront_url`), and the sidebar store switcher is a real switcher: it lists every store the signed-in admin can access and navigates between store dashboards, rendering a plain header (no dropdown) for single-store admins. The switcher trigger also gains a localized accessible name.+## 0.13.0### Minor Changesdiff --git a/packages/dashboard-core/package.json b/packages/dashboard-core/package.jsonindex f0d78ef8c6..cf04abee67 100644--- a/packages/dashboard-core/package.json+++ b/packages/dashboard-core/package.json@@ -1,7 +1,7 @@{"name": "@spree/dashboard-core","license": "MIT",- "version": "0.13.0",+ "version": "0.13.1","description": "Spree Dashboard framework — registries (table, nav, slot, settings-nav), providers (auth, permission, store), admin SDK client, generic infra hooks, and the defineDashboardPlugin extension API. Developer Preview.","author": "Vendo Connect Inc.","homepage": "https://spreecommerce.org",diff --git a/packages/dashboard-ui/CHANGELOG.md b/packages/dashboard-ui/CHANGELOG.mdindex 8853546809..fbdfc4635c 100644--- a/packages/dashboard-ui/CHANGELOG.md+++ b/packages/dashboard-ui/CHANGELOG.md@@ -1,5 +1,7 @@# @spree/dashboard-ui+## 0.13.1+## 0.13.0### Minor Changesdiff --git a/packages/dashboard-ui/package.json b/packages/dashboard-ui/package.jsonindex 429a4d9111..aba5346b0f 100644--- a/packages/dashboard-ui/package.json+++ b/packages/dashboard-ui/package.json@@ -1,7 +1,7 @@{"name": "@spree/dashboard-ui","license": "MIT",- "version": "0.13.0",+ "version": "0.13.1","description": "Spree Dashboard design system — shadcn primitives, headless composed components, and design tokens. Source-only package; consumers compile via their own Vite/Tailwind setup. Developer Preview.","author": "Vendo Connect Inc.","homepage": "https://spreecommerce.org",diff --git a/packages/dashboard/CHANGELOG.md b/packages/dashboard/CHANGELOG.mdindex 143fbdc609..1fa60ea87d 100644--- a/packages/dashboard/CHANGELOG.md+++ b/packages/dashboard/CHANGELOG.md@@ -1,5 +1,18 @@# @spree/dashboard+## 0.13.1++### Patch Changes++- [#14363](https://github.com/spree/spree/pull/14363) [`705e515`](https://github.com/spree/spree/commit/705e515ac881d071f45c768359380bd0ea5d23bd) Thanks [@damianlegawiec](https://github.com/damianlegawiec)! - The import and export buttons now pass the API type shorthand (`"products"`, `"customers"`, `"orders"`, `"coupon_codes"`) instead of the Ruby class name, and the import wizard reads the shorthand the API returns. Values in the older `Spree::Imports::Products` form are still understood, so an import opened from a cached payload keeps rendering its type and "view records" link correctly.++- [#14353](https://github.com/spree/spree/pull/14353) [`8bf0dd0`](https://github.com/spree/spree/commit/8bf0dd070c9369549c54a9233bca97111d7aff11) Thanks [@ifizza](https://github.com/ifizza)! - Searchable and sortable custom fields now appear as first-class product table columns. Definitions can be marked searchable/sortable from the definition form, and the new `metafieldColumns` prop on `ResourceTable` merges them into the column selector, the Sort dropdown, and the filter panel — with operators matching each field type. `ColumnDef` gains an `expand` field so a visible column can declare the association the list request must expand.++- Updated dependencies [[`8bf0dd0`](https://github.com/spree/spree/commit/8bf0dd070c9369549c54a9233bca97111d7aff11), [`f811d1e`](https://github.com/spree/spree/commit/f811d1ee5f604e24f86aa59be3317f87627fe3c7), [`8bf0dd0`](https://github.com/spree/spree/commit/8bf0dd070c9369549c54a9233bca97111d7aff11), [`705e515`](https://github.com/spree/spree/commit/705e515ac881d071f45c768359380bd0ea5d23bd), [`705e515`](https://github.com/spree/spree/commit/705e515ac881d071f45c768359380bd0ea5d23bd), [`f811d1e`](https://github.com/spree/spree/commit/f811d1ee5f604e24f86aa59be3317f87627fe3c7)]:+ - @spree/[email protected]+ - @spree/[email protected]+ - @spree/[email protected]+## 0.13.0### Minor Changesdiff --git a/packages/dashboard/package.json b/packages/dashboard/package.jsonindex f602b46f90..ee66786ab8 100644--- a/packages/dashboard/package.json+++ b/packages/dashboard/package.json@@ -1,7 +1,7 @@{"name": "@spree/dashboard","license": "MIT",- "version": "0.13.0",+ "version": "0.13.1","description": "Spree Dashboard app shell — the next-gen React admin for Spree Commerce. Routes, resource hooks, schemas, locales, and the <Dashboard /> component. Source-only package; hosts compile it via @spree/dashboard/vite. Developer Preview.","author": "Vendo Connect Inc.","homepage": "https://spreecommerce.org",diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.mdindex 2f2dcba2ec..79591cf323 100644--- a/packages/sdk/CHANGELOG.md+++ b/packages/sdk/CHANGELOG.md@@ -1,5 +1,15 @@# @spree/sdk+## 1.2.1++### Patch Changes++- [#14363](https://github.com/spree/spree/pull/14363) [`705e515`](https://github.com/spree/spree/commit/705e515ac881d071f45c768359380bd0ea5d23bd) Thanks [@damianlegawiec](https://github.com/damianlegawiec)! - `resource_type`, `inviter_type` and `invitee_type` on the `Invitation` type now return the API shorthand (`"store"`, `"admin_user"`) instead of the Ruby class name, matching how every other type field on the API is serialized. The TypeScript types are unchanged (`string | null`); only the values differ.++- [#14361](https://github.com/spree/spree/pull/14361) [`f62ec82`](https://github.com/spree/spree/commit/f62ec82e4fff70653937e1b7a83fefce1c38f019) Thanks [@damianlegawiec](https://github.com/damianlegawiec)! - Expose product_id and Product at Wishlist Item++- [#14353](https://github.com/spree/spree/pull/14353) [`8bf0dd0`](https://github.com/spree/spree/commit/8bf0dd070c9369549c54a9233bca97111d7aff11) Thanks [@ifizza](https://github.com/ifizza)! - `ProductFilterSortOption` now includes a `label` field — a human-readable name for custom-field-backed sort options (`cf_*` keys) returned by the product filters endpoint; `null` for built-in sort options.+## 1.2.0### Minor Changesdiff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex d1b2e815ac..2ce65b995c 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -1,6 +1,6 @@{"name": "@spree/sdk",- "version": "1.2.0",+ "version": "1.2.1","description": "Official TypeScript SDK for Spree Commerce Store API","type": "module","main": "./dist/index.cjs",