Highlights
Product Category organizer component
We've polished the Product Category organizer component for a smoother drag-and-drop experience. As part of the polish, we've also fixed an issue with a dependency.
Email-pass as default authentication provider
🚧 Breaking change
We've updated the default modules config to include email-password as a default authentication provider. This is a breaking change. To ensure your application will continue to run, you should install the preview version of the email-password provider package:
yarn add @medusajs/auth-emailpass@preview
Workflows Reference
We've introduced a reference of all workflows used in Medusa's core. It includes a visual representation of steps, hooks, and conditionals.
Explore the reference here.
Features
- feat: admin return reason list by @christiananese in #8482
- feat(medusa): filter shipping options by location by @riqwan in #8511
- feat(dashboard,js-sdk,types): ability to add refund reason and note by @riqwan in #8466
- feat(types,dashboard): ability to set shipping methods for claim by @riqwan in #8533
- feat: create return reason by @christiananese in #8516
- feat(create-medusa-app): prompt for database name with credentials by @shahednasser in #8552
- feat(core-flows,dashboard,medusa): fixes set of tiny bugs in claims flow by @riqwan in #8551
- feat(dashboard): BulkEditor Boolean cell behaviour by @kasperkristensen in #8418
- feat: Move userpass default definition to defineConfig instead of a hard-coded value by @sradevski in #8557
- feat(core-flows): introduce a generic create entities step by @riqwan in #8553
- feat(medusa-oas-cli): automatically fix missing circular references by @shahednasser in #8600
- feat(core-flow): order edit endpoints by @carlos-r-l-rodrigues in #8596
- feat(dashboard,core-flows,js-sdk,types,medusa): Add exchange UI + fixes by @riqwan in #8606
- feat(medusa,core-flows,types): API to create payment collections for order by @riqwan in #8617
Bugs
- fix(dashboard): Delete product media by @olivermrbl in #8506
- fix: Use local notification provider for feed channel by default by @sradevski in #8518
- fix(core-flows): fixes duplicate fulfillment issue by @riqwan in #8581
- fix(core-flows): fixes build fails by @riqwan in #8584
- fix(core-flows): add order transaction on capture by @carlos-r-l-rodrigues in #8591
- fix(chore-flows): update shipping method price by @carlos-r-l-rodrigues in #8592
- feat(core-flows,dashboard): add fixes to allow only outbound or inbound claims by @riqwan in #8590
- fix(notification): Disable notification providers by @olivermrbl in #8607
- fix(payment): Partial refunds by @olivermrbl in #8603
- fix(order): summary original_total by @carlos-r-l-rodrigues in #8616
- fix(pricing): Calculate price sets with amount 0 by @olivermrbl in #8622
- fix(order): order summary on order creation by @carlos-r-l-rodrigues in #8624
- fix: Remove the endpoint to create a user by @sradevski in #8629
- fix(order): update order summary when transactions change by @carlos-r-l-rodrigues in #8633
- chore: Remove create user tests that are no longer relevant by @sradevski in #8638
- fix(dashboard): Replace
react-nestable
with new SortableTree component by @kasperkristensen in #8599 - fix(dashboard): Check for displaying placeholder value by @kasperkristensen in #8649
- fix(dashboard): disable RMAs if there is no shipped items by @fPolic in #8652
Documentation
- docs-util: add support for workflows in markdown theme by @shahednasser in #8485
- docs: fix build errors + update medusa docs link by @shahednasser in #8550
- docs: added troubleshooting for using pnpm by @shahednasser in #8537
- docs: improve the workflow hooks guide by @shahednasser in #8538
- docs-util: associate an API route with the workflow it uses by @shahednasser in #8554
- docs: fixes and preparations for workflows reference by @shahednasser in #8579
- docs-util: fix OAS generation error by @shahednasser in #8577
- docs: redesign sidebar by @shahednasser in #8408
- docs: change from showing required to showing optional in types references by @shahednasser in #8593
- docs: add a section in the main docs on how to retrieve a relationship by @shahednasser in #8594
- docs: fix $lt and $gt in api reference by @shahednasser in #8580
- docs: change workflow diagram to list by @shahednasser in #8602
- docs: redesign pagination by @shahednasser in #8614
- docs: add associated workflow badge in api reference by @shahednasser in #8613
- docs: fix expand badge by @shahednasser in #8611
- docs: fix scroll top margin by @shahednasser in #8605
- docs: update colors and typography by @shahednasser in #8604
- docs: fix usage of AdminCreateProduct in validation of digital product recipe by @shahednasser in #8601
- docs: collapse sidebar by default in main docs + persist state by @shahednasser in #8608
- docs: redesign help button by @shahednasser in #8610
- docs-util: fix update OAS schema by @shahednasser in #8556
- docs: remove steps from workflows reference overview by @shahednasser in #8595
- docs: bug fixes for copy and color mode by @shahednasser in #8626
- docs: added edit date by @shahednasser in #8623
- docs: update algolia by @shahednasser in #8625
- docs: redesign code highlights + add default code titles by @shahednasser in #8628
Chores
- chore: normalize packages version by @carlos-r-l-rodrigues in #8492
- chore(core-flows): [4] export types and types, add basic TSDocs by @shahednasser in #8509
- chore(core-flows): [3] export types and types, add basic TSDocs by @shahednasser in #8507
- chore(core-flows): [2] export types and types, add basic TSDocs by @shahednasser in #8505
- chore(core-flows): [5] export types and types, add basic TSDocs by @shahednasser in #8510
- chore(core-flows): [6] export types and types, add basic TSDocs by @shahednasser in #8512
- chore(core-flows): [7] export types and types, add basic TSDocs by @shahednasser in #8514
- chore(core-flows): [8] export types and types, add basic TSDocs by @shahednasser in #8517
- chore(core-flows): [9] export types and types, add basic TSDocs by @shahednasser in #8519
- chore(core-flows): [11] export types and types, add basic TSDocs by @shahednasser in #8521
- chore(core-flows): [12] export types and types, add basic TSDocs by @shahednasser in #8522
- chore(core-flows): [14] export types and steps, add basic TSDocs by @shahednasser in #8524
- chore(core-flows): [16] export types and steps, add basic TSDocs by @shahednasser in #8527
- chore(core-flows): [17] export types and steps, add basic TSDocs by @shahednasser in #8528
- chore(core-flows): [18/18] export types and types, add basic TSDocs by @shahednasser in #8529
- chore(order): item update quantity by @carlos-r-l-rodrigues in #8513
- chore: rm pg dependency by @carlos-r-l-rodrigues in #8526
- chore(core-flows): [15] export types and steps, add basic TSDocs by @shahednasser in #8525
- chore(core-flows): [13] export types and steps, add basic TSDocs by @shahednasser in #8523
- chore(core-flows): [10] export types and types, add basic TSDocs by @shahednasser in #8520
- chore(core-flows): export used steps / workflows by @shahednasser in #8534
- chore(core-flows): favor runAsStep by @carlos-r-l-rodrigues in #8540
- chore(medusa,types): [1] Add request types to API routes by @shahednasser in #8558
- chore(core-flows): order transactions by @carlos-r-l-rodrigues in #8568
- chore(medusa,types): [2] Add request types to API routes by @shahednasser in #8559
- chore(medusa,types): [3] Add request types to API routes by @shahednasser in #8560
- chore(medusa,types): [4] Add request types to API routes by @shahednasser in #8561
- chore(medusa,types): [5] Add request types to API routes by @shahednasser in #8562
- chore(medusa,types): [6] Add request types to API routes by @shahednasser in #8563
- chore(medusa,types): [9] Add request types to API routes by @shahednasser in #8566
- chore(medusa,types): [10] Add request types to API routes by @shahednasser in #8567
- chore(medusa,types): [7] Add request types to API routes by @shahednasser in #8564
- chore(medusa,types): [8] Add request types to API routes by @shahednasser in #8565
- feat(core-flows): order edit flows by @carlos-r-l-rodrigues in #8555
- chore(medusa,types): [11] Add request types to API routes by @shahednasser in #8572
- chore(medusa,types): [12] Add request types to API routes by @shahednasser in #8574
- chore(medusa,types): [13] Add request types to API routes by @shahednasser in #8575
- chore(medusa,types): [14/14] Add request types to API routes by @shahednasser in #8576
- chore: Run migrations and links sync after loading the app by @thetutlage in #8582
Full Changelog: v2.0.4-preview...v2.0.5-preview