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
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.#15067
7152857Thanks @damianlegawiec! - Plugins can build their own order pages from the order page's building blocks, exported from@spree/dashboard/orders:useOrderItemsEditor(staged line editing with negotiated draft prices and a one-transaction save),OrderEditItemsTable,AddLineItemDialog,OrderTotalsCard,useOrder, the customer, logistics, purchase order, discounts and notes cards, and the new-order page's company and customer pickers. The order edit page now runs on the same hook.#15057
ab0dec3Thanks @damianlegawiec! - Admin API payments now returncan_voidandcan_capture, which the payment method decides. The order page uses them to hide Void on captured payments that the gateway cannot void, such as Stripe. The dashboard no longer checks the payment status itself, so it needs a server that returns them.#15032
5646a0bThanks @damianlegawiec! - Release notes in the dashboard's notifications now use the HTML GitHub renders for each release, cleaned with DOMPurify, instead of parsing the markdown in the browser. They look the same as on GitHub, tables and code blocks included, and the dashboard installs about 100 fewer packages.#15022
8890e33Thanks @damianlegawiec! - Removed dependencies the packages no longer use, so installs are smaller.@spree/dashboardno longer listsnext-themesor its own copies of the packages@spree/dashboard-uialready brings.@spree/seller-dashboarddrops@dnd-kitandlucide-react, and@spree/dashboard-uidrops the unused TipTap bubble and floating menu extensions. Nothing changes for host apps or plugins.#15040
7416961Thanks @damianlegawiec! - The staff settings page shows each member's status (active, locked or deactivated) and when they were last active. A new "View details" action opens a sheet with when they joined, who invited them and their signed-in sessions, each with its browser, IP address and last use. The admin SDK types gainstatus,last_active_at, theinviterandsessionsexpands, and theSessionandAdminUserStatustypes;@spree/dashboard-uiaddsBrowserIcon.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.#15008
c0b62dcThanks @damianlegawiec! - Custom fields stay open on product, category, collection and promotion pages, where they are edited as part of the page's form and saved with it. Pages that edit custom fields behind their own Edit button, such as orders and customers, still fold the card.#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.#15001
21dc28fThanks @damianlegawiec! - Fixed Store Settings so the time zone picker always shows the store's saved zone, and choosing "Use the default language" clears the store's admin language instead of keeping the previous one.#14997
730c9daThanks @damianlegawiec! - Added localized storefront SEO settings. Merchants edit the store's SEO title and meta description on Store Settings and translate them for each supported language. The Store SDK reads them withclient.store.get(), and the Admin SDK reaches the store's translations withclient.store.translations.get().Updated dependencies [
21dc28f]:
6.0.0
Minor Changes
- #14982
348c5bbThanks @damianlegawiec! - Added Settings → Maintenance tasks. The Upgrade tab lists the data steps a Spree upgrade needs, in order, and runs them one at a time; a store with nothing to convert is told it is up to date. The History tab records every run, from the dashboard or the command line, and each run opens a sheet with its progress, results and a Cancel button. The page is hidden whenSPREE_MAINTENANCE_TASKS_DASHBOARD_ENABLED=false.
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.#14952
caaaee2Thanks @damianlegawiec! - A store credit'screated_byis now anActorrather than anAdminUser, since a credit issued with a secret API key records the key as its issuer. The dashboard hides refunding a return, resolving a claim, fulfilling an exchange and refunding on cancel from roles without the refunds permission.#14970
fb8a9ceThanks @damianlegawiec! - A webhook endpoint's subscriptions must now be*, an event name, or a name with*in place of whole segments (order.*,*.created), with at most 200 entries of up to 100 characters each; the API's 422 names the rejected entries.@spree/coreexports the rule asWEBHOOK_EVENT_PATTERN,isWebhookEventPattern,WEBHOOK_SUBSCRIPTION_MAX_LENGTHandWEBHOOK_SUBSCRIPTIONS_MAX, and the dashboard's webhook form checks it before saving, refusing an invalid custom event inline.FieldErrorno longer crashes on the sparse per-item error array react-hook-form produces.Updated dependencies []:
1.0.0-rc.5
Minor Changes
#14911
3ca1f5eThanks @KacperMekarski! - Company members can now pick their company's addresses when choosing where an order goes. Picking a company site at checkout used to be dropped without an error, because the cart only ever looked in the buyer's own address book. A newGET /store/carts/:id/addressesreturns everything a cart may be shipped or billed to — the buyer's book plus the sites of the company set as the cart'scompany_idand the ones it inherits, limited to the countries the cart's market sells to — andclient.carts.addresses.list()reaches it. The company has to be set on the cart explicitly: a buyer who belongs to a single company is not assumed to be buying for it when it comes to addresses. EveryAddressnow carries theownerit is filed under (nullfor an address in no book, such as the copy a placed order keeps), so a picker can label the two books from one response. On the Admin API thisownerobject replaces the separateowner_idandowner_typefields. Unlike the other cart endpoints this one needs a signed-in customer: it answers with the account's address books rather than the cart's own contents. Staff get the same reach: a company's sites are selectable when creating an order, and "use default addresses" takes the company's defaults for a company order. On a division's page, addresses inherited from the companies above it are labelled with their owner and cannot be edited there.#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.#14940
44b1933Thanks @damianlegawiec! - Added main-column slots to the order, customer, category, collection, purchase order and stock transfer pages (<resource>.form_main), anddelivery_profile.form_mainanddelivery_profile.form_sidebarto the delivery profile page. The category and collection slots also render on the new category and new collection pages, and receivemode.#14937
90f8f59Thanks @damianlegawiec! - New draft orders take a market, sales channel, currency and locale, chosen before any item is added. A market fixes the currency and the locales on offer. The item search on a new or existing draft order lists only what the buyer can be sold on that channel, priced as they would pay in that market;variants.list()acceptsorder_id, ormarket_id,channel_id,customer_id,company_idandcurrencyfor an order not yet created.order_idcannot be combined with the other fields, andcurrencyon its own also narrows the list. Order creation refuses items the buyer cannot order on the channel, and picks a market selling the requested currency when none is named. Changing any of these after items are picked asks before removing them.#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.#14940
44b1933Thanks @damianlegawiec! - Added media library slots for plugins:media.form_fieldsin a file's detail sheet, saved with its Save button, andmedia.context_menuin the grid's right-click menu. Enter in any field of the sheet now saves it.#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
#14934
dc2f1a7Thanks @mad-eel! - A customer's own data request now waits for confirmation from the account's email address.client.customer.dataRequestslists, reads and opens requests, andcreatetakes aredirect_urlfor the page the emailed link opens.client.dataRequests.confirm(token)confirms one from that page, andclient.dataRequests.get(token)reads it, with the download link once the export is ready.DataRequestStatusgainsawaiting_confirmationandlapsed. The dashboard's email editor lists the new confirmation email.#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.#14936
06fc8b0Thanks @damianlegawiec! - Weight and dimension units are closed code lists, exported asWeightUnitandDimensionUnit(values and types) likeCountryCodeandCurrencyCode, and every unit field in responses and request types uses them; unit fields in requests acceptnullto fall back to the store default. The Admin and Seller SDKs publish oneVariantParamstype:ProductVariantParams,VariantCreateParamsandVariantUpdateParamsbuild on it. The Seller SDK'sSellerProductVariantParamsis renamed toProductVariantParams(the old name stays as a deprecated alias). The variant editor and bulk variant editor now offer feet as a dimension unit.Updated dependencies [
a0e5b66]:
1.0.0-rc.4
Minor Changes
#14916
a7aa0e5Thanks @damianlegawiec! - Admin API payments now includeavs_riskyandcvv_risky, and can expandcapture_events, each capture of the money the payment authorized. On the order page, a payment whose card failed the issuer's checks is flagged, and each payment's menu opens a details dialog with the address and security code check results and the list of captures.#14913
9688d11Thanks @damianlegawiec! - Admin API payments now includegateway_dashboard_payment_url, a link to the payment in the payment provider's own dashboard. On the order page, each payment's menu shows a "View at {payment method}" link when the provider offers one, so staff can look up the full payment details there.#14922
214c5aaThanks @damianlegawiec! - AddedtaxExemptionReasons, the store's own list of reasons a business can give for buying without tax, with list, get, create, update and delete. Each reason has acodethe tax engine receives. Tax exemption certificates now point at a reason withtax_exemption_reason_idinstead of recordingreason_code, and can expandtax_exemption_reason.taxProviders.list()is now typed (TaxProviderOption) and says which exemption reason codes each engine reads. The dashboard gains one Settings → Taxes page with tabs for tax categories, tax rates and exemption reasons, which also shows the tax service each market uses; the certificate form offers the store's reasons.
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.#14900
11b9a03Thanks @damianlegawiec! - Currency pickers that offer every currency now show the same list on every browser: the currencies Spree accepts that are still in use.#14833
b38df6eThanks @mad-eel! - The market form's tax switch is now "Prices include tax" and decides whether customers pay the price as entered with tax inside it or have tax added at checkout. The tax rate form and list no longer show "Included in price".#14905
e7d276dThanks @damianlegawiec! - The email branding preview now shows a newly uploaded or removed logo before saving, and refreshes after saving. The logo now sits in the Branding section of email settings.EmailTemplatePreviewParamsacceptsmailer_logo_signed_id.#14914
1ff3b91Thanks @damianlegawiec! -unit_costis now required on every purchase order item (PurchaseOrderItemParams), matching what the API already enforced. The dashboard's purchase order form now starts each line with an empty cost, so Save stays disabled until the merchant prices every line, instead of filling in zero.
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.#14853
3001ebfThanks @damianlegawiec! - Changed preferences to a typed contract. Every/…/typesentry returnsschema, the JSON Schema of the type'spreferences, instead ofpreference_schema, and rows no longer repeat it;PreferenceFieldandDeliveryPreferenceFieldare replaced byPreferenceSchema. Each configurable family's settings are typed pertype(PromotionRulePreferencesMap,TypedPromotionRule, …), and an extension adds its own by declaration merging. Store, channel, import and seller profile settings drop thepreferred_prefix (guest_checkout,timezone,delimiter), the store's decimal settings are strings, and delivery methods read and writecalculator: { type, preferences }. Preference writes are validated, refused withinvalid_preferencesand a JSON pointer per failing value.paymentMethods.types()lists every provider withinstalledset on those the store already has.
Patch Changes
#14864
614347aThanks @damianlegawiec! - The email template editor inserts an amount through themoneyfilter ({{ order.total | money }}) instead of a pre-formatteddisplay_*field. Email types gain the raw amounts the default templates now format:total_minus_store_credits, a line item's and a parcel item'samount, a parcel item'sprice, a fulfillment group'scostandunpriced, and a return'srefunded_total.#14884
9736316Thanks @damianlegawiec! - Removed thedisplay_*money fields from theEmail*types and Zod schemas; templates format amounts with themoneyfilter. AddedEmailCustomer,EmailCustomerGroupandEmailNewsletterSubscriber, which the password reset email'scustomervariable now uses.#14885
34b80f0Thanks @damianlegawiec! - AddedformatMoney(amount, currency, locale?, { unitPrice? }), which formats a decimal-string amount in its currency and the reader's language with the currency's own decimal places, without passing it through a JavaScript number. The dashboard now uses the SDK's copy.#14887
9b5911dThanks @damianlegawiec! - Country and currency names move to the client: the Store API's countrynameand currencynameandsymbolare deprecated (name them withIntl.DisplayNames, format amounts withformatMoney), and the Admin and Seller APIs no longer return a country'sname. The seller SDK'sSellerCountryis now the generatedCountrytype, and the setup country list'slocalesare typed asLocaleCode[]. The dashboard and seller panel name and sort countries in the admin's own language.In
@spree/dashboard-core,CountryOptionno longer hasnameandcountryFilteris removed: name countries withuseCountryDisplayNameand sort them with the newuseSortByCountryName, which collates in the admin's language.#14886
6034c11Thanks @damianlegawiec! - Added theLocaleCodetype: the locale codes Spree accepts (every ISO 639-1 language plus regional variants such asen-USandpt-BR). Order, cart and market locales, the store's default, supported and available locales, and the matching request params now use it. The dashboard validates locale fields with the newlocaleCodeSchema.The Store API's locale
nameis deprecated (name a locale from itscodewithIntl.DisplayNames) and the Admin API no longer returns it, so the admin SDK'sLocaletype dropsnameand typescodeasLocaleCode; the dashboard names locales in the browser.#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.#14869
bf1f47dThanks @damianlegawiec! - Purchase order documents on orders can now be Excel, OpenDocument or CSV spreadsheets, as well as PDFs, images and Word documents.#14879
f184f25Thanks @damianlegawiec! - Methods that delete a record are nameddeletein both SDKs. In the Seller SDK,taxIdentifiers.remove,team.removeandinvitations.revokeare nowtaxIdentifiers.delete,team.deleteandinvitations.delete. In the Admin SDK,sellers.team.removeandsellers.invitations.removeare nowsellers.team.deleteandsellers.invitations.delete. Methods that detach something from a cart or order (remove), or change a record without deleting it (revoke), keep their names.Seller SDK types are corrected:
team.invitereturns theInvitation, andauth.providersreturnsAuthProvidersResponse.#14858
a90a9ccThanks @damianlegawiec! - Every filterable list method now takes typed filter and sort parameters, including returns, claims, exchanges, custom fields, digital links, payouts, imports and the rest that still accepted any key. The building block for custom field value filters is nowCustomFieldValueFilters, so it no longer hides the generated filters for custom field lists. The product digital files list now pages by 25 as intended.#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.
#14876
5c1eeeeThanks @damianlegawiec! - Request types that served both create and update are split by action, so creating marks what the API requires (a company's or tax rate's name, a tax registration's kind and value, an address's name, street, city and country) while updating takes any field.AddressParamsandCompanyAddressParamsin@spree/sdkstay as deprecated aliases until 6.1. The Admin SDK'sorders.payments.capture(orderId, id, params?, options?)takes an optional{ amount }for a partial capture; request options move from the third argument to the fourth.A tax exemption certificate's
issued_at,expires_atandverified_atare typedstring | null: a certificate that is still pending has no dates yet.#14871
6990f37Thanks @damianlegawiec! - Request body types are now generated from the API itself, so every create, update and action method takes exactly the fields its endpoint accepts. Fields the API never accepted are gone from the types, and fields it accepted but the types left out are added. Renamed types keep their old names as deprecated aliases (for exampleVariantPriceis nowPriceParams,LineItemInputis nowLineItemInputParams). The dashboard now saves the store's digital download limits, which the API used to drop.Country and currency codes are typed as the closed
CountryCodeandCurrencyCodeunions in both requests and responses. Deprecated fields are marked@deprecatedin the types; the Store SDK keeps them until 6.1, while the Admin and Seller SDKs drop them (addresscountry_iso/state_abbr, cartnumber, marketcountry_isos, importowner_type/owner_id, payment methodauto_capture).Updated dependencies [
05d6372,9728851,293200e,614347a,9736316,cbde8fe,34b80f0,9b5911d,6034c11,525959d,3525c00,f508a38,8dbe607,f184f25,a90a9cc,90af080,5c1eeee,3001ebf,6990f37]:
1.0.0-rc.2
Patch Changes
#14846
dca32dbThanks @damianlegawiec! - Projects that install the dashboard packages from npm now get a single copy of the rich text editor library.@spree/dashboardno longer declares its own, looser TipTap ranges next to the exact versions in@spree/dashboard-ui, so a newer TipTap release can no longer install beside the pinned one and break type checking.#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
#14837
3b80c52Thanks @damianlegawiec! - Changed every type value the APIs send or accept to a short name instead of a Ruby class name: delivery method, digital asset, payout, tax and pickup point providers (manual,internal,system,file), order routing strategies (rules), custom field definitionresource_type(product,category), tagtaggable_type, the owner and originator types on addresses, refunds and media usage, payment setup sessionpayment_source_type(credit_card), and type filters such astype_eqandreceivable_type_eq. Removedintegration_classfrom the provider listings and the deprecated custom fieldtypefield (usefield_type), and corrected the shipping labelowner_typetype to'fulfillment' | 'return'.#14784
a4baf49Thanks @damianlegawiec! - Plugins can now add cards to more detail pages. The admin dashboard has new slots on the seller payout, catalog, price list, promotion, purchase order, stock transfer and webhook endpoint pages, and the catalog, price list and promotion pages now save extension fields bound withuseHostForm()with the page's own Save button. The seller panel has new slots on its product, order, payout and profile pages, and its product page saves extension fields the same way, under the form keyseller.product. The slots catalog lists every slot and the context it receives.#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.#14816
06c5381Thanks @damianlegawiec! - Settings → Integrations is now a card gallery with tabs, and it lists third-party payment providers next to service integrations. Each card switches its integration or payment method on and off straight away, opens its setup panel, and links to the provider's setup guide when one is declared — on the card and in its setup panel.#14839
446d3cbThanks @damianlegawiec! - Changed permission subjects to short names:/mereturnsproduct,category,customerinstead of Ruby class names, and theSubjectconstants,<Can>checks and navigationsubjectentries use the same names. Plugins that pass class names ('Spree::Order') topermissions.can,<Can>or a navigation entry must switch to the short name ('order') or aSubjectconstant. Category checks now work for roles without full access.#14773
8f21572Thanks @damianlegawiec! - Added typed webhook events.@spree/sdk/webhooksnow maps every event Spree publishes to the record itsdatacarries, so checkingevent.namenarrowsevent.data, andconstructWebhookEventverifies a request and returns the typed event (optionally validated withwebhookEventSchemasfrom@spree/sdk/zod).WebhookEvent<Order>keeps working but is deprecated in favour ofWebhookEvent<'order.placed'>. The Admin SDK addsclient.webhookEvents.list(), and the dashboard's webhook event picker now reads that list instead of a hand-kept one.
Patch Changes
#14776
9335e9fThanks @mad-eel! - The New claim dialog now pre-fills each line's refund with what the customer paid for those items after discounts, instead of their list price, which the claim would refuse to refund on a discounted order. The amount follows the claimed quantity until the merchant types one of their own. Code that builds the dialog's lines itself passesdiscountedAmount(the line'sdiscounted_amount) in place ofprice, whichClaimableLineno longer accepts.#14776
9335e9fThanks @mad-eel! - A received return that is owed nothing, such as a free gift sent back, now offers "Complete return" instead of "Refund". The dialog explains that no money goes back and closes the return without asking for an amount or a refund method.#14818
7fa7a64Thanks @damianlegawiec! - Added an "Issue store credit" button to Loyalty → Store Credits, so a credit can be issued to any customer without opening their profile first. The page also links to its documentation now.#14799
c9d9a2fThanks @mad-eel! - The refund dialog says how much tax the pre-filled amount gives back, and the claim dialog pre-fills each line with the tax the customer paid on top of the price. Shipping an exchange whose replacement costs more asks first, because the difference is added to the order as a balance due, and that fee is labelled "Exchange" on the order.#14795
3dcc8e9Thanks @damianlegawiec! - The orders and products tables now search with thesearchfilter, since the oldmulti_searchalias was removed from the Admin API.#14822
a44267dThanks @damianlegawiec! - Store credits can now be edited and deleted from the Loyalty → Store Credits page, from each row's menu or the credit's panel, matching the gift cards page.#14799
c9d9a2fThanks @mad-eel! - Admin returns carrydisplay_refunded_total. A refunded return's card in the dashboard and the seller panel now shows what was actually refunded instead of what the return was worth, and names both when less went back, for example "Refunded $25.00 of $30.26".#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.Updated dependencies [
aa69c35,fa4730a,06c5381,3b80c52,f52fc12,9335e9f,9335e9f,4bd1741,7fa7a64,c9d9a2f,3a2a78b,446d3cb,c9d9a2f,c9d9a2f,291238d,a0151c1,f52fc12,f52fc12,8f21572,53d9925]:
1.0.0-beta.8
Patch Changes
#14746
3ad9173Thanks @damianlegawiec! - The setup screen no longer says an installation is already set up when it simply could not check. A rate-limited check shows "Too many attempts" and a failed one shows "Couldn't check setup", each with a retry button; "Setup is not available" now appears only when the server confirms setup is done. The setup status is also no longer re-checked every time the browser tab regains focus.Updated dependencies []:
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.Updated dependencies [
928c1ba]:
1.0.0-beta.6
Patch Changes
0b50f65Thanks @damianlegawiec! - Held Base UI at 1.5.0 so a scaffolded dashboard starts.@base-ui/react1.6.0 moved to@base-ui/utils0.3.x, which added auseStorehelper importinguseSyncExternalStoreby name from the CommonJSuse-sync-external-storeshim. Vite converts CommonJS while prebundling an ordinary dependency, but@spree/dashboard-uiships source: in the Spree monorepo it is a workspace link that Vite crawls as application source, while an installed copy lives innode_modulesand is not crawled. That file then reaches the browser with the named CommonJS import intact and the dashboard fails with aSyntaxErrorbefore rendering.1.5.0 pins
@base-ui/utils0.2.9, which has no such file. The previous release pinned 1.8.0 — exact, but on the wrong side of the change — so this supersedes it.3bc3e01Thanks @damianlegawiec! - Pinned every@spree/dashboard-uidependency to an exact version.The package ships source rather than a bundle, so its dependencies are compiled into each consuming app by that app's own Vite. A floating range means a scaffolded project installs whatever those packages published most recently, not what Spree built and tested against — which is how a Base UI release that had never been tested here reached users and stopped the dashboard from starting.
rechartsmoves to 3.10.1 as part of this: 3.8.1 pinnedreselect5.1.1, which published without the provenance its predecessors had, so the workspace'sno-downgradetrust policy refuses it. 3.10.1 resolvesreselect5.2.0, which carries provenance again.react-reduxis overridden to 9.3.0 for the same reason — 9.2.0 dropped the provenance 9.1.0 had, and recharts' own range accepts 9.3.0.Every other pin records the version already installed, so nothing else about the tree changes.
1.0.0-beta.5
Patch Changes
35fb9e8Thanks @damianlegawiec! - Pinned Base UI to an exact version so a scaffolded dashboard boots.@base-ui/reactwas caret-ranged, so every new project installed whatever Base UI had published most recently rather than the version Spree tested against.@base-ui/utils0.3.0 added auseStorehelper that importsuseSyncExternalStoreby name from the CommonJSuse-sync-external-storeshim. Vite converts that during prebundling for an ordinary dependency, but@spree/dashboard-uiships source, so an installed copy reached the browser with the named CommonJS import intact and the dashboard failed to start with aSyntaxError.The monorepo's committed lockfile hid this — only fresh installs floated onto the newer Base UI. It is now pinned exactly, in the packages and as a workspace override, and the monorepo runs the same version a scaffold installs.
Updated dependencies [
35fb9e8]:
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.#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.#14736
e601826Thanks @damianlegawiec! - Invitation listings no longer includeacceptance_url, because the link carries the token that accepts the invitation. Fetch it on demand withinvitations.acceptanceLink(id)(andsellers.invitations.acceptanceLink(sellerId, id)in the Admin SDK), which needs write access. The "Copy invitation link" actions in the dashboard and the seller panel now use it.Updated dependencies [
349dddf,d065d0b,9e41f7d,9cd3d42,6742c1a,c2d6f40,741345d,a862b80,5f2b412,86d4b93,854ebfe,61f902f,e601826]:
1.0.0-beta.3
Patch Changes
#14644
6723b99Thanks @damianlegawiec! - First-run setup offers to load sample data. The load runs in the background once the admin account exists, so a fresh install gets demo products without a command line.#14667
53008b4Thanks @damianlegawiec! - Re-export the framework and the design system, so an application has one import to remember.@spree/dashboardand@spree/seller-dashboardnow expose everything from@spree/dashboard-coreand@spree/dashboard-ui, and a host app writing its own pages no longer has to work out which packageuseStore,ButtonordefineTablelives in. Both packages stay importable directly, which is what a distributed plugin still does — it extends the shell rather than shipping it.A few names exist in both packages, where the design system ships a presentational component and the framework wraps it with data.
export *drops such a name rather than picking one, soResourceCombobox,ResourceMultiAutocomplete,Slot,StatusCardandDateRangeresolved to the design system's version and the data-fetching one was unreachable through the shell. They are now re-exported explicitly, and a test fails when a new duplicate appears.
1.0.0-beta.2
Minor Changes
Removed the address map from the design system.
The map was rendered on one card — a seller's billing and returns addresses — and could not plot anything, because Spree addresses carry no coordinates. It also cost every dashboard user around a megabyte of MapLibre in the main bundle.
Its
?worker&urlimport made the package impossible to install, too: Vite's dependency optimizer cannot resolve that specifier insidenode_modules, so any project depending on@spree/dashboard-uifailed to start its dev server. Projects on the previous release should upgrade.
Patch Changes
- Updated dependencies []:
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.#14430
9a4eb46Thanks @damianlegawiec! - Order numbers are now configurable from the dashboard.Settings → Store → Order numbers controls how document numbers are shaped: the numbering format (sequential or random), the order number prefix and suffix, and the value the sequence starts at. A live preview shows what the next number will look like.
Sequential numbering is the new default — orders count up from 1001 (
R1001,R1002) instead of carrying nine random digits. Merchants who would rather not disclose their order volume can switch the format back to random. Either way, changes apply to future orders only; numbers already issued never change.StoreUpdateParamsand theStoretype gainpreferred_document_number_format,preferred_order_number_prefix,preferred_order_number_suffixandpreferred_order_number_sequence_start.#14489
889a8cfThanks @damianlegawiec! - Media library. Every image and video in a store now lives in one place under Products → Media: browse it, search by file name, filter by type or by whether a file is in use, and upload files before deciding where they go. Picking a file from the library reuses it rather than copying it, so the same photo on three products is one file in storage.The library is reachable from everywhere media is set. The product gallery gains "Add from library", category, collection and seller image fields gain "Choose from library", and the rich text editor can embed an image in a description for the first time. Category and collection images now appear in the library too, so a file uploaded there can be reused anywhere else.
Every file shows where it is used before it is deleted, and deleting one that is still in use removes it from those places once the merchant confirms.
New in
@spree/admin-sdk: themediaresource (list,get,create,update,delete,usage),source_media_idon product media creation for reuse, andsigned_id,embed_url,filename,content_type,byte_sizeandattachedon the admin media payload.#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.
#14457
676aa0dThanks @damianlegawiec! - Product galleries can hold video.A media item now says what it is through
media_type.videois a file you upload and serve yourself;external_videois a YouTube or Vimeo link. Both sit in the same gallery as images and reorder alongside them.Spree reads the link when it is saved and rejects anything it cannot embed, so the media object comes back carrying
video_provider,video_embed_url,video_urlandposter_url— a storefront embeds a video without parsing links itself. A video's sized URLs resolve to its poster, so a gallery written for images still renders the right still.MediaCreateParamsandMediaUpdateParamsacceptmedia_type,external_video_url,poster_signed_idand the focal point. Thetypeparameter, which named an internal Ruby class, is gone —media_typereplaces it.A video carries a poster — the still shown before it plays. Upload one with
poster_signed_id, or leave it off and a YouTube link falls back to the provider's own image. Spree does not extract a frame from an uploaded file, so hosted video and Vimeo links want a poster.In the dashboard, video files upload through the same drop zone as images, an "Add video link" button takes a YouTube or Vimeo URL, and the media editor plays the video back and takes a poster the merchant uploads. The editor also gains a focal-point picker: click the spot on an image that must stay in frame when a storefront crops it.
Choosing which variants a media item represents happens in one place — the media editor on the product. The unmounted variant-side gallery picker has been removed; it was a second way to edit the same thing.
#14462
abc6e22Thanks @damianlegawiec! - Which address a sale's tax is computed from is now a store setting rather than a global one.preferred_tax_using_ship_addresscan be read and written through the Admin API, and merchants can change it under Settings → Store in the Payments card. The default is unchanged: tax follows the shipping address.
Patch Changes
#14633
c0f6ccdThanks @damianlegawiec! - Fix the dashboard date range picker remembering "Last 30 days" after another preset is chosen.The trigger label lived in local state that reset whenever analytics refetch replaced the page. It now follows the selected dates, so Last 90 days stays selected after the figures update.
#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.#14429
226557bThanks @damianlegawiec! - Align status badge colours with the Geist colour system: each of the success, warning, destructive and info variants now pairs a tint with a matching reading colour from the same hue, in both light and dark themes, and every variant meets WCAG AA against its own fill. Fixes awarningbadge that changed colour entirely on hover, and an outline badge whose border never rendered.#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.#14532
be76364Thanks @damianlegawiec! - Stop the admin sidebar's Cmd/Ctrl+B shortcut from firing while typing, and restore list, quote and link styling plus live toolbar states in the rich-text editor.#14376
a52a6daThanks @damianlegawiec! - Dashboard features from the 6.0 core rewrite:- Delivery method editor: Conditions section (eligibility rules), pickup stock-location picker, calculator preferences through the shared preferences form.
- Order page: discount code card (apply a typed code or pick a coupon promotion; pending codes show when they'll take effect) and a live computed-amount preview for percent manual discounts.
- Webhook endpoint event catalog lists
order.placed; delivery zones request members viaexpand.
#14461
32d4db9Thanks @damianlegawiec! - Store credits no longer carry a category.client.storeCreditCategoriesand theStoreCreditCategorytype are removed,category_idis no longer accepted or returned on customer store credits, and the dashboard's issue/edit store credit dialogs drop the category picker — the memo is the place to record why a credit was issued.#14530
5d3520dThanks @damianlegawiec! - Show why an order tax line is zero.The Taxes card now names the treatment (buyer exempt, zero-rated, and the other recorded reasons) and, when the buyer is exempt, the certificate that made it so. A completed order with no matching rate says so instead of looking like a draft that has not been taxed yet, and the Summary card keeps its tax row at zero so an exempt sale is still visible there.
#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.
Updated dependencies [
9cee487,4df88ac,6d4fe64,67594a5,a8b11ec,fdd88eb,c0f6ccd,99573b0,3a1ac28,027ed08,226557b,eb59f05,9a4eb46,38207ce,889a8cf,8e5dc20,676aa0d,9b8a7d5,be76364,7e35951,496431d,a52a6da,0f22450,da49f27,32d4db9,abc6e22,3473696,4156d50]:
0.13.1
Patch Changes
#14363
705e515Thanks @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 olderSpree::Imports::Productsform are still understood, so an import opened from a cached payload keeps rendering its type and "view records" link correctly.#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.Updated dependencies [
8bf0dd0,f811d1e,8bf0dd0,705e515,705e515,f811d1e]:
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.
Patch Changes
0.12.0
Minor Changes
- #14339
b71e613Thanks @damianlegawiec! - Re-export the plugin facade (defineDashboardPluginand its types) from@spree/dashboard, so host apps can register in-app customizations without declaring@spree/dashboard-coreas a direct dependency. Distributed plugins keep importing from@spree/dashboard-core/plugin.
Patch Changes
- Updated dependencies []:
0.11.0
Minor Changes
- Manage channel binding for publishable API keys. The create dialog offers an optional channel select (defaulting to all channels) when the key type is publishable, and the publishable keys table gains a Channel column showing each key's bound channel or "All channels".
0.10.3
Patch Changes
- Refresh resource lists when a CSV import finishes. Imports create records server-side outside any tracked mutation, and the list under the import wizard stays mounted — so it kept serving the pre-import cache. The import's target resources (plus option types and categories for product imports) and the imports history are now invalidated whenever the poll observes the run finishing, including failed and retried runs.
0.10.2
Patch Changes
- Fix the product edit form collapsing multi-paragraph descriptions on reload. The description editor now hydrates from the API's
description_htmlfield instead of the tag-stripped plain-textdescription, so paragraphs, line breaks, and inline formatting survive save and reload cycles.