⚠️ Breaking Changes
Remember to check out the migration guide for step-by-step documentation on how to upgrade.
- Upgraded Vite to v8 and Vitest to v4.1. (#4423)
- Upgraded Wasp's TypeScript support to TypeScript v6. (#4401)
- Upgraded React Router from v7 to v8. The upgrade is backwards compatible. (#4433)
- Removed internal
wasp/...paths that were not part of the documented public API. If your app imported any of these private paths, switch to documented public imports likewasp/client/operations,wasp/server/operations,wasp/server/auth, andwasp/serialization. (#4351) - Removed the Wasp Language Server functionality, since it's not needed anymore in the Wasp Spec. (#4335)
🎉 New Features
- We now have a Linux ARM64 build of Wasp available! That means that Wasp can now run on e.g. the Raspberry Pi or Docker on Apple Silicon.
npm install -g @wasp.sh/wasp-cliwill automatically install the correct version for your system. (#4435) - A route's
prerenderoption now also accepts an array of paths, so you can prerender specific instances of a dynamic route (e.g.prerender: ["/blog/intro", "/blog/changelog"]for a/blog/:slugroute). (#4318) - Added Resend as an email sender provider, usable via
provider: "Resend"and theRESEND_API_KEYenvironment variable. (#4381) - Added a
wasp doctorcommand that runs common sanity checks on your setup to check that Wasp can work correctly, and prints a report. (#4283)
🐞 Bug fixes
- Fixed a race condition where
useAuth()could return stale user data after an action that modifies theUserentity (by @okxint). (#4343)
🔧 Small improvements
- The
wasp compilecommand is now listed inwasp's usage output and bash completion, making it easier to discover. (#4456) wasp depsno longer shows internal Wasp packages in its output (by @okxint). (#4342)tsconfig.wasp.json'sincludenow accepts extra globs in addition to the required Wasp entries, so you can keep helpers and libraries used by your.wasp.tsfiles in the same TS project. (#4398)- Improved some prerendering internals for a faster first paint and more accurate lazy-loading of pages. (#4428)
- If you're writing a Wasp Spec library, you can now throw your own
WaspSpecUserErrorfrom@wasp.sh/specto report configuration problems the same way Wasp does. (#4448) - The Wasp Spec package now exports the config object types for its constructors from
@wasp.sh/spec, so libraries built on top of the Spec can reuse the type of a constructor's optional config argument. (#4447) - The Wasp Spec package is now published to npm, for easier consumption by libraries outside of Wasp projects. Most users don't need to install it directly, since the Wasp CLI will manage it for you. (#4461)
- Listing the same entity more than once in a query or action's
entitiesnow fails with a clear error. (#4455)