Medusa 2.0 Release Candidate #8
olivermrbl
released this
22 Oct 16:16
·
81 commits
to develop
since this release
Get started with a new project
To get started using the RC, run the following command:
npx create-medusa-app@rc
This command will create a new Medusa project with our redesigned admin and a 2.0-compatible Next.js storefront. The Medusa application and the Next.js storefront are separate projects in separate folders.
Update existing project
Ensure your Medusa dependencies in package.json
are using the rc
tag:
{
"dependencies": {
"@medusajs/admin-sdk": "rc",
"@medusajs/framework": "rc",
"@medusajs/medusa": "rc",
"@medusajs/medusa-cli": "rc",
...
}
}
To ensure an upgrade to a new version is completed correctly, run the following sequence of commands:
rm -rf node_modules
rm yarn.lock // or package-lock.json
yarn // If you are using yarn berry, you need to create the lock-file first
Features
- fix(medusa, types): allow to pass
external_id
on product create/update by @fPolic in #9694 - feat(dashboard,types): Translate all OrderBy filters by @kasperkristensen in #9691
- feat(core-flows): order events by @carlos-r-l-rodrigues in #9702
- feat(core-flows,medusa): Add customer validation on cart update by @riqwan in #9662
- Feat/validate query enhancement by @adrien2p in #9705
Bugs
- fix(dashboard,js-sdk): remove method and hook for deleting claim by @shahednasser in #9668
- fix(dashboard, js-sdk): undefined RMA activity items by @fPolic in #9649
- fix(core-flows): Emit event in update products workflow by @olivermrbl in #9682
- fix(dashboard): wrong queryKey for price preferences list by @fPolic in #9685
- fix(dasboard): Grammer issues on invite page by @kasperkristensen in #9683
- fix: allow additional_data to be undefined or null by @thetutlage in #9687
- fix(product): Category repository missing ontext by @adrien2p in #9688
- fix(dashboard,js-sdk): remove methods / hooks to non existing exchange routes by @shahednasser in #9697
- fix: Don't store token in SDK by default by @sradevski in #9704
- fix(admin-vite-plugin,dashboard): Generate correct UI Route tree by @kasperkristensen in #9699
- fix(dashboard): temp hide order column on reservations by @fPolic in #9692
- fix(dashboard): broken CustomerGroup create form by @fPolic in #9711
- fix(dasbhoard): Revert keybound form for public pages by @kasperkristensen in #9710
- fix: API validation management issues by @adrien2p in #9693
Documentation
- docs: rename packages by @shahednasser in #9618
- docs-util: fixes to package renames + other options by @shahednasser in #9671
- docs: fix scroll + divider issues by @shahednasser in #9663
- fix: revise words on docs intro page by @srindom in #9588
- docs: update nav items by @shahednasser in #9709
Chores
- chore(utils): update tsdocs for provider identifiers by @shahednasser in #9656
- chore(orchestration): modules method context by @carlos-r-l-rodrigues in #9669
- chore: fix to DML action by @shahednasser in #9672
- chore(types,js-sdk,medusa): Add TSDocs for store and auth's JS SDK + small type fixes by @shahednasser in #9657
- chore: Correctly assert test by @sradevski in #9695
- chore(js-sdk,types): add tsdocs for admin JS SDK methods [1/n] by @shahednasser in #9667
- chore(js-sdk,types): add tsdocs for admin JS SDK methods [2/n] by @shahednasser in #9696
- chore(js-sdk,types): add tsdocs for admin JS SDK methods [3/n] by @shahednasser in #9712
Full Changelog: v2.0.0-rc.7...v2.0.0-rc.8