v2.3.4
git-ai-project/git-aiv2.3.4Sep 14, 2026by github-actions[bot]
Upgrading?
AI Summary
An extensibility-focused release adding pluggable commission providers, new order acceptance flows, and shipping profile updates, with RBAC now fully opt-in.
Key Highlights
- Commissions get pluggable providers.
- Order acceptance flows with `setOrderStatus` hook.
- Handling time on offers.
- Shipping profiles are now operator-owned.
- RBAC is now fully opt-in.
Breaking Changes
- Shipping profiles are now operator-owned (vendor write access removed).
- New columns on offers, sellers, commission lines require migration.
- RBAC is opt-in (requires config flag).
New Features
- Commission providers (`ICommissionProvider`)
- `setOrderStatus` hook on `completeCartWithSplitOrdersWorkflow`
- `leadtime_to_ship` on offers
- `validate` hook on the vendor product-edit workflows
- `ClientError` keeps the API error `code`
Full Release Notes
# Mercur v2.3.4
This release is all about extensibility. Commissions get pluggable providers,
split orders and product edits get new workflow hooks, and offers learn about
handling time. Shipping profiles become operator-owned, RBAC is now fully
opt-in, and we bumped Medusa to 2.20.1 — plus a batch of fixes across offers,
the panels and the client.
## ⚠️ Before you upgrade
- **Shipping profiles are now operator-owned** (#1498). Only the marketplace
operator defines shipping profiles; vendors can still read and select them.
`POST` / `DELETE` on `/vendor/shipping-profiles` are removed, along with the
`seller_id` filter on `GET /admin/shipping-profiles` and the
`shipping-profile-seller-link`.
- **Run migrations** — new columns on offers, sellers and commission lines.
- **RBAC is opt-in** (#1521). If you use seller roles and permissions, enable
it with `withMercur({ featureFlags: { rbac: true } })`.
## ✨ Highlights
### 💸 Commission providers
The commission module now has a provider seam, just like payouts. Implement
`ICommissionProvider` to plug in your own commission logic, and pass extra
context through the new `setCommissionContext` hook. The existing calculation
ships as the default `system` provider, so nothing changes unless you
configure one. (#1509)
### 📦 Order acceptance flows
A new `setOrderStatus` hook on `completeCartWithSplitOrdersWorkflow` lets a
plugin set each seller order's initial status — for example `requires_action`
for marketplaces where sellers accept orders first. Both panels now lock
fulfil, edit, return, exchange, claim, capture and refund on those orders, and
order tables get a status filter. (#1513)
### 🚚 Handling time on offers
Offers accept `leadtime_to_ship` — business days until the parcel is handed to
the carrier — falling back to the seller's `default_leadtime_to_ship`
(default `2`). The building block for shipping deadlines and delivery
estimates. (#1491)
### 🧩 More extension points
- `validate` hook on the vendor product-edit workflows (#1484).
- `value_ids` accepted on product attribute batch update (#1481).
- `ClientError` keeps the API error `code`, so your storefront can react to a
specific refusal instead of matching on the message (#1477).
### Platform
- **Bump Medusa to 2.20.1** (#1489).
## 🐛 Fixes
- Reject offer prices of `0` or less, and skip unpriced variants in the vendor
Create offers form (#1522).
- Accept a decimal comma in offer price fields (#1520).
- Stop marking unhandled product-change actions as applied (#1463).
- Tolerate dangling price links in `updateOffersWorkflow` (#1482).
- Merge plugin i18n into the panels and keep parent breadcrumbs on file-based
routes (#1511).
- Use valid BCP 47 tags for Chinese and Portuguese (#1519).
- Stub `virtual:medusa/search-entities` in the dashboard SDK (#1495).
- Avoid a 4-level field expansion when the storefront retrieves the cart (#1518).
## 📚 Docs
- Clarify the Stripe webhook events needed for split-order checkout (#1523).
## 🙌 New contributors
- @skaffff made their first contribution in #1477 — thank you!
**Full Changelog**: https://github.com/mercurjs/mercur/compare/v2.3.3...v2.3.4Related Repositories
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one