Highlights
Bulk Editor improvements
We have added error handling to our bulk editor to make bulk editing of resources more manageable.
error-bulk-editor.mp4
Order Exchanges, Returns, and Claims
We have finished the first iteration of Order Exchanges, Returns, and Claims. There is still some polishing to do on these flows, so please report any issues you find.
Recipe: Food-Delivery platform
We have published a new recipe taking you though building a food-delivery platform like UberEats.
We also have a demo project and repository if you are curious to dig into how this recipe is used in practice: https://github.com/medusajs/medusa-eats
Remote Joiner alias conflict
🚧 Breaking change
Several models were named the same across modules, causing conflicts for our Remote Joiner engine. To resolve the issues with Remote Joiner, the name-clashing models have been renamed to be specific to the module they belong to.
Only the ORM models have been renamed – not the underlying tables.
Order Module:
- Address -> OrderAddress
- LineItem -> OrderLineItem
- LineItemAdjustment -> OrderLineItemAdjustment
- LineItemTaxLine -> OrderLineItemTaxLine
- ShippingMethod -> OrderShippingMethod
- ShippingMethodAdjustment -> OrderShippingMethodAdjustment
- ShippingMethodTaxLine -> OrderShippingMethodTaxLine
- Transaction -> OrderTransaction
Fulfillment Module:
- Address -> FulfillmentAddress
These changes affect the modules' methods since we auto-generate methods based on the model names. For example, createLineItem
in the Order Module is now createOrderLineItem
. More specifically, this change affects the models mentioned above, and the following methods of those:
- retrieve[ModelName]
- list[ModelName]
- listAndCount[ModelName]
- create[ModelName]
- update[ModelName]
- delete[ModelName]
- softDelete[ModelName]
- restore[ModelName]
Internal module events
We have decided to hide the logs of internal module events. These events are currently only emitted in a few modules and are not supposed to be used by end-users for subscribers and such. You should always use Workflow Events, which have replaced the event concept from V1.
Features
- feat(dashboard): summary shipping breakdown by @fPolic in #8779
- feature: add db:setup command by @thetutlage in #8830
- feat(js-sdk): Add API key by @olivermrbl in #8838
- feat(dashboard): DataGrid improvements [4/4] by @kasperkristensen in #8798
- feat: Add support for providers to validate their options at loading time by @adrien2p in #8853
- feat(notification-sendgrid): include ability to handle attachments by @420coupe in #8729
Bugs
- fix(order): run migration before setting not null by @riqwan in #8831
- fix(dashboard,js-sdk): fixes from rma flows testing by @riqwan in #8826
- fix(medusa): use correct request type for create cart API route by @shahednasser in #8820
- fix: Validate boolean query params by @olivermrbl in #8834
- fix(order): order change references by @carlos-r-l-rodrigues in #8845
- fix(medusa-oas-cli): fix download url for public OAS by @shahednasser in #8763
- fix(dashboard): align items inside quick view popover by @riqwan in #8847
- fix(dashboard,types): fix some http type names by @shahednasser in #8836
- fix(core-flows): use unit price of item in create cart and add to cart flows by @shahednasser in #8841
- fix(orchestration): remote joiner alias conflict by @carlos-r-l-rodrigues in #8844
- fix(dashboard): active RMA section border by @fPolic in #8849
- fix(utils): DML hasOne - belongsTo not behaving correctly by @adrien2p in #8813
- fix(dashboard): active rma z-index by @fPolic in #8854
- fix: product category types by @Alexnortung in #8833
- fix(dashboard): Pass query params to list SC request by @kasperkristensen in #8863
Documentation
- docs-util: fix for product type schemas by @shahednasser in #8837
- docs: improvements to base OAS by @shahednasser in #8835
- docs: uppercase HTTP methods in api reference by @shahednasser in #8821
- docs: add tracking for navigation usage by @shahednasser in #8819
- docs-util: fix removal of manually-added schemas in clean script by @shahednasser in #8840
- docs: add restaurant-delivery marketplace recipe by @shahednasser in #8817
Chores
- chore(medusa): Re enable plugin loading by @adrien2p in #8843
- chore: Treat internal event differently, primarely do not display info logs for those events by @adrien2p in #8767
- chore: Remove unused clients in admin + clean up js-sdk by @olivermrbl in #8839
Full Changelog: v2.0.6-preview...v2.0.7-preview