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
- docs: improve transform docs by @shahednasser in #10023
- docs: fix link to testing tools by @shahednasser in #10030
- docs: improve getting started chapters by @shahednasser in #10014
- docs: fix cart completion in subscriptions recipe by @shahednasser in #10021
Chores
- chore(medusa): show success message after user is created by @shahednasser in #10027
Other Changes
- docs: add changeset for #10011 by @thetutlage in #10018
Full Changelog: v2.0.3...v2.0.4