npm @medusajs/medusa 2.22.3
v2.22.3: RBAC, Adyen Off-Session Payments, Tailwind CSS 4 Support

2 hours ago

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.

#15620


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.

#17587

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

Chores

Full Changelog: v2.22.2...v2.22.3

Don't miss a new medusa release

NewReleases is sending notifications on new releases.