Medusa major version upgrade: what the current line changes
The current major line of Medusa is v2, and v2.0.0 was published on GitHub on 2024-10-23 as a complete rewrite of the architecture. The latest release in our sources is v2.23.1, published on 2026-11-26, as of December 2026. A team still on Medusa 1.0 or an earlier v2 release is therefore planning changes across the whole codebase, which makes the destination version and the route to it the first decisions to document. Our sources give no end-of-life date for Medusa 1.0 or for any v2 release, so confirm the support status of each version you run with the Medusa project before you set a deadline. Record the answer, the date you received it and the person who gave it, because a migration schedule built on an unconfirmed support assumption is hard to defend later.
Medusa's update guide separates release types by risk: patch releases carry no breaking changes, but minor releases can include breaking changes, and major releases bring significant changes to the whole codebase. An upgrade from 1.0 to v2.23.1 is therefore a sequence of version steps, and each step needs its release notes read before you install it, even when the package manager resolves the newer version without complaint. Check the current release on the Medusa GitHub releases page before you plan, because a newer release may already be out. Your plan should list every version on the path, the release notes reviewed for each, and the staging test that confirms it before you move on.
Which Medusa versions are current and what the sources say about support
This table lists the Medusa releases our sources name, with publication dates and what each one tells you about support. Read the v2.0.0 row as the start of the current major line, and treat the later rows as recent releases to check against the project's live release list. Publication dates only show when a release shipped, so the main takeaway is that no end-of-life date is documented in our sources for any Medusa version, and you should confirm support windows with the project before you set an upgrade deadline.
| Version | Published | Support status in our sources |
|---|---|---|
| Medusa 1.0 | Not documented in our sources | Pre-v2 line. Our sources give no publication or end-of-life date, so confirm the status with the project before relying on it. |
| v2.0.0 | 2024-10-23 | First release of the current major line. Complete architecture rewrite with breaking changes to many areas of 1.0, so plan a full migration project. |
| v2.21.2 | 2026-09-28 | Cited on the GitHub releases page. Check the release notes for breaking changes between your version and this one, since minor releases can include them. |
| v2.23.1 | 2026-11-26 | Latest release in our sources as of December 2026. Confirm the current release on the GitHub releases page before you pick a target version. |
The documented Medusa upgrade path, step by step
This sequence moves a Medusa project from its current major version to a target version with the checks the documented update path requires. It ends with a production upgrade whose database migrations have already run on staging, so the team knows the migration path works before customers see the change.
Read the release notes for every release
List every Medusa release between your current version and the target, then read the notes for each one. Medusa's update guide says patch releases carry no breaking changes, minor releases can include them, and major releases bring significant changes across the codebase, so skipping a minor release is a risk to check before you take it. Our sources do not say whether intermediate minor releases must be applied in sequence, so confirm that with the project. If you are moving from Medusa 1.0, the v2.0.0 release notes promised an upgrade guide for that move. Confirm that guide is published and follow it. Done when you have a written list of breaking changes that touch your custom modules, workflows and integrations.
Bump the @medusajs packages to the target
The developer updates every @medusajs package in package.json to the target version and reinstalls dependencies so the lockfile reflects the change. Keep all Medusa packages on the same version so the core and module packages do not drift apart. Then compile the project and fix type errors in custom modules, subscribers and workflows, because the compiler catches many changed signatures early. Done when the lockfile is committed, a fresh checkout installs cleanly and the build passes.
Run database migrations on production-like data
The developer runs
npx medusa db:migrateagainst a restored copy of a production-like PostgreSQL database, so the migrations run on data that resembles production. Watch the output for failed migrations and stop at the first error. Custom migrations should include up and down methods, andnpx medusa db:rollbackreverts them on the local database, so check that each custom migration has both before you run it. Done when the command completes without errors, the application starts against the migrated schema and the rollback has been tested locally on the custom migrations.Test the upgraded build before staging
The QA lead or developer runs the project's test suite on the upgraded build, then walks through the core storefront and admin flows: product browsing, cart, checkout, order updates, admin login and any custom modules. Include the integrations that depend on the APIs you flagged in the first step. Log each failure with its module and fix it before moving on. Done when the test suite passes and a second person has signed off the checklist of core flows.
Push the upgrade to staging and test
The platform team deploys the upgraded build to staging, which should match production's topology: one instance in server mode for the API and admin dashboard, one in worker mode for background tasks, plus PostgreSQL, Redis and S3 file storage, as the deployment guidance describes. Let the predeploy script run the migrations on staging exactly as production will run them. Repeat the checklist from the test step on staging. Done when the staging checks pass and the migration log shows no errors.
Deploy to production after staging passes
The platform team deploys to production in a planned window, with a database backup taken immediately before the change and a rollback plan agreed in advance. Medusa runs database migrations through a predeploy script before each startup, so production applies the same migration path that staging already proved. Confirm that the predeploy script and environment variables match staging. Done when the health checks pass, a test order completes and the worker instance processes background jobs.
The upgrade runs through staging first, and production rollback needs a tested runbook
The path starts at the current release, where you read the release notes for each step, then back up PostgreSQL and file storage. Backup is standard practice here, not a project requirement. Next you bump the @medusajs packages and run db:migrate on staging. A failed staging run sends you back to fixing code, and a local db:rollback can revert custom migrations during development, provided they have up and down methods. A passing run moves to production, where the predeploy migration runs before the server and worker instances start, followed by a smoke test. Restoring from backup is the production rollback point, but the project does not document it in our sources, so it needs a tested runbook.
Upgrade order on staging and production, with the two rollback points.
Breaking changes in a Medusa major version upgrade and where they land
Breaking changes in a Medusa major upgrade do not sit in one place. They land in the core architecture, in your custom code and modules, in database migrations, and in how the server and worker instances are deployed. The five cards below show where each one lands and what to check before you test on staging.
The v2.0.0 architecture rewrite
Medusa v2.0.0 rewrote the architecture, and its release notes describe breaking changes to many areas of Medusa 1.0. If you run a 1.x store, treat the move as a re-platforming project with its own plan. Every custom code path, module and integration needs a full review against the new architecture. Medusa said an upgrade guide would follow the release, so confirm that it covers your starting version before you estimate effort.
v2.0.0 release notesCustom code and modules
The sources do not list specific API changes for custom code and modules, so no published list can replace your own check. For each area your team customized, read the release notes for every version between your current release and your target. Module code, integrations and any storefront calls to Medusa endpoints should each have a named owner. Record which areas you reviewed and which versions each review covered, so gaps show before testing starts.
Medusa update guideBreaking changes in minor releases
Medusa's update guide says patch releases carry no breaking changes, but minor releases can include breaking changes. A move within v2 still needs the release notes read before the bump. For example, an illustrative move from v2.21.2 to v2.23.1 crosses several minor releases, so read each note in between. Treat patch updates as the only routine upgrades, and schedule a full test for every minor step.
Medusa GitHub releasesDatabase migrations and predeploy script
Medusa runs database migrations through a predeploy script before each startup, and the update steps include npx medusa db:migrate. Any custom migration in your project needs up and down methods, since npx medusa db:rollback is the documented way to revert locally. Review each custom migration against the schema changes in the target version before the first staging deploy. Keep a tested rollback path for the database, because a migration that ran in staging may need reverting before production.
Server and worker instances
A self-hosted Medusa deployment runs two instances: one in server mode for the API and admin dashboard, and one in worker mode for background tasks. Both must move to the new version, so a half-upgraded pair is a state to plan for and test. The sources do not state which instance to update first, so confirm the order with Medusa before you schedule the cutover. Then test the pair together on staging, including background tasks that run only in the worker.
Medusa deployment docsPlanning a Medusa major version upgrade by team
Engineering owns the code that a major release is most likely to change. Medusa's update guide says major releases bring significant changes to the whole codebase, so start with an inventory of everything your team built on top of the framework before any package is bumped.
- Custom modules and workflows: List each module and workflow, its owner, and the Medusa features it calls. Review each one against the release notes for the target version before the upgrade branch is created.
- Integrations: Record every system that sends data to or receives data from Medusa, including payment, tax, shipping and ERP connections, along with the credentials and API versions each one uses.
- Custom migrations: Confirm each custom migration has both up and down methods. Medusa's update guide says custom migrations should include both, and
npx medusa db:rollbackis the documented way to revert locally. - Upgrade sequence: Bump the @medusajs packages, run
npx medusa db:migrate, and test locally before anything is pushed to staging, as the update guide describes. - Staging parity: Build a staging environment that matches production in database and Redis configuration, S3 settings, server and worker mode, and environment variables, so staging results are meaningful.
Check that every custom migration can be reversed on a local copy before the staging run starts.
Ask a partner for: a written inventory of custom modules, workflows, integrations and migrations, with the test and rollback steps for each one.
Platform and operations own the runtime that the upgrade changes. A self-hosted Medusa deployment needs a PostgreSQL database, a Redis database, and two Medusa instances: one in server mode for the API and admin dashboard and one in worker mode for background tasks. Production also replaces development modules with Redis-based caching, event bus, workflow engine and locking, and uses S3 for file storage.
- PostgreSQL, Redis and S3: Confirm connection settings, credentials and bucket permissions match between staging and production, and check that the database and Redis versions are supported by the target release in its release notes.
- Database backup: Take a full database backup immediately before the upgrade, test that it restores, and record who is authorized to run the restore.
- Independent instance updates: Confirm the server and worker instances can be updated and rolled back separately, so a problem with one does not force a change to the other.
- Predeploy migration failure: Medusa runs database migrations through a predeploy script before each startup. Confirm what happens when a migration fails: whether the new instance stops, whether the previous version can still run against a partly migrated schema, and who decides whether to restore from backup.
Check the predeploy failure path in staging by forcing a failed migration on a copy, and confirm the team can follow the steps without improvising.
Ask a partner for: a written runbook covering backup, restore, separate instance rollback and the predeploy failure path, with each step tested in staging.
Commerce owners decide what counts as a working store after the upgrade. Engineering can pass every automated test and the store can still break at checkout or in pricing, so the business flows need named testers, a written sign-off and a fallback point agreed before the production window opens.
- Checkout: Test guest and returning customer checkout, payment authorization and capture, failed payment handling, and order confirmation messages.
- Pricing: Test price lists, promotions, tax and the currency and region rules your store uses, and compare results against the pre-upgrade store for the same carts.
- Inventory: Test stock levels at cart, order and fulfillment steps, including zero-stock behavior and any warehouse or ERP sync that runs during the window.
- Order flows: Test order edits, cancellations, returns and fulfillment status updates, including downstream notifications.
- Sign-off, window and fallback: Agree in writing who signs off on staging, how long the maintenance window runs and who may call a rollback. Set the fallback decision point as the latest time the team will still choose rollback over a fix forward.
Check that each flow has a named tester and a pass condition the business has approved before staging begins.
Ask a partner for: a written test plan that maps each checkout, pricing, inventory and order flow to test cases, names the sign-off owner and states the rollback trigger.
What happens to your database and how far rollback goes
Medusa runs database migrations through a predeploy script before each startup, so a migration problem can surface at deploy time, during the production rollout. The update guide sequence is to bump the @medusajs packages, run npx medusa db:migrate, and test before pushing to staging. Treat that sequence as the minimum. On a self-hosted deployment, confirm which process runs the predeploy script and whether it runs for both the server instance and the worker instance, since both connect to the same PostgreSQL database. Save the migration output from staging and compare it with the production run.
Custom migrations should include both up and down methods, and the update guide points to npx medusa db:rollback for reverting locally. That path is documented for local work only. Medusa's public update guidance does not document a production rollback procedure, and it does not say whether a down migration is safe once new data has been written. Illustrative case: if an upgrade adds a column and the new code writes orders into it, reverting the schema could discard those values. Ask Medusa whether each down migration in your target version is safe after live writes, and which of your custom migrations would need manual data handling. See Medusa's update guide for the documented steps.
The practical fallback is a restore from a tested backup, and that backup has to be proven on staging first. Take a backup immediately before the production migration, restore it into a staging copy running the previous version, and confirm the application starts and reads that data. Rehearse with the same PostgreSQL version, environment variables and container images, and keep the previous application images so the old code can be redeployed. Redis holds caching, event bus, workflow and locking state, so confirm with Medusa what must be cleared or replayed after a restore. Before the production window, get Medusa's rollback behavior for your exact versions in writing and record it in the change plan.
What buyers ask before paying for a Medusa upgrade
What drives the cost of a Medusa major version upgrade?
The cost depends on how much of your Medusa setup must be changed, reviewed and tested, so no single figure applies to every store. The main drivers are the amount of custom code (modules, workflows, API routes and subscribers you have written), the number of integrations with payment, shipping, ERP or search services, the test coverage you already have, the number of environments that must be upgraded and verified, and the number of major versions crossed in one move. Thin test coverage usually means more manual regression work, and each integration adds checks against changed interfaces. DeployOpen does not publish a price list. A quote follows from a written scope that records these drivers for your system and names who owns each task, from staging maintenance to final sign-off.
How long does a Medusa major version upgrade take?
The same drivers that shape cost also set the duration, so no general timeline applies to every store. No duration is given here because it depends on your custom code, integrations, test coverage, environment count and versions crossed. Build the timeline into the written scope before work starts, with defined points for the staging rehearsal, the database migration test, the regression cycle and the production cutover. Ask any provider which steps are included, which reviews sit on the critical path, and which of them depend on your team's availability. Until your code inventory is complete, treat any estimate as provisional.
What does a Medusa upgrade need from our team?
Five inputs decide whether the work can start on schedule:
- Staging access that mirrors production closely enough to rehearse the migration.
- Database access, so the migration can be run and checked against real schema and data.
- A current backup that has been tested for restore before any change is made.
- A named sign-off owner who accepts the test results and makes the cutover decision.
- An inventory of custom code, modules, workflows, subscribers and integrations, with an owner for each.
Medusa's update guide describes the core sequence: bump the @medusajs packages, run npx medusa db:migrate, then test before pushing to staging. Custom migrations should include up and down methods so they can be reverted locally with npx medusa db:rollback. Put these inputs into the written scope before kickoff so access requests do not hold up the schedule.
Can our own team upgrade Medusa without a partner?
Yes, if your team already runs Node.js, TypeScript and PostgreSQL in production and has the access and time to test. The documented commands are short, so the effort sits mostly in reviewing breaking changes that touch your own code. Major releases bring significant changes across the codebase, so read the release notes against each custom module, workflow, API route and subscriber before changing anything. Teams without database operations experience, or without a clear sign-off owner, tend to find that rehearsal and rollback planning take most of the effort. Your team can follow the steps in Medusa's update guide. An implementation partner is useful when the team lacks that capacity or wants the upgrade documented and handed over under a written scope.
Does a managed cloud service upgrade Medusa for us?
Not from what we could confirm, so check the hosting model before you plan. No managed service on AWS, Azure or Google Cloud that runs Medusa appears in those providers' documentation, and Medusa Cloud is run by the project's company. These are two different hosting arrangements, so ask each vendor in writing whether the offering runs the current major version, who performs and tests the upgrade, and where your data and custom code run. If you self-host in your own cloud account, the upgrade stays with your team or your implementation partner, and the steps in the update guide apply. DeployOpen plans and runs upgrades of self-hosted open-source platforms inside the client's own cloud accounts, data centers or air-gapped networks, under a written scope.
Do Enterprise features change the Medusa upgrade plan?
They can, if your store uses them. Medusa's core commerce framework is MIT licensed, but Enterprise Edition features based on role-based access control require a commercial agreement with MedusaJS, Inc. Before you plan the upgrade, confirm three things: whether any of those features are in use today, whether your agreement covers the target major version, and who in your organization holds the agreement. If the features are in use, add their configuration, access policies and admin settings to the inventory and test them on staging after each change, since access control changes can have security consequences. If they are not in use, the plan covers the MIT core only. Ask the vendor to confirm license terms in writing.
How DeployOpen plans and runs a Medusa major upgrade
DeployOpen plans a Medusa major upgrade as a fixed-scope engagement inside your own infrastructure, with the scope agreed in writing before work starts. Medusa's update guide notes that major releases bring significant changes to the whole codebase, so we review those changes against your custom modules, workflows and integrations before anything reaches staging. The work ends with documented steps, tested migrations and a handover your team can run again.
How we scope
- We confirm which Medusa major version you are moving to and which @medusajs packages your store uses.
- We list custom modules, workflows, subscribers and integrations that need review against the new version.
- The written scope names deliverables and environments, and any ongoing support is offered as a retainer.
How we build
- We bump the @medusajs packages, then run
npx medusa db:migrateagainst a copy of your PostgreSQL database. - We write custom migrations with up and down methods, so changes can be reverted with
db:rollback. - We check the server and worker instances, Redis and S3 settings against the production setup before staging sign-off.
How we hand over
- We test the upgraded build in staging and document each step, including the migration order and any rollback path.
- Your team receives runbook steps covering the predeploy script, which runs migrations before each startup.
- Rollback steps are rehearsed on staging before production cutover.
How we support
- Post-upgrade support, upgrades for later Medusa releases and continuous testing are available as retainers.
- Medusa's update guide says minor releases can include breaking changes, so we plan them with the same steps.
- Confirm with DeployOpen how post-go-live issues are reported and handled before signing the written scope.

