Merge branch 'release'

This commit is contained in:
Mihovil Ilakovac 2024-08-27 11:56:57 +02:00
commit 8bf411fac1
26 changed files with 100 additions and 100 deletions

View File

@ -55,7 +55,7 @@ To use auth hooks, you must first declare them in the Wasp file:
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
auth: {
userEntity: User,
@ -77,7 +77,7 @@ app myApp {
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
auth: {
userEntity: User,
@ -587,7 +587,7 @@ If you want to refresh the token periodically, use a [Wasp Job](../advanced/jobs
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
auth: {
userEntity: User,
@ -609,7 +609,7 @@ app myApp {
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
auth: {
userEntity: User,

View File

@ -49,7 +49,7 @@ Let's start with adding the following to our `main.wasp` file:
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -83,7 +83,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -43,7 +43,7 @@ Let's start by properly configuring the Auth object:
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -68,7 +68,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -276,7 +276,7 @@ Add `gitHub: {}` to the `auth.methods` dictionary to use it with default setting
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -296,7 +296,7 @@ app myApp {
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -374,7 +374,7 @@ For an up to date info about the data received from GitHub, please refer to the
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -421,7 +421,7 @@ export function getConfig() {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -489,7 +489,7 @@ When you receive the `user` object [on the client or the server](../overview.md#
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -513,7 +513,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -43,7 +43,7 @@ Let's start by properly configuring the Auth object:
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -66,7 +66,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -317,7 +317,7 @@ Add `google: {}` to the `auth.methods` dictionary to use it with default setting
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -337,7 +337,7 @@ app myApp {
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -400,7 +400,7 @@ For an up to date info about the data received from Google, please refer to the
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -447,7 +447,7 @@ export function getConfig() {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -515,7 +515,7 @@ When you receive the `user` object [on the client or the server](../overview.md#
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -539,7 +539,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -42,7 +42,7 @@ Let's start by properly configuring the Auth object:
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -65,7 +65,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -283,7 +283,7 @@ Add `keycloak: {}` to the `auth.methods` dictionary to use it with default setti
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -303,7 +303,7 @@ app myApp {
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -359,7 +359,7 @@ For up-to-date info about the data received from Keycloak, please refer to the [
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -406,7 +406,7 @@ export function getConfig() {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -474,7 +474,7 @@ When you receive the `user` object [on the client or the server](../overview.md#
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -498,7 +498,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -36,7 +36,7 @@ Here's what the full setup looks like:
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -63,7 +63,7 @@ model User {
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -148,7 +148,7 @@ Declare an import under `app.auth.methods.google.userSignupFields` (the example
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -180,7 +180,7 @@ export const userSignupFields = {
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -44,7 +44,7 @@ Let's start with adding the following to our `main.wasp` file:
```wasp title="main.wasp" {11}
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -64,7 +64,7 @@ app myApp {
```wasp title="main.wasp" {11}
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -623,7 +623,7 @@ When you receive the `user` object [on the client or the server](./overview.md#a
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -647,7 +647,7 @@ model User {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -678,7 +678,7 @@ model User {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -699,7 +699,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -73,7 +73,7 @@ We can start by running `wasp new tasksCrudApp` and then adding the following to
```wasp title="main.wasp"
app tasksCrudApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "Tasks Crud App",

View File

@ -55,7 +55,7 @@ Let's give our app a title and let's immediately turn on the full-stack authenti
```wasp title="main.wasp"
app RecipeApp {
title: "My Recipes",
wasp: { version: "^0.13.0" },
wasp: { version: "^0.14.0" },
auth: {
methods: { usernameAndPassword: {} },
onAuthFailedRedirectTo: "/login",

View File

@ -50,7 +50,7 @@ psl=}
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "MyApp",
}

View File

@ -9,7 +9,7 @@ Each Wasp project can have only one `app` type declaration. It is used to config
```wasp
app todoApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "ToDo App",
head: [
@ -27,7 +27,7 @@ You may want to change the title of your app, which appears in the browser tab,
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "BookFace"
}
@ -42,7 +42,7 @@ An example of adding extra style sheets and scripts:
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
head: [ // optional
@ -58,7 +58,7 @@ app myApp {
```wasp
app todoApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "ToDo App",
head: [

View File

@ -194,7 +194,7 @@ Your Wasp file should now look like this:
```wasp title="main.wasp"
app TodoApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "TodoApp"
}
@ -211,7 +211,7 @@ page MainPage {
```wasp title="main.wasp"
app TodoApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "TodoApp"
}

View File

@ -38,7 +38,7 @@ Next, tell Wasp to use full-stack [authentication](../auth/overview):
```wasp title="main.wasp"
app TodoApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
// highlight-start
title: "TodoApp",

View File

@ -40,7 +40,7 @@ To use auth hooks, you must first declare them in the Wasp file:
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
auth: {
userEntity: User,
@ -59,7 +59,7 @@ app myApp {
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
auth: {
userEntity: User,
@ -349,7 +349,7 @@ Read more about the data the `onBeforeOAuthRedirect` hook receives in the [API R
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
auth: {
userEntity: User,
@ -368,7 +368,7 @@ app myApp {
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
auth: {
userEntity: User,

View File

@ -49,7 +49,7 @@ Let's start with adding the following to our `main.wasp` file:
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -83,7 +83,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -43,7 +43,7 @@ Let's start by properly configuring the Auth object:
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -68,7 +68,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -276,7 +276,7 @@ Add `gitHub: {}` to the `auth.methods` dictionary to use it with default setting
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -296,7 +296,7 @@ app myApp {
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -374,7 +374,7 @@ For an up to date info about the data received from GitHub, please refer to the
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -421,7 +421,7 @@ export function getConfig() {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -489,7 +489,7 @@ When you receive the `user` object [on the client or the server](../overview.md#
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -513,7 +513,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -43,7 +43,7 @@ Let's start by properly configuring the Auth object:
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -66,7 +66,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -317,7 +317,7 @@ Add `google: {}` to the `auth.methods` dictionary to use it with default setting
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -337,7 +337,7 @@ app myApp {
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -400,7 +400,7 @@ For an up to date info about the data received from Google, please refer to the
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -447,7 +447,7 @@ export function getConfig() {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -515,7 +515,7 @@ When you receive the `user` object [on the client or the server](../overview.md#
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -539,7 +539,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -42,7 +42,7 @@ Let's start by properly configuring the Auth object:
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -65,7 +65,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -283,7 +283,7 @@ Add `keycloak: {}` to the `auth.methods` dictionary to use it with default setti
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -303,7 +303,7 @@ app myApp {
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -359,7 +359,7 @@ For up-to-date info about the data received from Keycloak, please refer to the [
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -406,7 +406,7 @@ export function getConfig() {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -474,7 +474,7 @@ When you receive the `user` object [on the client or the server](../overview.md#
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -498,7 +498,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -36,7 +36,7 @@ Here's what the full setup looks like:
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -63,7 +63,7 @@ model User {
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -148,7 +148,7 @@ Declare an import under `app.auth.methods.google.userSignupFields` (the example
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -180,7 +180,7 @@ export const userSignupFields = {
```wasp title=main.wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -44,7 +44,7 @@ Let's start with adding the following to our `main.wasp` file:
```wasp title="main.wasp" {11}
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -64,7 +64,7 @@ app myApp {
```wasp title="main.wasp" {11}
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -623,7 +623,7 @@ When you receive the `user` object [on the client or the server](./overview.md#a
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -647,7 +647,7 @@ model User {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -678,7 +678,7 @@ model User {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {
@ -699,7 +699,7 @@ app myApp {
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
auth: {

View File

@ -73,7 +73,7 @@ We can start by running `wasp new tasksCrudApp` and then adding the following to
```wasp title="main.wasp"
app tasksCrudApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "Tasks Crud App",

View File

@ -55,7 +55,7 @@ Let's give our app a title and let's immediately turn on the full-stack authenti
```wasp title="main.wasp"
app RecipeApp {
title: "My Recipes",
wasp: { version: "^0.13.0" },
wasp: { version: "^0.14.0" },
auth: {
methods: { usernameAndPassword: {} },
onAuthFailedRedirectTo: "/login",

View File

@ -50,7 +50,7 @@ psl=}
```wasp title="main.wasp"
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "MyApp",
}

View File

@ -9,7 +9,7 @@ Each Wasp project can have only one `app` type declaration. It is used to config
```wasp
app todoApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "ToDo App",
head: [
@ -27,7 +27,7 @@ You may want to change the title of your app, which appears in the browser tab,
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "BookFace"
}
@ -42,7 +42,7 @@ An example of adding extra style sheets and scripts:
```wasp
app myApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "My App",
head: [ // optional
@ -58,7 +58,7 @@ app myApp {
```wasp
app todoApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "ToDo App",
head: [

View File

@ -194,7 +194,7 @@ Your Wasp file should now look like this:
```wasp title="main.wasp"
app TodoApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "TodoApp"
}
@ -211,7 +211,7 @@ page MainPage {
```wasp title="main.wasp"
app TodoApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
title: "TodoApp"
}

View File

@ -38,7 +38,7 @@ Next, tell Wasp to use full-stack [authentication](../auth/overview):
```wasp title="main.wasp"
app TodoApp {
wasp: {
version: "^0.13.0"
version: "^0.14.0"
},
// highlight-start
title: "TodoApp",