Skip to content

Releases: medusajs/medusa

v1.7.9

28 Feb 07:58
Compare
Choose a tag to compare

Bugs

v1.7.8

22 Feb 12:14
Compare
Choose a tag to compare

Features

  • feat(medusa): Configurable returnable_items on order decorate totals (#3276) @adrien2p

Bugs

Chores

  • chore(medusa): Revert AbstractPaymentService deprecation (#3298)
  • chore(docs): manually generated API reference to fix load issue (#3286) @shahednasser
  • chore: changed trigger for docs generation actions (#3304) @shahednasser

v1.7.7

14 Feb 16:31
Compare
Choose a tag to compare

Features

Bugs

  • fix(medusa): Pass query transformer config in storefront controllers (#3219) @fPolic
  • fix(medusa): Missing refund amount when creating claim (#3224) @olivermrbl
  • fix(medusa-plugin-sendgrid): Undefined order in method to build GiftCard data (#3238) @olivermrbl
  • fix(medusa): Missing withTransaction on calculateDiscountForLineItem (#3247) @adrien2p
  • fix(medusa): Discount allocation precision issues (#3244) @adrien2p
  • fix(medusa): Missing withTransaction on update in get-cart.ts (#3246) @adrien2p
  • fix(medusa): Add missing scoped transaction on update currency endpoint (#3254) @josetr
  • fix(medusa): Default sales channel on product create (#3249) @carlos-r-l-rodrigues
  • fix(medusa): Refund amount on returns in claim flow (#3237) @olivermrbl

Chores

v1.7.6

08 Feb 18:39
Compare
Choose a tag to compare

Migrations & Upgrades

Overview

In the last couple of releases, we've started to roll out Product Categories. The API layer is guarded by a feature flag, but the changes/additions to the database schema are not. This release introduces another migration for Product Categories so you are required to run migrations to ensure your server works as expected.

Actions Required

After updating your Medusa server and before running it, run the following command to run the latest migrations:

medusa migrations run

Features

Bugs

Chores

Docs

v1.7.5

19 Jan 17:32
Compare
Choose a tag to compare

Bugs

Docs

v1.7.4

18 Jan 17:53
Compare
Choose a tag to compare

Migrations & Upgrades

Important
This version enables Order Editing and Payment Collection by default. Migrations are required.

In your project, run:

medusa migrations run

Features

Bugs

Chores

Docs

v1.7.3

11 Jan 15:34
21b1ae5
Compare
Choose a tag to compare

Migrations & Upgrades

Important

This version enables Sales Channels and Publishable Keys by default. We strongly recommend you run the upgrade guide to migrate all your existing products into the default sales channel, which will be created upon the first subsequent server start.

Please refer to this guide on upgrading to v1.7.3.

Features

Bugs

  • fix(medusa): Add tax inclusive flag to return lines from line item (#2909) @olivermrbl
  • fix(medusa): Remove redundant Redis delete call when invalidating cache entries (#2943) @olivermrbl
  • fix(medusa): Custom repository take/skip when called without relations ( #2962) @adrien2p
  • fix(medusa): Repository util mention of entity specifics (#2965) @adrien2p
  • fix(medusa): Cancel order missing refunds relation (#2976) @adrien2p
  • fix(medusa-payment-manual): Correct wrongly used input data (#2979) @adrien2p
  • fix(medusa): Rename location migration (#2987) @olivermrbl

Chores

Docs

v1.7.2

23 Dec 08:01
Compare
Choose a tag to compare

Bugs

hotfix(medusa): Assign jobSchedulerService in EventBus (#2889)

v1.7.1

22 Dec 15:23
c414dd5
Compare
Choose a tag to compare

Features

Bugs

Chores

Docs

Migrations & Upgrades

This version contains a fix around tax calculation on gift cards that require you to run a migration and a script. Please refer to this guide on upgrading to v1.7.1.

v1.7.0

13 Dec 09:37
beecd49
Compare
Choose a tag to compare

Breaking changes

  • feat(medusa)!: Claim customer orders (#2710) (see upgrade guide below)

Features

  • feat(medusa): Trigger staging deployment (#2695)
  • feat(medusa): Allow passing idempotency key to service layer create (#2701)
  • feat(medusa): Performance improvements of Carts domain (#2648)
  • feat(medusa): Claim customer orders (#2710)
  • feat(medusa): Allow to assign a Collection to a Product on import (#2764)
  • feat(medusa): Allow regexp in CORS configuration (#1935)

Bugs

  • fix(medusa-payment-stripe): Hooks import (#2666)
  • fix(medusa): Order service legacy decorate totals should add totals to items (#2667)
  • fix(medusa): Use correct auth middleware in GET /store/auth (#2687)
  • fix(medusa): Discounts service create validates against at least 1 region (#2729)
  • fix(medusa): Decorate order with totals in store domain (#2747)
  • fix(medusa): Update line item adjustments upon cart discount removal (#2751)
  • fix(medusa): Keep country_code when partially updating cart addresses (#2683)
  • fix(medusa): Creating tax lines in cart completion strategy (#2761)
  • fix(medusa): Throw on flat rate shipping options with no amount (#2628)
  • fix(medusa): Payment status on refunds (#2770)
  • fix(medusa, medusa-react): Typing of optional fields on multiple product endpoints (#2771)

Chores

  • chore: Update Awilix to v8 (#2668)
  • chore(medusa-core-utils): Migrate to TS (#2670)

Docs

  • docs: fixed tooltip causing overflow in codeblocks (#2679)
  • docs: fixed error in code in override price selection (#2689)
  • docs: added credentials option to fetch examples (#2694)
  • docs: added deploy to railway docs (#2697)
  • docs: added Create a Discount user guide (#2705)
  • docs: added user guide for Manage Discounts (#2706)
  • docs: added Discounts Architecture documentation (#2709)
  • docs: added Use Discounts in Checkout documentation
  • chore(docs): remove unused files from www directory (#2722)
  • docs: Added Manage Discounts using Admin APIs doc (#2730)
  • docs: delete unused doc files (#2732)
  • docs: redesigned code blocks (#2745)
  • docs: added Klarna documentation (#2746)
  • docs: use correct publish directory for netlify deploy (#2741)
  • docs: update environment variable used in admin's deploy guides (#2748)

Migrations & Upgrades

Upgrading to v1.7.0