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.
@spree/dashboard-core
6.0.2
Patch Changes
- #15029
4cfb2abThanks @damianlegawiec! - The command palette is now built on Base UI's Autocomplete instead ofcmdk, so the dashboard no longer installscmdkor any Radix packages. It looks and works the same: arrow keys move the highlight, Enter opens the highlighted row and Escape closes the palette. TheCommandcomponents in@spree/dashboard-uikeep the props the dashboard uses:shouldFilteronCommand,valueandonValueChangeonCommandInput,value,keywordsandonSelectonCommandItem, andheadingonCommandGroup. Thecmdkoptions onCommandfor the highlighted row (value,onValueChange), custom matching (filter) and wrap-around (loop) are no longer available. - Updated dependencies [
7416961]:
6.0.1
Patch Changes
#15015
29d95e3Thanks @damianlegawiec! - Fixed the invitation link redirecting anyone already signed in to the dashboard instead of letting them accept. Someone signed in as the invited account now accepts with one click, and someone signed in as another account is asked to sign out first. The seller panel's acceptance page shares these screens: an existing account confirms its password instead of being asked to set a new one, and the seller invitation lookup now says whether the invitee has an account.#15006
f227994Thanks @damianlegawiec! - The admin dashboard now shows external references (the keys an ERP, PIM or CRM knows a record by) in the Metadata card, each with a copy button. They appear on product, order, category, company and seller pages, in the metadata sheet of returns and fulfillments, and in the stock location edit panel. The Admin API now returns external references for sellers too.#15007
27bbcfaThanks @damianlegawiec! - List filters in the admin dashboard are quicker to narrow. Dropdown menus show checkboxes instead of trailing checkmarks, and every multi-select row offers "Only" on hover to keep just that value, or "Select all" to widen back. Quick filters show the colours of the statuses they let through and a count when narrowed. The Add filter panel lists values as checkboxes under an "Any …" row that clears the field, statuses can be picked several at once, and clicking a filter chip reopens the panel on that field. The Add filter button is now an icon with a tooltip.#15010
9f0550eThanks @damianlegawiec! - Store setup moved from a Getting Started nav entry to a checklist card above the account menu in the admin dashboard. It shows overall progress and every step, marks the next one to take, and each step goes straight to where it is done: a settings page, or the address and storefront dialogs opened in place. The card can be minimized to its header, and stays that way until expanded again. Like the old entry, it disappears once setup is done or for staff who cannot change the store. The Getting Started page and the seller panel's onboarding page use the same step icons, now exported from@spree/dashboard-uiasStepIconandStepProgressRing.AppShellgains asidebarWidgetprop for cards pinned above the account menu.#15004
6116abfThanks @damianlegawiec! - The admin dashboard now shows metadata on every record that has it. Detail pages end their main column with Custom fields and Metadata, both folded to a header that counts what they hold, so the page leads with the record itself. Records listed inside another page (payments, fulfillments, returns, claims, exchanges, store credits, shipping labels, discounts, fees and seller requirement submissions) get a "View metadata" item in their row menu, and settings records edited in a side panel show it in a collapsed section; both appear only when the record has metadata.Updated dependencies [
21dc28f]:
6.0.0
Minor Changes
- #14982
348c5bbThanks @damianlegawiec! - AddedSubject.MaintenanceTaskRun, the permission subject for maintenance task runs.
Patch Changes
- #14983
e22669bThanks @damianlegawiec! - Fixed the dashboard crashing when a Save button started saving while the browser was translating the page. - Updated dependencies [
348c5bb]:
6.0.0-rc.7
Released with Spree 6.0.0.rc7, with no changes of its own. From this release the version matches the version of the Spree gems.
1.0.0-rc.6
Minor Changes
#14971
98a79caThanks @damianlegawiec! - Sellers can manage the downloadable files on their own digital products. The Seller SDK addsproducts.digitalAssets(list,get,create,update,delete), and the seller panel's product page shows the same Digital files card as the dashboard: upload, replace and delete files, and set per-file download limits. A file the marketplace delivers through its own provider is listed but cannot be replaced by the seller. The card now lives in@spree/dashboard-coreasDigitalAssetsCard, and a panel enables it by registeringdigitalAssetson its API client;readOnlyshows the files without any way to change them andacceptnarrows the file picker.Seller uploads are a marketplace decision: three store settings, edited on the dashboard's Marketplace settings page, say whether sellers may upload at all (off by default), which content types their files may have, and whether a file added to or replaced on an approved product sends it back to review. The seller
/meresponse carries them understore, and the Admin SDK'sStoretype gains the three fields.
Patch Changes
#14947
aebf883Thanks @mad-eel! - A delivery method's amount for the store's default currency is now saved with its other currencies, so leaving it blank means the method isn't offered in that currency, as the form says. Before, a blank default currency was saved as free. The admin dashboard and the seller panel share one per-currency amount editor,CurrencyAmountsFieldin@spree/dashboard-core, so sellers can price a method in every currency the marketplace sells in. Both forms ask for an amount in at least one currency.#14967
6a1b118Thanks @damianlegawiec! - The login page explains a refused sign-in when a staff account has been deactivated, instead of reporting a generic sign-in failure.Updated dependencies []:
1.0.0-rc.5
Minor Changes
#14939
9c73a79Thanks @damianlegawiec! - Added custom field editing to variants, option types, sellers, promotions, gift cards, store credits, stock transfers, purchase orders, companies, payment methods, delivery methods, tax rates, product types, media and store settings. Sheets show the custom fields card only once the store defines a field for that type. On the product page, variant and media custom fields save with the sheet's Done, and widgets in theirproduct.variant.form_fieldsandproduct.media.form_fieldsslots can save on Done throughonSave.FormActionsanduseFormSubmitShortcutacceptdirtyfor unsaved changes held outside the form.client.customFields(ownerType, ownerId)accepts each of these types.#14935
ab4f2b0Thanks @damianlegawiec! - Added previews of Spree Enterprise features where they appear once installed: Quotes under Orders, Onboarding under Companies, Shopify under Sellers, Lots under Inventory, and Audit log in Users & permissions settings. Companies is now its own section in the sidebar rather than sitting under Customers. SetVITE_SPREE_ENTERPRISE_PREVIEWS=falseat build time to leave the previews out. Settings entries accept abadge, and plugin pages under/settingsget the settings page padding. Registry routes can sit under a built-in section (/sellers/shopify) instead of being taken by its record page.#14932
af9df9fThanks @damianlegawiec! - The orders and draft orders lists can be filtered by market and locale, and show both as optional columns. Table definitions gain alocalefilter type that lists the store's languages by name.#14940
44b1933Thanks @damianlegawiec! - Added product page slots for plugins:product.form_mainat the end of the main column,product.media.form_fieldsin the media editor,product.media.actionsin the Media card, andproduct.variant.form_fieldsin the variant editor, withseller.product.*counterparts in the seller panel.product.form_sidebarnow also renders on the new product page, and both column slots receivemode. Fields on a media or variant row register under theproduct.mediaandproduct.variantform keys and save with the product.#14940
44b1933Thanks @damianlegawiec! - Added<resource>.form_fieldsslots to the create and edit sheets for markets, stock locations, tax rates, tax categories, sales channels, policies, package types, product types, delivery zones, delivery methods, option types and customer groups. Fields a widget binds there save with the sheet. The seller panel's stock location and package type sheets useseller.stock_location.form_fieldsandseller.package_type.form_fields.HostFormSlotrenders a slot that exposes a form which isn't wrapped inFormProvider.
Patch Changes
#14938
7c295c4Thanks @damianlegawiec! - Moved the money, percentage, typed-amount, display-name and code-shape helpers and the list of currencies still in use into@spree/core, which the dashboard packages and the seller panel now depend on.@spree/dashboard-corestill exports them under the same names.- A customer's average order value is now worked out exactly.
- Calculator summaries show money with each currency's own number of decimals.
- The bulk variant editor now reads
1,500as fifteen hundred and1,234.5correctly when you type or paste a weight or dimension.
#14944
a0e5b66Thanks @damianlegawiec! - Added every status, kind and other value list the Spree API returns to@spree/core, each as a list of its values (PRODUCT_STATUSES,MEDIA_TYPES, …) and a type (ProductStatus,MediaType, …) — open where extensions may add values, closed otherwise — plussubsetOffor picking the values an action accepts with each one checked at compile time. The SDKs re-export these types instead of each carrying its own copy, so their names and values are unchanged. The dashboards and the seller panel build their status filters and action checks from these lists, so a status added on the server shows up without a dashboard change. Value lists the SDKs used to spell out inline, such as a seller transfer'skind, now have names of their own;MediaType,CollectionRuleMatchPolicyandCollectionSortOrderin@spree/admin-sdk, andClaimResolutionin@spree/dashboard-ui, now come from the generated lists under the same names. A seller'stax_remittanceandpayouts_schedule_interval, a claim'sresolution, a collection'ssort_order, a shipping label'sformat, purchase order and stock transfer statuses, and tax and commission lines'taxability_reasonare now typed with their lists instead of as plain strings.Updated dependencies [
a0e5b66]:
1.0.0-rc.4
Patch Changes
#14917
dd72579Thanks @damianlegawiec! - Apps no longer choose the versions of@tanstack/react-table,@tanstack/react-hotkeysand@hookform/resolversused inside the dashboard packages: they are now regular dependencies, so upgrading them in an app (for example to React Table 9) no longer breaks type checking or the dashboard itself. Table column definitions are available asDataGridColumnfrom@spree/dashboard-ui. The TipTap menu extensions are pinned to the same version as the rest of the editor.@spree/dashboardand@spree/seller-dashboardnow list the libraries they share with the app (React, TanStack Router and Query, React Hook Form, i18next, react-i18next and the Spree dashboard packages) as peer dependencies, so the app's copy is the only one. Before, an app on a different version got a second copy, which crashes React or makes plugins disappear. Apps must list these packages as their own dependencies; the starter templates now include React Hook Form, i18next and react-i18next.#14907
04760bfThanks @damianlegawiec! - Ticking or unticking a value in the "Add filter" panel no longer reorders the list. Values selected when the panel opens are still shown first.#14907
04760bfThanks @damianlegawiec! - Search pickers keep the option you pick instead of flickering and switching to another value while results load.
1.0.0-rc.3
Minor Changes
#14856
05d6372Thanks @damianlegawiec! - The Admin and Seller APIs no longer returndisplay_*money fields, so their types drop them; format the amount with its currency instead. The dashboard and seller panel format every amount in the admin's own language.formatMoneywrites a currency's ISO 4217 decimals and takes{ unitPrice: true }for up to four.#14859
9728851Thanks @damianlegawiec! - Plugins and host apps can now add pages outside a store, such as onboarding, sign-up and account pages. File routes go in the newauthenticatedRoutes(signed-in users) orpublicRoutes(anyone) directories of a plugin'sspree.dashboardmarker; registry routes takescope: 'authenticated'orscope: 'public'with a full URL path. Both mount at the root, outside the store layout, and a page that takes the path of a built-in page fails with an error naming it.The signed-in landing page at
/can be replaced through the newstore_selectionslot, for example with a list of stores and a way to create one, and the login page renders extra content, such as a sign-up link, from the newlogin.afterslot.#14866
cbde8feThanks @damianlegawiec! -directUploads.create()is replaced byfiles.create()andfiles.upload(), which uploads a file and resolves to asigned_idin one call, either straight to storage or in the request itself. Thesigned_idexpires after a day. Every parameter that takes one is now namedsigned_idor<slot>_signed_id(avatar_signed_id,logo_signed_id,attachment_signed_id,document_signed_id,file_signed_id,po_document_signed_id, …). In@spree/dashboard-core,useDirectUploadbecomesuseFileUpload({ visibility }), andsignedIdParambuilds the three-state write for an image or document field.
Patch Changes
#14852
3525c00Thanks @damianlegawiec! - Money fields are now shown and read in the number format of the person using the dashboard, whatever the currency or market: an admin whose dashboard is in German types1.234,56for dollars and euros alike. Previously the format followed the currency's market, which was ambiguous when two markets shared a currency.useFormCurrencyLocaleand the panel client'smarketsentry are removed; useuseMoneyLocale().#14856
f508a38Thanks @damianlegawiec! - Preferences of the newmoneytype are shown with their currency's symbol in settings forms and as money in calculator summaries, instead of being guessed from the preference's name.PreferenceField.typedocuments themoneytype.#14854
90af080Thanks @damianlegawiec! - List methods of documented endpoints now accept typed filter and sort parameters, generated from the filters each endpoint actually accepts; methods of endpoints the API reference does not document yet keep loose parameters. A misspelled filter, a filter the endpoint does not support, or an unknown sort field is now a type error instead of a request that silently returns the unfiltered list.ProductListParams,CategoryListParams,CollectionListParamsandOrderListParamskeep their names and are now generated; they no longer accept arbitrary keys. Filters an app adds through its own extensions can be sent unchecked insideq(list({ q: { erp_id_eq: 'ERP-1' } })), generated as declarations withspree filters types, or declared by hand by extending<Resource>FilterExtensionsand<Resource>SortExtensions. The filter building blocks (TextFilters,SortKey, …) are exported for those declarations.The dashboard's allowed-origins search, delivery zones by profile, and several filters and sorts on payment methods, sellers, option types, markets, custom field definitions and gift cards now take effect; the API used to ignore them.
1.0.0-rc.2
Patch Changes
- #14845
9a0a293Thanks @damianlegawiec! - Fixed type checking in projects that install the dashboard or seller panel with pnpm. The generated route file imported the routes through the package'snode_moduleslink, where TypeScript cannot find the dashboard's own dependencies, sotscreported hundreds of "Cannot find module" errors. It now imports them from the installed location again. Under pnpm that location includes the package version, so an upgrade rewrites the import paths inrouteTree.gen.ts.
1.0.0-rc.1
Minor Changes
- #14785
4bd1741Thanks @damianlegawiec! - Added an email template editor under Settings → Emails → Templates. Merchants edit the emails customers receive, the email layout and shared blocks with a code editor that suggests variables and marks problems by line, next to a live preview (desktop and mobile, email and plain text). Edits save as drafts and go live when published; drafts can be discarded, templates reverted to Spree's default, test emails sent to yourself, and earlier versions restored from the history. A banner shows when a Spree upgrade changed a default the store customized, with a side-by-side comparison. The email settings page gains a Branding card for the colors and font of customer emails, with a preview.@spree/dashboard-uiadds aCodeEditor(deep import@spree/dashboard-ui/ui/code-editor) and auseDebouncedValuehook;@spree/dashboard-coreadds theEmailTemplatepermission subject.
Patch Changes
#14818
7fa7a64Thanks @damianlegawiec! - Search pickers (customers, products, sellers and others) now search again each time they open, so a record created elsewhere in the dashboard shows up without reloading the page.#14764
291238dThanks @damianlegawiec! - Fixed the seller panel opening with an empty sidebar when a seller returned with a live session but no remembered seller, for example after the browser cleared site storage. The panel now loads the seller's permissions once it knows which seller is active.#14747
a0151c1Thanks @damianlegawiec! - Fixed the setup screen of a new project reloading while the merchant was filling it in. The generated route file now refers to installed packages by their stable location, andspree addgenerates it right after installing, so the first dev start has nothing to rewrite. Upgrades also no longer rewrite every line of that file, so its diff shows only the pages an upgrade added.#14789
f52fc12Thanks @damianlegawiec! - Tier threshold and discount inputs now carry accessible names, so screen readers announce what each field is.#14789
f52fc12Thanks @damianlegawiec! - The tiers editor for the tiered percent and tiered flat rate calculators now reads and writes tiers as a list of{ threshold, value }entries, the shape Spree 6.0 stores them in. It still reads the old hash keyed by threshold, so a calculator the upgrade has not converted yet opens correctly.
1.0.0-beta.8
1.0.0-beta.7
Patch Changes
928c1baThanks @damianlegawiec! - Fixed the dashboard failing to start in newly created projects.Since 1.0.0-beta.4, a fresh project's dashboard stopped before rendering with
SyntaxError: ... does not provide an export named 'useSyncExternalStore'. The store setup form had switched to deep imports into@spree/dashboard-uiand@spree/dashboard-core, which makes Vite handle Base UI in a way that leaves one of its dependencies unconverted. The form uses the package entry points again. Base UI returns to 1.8.0; the 1.5.0 pin in the previous release did not help.
1.0.0-beta.6
1.0.0-beta.5
1.0.0-beta.4
Minor Changes
- #14716
9cd3d42Thanks @damianlegawiec! - Host apps that build their own screens on the dashboard packages can now import the sign-in building blocks directly:@spree/dashboard/components/spree/auth-shell(AuthShell),@spree/dashboard/hooks/use-auth-providers(useAuthProviders, plusauthCallbackErrorKeyfor the errors the SSO callback redirects back with) and@spree/dashboard/schemas/auth(the auth form schemas). Theadmin.fields.setup.*translations moved to@spree/dashboard-core, soStoreSetupFieldsrenders translated outside the full dashboard too.
Patch Changes
#14730
6742c1aThanks @damianlegawiec! - Fixed the Edit prices grid on a market with a comma decimal saving a typed19.50as 1950. A period followed by anything other than three digits is now read as a decimal point, and the grid shows exactly the amount it will save.#14717
c2d6f40Thanks @damianlegawiec! -@spree/dashboard-corenow exposes@spree/dashboard-core/client(adminClient) and@spree/dashboard-core/api-client(setApiClient), so a small app that only needs the Admin API client and sign-in no longer bundles the whole framework through the package entry point.StoreSetupFieldsimports only the modules it uses, cutting a minimal app that mounts it from about 2.2 MB to 0.9 MB of JavaScript.#14714
741345dThanks @damianlegawiec! -@types/spark-md5is now a regular dependency. The package ships TypeScript source, so its consumers type-checkuse-direct-upload, andtscfailed with "Could not find a declaration file for module 'spark-md5'" unless each app installed the types itself.#14727
a862b80Thanks @damianlegawiec! - The dashboard now refers to customers by their 6.0 class name,Spree::Customer, instead of the pre-6.0Spree::User. This fixes the Customers list's Tags filter, which always showed "No results", along with customer permission checks and customer custom fields.client.customFields('Spree::Customer', id)is now supported;'Spree::User'keeps working until 6.1.#14721
5f2b412Thanks @damianlegawiec! - An exchange's replacement fulfillment, its packing slip and the Exchanges card now name the replacement product instead of the original one.#14691
86d4b93Thanks @damianlegawiec! - Added a "no store access" screen for admins who sign in without a role on any store, replacing the sign-in redirect loop they hit before. Hosts can replace the screen by registering on the newno_store_accessslot (NO_STORE_ACCESS_SLOTandNoStoreAccessSlotContextfrom@spree/dashboard-core).#14676
854ebfeThanks @RomanMaluf-Vaypol! - Added a complete Spanish (mostly Rioplatense/voseo) translation bundle for the admin dashboard. The language picker now lists "Español" with every framework and page string covered — the dashboard and dashboard-core ships matchinges.jsonfiles with full key parity againsten.json.
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
Major Changes
#14458
da49f27Thanks @mad-eel! - Renamed stock items to stock levels.Spree 6.0 renames
Spree::StockItemtoSpree::StockLevel, and the admin API and SDK follow. There is no compatibility shim on the client side, so update your code before upgrading:client.stockItemsis nowclient.stockLevels, and it calls/stock_levelsinstead of/stock_items.- The
StockItemtype is nowStockLevel, andStockItemUpdateParamsis nowStockLevelUpdateParams. StockLevelUpdateParamsalso gainsreason, which labels a count correction in the stock history.client.stockMovementsis new, and reads the typed stock history behind those levels.- A variant's
stock_itemsarray is nowstock_levels, on both reads and writes. Subject.StockItemis nowSubject.StockLevelin@spree/dashboard-core. The old name stays as a deprecated alias for one release.- Prefixed ids change from
si_…tosl_…. Ids you stored earlier no longer resolve.
Webhook endpoints keep working: Spree publishes both
stock_level.*and the olderstock_item.*events for one release, so existing subscriptions keep firing. The dashboard's event picker now offers thestock_levelnames, and shows anystock_itemsubscription you already have under its Custom section. Move your subscriptions over before Spree 6.1, when the old names stop being published.
Minor Changes
#14410
fdd88ebThanks @mad-eel! - Add dashboard pages for business customers and tax configuration.Companies get a list and a detail page with their branches, tax registration and exemption certificates; a branch has its own page listing the buyers authorised to purchase for it. Customers gain the same tax registration panel on their profile. Tax rates get a settings page, and a market can now name the tax engine that prices it — showing what that engine cannot handle, so a merchant learns about a gap while configuring rather than from a tax bill.
The admin SDK gains the customer tax-identifier endpoints and
tax_provideron market params.#14591
8e5dc20Thanks @damianlegawiec! - Volume pricing: quantity breaks, percentage tiers and a price-list CSV.A price list can now carry a ladder per variant — a unit price from each quantity up — edited as tier rows in the price spreadsheet, and a catalog's percentage adjustment can step by quantity too. The catalog's price column shows how many tiers a variant carries, with the ladder on hover and a note that fixed tiers set the price regardless of the percentage.
A price list's prices can be exported and imported as CSV, one rung per row keyed by SKU, from the list's own page and from the catalog that owns it. The import merges: rows in the file are written, a blank price removes that rung, and rungs the file does not mention are left alone. The admin SDK's price, price list and import types carry the new fields, and the import create call accepts the price list to merge into.
Patch Changes
#14521
9cee487Thanks @damianlegawiec! - New address forms pre-select the store's default country.The Admin store payload now includes
default_country_code(the same country the default market already answers). The shared address dialog uses it for new records and leaves an existing address's country alone.#14632
67594a5Thanks @damianlegawiec! - Country pickers load the country list once per page and reuse it.The list is reference data and does not change at runtime, so later address fields and country selects no longer call the API again.
#14413
99573b0Thanks @damianlegawiec! - Edit the admin profile in a dialog opened from the user menu instead of a settings page. The/settings/profileroute is removed;TopBartakes anonEditProfilehandler and hides the menu item when none is supplied.#14456
3a1ac28Thanks @damianlegawiec! - Fix an endless reload when a store sets a non-English admin language.i18next was initialized with the stored language but only the English bundle, so it resolved the language to the fallback and reported English no matter what was stored. The store-default reconciler compares those two values to decide whether the page needs reloading, saw a permanent mismatch, and reloaded on every boot — each reload rotating a refresh token until the API's rate limit stopped it.
Every bundle is now registered when i18next starts, so the stored language resolves to itself and the reconciler reloads only when the language genuinely changes.
#14378
027ed08Thanks @damianlegawiec! - Redesign the user dropdown's theme and language controls into a compact "Preferences" section: theme is now a segmented control (System / Light / Dark) and language is a select-style pill.#14637
9b8a7d5Thanks @damianlegawiec! - Keep list and quote toolbar buttons working after the TipTap 3.31 pin. Two copies of prosemirror-model made wrap throw; pinning one version (and deduping it in the Vite plugin) restores the stock TipTap commands. Enter still persists as its own paragraph.#14635
496431dThanks @damianlegawiec! - Added a settings overview page to the seller panel, matching the operator dashboard's card grid of reachable settings areas.#14514
3473696Thanks @damianlegawiec! - Fix the filter panel crashing in the seller panel.TableToolbar,ResourceComboboxandMediaPickerSheetrequired aStoreProviderto scope their query keys, so opening a filter panel in a panel that has no store — the seller panel, whose tenant is a seller — threw "useStore must be used within a StoreProvider". They now scope by tenant, which is the store in the operator's dashboard and the seller in the seller panel, so cached results can no longer be shared between two sellers of the same store either.#14594
4156d50Thanks @damianlegawiec! - Stop the translations editor marking itself dirty on open, and refresh the translations page after a save or a catalog edit.The rich-text cell was treating TipTap's mount-time paragraph wrap as an unsaved change against descriptions stored as plain text. Translation queries now share one cache prefix so saving a translation, editing the source record, or importing a translations CSV invalidates the coverage grid instead of leaving it stale.
0.13.1
Patch Changes
#14353
8bf0dd0Thanks @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 newmetafieldColumnsprop onResourceTablemerges them into the column selector, the Sort dropdown, and the filter panel — with operators matching each field type.ColumnDefgains anexpandfield so a visible column can declare the association the list request must expand.#14363
705e515Thanks @damianlegawiec! - Breaking (Admin API):typeon 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").ImportTypeandExportTypeare typed accordingly.Creating an import or export accepts either form, so a
typeread 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_typeon imports anditem_typeon import rows now return"store"/"product"rather than"Spree::Store"/"Spree::Product".#14363
705e515Thanks @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 filesrake spree:load_sample_datauses, served throughGET /api/v3/admin/imports/exampleand pinned to the installed Spree version so they always match your import schema. Import types with no example file simply omit the link.#14357
f811d1eThanks @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 Changes
#14342
202d846Thanks @damianlegawiec! - Add per-channel order routing rule management.@spree/admin-sdkgainschannels.orderRoutingRules.{list,get,create,update,delete}(nested under/channels/:channel_id/order_routing_rules) plusorderRoutingRules.types()for rule-kind discovery; the adminStoretype now exposespreferred_order_routing_strategy. The dashboard's channel edit sheet embeds a routing-rules editor — drag-to-reorder priority, per-rule active toggles, an "Add rule" picker fed by the types endpoint (offering only kinds not yet on the channel; rule kinds are unique per channel), and schema-driven preference forms for rule kinds that declare preferences. The editor renders only when the channel's effective routing strategy is Rules.Subject.OrderRoutingRuleis available for permission checks.#14341
dc33237Thanks @damianlegawiec! - Improve editing of quantity-bounded price rules. A blank upper-bound preference (max_quantity,max_uses,maximum_amount, …) now shows "Unlimited" instead of an empty required-looking field across every preferences form. The Volume price rule gains a dedicated editor that renders minimum quantity before maximum, so a case-pack minimum reads in a natural order.
0.12.0
0.10.2
Patch Changes
- Fix the collapsed icon sidebar leaking a nav item's label when the item carries a badge. The collapse rule hid only the last
spanof the menu button, and a trailing badge took that slot — the label stayed visible and wrapped, breaking the collapsed layout. Both the label and badge are now hidden explicitly in collapsed icon mode.