@medusajs/dashboard

2.21.2

Patch Changes

The configurable shipping profile list table's getRowHref built /settings/shipping-profiles/:id, which 404s, instead of /settings/locations/shipping-profiles/:id, where the route is actually registered. Clicking a row in the shipping profiles list now navigates correctly.

2.21.1

Patch Changes

DELETE /admin/search-indexes/:id drops every physical index ever built for an index, along with its versions and sync history, so the next migration recreates it from scratch at version 1. Useful when an index' physical state has drifted past what a reindex can repair.

Available as searchModuleService.deleteIndex, deleteSearchIndexWorkflow, sdk.admin.search.deleteIndex, and a confirmed action in the admin dashboard.

2.21.0

Patch Changes

The Polish (pl) translation file covered 2105 of the 2438 keys in en.json, so 441 keys fell through to the English fallback inside an otherwise Polish dashboard. The gaps included very common labels such as actions.saveChanges, actions.manage, general.selectAll and the whole layout.customize* group, as well as entire newer domains: roles, policies, permissions, translations, searchIndexes, propertyLabels, views, productOptions, priceLists.quantityPricing and two-factor auth in both profile.mfa and login.mfa.

  • Add the 441 missing keys. Polish plural groups are expanded to all four categories its plural-config.json declares (one, few, many, other), so the 441 English keys become 451 Polish entries.
  • Remove 15 stale app.search.groups.* keys (customerGroup, productVariant, category, ...). These were renamed to snake_case (customer_group, product_variant, product_category, ...), so the camelCase names were dead code i18next could never reach and the translation schema rejects them.

No pre-existing Polish value is modified or dropped. yarn i18n:validate pl.json failed before this change and now passes.

2.20.1

Patch Changes

2.20.0

Patch Changes

The Polish (pl) translation file was missing several CLDR plural categories its own plural-config.json declares, so a count that resolved to a category the file did not define (e.g. few for 2-4 items in dataGrid.errors.count) fell through to the English fallback inside an otherwise Polish screen.

2.19.0

Minor Changes

Breaking: projects must bump their own react-router-dom dependency to 7.x.

Left at v6, a project ends up with two router installations: its own v6 plus v7 for the dashboard. The dashboard is built against v7 while the admin bundler resolves react-router-dom from the project root, so plugin admin extensions get v6 hooks inside a v7 router and fail with "useNavigate() may be used only in the context of a Router". Bumping the project's own dependency collapses this back to a single copy.

For admin extension authors: json() and defer() were removed in react-router 7 — return a Response and a plain object respectively. UIMatch.data is deprecated in favour of UIMatch.loaderData. react-router-dom remains a valid import specifier and is still externalized by medusa plugin:build, but it is removed in react-router 8, so plan to import from react-router instead.

Patch Changes

2.18.0

Minor Changes

Patch Changes

2.17.2

Patch Changes

2.17.1

Patch Changes

2.17.0

Minor Changes

Patch Changes

2.16.0

Patch Changes

Adds a GMD entry to the hardcoded currency maps in packages/core/utils/src/defaults/currencies.ts, packages/admin/dashboard/src/lib/data/currencies.ts, and packages/plugins/loyalty/src/admin/lib/currencies.ts. Without it, admin pages that map over store.supported_currencies and look each one up — most notably the Regions create/edit form — crash with TypeError: Cannot read properties of undefined (reading 'code') when a store has GMD as a supported currency.

Falsy checks treated a price of 0 as unset, dropping free-shipping prices from the API payload on subsequent edits. Replaced !value with value === undefined || value === "" in the create/edit form handlers, fixed the same issue in buildShippingOptionPriceRules, and used ?? instead of || in the price cell initialisation.

2.15.5

Patch Changes

2.15.4

Patch Changes

2.15.3

Patch Changes

2.15.2

Patch Changes

2.15.1

Patch Changes

2.15.0

Patch Changes

2.14.2

Patch Changes

2.14.1

Patch Changes

2.14.0

Patch Changes

2.13.6

Patch Changes

2.13.5

Patch Changes

2.13.4

Patch Changes

2.13.3

Patch Changes

2.13.2

Patch Changes

The edit product option form was using option.product_id which is undefined when options are fetched as part of a product response. Now passes the product ID from the parent component via props.

Previously, when multiple plugins registered settings routes, only the first plugin's routes were displayed. This fix uses flatMap to properly merge all settings routes from all plugins.

2.13.1

Patch Changes

2.13.0

Minor Changes

Patch Changes

2.12.6

Patch Changes

2.12.5

Patch Changes

2.12.4

Patch Changes

2.12.3

Patch Changes

2.12.2

Patch Changes

2.12.1

Patch Changes

2.12.0

Patch Changes

2.11.3

Patch Changes

2.11.2

Patch Changes

2.11.1

Patch Changes

2.11.0

Patch Changes

2.10.3

Patch Changes

2.10.2

Patch Changes

2.10.1

Patch Changes

2.10.0

Patch Changes

2.9.0

Patch Changes

2.8.8

Patch Changes

2.8.7

Patch Changes

2.8.6

Patch Changes

2.8.5

Patch Changes

2.8.4

Patch Changes

2.8.3

Patch Changes

2.8.2

Patch Changes

2.8.1

Patch Changes

2.8.0

Patch Changes

2.7.1

Patch Changes

2.7.0

Patch Changes

2.6.1

Patch Changes

2.6.0

Patch Changes

2.5.1

Patch Changes

2.5.0

Patch Changes

2.4.0

Minor Changes

Patch Changes

2.3.1

Patch Changes

2.3.0

Patch Changes

2.2.0

Patch Changes

2.1.3

Patch Changes

2.1.2

Patch Changes

2.1.1

Patch Changes

2.1.0

Patch Changes

2.0.7

Patch Changes

2.0.6

Patch Changes

2.0.5

Patch Changes

2.0.4

Patch Changes

2.0.3

Patch Changes

2.0.2

Patch Changes

2.0.1

Patch Changes

2.0.0

Major Changes

Patch Changes