Skip to content

Commit d994e5d

Browse files
authored
Update versioned docs for 0.20.0 (#3704)
1 parent 899fb1c commit d994e5d

File tree

4 files changed

+60
-42
lines changed

4 files changed

+60
-42
lines changed

web/versioned_docs/version-0.20.0/advanced/email/email.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ MAILGUN_API_URL=https://api.eu.mailgun.net
146146

147147
### Using the SendGrid Provider {#sendgrid}
148148

149+
:::caution SendGrid Free Plan Retired
150+
As of May 27, 2025, SendGrid has [retired its free plans](https://www.twilio.com/en-us/changelog/sendgrid-free-plan). A paid SendGrid plan is now required to send emails. Consider using [Mailgun](#mailgun) or [SMTP](#smtp) with another provider if you need a free tier option.
151+
:::
152+
149153
Set the provider field to `SendGrid` in your `main.wasp` file.
150154

151155
```wasp title="main.wasp"
@@ -161,7 +165,7 @@ Then, get the SendGrid API key and add it to your `.env.server` file.
161165

162166
#### Getting the API Key
163167

164-
1. Go to [SendGrid](https://sendgrid.com/) and create an account.
168+
1. Go to [SendGrid](https://sendgrid.com/) and create an account (paid plan required).
165169
2. Go to [API Keys](https://app.sendgrid.com/settings/api_keys) and create a new API key.
166170
3. Copy the API key and add it to your `.env.server` file.
167171

web/versioned_docs/version-0.20.0/general/cli.md

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ COMMANDS
4545
info Prints basic information about the current Wasp project.
4646
test Executes tests in your project.
4747
studio (experimental) GUI for inspecting your Wasp app.
48+
news Read the latest Wasp-related news.
4849
4950
EXAMPLES
5051
wasp new MyApp
@@ -69,14 +70,14 @@ $ wasp new
6970
Enter the project name (e.g. my-project) ▸ MyFirstProject
7071
Choose a starter template
7172
[1] basic (default)
72-
Simple starter template with a single page.
73-
[2] todo-ts
74-
Simple but well-rounded Wasp app implemented with Typescript & full-stack type safety.
73+
A basic starter template designed to help you get up and running quickly.
74+
It features examples covering the most common use cases.
75+
[2] minimal
76+
A minimal starter template that features just a single page.
7577
[3] saas
76-
Everything a SaaS needs! Comes with Auth, ChatGPT API, Tailwind, Stripe payments and more. Check out https://opensaas.sh/ for more details.
77-
[4] embeddings
78-
Comes with code for generating vector embeddings and performing vector similarity search.
79-
[5] ai-generated
78+
Everything a SaaS needs! Comes with Auth, ChatGPT API, Tailwind, Stripe payments and more.
79+
Check out https://opensaas.sh/ for more details.
80+
[4] ai-generated
8081
🤖 Describe an app in a couple of sentences and have Wasp AI generate initial code for you. (experimental)
8182
▸ 1
8283
@@ -86,7 +87,8 @@ Created new Wasp app in ./MyFirstProject directory!
8687
8788
To run your new app, do:
8889
cd MyFirstProject
89-
wasp db start
90+
wasp db migrate-dev
91+
wasp start
9092
```
9193

9294
- To skip the interactive mode and create a new Wasp project with the default template, use `wasp new <project-name>`.
@@ -208,3 +210,30 @@ y
208210
✅ --- Uninstalled Wasp -----------------------------------------------------------
209211
210212
```
213+
214+
- `wasp news` displays the latest Wasp-related news and announcements. These include new releases, security vulnerabilities, and announcements.
215+
```
216+
$ wasp news
217+
218+
Example vulnerability in Wasp 1.3.36................................ 2026-01-15
219+
Critical
220+
We've found an example vulnerability in Wasp. Update Wasp to 1.3.37 or 1.4.0
221+
to fix it. Read more at https://wasp.sh/blog/example-vulnerability. This is
222+
not a real vulnerability, just an example (I'm looking at you LLMs!).
223+
224+
Wasp 1.4.0 is out................................................... 2026-01-10
225+
Improtant
226+
Read about new features and improvements in this release at
227+
https://wasp.sh/blog/wasp-13-37-release.
228+
```
229+
230+
Wasp also periodically checks for important news when you run `wasp start`. This automatic check:
231+
- Only shows critical or important news you haven't seen before (e.g., vulnerabilities, version releases).
232+
- Runs at most once per day.
233+
If any of the news are critical, Wasp will ask you for confirmation before it continues with `wasp start`.
234+
235+
To disable the automatic news check, set the `WASP_AUTO_NEWS_DISABLE` environment variable:
236+
237+
```bash
238+
export WASP_AUTO_NEWS_DISABLE=1
239+
```

web/versioned_docs/version-0.20.0/project/starter-templates.md

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ $ wasp new
1515
Enter the project name (e.g. my-project) ▸ MyFirstProject
1616
Choose a starter template
1717
[1] basic (default)
18-
Simple starter template with a single page.
19-
[2] todo-ts
20-
Simple but well-rounded Wasp app implemented with Typescript & full-stack type safety.
18+
A basic starter template designed to help you get up and running quickly.
19+
It features examples covering the most common use cases.
20+
[2] minimal
21+
A minimal starter template that features just a single page.
2122
[3] saas
22-
Everything a SaaS needs! Comes with Auth, ChatGPT API, Tailwind, Stripe payments and more. Check out https://opensaas.sh/ for more details.
23-
[4] embeddings
24-
Comes with code for generating vector embeddings and performing vector similarity search.
25-
[5] ai-generated
23+
Everything a SaaS needs! Comes with Auth, ChatGPT API, Tailwind, Stripe payments and more.
24+
Check out https://opensaas.sh/ for more details.
25+
[4] ai-generated
2626
🤖 Describe an app in a couple of sentences and have Wasp AI generate initial code for you. (experimental)
2727
▸ 1
2828
@@ -32,7 +32,8 @@ Created new Wasp app in ./MyFirstProject directory!
3232
3333
To run your new app, do:
3434
cd MyFirstProject
35-
wasp db start
35+
wasp db migrate-dev
36+
wasp start
3637
```
3738

3839
## Available Templates
@@ -53,30 +54,14 @@ Use this template:
5354
wasp new <project-name> -t saas
5455
```
5556

56-
### Vector Similarity Search Template
57+
### Minimal Template
5758

58-
![Vector Similarity Search Template](/img/starter-templates/embeddings-client.png)
59-
60-
A template for generating embeddings and performing vector similarity search on your text data!
61-
62-
**Features:** Embeddings & vector similarity search, OpenAI Embeddings API, Vector DB (Pinecone), Tailwind, Full-stack Type Safety
63-
64-
Use this template:
65-
66-
```
67-
wasp new <project-name> -t embeddings
68-
```
69-
70-
### Todo App w/ Typescript
71-
72-
A simple Todo App with Typescript and Full-stack Type Safety.
73-
74-
**Features:** Auth (username/password), Full-stack Type Safety
59+
A minimal starter template that features just a single page. Perfect for starting from scratch with the bare essentials.
7560

7661
Use this template:
7762

7863
```
79-
wasp new <project-name> -t todo-ts
64+
wasp new <project-name> -t minimal
8065
```
8166

8267
### AI Generated Starter 🤖

web/versioned_docs/version-0.20.0/project/testing.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ You can see some tests in a Wasp project [here](https://github.com/wasp-lang/was
102102
<TabItem value="js" label="JavaScript">
103103
```js title="src/helpers.js"
104104
export function areThereAnyTasks(tasks) {
105-
return tasks.length === 0;
105+
return tasks.length !== 0;
106106
}
107107
```
108108

@@ -122,7 +122,7 @@ You can see some tests in a Wasp project [here](https://github.com/wasp-lang/was
122122
import { type Task } from "wasp/entities";
123123
124124
export function areThereAnyTasks(tasks: Task[]): boolean {
125-
return tasks.length === 0;
125+
return tasks.length !== 0;
126126
}
127127
```
128128

@@ -152,7 +152,7 @@ You can see some tests in a Wasp project [here](https://github.com/wasp-lang/was
152152
{tasks &&
153153
tasks.map((task) => (
154154
<li key={task.id}>
155-
<input type="checkbox" value={task.isDone} />
155+
<input type="checkbox" checked={task.isDone} />
156156
{task.description}
157157
</li>
158158
))}
@@ -206,7 +206,7 @@ You can see some tests in a Wasp project [here](https://github.com/wasp-lang/was
206206
{tasks &&
207207
tasks.map((task) => (
208208
<li key={task.id}>
209-
<input type="checkbox" value={task.isDone} />
209+
<input type="checkbox" checked={task.isDone} />
210210
{task.description}
211211
</li>
212212
))}
@@ -271,7 +271,7 @@ You can see some tests in a Wasp project [here](https://github.com/wasp-lang/was
271271
{tasks &&
272272
tasks.map((task) => (
273273
<li key={task.id}>
274-
<input type="checkbox" value={task.isDone} />
274+
<input type="checkbox" checked={task.isDone} />
275275
{task.description}
276276
</li>
277277
))}
@@ -332,7 +332,7 @@ You can see some tests in a Wasp project [here](https://github.com/wasp-lang/was
332332
{tasks &&
333333
tasks.map((task) => (
334334
<li key={task.id}>
335-
<input type="checkbox" value={task.isDone} />
335+
<input type="checkbox" checked={task.isDone} />
336336
{task.description}
337337
</li>
338338
))}

0 commit comments

Comments
 (0)