Skip to content

v2.0.4

Latest
Compare
Choose a tag to compare
@olivermrbl olivermrbl released this 12 Nov 09:25
· 52 commits to develop since this release

Highlights

Improved pluralization of MedusaService types

Warning

Breaking change: If you have created data models using the uncountable nouns and special rules below, you might be affected.

We've updated the type helper used to generate types for the methods of the MedusaService. It now has two conditional checks when converting a singular value to a plural value at the types level.

  • First, it checks for uncountable nouns in a dictionary.
  • Second, it looks for special rules for certain words like tooth, man, etc.

You can find the reference of uncountable nouns and special rules here.

Bugs

  • breaking: pluralize type helper to account for uncountable nouns and special rules by @thetutlage in #10011
  • fix(types): Add AdminBatchUpdateProductVariant type by @kasperkristensen in #10009
  • fix(medusa, types): filter product by external_id by @fPolic in #10010
  • fix(dashboard): handle deleted products/variants in the order domain by @fPolic in #9841
  • fix(dashboard): Load product variant edit page and fix product detail query key by @kasperkristensen in #10029

Documentation

Chores

Other Changes

Full Changelog: v2.0.3...v2.0.4