⚠️ Breaking Changes
Remember to check out the migration guide for step-by-step documentation on how to upgrade.
- The Wasp TS config (
main.wasp.ts) is now called the Wasp Spec, and it should import from@wasp.sh/specinstead ofwasp-config. (#4153) - Wasp now requires
vitestto be listed in your project'sdevDependencies. (#4182) - Removed
wasp new:aiand theai-generatedstarter template. (#4280)
🎉 New Features
- The
apiexport fromwasp/client/apiis now a Ky instance instead of Axios for improved performance and smaller final size. (#3998) - Wasp TS spec now properly sets the
NODE_ENVenvironment variable depending on which command you use to run Wasp. (#4087) - Added a type-safe
NavLinkcomponent, mirroringreact-router'sNavLinkAPI (withisActive,isPending,isTransitioningrender-prop helpers). (#4104) - Wasp TS spec now supports real JS imports, letting you import values in
main.wasp.tsand pass them directly instead of using import objects like{ import, from }. (#4143)
🐞 Bug fixes
- Fixed a race condition in development mode that could potentially load the app's JS bundle before the Vite runtime, causing the app to fail the load with a "Can't detect preamble" error. (#4258)
- Fixed
wasp deploy railway launchsometimes producing a crashed server with an emptyDATABASE_URL. Wasp now waits for the database service to finish deploying before setting up the other services. (#4291) - Fixed a bug where
wasp deploy railway launchwouldn't correctly build the Wasp app client if the/route was not prerendered. (#4293)
🔧 Small improvements
- Wasp now also validates
tsconfig.wasp.jsonand the roottsconfig.jsonin TS spec projects, and tsconfig validation errors now mention whichtsconfig.*.jsonfile caused them. (#3911) - The npm package now shows a clear error when installed on an unsupported Node.js version. (#4268)
📖 Documentation
- We now have a SEO & GEO optimization guide. (#4264)