v2.0.0-rc.8
版本发布时间: 2024-10-23 00:16:39
medusajs/medusa最新发布版本:v2.0.1(2024-10-25 23:24:21)
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 https://github.com/medusajs/medusa/pull/9694 - feat(dashboard,types): Translate all OrderBy filters by @kasperkristensen in https://github.com/medusajs/medusa/pull/9691
- feat(core-flows): order events by @carlos-r-l-rodrigues in https://github.com/medusajs/medusa/pull/9702
- feat(core-flows,medusa): Add customer validation on cart update by @riqwan in https://github.com/medusajs/medusa/pull/9662
- Feat/validate query enhancement by @adrien2p in https://github.com/medusajs/medusa/pull/9705
Bugs
- fix(dashboard,js-sdk): remove method and hook for deleting claim by @shahednasser in https://github.com/medusajs/medusa/pull/9668
- fix(dashboard, js-sdk): undefined RMA activity items by @fPolic in https://github.com/medusajs/medusa/pull/9649
- fix(core-flows): Emit event in update products workflow by @olivermrbl in https://github.com/medusajs/medusa/pull/9682
- fix(dashboard): wrong queryKey for price preferences list by @fPolic in https://github.com/medusajs/medusa/pull/9685
- fix(dasboard): Grammer issues on invite page by @kasperkristensen in https://github.com/medusajs/medusa/pull/9683
- fix: allow additional_data to be undefined or null by @thetutlage in https://github.com/medusajs/medusa/pull/9687
- fix(product): Category repository missing ontext by @adrien2p in https://github.com/medusajs/medusa/pull/9688
- fix(dashboard,js-sdk): remove methods / hooks to non existing exchange routes by @shahednasser in https://github.com/medusajs/medusa/pull/9697
- fix: Don't store token in SDK by default by @sradevski in https://github.com/medusajs/medusa/pull/9704
- fix(admin-vite-plugin,dashboard): Generate correct UI Route tree by @kasperkristensen in https://github.com/medusajs/medusa/pull/9699
- fix(dashboard): temp hide order column on reservations by @fPolic in https://github.com/medusajs/medusa/pull/9692
- fix(dashboard): broken CustomerGroup create form by @fPolic in https://github.com/medusajs/medusa/pull/9711
- fix(dasbhoard): Revert keybound form for public pages by @kasperkristensen in https://github.com/medusajs/medusa/pull/9710
- fix: API validation management issues by @adrien2p in https://github.com/medusajs/medusa/pull/9693
Documentation
- docs: rename packages by @shahednasser in https://github.com/medusajs/medusa/pull/9618
- docs-util: fixes to package renames + other options by @shahednasser in https://github.com/medusajs/medusa/pull/9671
- docs: fix scroll + divider issues by @shahednasser in https://github.com/medusajs/medusa/pull/9663
- fix: revise words on docs intro page by @srindom in https://github.com/medusajs/medusa/pull/9588
- docs: update nav items by @shahednasser in https://github.com/medusajs/medusa/pull/9709
Chores
- chore(utils): update tsdocs for provider identifiers by @shahednasser in https://github.com/medusajs/medusa/pull/9656
- chore(orchestration): modules method context by @carlos-r-l-rodrigues in https://github.com/medusajs/medusa/pull/9669
- chore: fix to DML action by @shahednasser in https://github.com/medusajs/medusa/pull/9672
- chore(types,js-sdk,medusa): Add TSDocs for store and auth's JS SDK + small type fixes by @shahednasser in https://github.com/medusajs/medusa/pull/9657
- chore: Correctly assert test by @sradevski in https://github.com/medusajs/medusa/pull/9695
- chore(js-sdk,types): add tsdocs for admin JS SDK methods [1/n] by @shahednasser in https://github.com/medusajs/medusa/pull/9667
- chore(js-sdk,types): add tsdocs for admin JS SDK methods [2/n] by @shahednasser in https://github.com/medusajs/medusa/pull/9696
- chore(js-sdk,types): add tsdocs for admin JS SDK methods [3/n] by @shahednasser in https://github.com/medusajs/medusa/pull/9712
Full Changelog: https://github.com/medusajs/medusa/compare/v2.0.0-rc.7...v2.0.0-rc.8