Skip to main content
Mercur and Medusa are upgraded together. @mercurjs/core declares Medusa as a peer dependency, so bumping Mercur alone keeps your project on the Medusa version it already pins.

Supported versions

The backend accepts both 2.22 and 2.23, so you can upgrade Mercur first and Medusa later. The panels are built on Medusa UI 4.3, which requires React 19.
@mercurjs/core checks the installed @medusajs/core-flows version at boot. Releases before this one only accept Medusa below 2.23 and throw on startup if you bump Medusa without bumping Mercur.

What changed in Medusa 2.23

  • React 19. Medusa UI 4.3 and @medusajs/dashboard require React 19.
  • Express 5. Medusa’s HTTP layer moved to Express 5. Custom API routes and middlewares that rely on Express 4 behaviour, such as assigning to req.query, need a review.
  • Tailwind CSS 4. Medusa UI is styled for Tailwind 4. The Mercur panels ship their compiled CSS, so host apps that import @mercurjs/admin/index.css or @mercurjs/vendor/index.css need no Tailwind changes.

Upgrade steps

1

Bump Mercur and Medusa together

In every package.json of the project, including the root overrides and resolutions, move all @mercurjs/* packages to the new release and every @medusajs/* package to the same Medusa version:
Keep every @medusajs/* package on exactly the same version.
2

Move the admin and vendor apps to React 19

Check your own pages and widgets for React 19 type changes, for example useRef() now requires an initial value.
3

Reinstall from scratch

Delete node_modules and the lockfile before installing. A partial install can keep a second copy of @medusajs/types built against Express 4, which surfaces as query or link resolving to unknown in TypeScript.
4

Migrate and rebuild

Mercur Enterprise

Mercur Enterprise publishes its own compatibility. Stay on Medusa 2.22 and React 18 until an Enterprise release lists support for this Mercur version.