Highlights
TypeScript 7 Support
Medusa's framework and CLI now support TypeScript 7 in applications and plugins. If you use TypeScript 7, make sure to also install @typescript/typescript6 as TypeScript 7 still doesn't support JavaScript APIs:
yarn add -D typescript@7 @typescript/typescript6Features
- feat(test-utils): add a Jest preset for Medusa applications and plugins by @shahednasser in #17673
- feat(framework,cli): support TypeScript 7 in Medusa applications and plugins by @shahednasser in #17660
Bugs
- fix(dashboard): keep list filters and page when going back through breadcrumbs by @medusa-agents in #17674
- fix(dashboard): show extension routes nested under orders in the sidebar by @medusa-os-bot in #17667
- fix(dashboard): ask signed-in users to sign out before accepting an invite by @medusa-os-bot in #17662
- fix(dashboard): show receive return, allocate, and mark as paid buttons by @medusa-os-bot in #17665
- fix(docs): fix OAS and UI reference generation, generate RBAC docs by @shahednasser in #17656
Documentation
- docs: RBAC docs by @shahednasser in #15741
- docs: medusa security by @shahednasser in #17176
- docs: remove beta labels from RBAC and SSO docs by @shahednasser in #17654
- docs: doc changes for next release [automated] by @medusa-os-bot in #17585
Chores
- chore: upgrade TypeScript to 6.0.3 by @shahednasser in #17647
- chore: build with TypeScript 7 side by side with TypeScript 6 by @shahednasser in #17657
- chore: upgrade Yarn to 4.18.1 and dedupe the lockfile by @shahednasser in #17675
- chore(auth,auth-emailpass,test-utils): update scrypt-kdf to 4.0.0 by @shahednasser in #17679
- chore(framework,test-utils): upgrade path-to-regexp to v9 by @shahednasser in #17678
- chore(core-flows,medusa): document RBAC workflows and API routes by @shahednasser in #17655
- chore(deps): bump postcss-selector-parser by @dependabot in #17642
- chore(docs): upgrade www/utils to TypeScript 6 by @shahednasser in #17651
- chore(docs): upgrade www docs workspace to TypeScript 6 by @shahednasser in #17658
- chore(docs): build www packages with TypeScript 7 side by side with TypeScript 6 by @shahednasser in #17670
- chore(docs): add v2.22.2 OAS snapshot, dispatch specs to cloud, install docs with Yarn 4 by @shahednasser in #17677
- chore(docs): Generated References (automated) by @medusa-os-bot in #17650
- chore(docs): Generated DML JSON files (automated) by @medusa-os-bot in #17649
- chore(docs): Update version in documentation (automated) by @medusa-os-bot in #17648
- chore(docs-util): build www/utils with TypeScript 7 side by side with TypeScript 6 by @shahednasser in #17659
Other Changes
- chore(dashboard): add missing translations [automated] by @medusa-os-bot in #17668
- chore(dashboard): add missing translations [automated] by @medusa-os-bot in #17683
Full Changelog: v2.22.3...v2.22.4