Skip to content

Commit

Permalink
Prepare 0.14.1 Wasp version (#2252)
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho authored Aug 27, 2024
1 parent dd83783 commit ccc652e
Show file tree
Hide file tree
Showing 11 changed files with 480 additions and 104 deletions.
22 changes: 22 additions & 0 deletions waspc/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 0.14.1 (2024-08-26)

### 🎉 New Features

- Wasp now supports `onBeforeLogin` and `onAfterLogin` auth hooks! You can use these hooks to run custom logic before and after a user logs in. For example, you can use the `onBeforeLogin` 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 the `uniqueRequestId` value to `oauth.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!

## 0.14.0 (2024-07-17)

### 🎉 New Features
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion waspc/waspc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cabal-version: 2.4
-- Consider using hpack, or maybe even hpack-dhall.

name: waspc
version: 0.14.0
version: 0.14.1
description: Please see the README on GitHub at <https://github.com/wasp-lang/wasp/waspc#readme>
homepage: https://github.com/wasp-lang/wasp/waspc#readme
bug-reports: https://github.com/wasp-lang/wasp/issues
Expand Down
2 changes: 1 addition & 1 deletion web/docs/data-model/entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Entity types are available everywhere, including the client code:
```ts
import { Task } from "wasp/entities"

export function ExamplePage() {}
export function ExamplePage() {
const task: Task = {
id: 123,
description: "Some random task",
Expand Down
Loading

0 comments on commit ccc652e

Please sign in to comment.