npm @medusajs/medusa 2.1.2
v2.1.2

latest releases: 2.1.3-preview-20241218210146, 2.1.3-preview-20241218180145, 2.1.3-preview-20241218173342...
one day ago

Highlights

Patches a regression with the Cart Module

Warning

Schema changes

In an earlier release, we migrated the data models of the Cart Module from MikroORM to our DML. As part of that migration, the tax rate column on line item tax lines and shipping method tax lines was mistakenly changed from a numeric to an integer. This led to issues with tax rates with decimal points, as they would get rounded to the nearest integer.

In this release, we are changing the rate column to real (or float() in our DML) to be consistent with how tax rates are generally represented across the codebase.

Required action

Run migrations to ensure your server functions as expected after upgrading:

npx medusa db:migrate

Features

  • refactor: migration stock location module by @thetutlage in #10471
  • refactor: migrate promotion module by @thetutlage in #10410
  • feat(core-flows, dashboard, fulfillment, fulfillment-manual, utils, types): create shipping options with calculated prices by @fPolic in #10495
  • feat: Migrate customer module to DML by @thetutlage in #10499
  • feat(file-s3): Add support for IAM role authentication to file-s3 provider by @sradevski in #10528
  • feat: add support for float properties by @thetutlage in #10551
  • feat(medusa, core-flows, fulfillment): calculate SO price endpoint by @fPolic in #10532
  • Feat/tax dml by @thetutlage in #10525
  • feat(types,fulfillment): ability to delete a canceled fulfillment by @riqwan in #10602
  • feat(core-flows): calculate SO price on cart ops by @fPolic in #10563
  • feat(medusa,pricing): Cart pricing context with customer group by @riqwan in #10579

Bugs

Documentation

Chores

Other Changes

New Contributors

Full Changelog: v2.1.1...v2.1.2

Don't miss a new medusa release

NewReleases is sending notifications on new releases.