v0.14.1
版本发布时间: 2024-08-27 21:01:44
wasp-lang/wasp最新发布版本:v0.15.2(2024-11-20 03:53:43)
🎉 New Features
- Wasp now supports
onBeforeLogin
andonAfterLogin
auth hooks! You can use these hooks to run custom logic before and after a user logs in. For example, you can use theonBeforeLogin
hook to check if the user is allowed to log in. - OAuth refresh tokens are here. If the OAuth provider supports refresh tokens, you'll be able to use them to refresh the access token when it expires. This is useful for using OAuth provider APIs in the background e.g. accessing user's calendar events.
⚠️ Breaking Changes
- To make the API consistent across different auth hooks, we change how the
onBeforeOAuthRedirect
hook receives theuniqueRequestId
value tooauth.uniqueRequestId
.
🐞 Bug fixes
- Prisma file parser now allows using empty arrays as default values.
🔧 Small improvements
- Replace
oslo/password
with directly using@node-rs/argon2
- We now use
websocket
transport for the WebSocket client to avoid issues when deploying the server behind a load balancer.
Community contributions by @rubyisrust @santolucito @sezercik @LLxD!
1、 wasp-linux-x86_64.tar.gz 77.28MB
2、 wasp-macos-x86_64.tar.gz 49.71MB