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/seller-dashboard
6.0.2
Patch Changes
- #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. - 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.#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.
6.0.0
Patch Changes
- 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.7
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. - Updated dependencies [
98a79ca]:
1.0.0-rc.6
Minor Changes
#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.
1.0.0-rc.5
Minor Changes
- #14906
6bcdb66Thanks @damianlegawiec! -sellerClientis now exported, so seller panel customizations can call the Seller API from their own hooks.
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.Updated dependencies [
11b9a03]:
1.0.0-rc.4
Patch Changes
- Updated dependencies:
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.#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
#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.Updated dependencies [
05d6372,9728851,cbde8fe,34b80f0,9b5911d,525959d,3525c00,f508a38,f184f25,a90a9cc,90af080,5c1eeee,3001ebf,6990f37]:
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
- #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.
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.#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.#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".#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.Updated dependencies [
3b80c52,f52fc12,9335e9f,9335e9f,4bd1741,7fa7a64,c9d9a2f,3a2a78b,446d3cb,c9d9a2f,c9d9a2f,291238d,9335e9f,95c27af,a0151c1,f52fc12,f52fc12,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
Patch Changes
#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 [
9cd3d42,6742c1a,c2d6f40,741345d,a862b80,5f2b412,86d4b93,854ebfe,61f902f,e601826]:
1.0.0-beta.3
Patch Changes
#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.Updated dependencies []:
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
Patch Changes
#14635
496431dThanks @damianlegawiec! - Added a settings overview page to the seller panel, matching the operator dashboard's card grid of reachable settings areas.Updated dependencies [
9cee487,67594a5,fdd88eb,c0f6ccd,99573b0,3a1ac28,027ed08,226557b,eb59f05,38207ce,8e5dc20,9b8a7d5,be76364,496431d,0f22450,da49f27,3473696,4156d50]: