github medusajs/medusa v2.14.2

6 hours ago

Highlights

Price List Metadata Support

Price lists now support custom metadata fields, enabling you to store additional business context and custom attributes alongside your pricing configurations. This adds flexibility for commerce applications that need to track extra information like campaign names, seasonal markers, or custom business logic flags.

Native Price List Filtering Performance

The products listing API now resolves price_list_id filters directly through the index engine rather than post-processing results. This significantly improves query performance when filtering products by price lists, especially for large product catalogs.

Features

  • feat(pricing,medusa,dashboard,types): add metadata support for price lists by @NicolasGorga in #15238
  • feat(index, medusa): resolve price_list_id natively via index engine by @srindom in #15249
  • feat(medusa,js-sdk,types): add POST /admin/payment-collections/:id/payment-sessions by @GBreg19 in #15169

Bugs

  • fix(medusa): speed up products list with price_list_id filter by @srindom in #15247
  • fix(dashboard): allow clearing optional collection, type, and country fields by @bqst in #14012
  • fix(medusa): API workflow subscription by @v0eak in #15134
  • fix: replace dead via.placeholder URL by @kiluazen in #15170
  • fix(framework): preserve rawBody for text and urlencoded body parsers by @rnagulapalle in #15202
  • fix(auth): preserve app_metadata and user_metadata across token refresh by @saheersk in #15137
  • fix(dashboard,region): fix currency code unset when updating region by @shahednasser in #15228
  • fix(dashboard): fix type import targeting framework instead of types by @NicolasGorga in #15232
  • fix: pass container to MedusaAppLoader in runMigrationScripts to resolve AwilixResolutionError by @AKIB473 in #15103
  • fix(dashboard): pick existing rules field in PricingDetailsSchema (closes #15207) by @mvanhorn in #15208
  • fix(dashboard): compute selected value for eq operator in promo rule value form by @NicolasGorga in #15201
  • fix(core-flows): cancel-order credit line ignores pre-existing refunds by @langovoi in #15153
  • fix(medusa,types,loyalty-plugin): remove unused parameter + export step by @shahednasser in #15189

Documentation

Chores

New Contributors

Full Changelog: v2.14.1...v2.14.2

Don't miss a new medusa release

NewReleases is sending notifications on new releases.