v2.12.3: Translations (experimental) and Order Exports
Highlights
Translations (experimental)
This release introduces experimental support for Translations. Translations allows merchants to configure multiple locales in their store and translate their product information accordingly. In this experimental release, translations support all entities from the Product Module. In the official release in January, we expect to support additional core entities and offer framework-level tooling to translate entities from custom modules.
Read the announcement blog post or get started in our documentation.
Order Exports
This release introduces support for exporting Orders to a .csv file from Medusa Admin. The export will use the filters applied in the orders table.
Features
- feat(): Sync order translations by @adrien2p in https://github.com/medusajs/medusa/pull/14267
- feat: order export and upload stream by @carlos-r-l-rodrigues in https://github.com/medusajs/medusa/pull/14243
- feat(): Add support for locale to the js sdk by @adrien2p in https://github.com/medusajs/medusa/pull/14306
- feat(): Add support for store locales end point by @adrien2p in https://github.com/medusajs/medusa/pull/14307
- feat(): Translation statistics by @adrien2p in https://github.com/medusajs/medusa/pull/14299
- feat(): Add more translatable core entity by @adrien2p in https://github.com/medusajs/medusa/pull/14311
- feat(js-sdk,types,medusa): add list locales store method to JS SDK by @shahednasser in https://github.com/medusajs/medusa/pull/14314
- feat(): remove status from translatable fields by @adrien2p in https://github.com/medusajs/medusa/pull/14321
- feat: Translations UI by @NicolasGorga in https://github.com/medusajs/medusa/pull/14217
Bugs
- fix(translation): add index file for models by @shahednasser in https://github.com/medusajs/medusa/pull/14272
- fix(types,translations): fix types for translation and locale updates by @shahednasser in https://github.com/medusajs/medusa/pull/14278
- fix(types): add locale to the query parameters of product query types by @shahednasser in https://github.com/medusajs/medusa/pull/14282
- fix(index): detect enum field by @carlos-r-l-rodrigues in https://github.com/medusajs/medusa/pull/14298
- fix(link-modules): export store locale link definition by @NicolasGorga in https://github.com/medusajs/medusa/pull/14293
- Fix/readonly link feature flag conditional by @adrien2p in https://github.com/medusajs/medusa/pull/14316
- fix(pricing,dashboard): update min_quantity/max_quantity to decimal in price model by @NicolasGorga in https://github.com/medusajs/medusa/pull/14045
- fix(): Cart translation sync by @adrien2p in https://github.com/medusajs/medusa/pull/14327
Documentation
- docs: updates for next release by @shahednasser in https://github.com/medusajs/medusa/pull/14275
- chore(docs): Generated DML JSON files (automated) by @github-actions[bot] in https://github.com/medusajs/medusa/pull/14284
- docs: update next and react by @shahednasser in https://github.com/medusajs/medusa/pull/14288
- chore: generate and update OAS for translations by @shahednasser in https://github.com/medusajs/medusa/pull/14281
- docs: translation module by @shahednasser in https://github.com/medusajs/medusa/pull/14271
Chores
- chore(docs): Update version in documentation (automated) by @github-actions[bot] in https://github.com/medusajs/medusa/pull/14283
- chore(docs): Updated UI Reference (automated) by @github-actions[bot] in https://github.com/medusajs/medusa/pull/14285
- chore: Introduce OIDC auth for npm publishing by @olivermrbl in https://github.com/medusajs/medusa/pull/14279
- chore(utils): currency epsilon by @carlos-r-l-rodrigues in https://github.com/medusajs/medusa/pull/14225
- chore(): Allow PR CI to run all the time by @adrien2p in https://github.com/medusajs/medusa/pull/14295
- chore: sync Figma resources by @fPolic in https://github.com/medusajs/medusa/pull/14297
- chore(): Remove default_locale from StoreLocale by @NicolasGorga in https://github.com/medusajs/medusa/pull/14300
- chore(): apply locale middleware to all store routes by @adrien2p in https://github.com/medusajs/medusa/pull/14305
- chore(): Update locale header usage by @adrien2p in https://github.com/medusajs/medusa/pull/14318
- chore(): Migration generator fix generated import by @adrien2p in https://github.com/medusajs/medusa/pull/14315
- chore(): js-sdk set locale in server environment by @adrien2p in https://github.com/medusajs/medusa/pull/14313
- chore: TSDocs for Translation Module by @shahednasser in https://github.com/medusajs/medusa/pull/14280
- chore(): Apply translation feature flag broaderly by @adrien2p in https://github.com/medusajs/medusa/pull/14319
- chore: added since tag to new routes by @shahednasser in https://github.com/medusajs/medusa/pull/14322
- chore: add missing since tag for js sdk by @shahednasser in https://github.com/medusajs/medusa/pull/14325
Other Changes
- feat(admin): add translation for zhTW by @Achang0611 in https://github.com/medusajs/medusa/pull/14124
New Contributors
- @Achang0611 made their first contribution in https://github.com/medusajs/medusa/pull/14124
Full Changelog: https://github.com/medusajs/medusa/compare/v2.12.2...v2.12.3