Self-host MedusaJs
v2.22.4Open-source commerce platform for developers and AI agents
- Stars
- 37 138
- Ports
- 9000 (Medusa backend server and admin dashboard), 5173 (Medusa Admin development server with HMR), 8000 (Next.js Starter Storefront)
What is MedusaJs?
Medusa is an open-source commerce platform with a modular framework that allows developers to build custom e-commerce applications. It provides commerce modules for cart, payment, customer, product, order, inventory, fulfillment, and more. The platform includes a customizable admin dashboard, REST APIs, and supports multi-region, multi-currency, and multi-channel setups. It can be self-hosted via Node.js with PostgreSQL and Redis, or via Docker. Enterprise features like RBAC and SSO require a commercial license.
MedusaJs alternatives
VendureOpen-source headless commerce platform built with TypeScript, NestJS, React, and GraphQLCompareVendure with MedusaJs
Open MercatoAn open-source TypeScript framework that scaffolds a self-hosted CRM/ERP back office with multi-tenancy, RBAC and specs so AI coding agents build the features.CompareOpen Mercato with MedusaJs
SaleorSelf-hosted open-source headless commerce platform with native GraphQL API. Replaces Shopify and Magento by offering API-first extensibility.CompareSaleor with MedusaJs
PrestaShopSelf-hosted open-source e-commerce platform written in PHP with a MySQL database, offering catalog, checkout, multistore, admin back office and a REST webservice API.ComparePrestaShop with MedusaJs
yournextstoreOpen-source Next.js storefront template for Your Next Store: self-hosted commerce UI with Stripe checkout and a typed Commerce SDK, backed by the hosted YNS API.Compareyournextstore with MedusaJs
Shopware Community EditionShopware is a self-hosted, open-source e-commerce platform on Symfony and Vue.js with API-first architecture and plugin ecosystem.CompareShopware Community Edition with MedusaJs
SolidusA self-hosted, open-source Ruby on Rails eCommerce platform — a fork of Spree you install into your own app, with admin dashboard, storefront and REST/GraphQL APIs.CompareSolidus with MedusaJs
OpenCartSelf-hosted, open-source PHP ecommerce platform: run your own online store with multi-store admin, unlimited products, payment and shipping modules.CompareOpenCart with MedusaJs
All self-hosted alternatives to Shopify → All self-hosted alternatives to WooCommerce → All self-hosted alternatives to Magento →
Should you self-host MedusaJs?
MedusaJs scores 83/100 on selfhost.directory (how scoring works) and ranks #1 of 27 in E-commerce. It has 37 138 GitHub stars, +531 in the last 30 days.
It shipped 21 stable releases in the past year. The latest, v2.22.4, came out on 6 November 2026. New versions land roughly every 7 days.
Setup is advanced: plan for several services and some ongoing maintenance. It is MIT-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is Saleor (75/100, 23 515 stars). MedusaJs scores higher overall. See MedusaJs vs Saleor side by side.
MedusaJs README
Building blocks for digital commerce
MedusaJs releases & version history
Highlights
TypeScript 7 Support
Medusa's framework and CLI now support TypeScript 7 in applications and plugins. If you use TypeScript 7, make sure to also install @typescript/typescript6 as TypeScript 7 still doesn't support JavaScript APIs:
yarn add -D typescript@7 @typescript/typescript6
Features
- feat(test-utils): add a Jest preset for Medusa applications and plugins by @shahednasser in #17673
- feat(framework,cli): support TypeScript 7 in Medusa applications and plugins by @shahednasser in #17660
Bugs
- fix(dashboard): keep list filters and page when going back through breadcrumbs by @medusa-agents in #17674
- fix(dashboard): show extension routes nested under orders in the sidebar by @medusa-os-bot in #17667
- fix(dashboard): ask signed-in users to sign out before accepting an invite by @medusa-os-bot in #17662
- fix(dashboard): show receive return, allocate, and mark as paid buttons by @medusa-os-bot in #17665
- fix(docs): fix OAS and UI reference generation, generate RBAC docs by @shahednasser in #17656
Documentation
- docs: RBAC docs by @shahednasser in #15741
- docs: medusa security by @shahednasser in #17176
- docs: remove beta labels from RBAC and SSO docs by @shahednasser in #17654
- docs: doc changes for next release [automated] by @medusa-os-bot in #17585
Chores
- chore: upgrade TypeScript to 6.0.3 by @shahednasser in #17647
- chore: build with TypeScript 7 side by side with TypeScript 6 by @shahednasser in #17657
- chore: upgrade Yarn to 4.18.1 and dedupe the lockfile by @shahednasser in #17675
- chore(auth,auth-emailpass,test-utils): update scrypt-kdf to 4.0.0 by @shahednasser in #17679
- chore(framework,test-utils): upgrade path-to-regexp to v9 by @shahednasser in #17678
- chore(core-flows,medusa): document RBAC workflows and API routes by @shahednasser in #17655
- chore(deps): bump postcss-selector-parser by @dependabot in #17642
- chore(docs): upgrade www/utils to TypeScript 6 by @shahednasser in #17651
- chore(docs): upgrade www docs workspace to TypeScript 6 by @shahednasser in #17658
- chore(docs): build www packages with TypeScript 7 side by side with TypeScript 6 by @shahednasser in #17670
- chore(docs): add v2.22.2 OAS snapshot, dispatch specs to cloud, install docs with Yarn 4 by @shahednasser in #17677
- chore(docs): Generated References (automated) by @medusa-os-bot in #17650
- chore(docs): Generated DML JSON files (automated) by @medusa-os-bot in #17649
- chore(docs): Update version in documentation (automated) by @medusa-os-bot in #17648
- chore(docs-util): build www/utils with TypeScript 7 side by side with TypeScript 6 by @shahednasser in #17659
Other Changes
- chore(dashboard): add missing translations [automated] by @medusa-os-bot in #17668
- chore(dashboard): add missing translations [automated] by @medusa-os-bot in #17683
Full Changelog: v2.22.3...v2.22.4
Highlights
End-to-End Role-Based Access Control
Role-Based Access Control (RBAC) is now fully implemented across Medusa. Merchants can define custom roles with granular permissions and assign them to admin users, controlling what each user can view and do in the admin dashboard. The implementation spans the dashboard UI, API routes, core flows, the JS SDK, and a new dedicated RBAC module. Requires Enterprise License.
Off-Session Payments in Adyen
The Adyen payment provider now supports off-session payments, enabling recurring and subscription payment flows where charges are initiated without the customer being present at checkout. This unlocks use cases such as subscription billing and deferred payments for merchants using Adyen.
Features
- feat(dashboard,medusa,core-flows,framework,js-sdk,types,utils,link-modules,rbac): end to end RBAC implementation by @NicolasGorga in #15620
- feat: Add support for off-session payments in Adyen by @sradevski in #17587
Bugs
- fix(cli): exit instead of spinning forever when stdout is a broken pipe by @medusa-os-bot in #17640
- fix(medusa): apply the request locale in store product options routes by @medusa-os-bot in #17638
- fix(docs): fix stale property types in allOf response schemas of the OAS by @shahednasser in #17633
- fix: Clean up sandbox references, read a dedicated oauth secret by @sradevski in #17619
- fix(framework): register the restricted fields middlewares again when reloading API routes with HMR by @shahednasser in #17617
- fix(medusa): forward with_deleted to the query in GET /admin/shipping-options by @NicolasGorga in #17616
- fix(utils,dashboard,loyalty-plugin): add the Aruban Florin (AWG) currency by @medusa-os-bot in #17613
- fix(core-flows,utils): skip customer account email validation when the auth identity has no email, and add a validate hook to createCustomerAccountWorkflow by @shahednasser in #17608
- fix(event-bus-redis): don't silently lose kept events in clearGroupedEvents by @medusa-os-bot in #17600
Documentation
- docs: document filtering and sorting by linked data models in Query by @shahednasser in #17645
- docs: add security note to invoice generator store route by @shahednasser in #17646
- docs: address Kapa coverage gaps for 2026-10-01 [automated] by @medusa-os-bot in #17644
- docs: fix Stripe provider option names to camelCase by @medusa-os-bot in #17629
- docs: update API reference for v2.22.2 by @shahednasser in #17597
- docs: fix custom cell renderers file path in view configurations guide by @medusa-os-bot in #17541
- docs: doc changes for next release [automated] by @medusa-os-bot in #17496
Chores
- chore(ui,ui-preset): support Tailwind CSS 4 by @shahednasser in #17631
- chore(auth-oidc): update openid-client to v6 by @shahednasser in #17595
- chore(deps): update mikro-orm to 6.6.17 by @shahednasser in #17621
- chore: update jest to v30.5.2 by @shahednasser in #17618
- chore(admin-vite-plugin,dashboard,telemetry,draft-order): update babel to v8 by @shahednasser in #17611
- chore(cli,orchestration,utils,workflows-sdk,test-utils,file-s3,workflow-engine-inmemory,workflow-engine-redis): update ulid to v3.0.2 by @shahednasser in #17609
- chore(payment-stripe,payment): update stripe to v23.1.0 by @shahednasser in #17605
- chore(utils): update graphql to v17 and graphql-tools/codegen majors by @shahednasser in #17592
- chore(auth,auth-google): update jwks-rsa to v4 by @shahednasser in #17593
- chore(admin-vite-plugin): update magic-string to v1 by @shahednasser in #17594
- chore(eslint-plugin,workflow-engine-inmemory): update cron-parser to v5 by @shahednasser in #17590
- chore(framework,medusa): update chokidar to v6 by @shahednasser in #17584
- chore(deps,caching,types,utils,framework): update awilix to 13.0.5 by @shahednasser in #17574
- chore(docs): upgrade typedoc to 0.28 by @shahednasser in #17643
- chore(docs): bump glob and minimatch in docs tooling to fix security alerts by @shahednasser in #17627
- chore: fix status field across OAS versions by @shahednasser in #17607
- chore: give the PR review action the PR's code, search, and Opus by @shahednasser in #17589
- chore(deps): bump glob from 13.0.6 to 14.0.2 in /www/utils/packages/docs-generator by @dependabot in #17620
- chore(deps): bump the security-updates group across 1 directory with 2 updates by @dependabot in #17604
- chore(deps): bump glob from 13.0.6 to 14.0.2 in /integration-tests by @dependabot in #17603
- chore(docs): Generated + Updated UI Reference (automated) by @medusa-os-bot in #17583
- chore(docs): Generated References (automated) by @medusa-os-bot in #17582
- chore(docs): Update version in documentation (automated) by @medusa-os-bot in #17581
Full Changelog: v2.22.2...v2.22.3
Highlights
Adyen Payment Provider
Medusa now includes an official Adyen payment provider module in beta, enabling merchants to accept card payments through Adyen's payment platform. The provider integrates with Adyen's APIs to handle payment sessions, captures, and refunds within Medusa's payment workflows.
Search Improvements and Fixes
Several enhancements and fixes have been applied to Medusa's search functionality, making product and catalog search more reliable across Medusa applications.
Dependency Updates
This release includes a large round of dependency updates across the server, CLI, admin dashboard, and design system, including several major version upgrades. Most of them require no changes in your application, but note the following behavior changes:
- the Medusa admin now uses vite v7.3.7. If you have it installed in your project, make sure to update it as well.
bignumber.js11:BigNumberandMathBNfrom@medusajs/framework/utilsnow throw an error when they receive an invalid number, instead of returningNaN. Medusa validates amounts before they reach these helpers, so this only affects custom code that passes invalid values and relies onNaN:
import { BigNumber, MathBN } from "@medusajs/framework/utils" // Before: NaN // After: throws "[BigNumber Error] Not a number: abc" MathBN.add("abc", 1) new BigNumber("")
body-parser1.20.9: an invalidbodyParser.sizeLimitin a route's middleware configuration (for example,"abc") now throws an error when the route is called, instead of silently disabling the size limit.@medusajs/ui-preset: the unused@tailwindcss/formsdependency was removed. If your Tailwind configuration loads@tailwindcss/formswithout installing it yourself, add it to your project's dependencies.
For the full list of updated dependencies, refer to the following pull requests:
- #17567: major version updates for repo and dev tooling
- #17572: major dependency updates for admin and UI
- #17575:
bignumber.js11.1.5 - #17517:
multer2.5.0 - #17535: AWS SDK dependencies
- #17533: database and Redis drivers
- #17532: auth and telemetry dependencies
- #17528: admin dashboard and UI dependencies
- #17527: server and CLI dependencies
- #17525: dev packages
- #17487: patch dependencies
- #17519:
handlebars4.7.10 - #17515:
zod4.6.6 in@medusajs/admin-sdk - #17573 and #17523: documentation dependencies
Features
- feat: Implement Adyen as a payment provider by @sradevski in #17577
- feat: search improvements and fixes by @sradevski in #17540
Bugs
- fix[adyen]: Ensure no capture override, only cards support until core improvements are done, better idempotency by @sradevski in #17579
- fix(core-flows): don't replace payment sessions with an active payment by @shahednasser in #17536
- fix: Medusa payment changes to match the latest in Cloud by @sradevski in #17558
- fix(payment): disable payment providers removed from config on startup by @medusa-os-bot in #17545
- fix(medusa): reject webhooks for nonexistent providers by @Mezzle in #17538
- fix(pricing): don't charge a sale price above a matching override price by @medusa-os-bot in #17530
- fix(inventory): don't re-add reserved quantity when restoring live reservations by @medusa-os-bot in #17509
- fix(order): don't write off claimed items more than once by @medusa-os-bot in #17510
- fix(promotion): reject null max_quantity for each and once allocations by @medusa-os-bot in #17514
- fix(orchestration): retry steps with retryIntervalAwaiting after they fail by @medusa-agents in #17408
- fix(js-sdk): allow admin.upload.create in Node.js without FileList by @medusa-os-bot in #17505
- fix(caching): close the in-memory provider's cache client on shutdown by @medusa-os-bot in #17503
- fix(ui): stop long labels from shifting left in DataTable select filter options by @NicolasGorga in #17543
- fix(medusa): stop logging user emails in super admin role migration script by @medusa-os-bot in #17494
- fix: re-apply changesets assemble-release-plan patch by @shahednasser in #17546
- fix(ci): allow Actions artifact host in harden-runner egress allowlists by @shahednasser in #17554
- fix(docs): resolve vulnerable dependencies and upgrade turbo to v2 by @shahednasser in #17573
Documentation
- docs: add next.js caching section to cloud docs, and how data migration errors are thrown by @shahednasser in #17570
- docs: document pending preview environment states by @medusa-os-bot in #17566
- docs: document AI troubleshooting for failing custom domains by @medusa-os-bot in #17562
- docs: correct reservation handling in inventory fulfillment flow by @medusa-os-bot in #17549
- docs: clarify fractional inventory quantities don't apply to cart items by @medusa-os-bot in #17555
- docs: add webhooks changelog entry for private-address delivery blocking by @medusa-os-bot in #17498
- docs: doc changes for next release by @medusa-os-bot in #17430
- docs: disable source map upload for resources worker by @shahednasser in #17524
- docs: update deps + some fixes by @shahednasser in #17523
Chores
- chore: major dependency updates for admin and UI by @shahednasser in #17572
- chore: major version updates for repo and dev tooling by @shahednasser in #17567
- chore(types,utils,dashboard): update bignumber.js to 11.1.5 by @shahednasser in #17575
- chore(medusa): bump multer to ^2.5.0 by @shahednasser in #17517
- chore: minor version bump for aws dependencies by @shahednasser in #17535
- chore: minor version updates for database and redis drivers by @shahednasser in #17533
- chore: update minor dependencies for auth and telemetry by @shahednasser in #17532
- chore: minor dependency updates for admin dashboard and UI by @shahednasser in #17528
- chore: update minor dependencies used in server and CLI by @shahednasser in #17527
- chore: minor version updates for dev packages by @shahednasser in #17525
- chore: automation hardening by @shahednasser in #17520
- chore(ci): fix issue routing for Cloud docs, log classifier reasons, let docs agent run prep and lint by @shahednasser in #17556
- chore(deps): bump handlebars from 4.7.8 to 4.7.10 by @dependabot in #17519
- chore(deps): bump zod from 4.2.0 to 4.6.6 in /packages/admin/admin-sdk by @dependabot in #17515
- chore(deps): update patch dependencies by @medusa-os-bot in #17487
- chore(docs): Generated References (automated) by @medusa-os-bot in #17492
- chore(docs): Update version in documentation (automated) by @medusa-os-bot in #17491
- chore(docs): Updated UI Reference (automated) by @medusa-os-bot in #17490
Full Changelog: v2.22.1...v2.22.2
Highlights
Update Payment Session Client Data
Payment sessions can now be updated with new client data after creation. This enables payment flows where client-side metadata -- such as a browser fingerprint or 3D Secure result -- needs to be attached to an existing session without tearing it down and recreating it.
Bugs
- fix(core-flows): remove optional chaining from processPaymentWorkflow constructor by @shahednasser in #17479
- fix(order): fix count query for paginated cross-module filters by @medusa-os-bot in #17471
- fix(core-flows): import only declared dependencies at runtime by @medusa-os-bot in #17470
- fix(dashboard): stop product media edit on failed upload and show the error by @medusa-os-bot in #17445
- fix(promotion): rank buy-get eligible items by unit price by @medusa-os-bot in #17444
- fix(medusa): respond with 404 on /admin/index routes when index is off by @medusa-os-bot in #17442
- fix(utils): skip running migrations for modules without a migrations folder by @medusa-os-bot in #17441
- fix(utils): copy null-prototype objects in parseStringifyIfNecessary by @medusa-os-bot in #17440
- fix(pricing): don't drop price list updates that carry explicit ids by @medusa-os-bot in #17439
- fix(dashboard): let Enter activate buttons inside modal and drawer forms by @medusa-os-bot in #17438
- fix(search-postgres): apply min_score to facet counts for keyword search by @medusa-os-bot in #17437
- fix(index): don't skip the index data sync when types generation fails by @medusa-agents in #17419
- fix(types): allow filtering price rules by attribute, value and operator by @medusa-agents in #17428
- fix: validate cart customer ownership checks by @medusa-agents in #17402
- fix(core-flows): validate customer account email matches the authenticated identity by @medusa-agents in #17415
- fix(promotion): enforce and track spend_by_attribute campaign budgets by @medusa-os-bot in #17446
- fix(promotion): respect is_tax_inclusive on buy-get promotions by @medusa-os-bot in #17447
- fix(medusa): reject deleting a variant through a product it doesn't belong to by @medusa-os-bot in #17449
- fix(core-flows): persist refund_amount when creating and completing a return by @medusa-os-bot in #17448
- fix(core-flows): set is_custom_amount when updating a draft order shipping method price by @medusa-os-bot in #17450
- fix(utils): ignore non-string ids when applying translations by @medusa-os-bot in #17451
- fix(payment): round to currency precision regardless of server locale by @medusa-os-bot in #17452
- fix(build-scripts): make the docs edited-dates step work on Windows by @medusa-os-bot in #17455
- fix(ui): respect the dismissable prop in toast.loading by @medusa-os-bot in #17456
- fix(caching): don't throw on numeric entity ids when computing cache tags by @medusa-os-bot in #17457
- fix(dashboard): define missing build-time constants for yarn dev by @medusa-os-bot in #17458
- fix(utils,dashboard,loyalty-plugin): add the Haitian Gourde (HTG) currency by @medusa-os-bot in #17459
- fix(locking,locking-redis): close the Redis client on shutdown by @medusa-os-bot in #17460
- fix(test-utils): read database credentials when connecting, not at import by @medusa-os-bot in #17461
- fix(core-flows): cascade delete custom records linked to deleted variants by @medusa-os-bot in #17462
- fix(utils,core-flows): import region price columns from product export by @medusa-os-bot in #17464
- fix(dashboard): apply the product list filters to product exports by @medusa-os-bot in #17469
- fix(order,dashboard): stop returns exceeding the returnable quantity by @vethan in #17431
Documentation
- docs: document setting cache ttl to 0 by @shahednasser in #17433
- docs: document retryIntervalAwaiting and maxAwaitingRetries for async steps by @medusa-agents in #17406
- docs: document running a workflow with an existing transaction ID by @medusa-agents in #17404
- docs: add redeploy warning after Cloud database restore or import by @medusa-agents in #17396
- docs: upgrade documentation apps to Next.js 16 by @shahednasser in #17395
- docs(cloud): document sender domain limits per plan in emails guide by @medusa-agents in #17388
- docs: doc changes for next release [automated] by @shahednasser in #17065
- docs(book): fix typos and grammar in Learn docs by @prairiewriter in #17214
- docs(resources): fix typos, grammar, and broken anchor links by @prairiewriter in #17248
- docs(user-guide): fix typos by @prairiewriter in #17246
- docs(cloud): fix typos by @prairiewriter in #17247
- docs(book): fix errors in the /start agent setup prompt by @prairiewriter in #17250
- docs(book): improve clarity in Get Started pages by @prairiewriter in #17252
- docs: fix remaining typos and grammar by @prairiewriter in #17251
Chores
- chore: add weekly dependency update workflow by @shahednasser in #17480
- chore(deps): bump the security-updates group across 1 directory with 2 updates by @dependabot in #17454
- chore: changes to issue triaging and PR reviews by @shahednasser in #17435
- chore: add OSS Scanner build Dockerfile by @olivermrbl in #17410
- chore(docs): Generated References (automated) by @medusa-os-bot in #17390
- chore(docs): Update version in documentation (automated) by @medusa-os-bot in #17391
- chore(docs): Updated UI Reference (automated) by @medusa-os-bot in #17392
- chore(docs): Generated DML JSON files (automated) by @medusa-os-bot in #17393
- chore(deps): bump dompurify to 3.4.17 to fix GHSA-cg2g-xh64-v4q7, GHSA-mrv2-3pqr-j5jr, GHSA-c6gr-qvv4-5v3f by @medusa-os-bot in #17467
- chore: show denied tool calls in dependency update runs by @shahednasser in #17484
- chore: plan pinned dependency updates like majors and group @types packages by @shahednasser in #17482
Other Changes
- feat(translation): seed fa-IR default locale by @soroush2025 in #17198
New Contributors
- @prairiewriter made their first contribution in #17214
- @vethan made their first contribution in #17431
- @soroush2025 made their first contribution in #17198
Full Changelog: v2.22.0...v2.22.1
AI summary Node.js 22.22.0 or later required
Highlights
Node.js v22.22.0 or Later Required
🚧 Breaking change
This change only affects projects running Node.js 20. Projects already on Node.js 22 are unaffected.
Node.js 20 has reached end-of-life and is no longer supported. Medusa now requires Node.js v22.22.0 or later. Update your runtime environment before upgrading to this release.
node --version # must print v22.22.0 or higherConfigurable HTTP Query Params in Traced Spans
When instrumentation is enabled for HTTP requests, query parameters are now traced in the url.query property instead of the http.url property. Also, by default, only the values of the fields, expand, limit, offset, order, and with_deleted query parameters are displayed. Other values are traced as REDACTED.
You can configure this behavior by setting the http.allowedQueryParams option in the instrumentation settings:
export function register() { registerOtel({ serviceName: "medusajs", exporter, instrument: { http: { // change allowed query param values allowedQueryParams: ["q", "limit", "offset"], // or to allow everything // allowedQueryParams: "*", }, workflows: true, query: true, db: true, cache: true, }, }) }
Export Customers
Admin users can now export customer data as a CSV file directly from the dashboard. The export is backed by a new workflow and step in @medusajs/core-flows, a new admin API endpoint, and a new admin.customers.export() method in the JS SDK.
Multiple Payment Accounts for Medusa Payments
Medusa Payments now supports multiple payment provider accounts within the same project. This makes it possible to configure separate payment accounts per region or sales channel without running multiple Medusa instances.
Features
- feat(dashboard, core-flows, js-sdk, types, medusa): add export customers feature by @shahednasser in #16142
- feat: Support multiple payment accounts for medusa payments by @sradevski in #17099
- feat: Add missing events for price lists and few others needed to keep a product index up to date by @sradevski in #17067
- feat(dashboard): add refund reason selector to balance settlement form by @vansh17June in #16669
- feat(dashboard): allow removing tracking rows in the create shipment form by @AndyMik90 in #17154
- feat(dashboard): add Iran provinces to country-states by @soroush2025 in #17199
Bugs
- fix(medusa): stop exporting sensitive HTTP headers and redact URL query params in spans by @medusa-agents in #17361
- fix(auth-emailpass,types): add
requireActorAssociationoption to refuse logins on unassociated actor types by @medusa-agents in #17347 - fix: Correctly reindex id-based filters by @sradevski in #17354
- fix(auth): update the provider identity matching the entity_id from auth providers by @medusa-agents in #17337
- fix(docs): include imported MDX partials in agent markdown and mark override pages as human-only by @medusa-agents in #17335
- fix(@medusajs/medusa): accept case-insensitive order directions and report single-query errors on POST /store/search by @medusa-agents in #17313
- fix(loyalty-plugin): use one random byte per character in gift-card code generation to restore full entropy by @medusa-agents in #17315
- fix(dashboard): Load additional pages in product organization comboboxes by @medusa-agents in #17309
- fix(payment-stripe): don't fail deleting a payment session whose PaymentIntent already succeeded by @medusa-agents in #17307
- fix(medusa): remove undefined
allowedfrom admin customers export query config by @NicolasGorga in #17314 - fix(workflows-sdk): don't compensate a completed workflow when event release fails by @medusa-os-bot in #17293
- fix(workflows-sdk): resolve transform results that have a
keyproperty by @medusa-os-bot in #17282 - fix(product): keep the selected variant id when updating variants and refuse an empty options map by @medusa-os-bot in #17274
- fix(core-flows): respect item-level allow_backorder when converting a draft order or confirming an order edit by @medusa-os-bot in #17210
- fix(order): return order item quantity and prices when selecting explicit item fields by @medusa-os-bot in #17209
- fix(event-bus-redis): push kept events in chunks and preserve the TTL when partially clearing a large event group by @medusa-os-bot in #17208
- fix(dashboard): remove stale Persian translation keys by @soroush2025 in #17197
- fix(test-utils): remove the unused inApp option by @bhupinder759 in #17129
- fix(payment,core-flows): let refunds be retried safely with an idempotency key by @shahednasser in #16964
- fix: Allow replacing the transport for search by @sradevski in #17102
- fix: Preserve all parts of provider ID, apply provider ID formatting everywhere by @sradevski in #17166
- fix(types): type the
statusfilter of product list params as an array of statuses by @shahednasser in #17155 - fix(js-sdk): don't throw a ReferenceError when setLocale is called outside the browser by @sarmah-rup in #17157
- fix(loyalty-plugin): make allowed gift card fields matcher more specific by @NicolasGorga in #17141
- fix(product): detach option values from variants when their option is removed from the product by @shahednasser in #16925
- fix(utils): aggregate non-Error promise rejections without crashing by @fadiroot in #17048
- fix(medusa): report a failed migration script instead of exiting 0 by @gautamyash in #17035
- fix(loyalty-plugin): correct transaction note for store credit debits by @Suryaprakash1657 in #17077
- fix(dashboard): show collection update errors by @ankitbuilds99 in #17112
- fix(dashboard): use display_name from API in regions table countries cell in #17060
- fix(dashboard): use fields in region detail loader query key by @azzliang6 in #17084
- fix(i18n): correct Czech plural forms for counts of 5 and above by @Stratkoss in #17083
- fix(draft-order): guard customer lists against null entries by @Dextheking1 in #16985
- fix(ui): keep the gap between date and time segments in every locale by @thomassarazin in #16794
- fix: correct "seperate" typo in two places by @Dextheking1 in #17039
Documentation
- docs: fix deployments to work for next 15 (temporary) by @shahednasser in #17386
- docs(cloud): document hard minimums for search typo tolerance thresholds by @medusa-agents in #17385
- docs: document mcp cloud tools by @shahednasser in #17368
- docs: add marketplace integrations guide beyond Meta/Google product feeds by @medusa-agents in #17365
- docs: document Production environment branching and new-environment defaults by @medusa-agents in #17364
- docs: update info in cloud S3 docs by @NicolasGorga in #17362
- docs(cloud): document search-engine indexing of deployment URLs by @medusa-agents in #17352
- docs: document Create Project button on MCP consent page by @medusa-os-bot in #17358
- docs(cloud): add worked explanation of how compute hours accrue by @medusa-agents in #17353
- docs(cloud): explain that deployment and preview URLs are public, and how to gate a storefront with basic auth by @medusa-agents in #17351
- docs: explain how dependencies and workspace packages resolve from .medusa/server by @medusa-agents in #17327
- docs: fixes for agent-friendliness by @shahednasser in #17308
- docs: add entry on MCP for gemini cli by @shahednasser in #17292
- docs: add agent-friendly actions + fixes by @shahednasser in #17291
- docs: fix documentation issues from triage inbox by @medusa-os-bot in #17281
- docs: add troubleshooting guide for query not assignable types by @shahednasser in #17202
- docs: add n8n docs for connecting to mcp + querying custom data by @shahednasser in #17180
- docs: add doc on accessing MCP server from custom agents by @shahednasser in #17178
- docs: document onboarding removal and redesigned starters page by @medusa-os-bot in #17167
- docs: document starter updates by @shahednasser in #17158
- docs: document translation update merging and React version mismatch troubleshooting by @shahednasser in #17152
- docs: document organization Connections settings page by @shahednasser in #17142
- docs: add section on login with cloud requirement for mcp by @shahednasser in #17138
- docs: explain fixed changeset releases by @ankitbuilds99 in #17111
- docs: document pnpm 12 incompatibility with Cloud storefront builds by @shahednasser in #17125
- docs: note regional availability of Cloud free trial by @shahednasser in #17109
- docs: clarify fork remote setup by @ankitbuilds99 in #17108
- docs: fix localization route lists, created_at precision, Redis and MCP notes by @shahednasser in #17103
- docs: update claude connector info by @shahednasser in #17106
- docs: document conditional proxy check on custom domain DNS page by @shahednasser in #17105
- docs: changes to MCP docs by @shahednasser in #17101
- docs: fix links in search overview by @shahednasser in #17148
- docs: document resuming a Cloud plan after cancellation or trial end by @shahednasser in #17080
- docs: fix deleteCascade option name in module link examples by @shahednasser in #17079
- docs: document database IP allowlist, free trials, and app authorization by @shahednasser in #17078
- docs: fix codex tab in MCP server guide by @shahednasser in #17076
- docs: fix a typo in the digital products recipe by @hungateJoseph in #17037
- docs: remove initial user section from Cloud project creation docs by @shahednasser in #17057
- docs: doc changes for next release by @shahednasser in #16926
Chores
- chore: drop Node.js 20 support and require Node.js v22.22.0 or later by @shahednasser in #17107
- chore: drop Node.js 20 support and require Node.js v22.15.0 or later by @shahednasser in #17089
- chore: add AGENTS.md and improve README.md across packages by @shahednasser in #17382
- chore(medusa,utils,modules-sdk,rbac,auth-oidc,test-utils,types): add license key checks by @NicolasGorga in #16678
- chore(dashboard): add missing translations by @medusa-os-bot in #17332
- chore(utils): bump
@graphql-tools/mergeand@graphql-tools/schemato pull patched@graphql-tools/utilsby @shahednasser in #17153 - chore(deps): bump the security-updates group across 1 directory with 3 updates by @dependabot in #17147
- chore(deps): bump figlet to 1.12.0 to fix GHSA-62ch-8vmq-8xm7 by @medusa-os-bot in #17145
- chore(deps): bump dompurify from 3.4.13 to 3.4.16 in the security-updates group by @dependabot in #17088
- chore(deps): bump the security-updates group across 1 directory with 2 updates by @dependabot in #17086
- chore(deps): bump morgan to 1.12.1 to fix GHSA-9f6g-j8ch-75g4 by @medusa-os-bot in #17085
- chore(deps): bump multer from 2.3.0 to 2.4.0 in the security-updates group by @dependabot in #17063
- chore: improve the tsdocs related to currency lower case by @shahednasser in #17071
- chore(docs): Updated API Reference by @github-actions in #17054
- chore(docs): Generated References by @github-actions in #17053
- chore(docs): Updated UI Reference by @github-actions in #17051
- chore(docs): Update version in documentation by @github-actions in #17052
Other Changes
- i18n restore dropped placeholders in the ar, el, es, fr and ptPT dashboard locales by @theluckystrike in #17118
- i18n complete the th dashboard locale by @theluckystrike in #16934
New Contributors
- @AndyMik90 made their first contribution in #17154
- @soroush2025 made their first contribution in #17199
- @azzliang6 made their first contribution in #17084
- @thomassarazin made their first contribution in #16794
- @fadiroot made their first contribution in #17048
- @gautamyash made their first contribution in #17035
- @Suryaprakash1657 made their first contribution in #17077
- @Stratkoss made their first contribution in #17083
- @vansh17June made their first contribution in #16669
- @sarmah-rup made their first contribution in #17157
- @bhupinder759 made their first contribution in #17129
- @hungateJoseph made their first contribution in #17037
Full Changelog: v2.21.2...v2.22.0
@ Every self-hosted release, weekly
One Monday email with the week's stable releases across the directory.
More in E-commerce
nopcommerceSelf-hosted, open-source ASP.NET Core shopping cart for building online stores; runs on Windows, Linux or Mac with SQL Server, MySQL or PostgreSQL.
PrestaShopSelf-hosted open-source e-commerce platform written in PHP with a MySQL database, offering catalog, checkout, multistore, admin back office and a REST webservice API.
PretixSelf-hosted, open-source ticket shop for conferences, festivals and museums: sell tickets online with flexible products, payments, check-in lists and full API access.
Vvveb CMSSelf-hosted open-source PHP CMS with a visual drag-and-drop builder, multi-site and multi-language support, headless GraphQL/REST APIs and built-in ecommerce.- Drupal CommerceDrupal Commerce is an open-source eCommerce platform that lets you sell any type of product to anyone in the world. It powers billions in sales across thousands of online stores.


0 comments