Highlights
Fixes regression with link migrations
This release fixes a regression in type generation during builds that could cause build failures under certain conditions. In PR #14493, we updated the build process to generate Medusa’s autogenerated types at build time, ensuring they are available both during development and in production.
This change introduced an unintended issue in the build process. Generating types during the build requires bootstrapping the application. During bootstrap, several core internal loaders are executed, including those responsible for establishing database connections. These loaders depend on specific environment variables, and when those variables are not present, the build fails.
This release changes the types generation to rely on a “lightweight” bootstrap mode , which allows the application to start without executing these core internal loaders, avoiding the dependency on environment variables during the build phase.
Features
- feat(rbac): role-based access control module by @carlos-r-l-rodrigues in #14310
- feat(): Add modules options autocomplete to medusa config by @adrien2p in #14465
Bugs
Documentation
- docs: docs for next release by @shahednasser in #14456
- chore(docs): Updated UI Reference (automated) by @github-actions[bot] in #14469
- docs: fix locale option passed to query by @shahednasser in #14472
- chore(docs): Updated API Reference (automated) by @github-actions[bot] in #14470
- chore(docs): Generated References (automated) by @github-actions[bot] in #14471
- docs: auth in cloud + restructure deployment guides by @shahednasser in #14457
- chore(rbac): user link and utils by @carlos-r-l-rodrigues in #14320
- docs: updates for storefront in cloud by @shahednasser in #14491
Chores
- chore(docs): Generated DML JSON files (automated) by @github-actions[bot] in #14467
- chore(docs): Update version in documentation (automated) by @github-actions[bot] in #14468
Full Changelog: v2.12.4...v2.12.5