v2.8.1
medusajs/medusav2.8.1May 15, 2025by olivermrbl
AI Summary
This release fixes a regression introduced in v2.8.0 that affected the ordering of products returned by the service, which broke workflows relying on consistent ordering.
Key Highlights
- Fix regression in v2.8.0 affecting product ordering in service responses.
- Fix returned updates order in `upsertWithReplace` method.
Full Release Notes
<!--  # v2.8.1: Fixes regression related to product variant price updates This release fixes a regression introduced in v2.8.0 related to product ordering in service responses, leading to incorrect pricing updates on products. CMS_BREAK --> ## Highlights **Fixes a regression introduced in v2.8.0** In v2.8.0, we unintentionally introduced a regression that affected ordering products returned from the product module service. This broke workflows (e.g. `updateProductsWorkflow`) that rely on consistent ordering for subsequent operations such as applying price updates. This release brings back the correct ordering behavior and resolves the issue. **We strongly recommend upgrading to v2.8.1 as soon as possible to avoid incorrect data.** ## Features * feat: create CSV normalizer to normalize a CSV file by @thetutlage in https://github.com/medusajs/medusa/pull/12396 ## Bugs * fix(workflows-sdk): Miss match context usage within run as step by @adrien2p in https://github.com/medusajs/medusa/pull/12449 * fix(index): query builder handle json array by @carlos-r-l-rodrigues in https://github.com/medusajs/medusa/pull/12480 * fix: returned updates order in upsertWithReplace by @peterlgh7 in https://github.com/medusajs/medusa/pull/12486 ## Documentation * docs: tax provider updates for next release by @shahednasser in https://github.com/medusajs/medusa/pull/12431 * docs: update read-only links by @shahednasser in https://github.com/medusajs/medusa/pull/12468 * docs: fix client side error in references by @shahednasser in https://github.com/medusajs/medusa/pull/12475 ## Chores * chore(types,utils): add featureFlag and version tags by @shahednasser in https://github.com/medusajs/medusa/pull/12464 * Chore/test runner improvements by @adrien2p in https://github.com/medusajs/medusa/pull/12439 **Full Changelog**: https://github.com/medusajs/medusa/compare/v2.8.0...v2.8.1