You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: waspc/ChangeLog.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,30 @@
2
2
3
3
## 0.11.4
4
4
5
+
### 🎉 [New Feature] Support for PostgreSQL Extensions
6
+
7
+
Wasp now supports PostgreSQL extensions! You can enable them in your `main.wasp` file:
8
+
9
+
```wasp
10
+
app todoApp {
11
+
// ...
12
+
db: {
13
+
system: PostgreSQL,
14
+
prisma: {
15
+
clientPreviewFeatures: ["postgresqlExtensions"],
16
+
dbExtensions: [{
17
+
name: "pgvector",
18
+
// map: "vector", (optional)
19
+
// schema: "public", (optional)
20
+
// version: "0.1.0", (optiona)
21
+
}]
22
+
}
23
+
}
24
+
}
25
+
```
26
+
27
+
This will add the necessary Prisma configuration to your `schema.prisma` file. Keep in mind that your database needs to support the extension you want to use. For example, if you want to use the `pgvector` extension, you need to install it in your database first.
28
+
5
29
### 🎉 [New Feature] Added Typescript support for Jobs
6
30
7
31
Now you can type your async jobs better and receive all the benefits of Typescript. When you define a job, Wasp will generate a generic type which you can use to type your job function:
0 commit comments