We recently announced Medusa 2.0, and the majority of our time and resources are currently going into making this new major a reality as soon as possible. We will reach an important milestone next week by releasing an early preview version for experimentation and exploration. More information about the preview version will be shared alongside the release.
Remove useToast hook from @medusajs/ui
🚧 Breaking change
The useToast hook has been removed. Users should instead use the toast function that is exported from the @medusajs/ui package. This function can be used to show toasts in your application. For more information on how to use the toast function, please refer to the documentation.
The Toaster component is still available but the options for the component have changed. The default position has been changed to bottom-right. For more information on the Toaster component, please refer to the documentation.
Order totals account for deleted discounts
An issue with order totals not accounting for deleted discounts has been resolved.
#70778d356217bd Thanks @​riqwan! - feat(medusa,core-flows,types): add batch updates to price list prices
#6850e58e81fd25 Thanks @​fPolic! - fix(medusa): associate refund with order when calling refundFromPayment
#712840686ba980 Thanks @​kasperkristensen! - fix(medusa,admin-ui): Remove forced backendUrl from develop command. Allow specifying an alternative host value
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the medusa group with 1 update: @medusajs/medusa.
Updates
@medusajs/medusa
from 1.19.0 to 1.20.5Release notes
Sourced from
@​medusajs/medusa
's releases.... (truncated)
Changelog
Sourced from
@​medusajs/medusa
's changelog.... (truncated)
Commits
ec37576
feat: Add collection and category endpoints to store (#7155)2c807df
chore: Version Packages (#6839)e26cda4
feat(medusa, core-flows, types): Allow to update the rules from a shipping op...efa3308
feat(medusa): add middleware filters + scope products (#7178)11517f0
feat(medusa,types): added store apis for products (#7144)32c2a9d
feat: Add missing endpoints and normalize customer and currency endpoints for...08a9297
feat(medusa): Remove require id from update shipping options validator (#7166)82cb6cf
fix: correct calculations of subtotal for shipping option requirements (#7089)d2393f0
feat(core-flows, medusa): add shipping methods to cart API (#7150)aef2222
fix: Corrections to the store region endpoint for v2 (#7152)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show