Skip to content

Releases: wasp-lang/wasp

v0.17.1

24 Jul 15:15
26913ee
Compare
Choose a tag to compare

🐞 Bug fixes

  • Fixes parsing of app.client and app.server options in main.wasp.ts (#2999)

v0.17.0

15 Jul 15:18
Compare
Choose a tag to compare

⚠️ Breaking Changes

Follow the the official migration guide to address all the breaking changes. Here's a short overview:

  • In the usernameAndPassword authentication method, the function login() imported from wasp/client/auth now accepts an object with username and password instead of two separate arguments (#2598)
  • We've made some improvements to our TypeScript setup that require you to
    update the tsconfig.json file. The migration guide will lead you through
    them, but here are all the non-cosmetic ones:
     {
       "compilerOptions": {
         // ...
    +    "moduleDetection": "force",
    +    "isolatedModules": true,
    -    "typeRoots": [ ... ]
       },
     }
  • The types for DOM helpers in tests are now handled with an import in src/vite-env.d.ts (instead of overriding typeRoots in tsconfig.json).
  • Wasp will no longer generate favicon.ico on compile if there isn't one in the public directory. New Wasp projects will start with a default favicon.ico in the public directory, instead. (#1979).
  • Wasp will no longer automatically add a favicon <link> tag to the index.html. The <link> tag will be included by default in the main.wasp for new projects. (#1979).
  • Updated Express to v5 (#2685)

🎉 New Features

  • Added support for one-line deployment with Railway to wasp deploy command. (#2578)
  • Wasp now includes a onAfterEmailVerified auth hook. You can use this hook to run custom logic after a user has verified their email. (#2602)
  • Wasp now supports Slack as an auth provider (by @Scorpil). (#2764)
  • You can now return Prisma Decimals from your Queries and Actions. (#2701)
  • Added build-time client env variable validation. (#2392)
  • Added prismaSetupFn hook to database config to allow users to run custom Prisma setup code. (#2693)

🐞 Bug fixes

  • Fixes an OAuth logic race condition where a valid session ID was cleared and users would be logged out. (#2684)
  • Calling useAuth() when the user is not logged in will not fail the request, only return null (#2689)
  • Fixes a bug where a Prisma file with no models defined would cause the app not to render in the browser. (#2902)
  • Fixes Wasp Studio not working in Firefox. (#2848)

🔧 Small improvements

  • Show a friendlier error when there are no routes defined in the Wasp file. (#2643)
  • Modernized our TypeScript support for bundlers. (#2656)
  • Added support for jump-to-definition for Wasp symbols. (#2656)
  • userSignupFields types are now correctly propagated to client auth methods. (#2641)
  • The generated server code is now type-checked before building. (#2778)
  • App name in package.json is now in kebab case (by @0xTaneja) (#2588)
  • Improved error handling when npm doesn't satisfy the minimum version requirement .(#2549)

Thanks to our community contributors @0xTaneja @Scorpil @Reikon95!

v0.17.0-rc7

15 Jul 12:25
0a6e743
Compare
Choose a tag to compare
v0.17.0-rc7 Pre-release
Pre-release
Pin Rollup version that Vite uses in web-app (#2958)

v0.17.0-rc6

14 Jul 12:29
91a7c6d
Compare
Choose a tag to compare
v0.17.0-rc6 Pre-release
Pre-release
Fix favicon issue with Wasp AI (#2952)

v0.17.0-rc5

10 Jul 14:56
aee45b5
Compare
Choose a tag to compare
v0.17.0-rc5 Pre-release
Pre-release
Always build Wasp project before deployment (#2938)

v0.17.0-rc4

09 Jul 15:06
v0.17.0-rc4
30a9d70
Compare
Choose a tag to compare
v0.17.0-rc4 Pre-release
Pre-release
v0.17.0-rc4

v0.17.0-rc3

08 Jul 10:06
v0.17.0-rc3
6aee0ad
Compare
Choose a tag to compare
v0.17.0-rc3 Pre-release
Pre-release
v0.17.0-rc3

v0.17.0-rc2

08 Jul 07:19
f93b870
Compare
Choose a tag to compare
v0.17.0-rc2 Pre-release
Pre-release
Fixes build artefacts naming for MacOS builds (#2921)

v0.17.0-rc1

07 Jul 14:19
Compare
Choose a tag to compare
v0.17.0-rc1 Pre-release
Pre-release
Update Changelog to include Wasp Studio bugfix

v0.16.7

01 Jul 16:39
e929f2d
Compare
Choose a tag to compare

0.16.7

🐞 Bug fixes

  • Make Wasp work with Node older than 20.19.0 by pinning down the version of @vitejs/plugin-react to 4.5.1. This prevents Vite 7 from being installed and clashing with Node (#2865)