Skip to content

Commit

Permalink
Bumps Wasp to 0.15.0 (#2321)
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho authored Oct 4, 2024
1 parent 451251b commit 05dfcc8
Show file tree
Hide file tree
Showing 39 changed files with 274 additions and 224 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<a href="https://discord.gg/rzdnErX"><img alt="discord" src="https://img.shields.io/discord/686873244791210014?label=chat%20@%20discord"/></a>
</p>

------
---

<p align="center">
<a href="https://wasp-lang.dev">Web page</a> | <a href="https://wasp-lang.dev/docs">Docs</a>
Expand All @@ -23,22 +23,25 @@ Wasp (**W**eb **A**pplication **Sp**ecification) is a Rails-like framework for R
Build your app in a day and deploy it with a single CLI command!

### Why is Wasp awesome

- 🚀 **Quick start**: Due to its expressiveness, you can create and deploy a production-ready web app from scratch with very few lines of concise, consistent, declarative code.
- 😌 **No boilerplate**: By abstracting away complex full-stack features, there is less boilerplate code. That means less code to maintain and understand! It also means easier upgrades.
- 🔓 **No lock-in**: You can deploy the Wasp app anywhere you like. There is no lock-in into specific providers; you have full control over the code (and can actually check it out in .wasp/ dir if you are interested ).

### Features
🔒 Full-stack Auth, 🖇️ RPC (Client <-> Server), 🚀 Simple Deployment, ⚙ ️Jobs, ✉️ Email Sending, 🛟 Full-stack Type Safety, ...

🔒 Full-stack Auth, 🖇️ RPC (Client <-> Server), 🚀 Simple Deployment, ⚙ ️Jobs, ✉️ Email Sending, 🛟 Full-stack Type Safety, ...

### Code example

Simple Wasp config file in which you describe the high-level details of your web app:

```js
// file: main.wasp

app todoApp {
title: "ToDo App", // visible in the browser tab
wasp: { version: "^0.14.0" },
wasp: { version: "^0.15.0" },
auth: { // full-stack auth out-of-the-box
userEntity: User, methods: { email: {...} }
}
Expand Down Expand Up @@ -81,9 +84,11 @@ For more information about Wasp, check [**docs**](https://wasp-lang.dev/docs).
# Get started

Run

```
curl -sSL https://get.wasp-lang.dev/installer.sh | sh
```

to install Wasp on OSX/Linux/WSL(Win). From there, just follow the instructions to run your first app in less than a minute!

For more details, check out [the docs](https://wasp-lang.dev/docs).
Expand Down Expand Up @@ -114,9 +119,10 @@ The core of Wasp is built in Haskell, but there are also a lot of non-Haskell pa
Even if you don't plan to submit any code, just joining the discussion on discord [![Discord](https://img.shields.io/discord/686873244791210014?label=chat%20on%20discord)](https://discord.gg/rzdnErX) and giving your feedback is already great and helps a lot (motivates us and helps us figure out how to shape Wasp)!

You can also:
- :star: Star this repo to show your interest/support.
- :mailbox: Stay updated by subscribing to our [email list](https://wasp-lang.dev#signup).
- :speech_balloon: Join the discussion at https://github.com/wasp-lang/wasp/discussions .

- :star: Star this repo to show your interest/support.
- :mailbox: Stay updated by subscribing to our [email list](https://wasp-lang.dev#signup).
- :speech_balloon: Join the discussion at https://github.com/wasp-lang/wasp/discussions .

# Careers

Expand All @@ -143,5 +149,3 @@ Check our [careers](https://wasp-lang.notion.site/Wasp-Careers-59fd1682c80d446f9
<a href="https://github.com/MarianoMiguel"><img src="https://github.com/MarianoMiguel.png" width="50px" alt="MarianoMiguel" /></a>
<a href="https://github.com/Tech4Money"><img src="https://github.com/Tech4Money.png" width="50px" alt="Tech4Money" /></a>
<a href="https://github.com/haseeb-heaven"><img src="https://github.com/haseeb-heaven.png" width="50px" alt="haseeb-heaven" /></a>


2 changes: 1 addition & 1 deletion examples/hackathon-submissions/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app hackathonBetaSubmissions {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
title: "Hackathon Submissions"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/streaming/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app streaming {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
title: "streaming"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/thoughts/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app Thoughts {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
title: "Thoughts",
db: {
Expand Down
2 changes: 1 addition & 1 deletion examples/todo-typescript/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app TodoTypescript {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
title: "ToDo TypeScript",

Expand Down
2 changes: 1 addition & 1 deletion examples/tutorials/TodoApp/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app TodoApp {
wasp: {
version: "^0.14.0" // Pins the version of Wasp to use.
version: "^0.15.0" // Pins the version of Wasp to use.
},
title: "TodoApp", // Used as the browser tab title. Note that all strings in Wasp are double quoted!
auth: {
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorials/TodoAppTs/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app TodoApp {
wasp: {
version: "^0.14.0" // Pins the version of Wasp to use.
version: "^0.15.0" // Pins the version of Wasp to use.
},
title: "TodoApp", // Used as the browser tab title. Note that all strings in Wasp are double quoted!
auth: {
Expand Down
2 changes: 1 addition & 1 deletion examples/waspello/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app waspello {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},

title: "Waspello",
Expand Down
2 changes: 1 addition & 1 deletion examples/waspleau/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app waspleau {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},

title: "Waspleau",
Expand Down
2 changes: 1 addition & 1 deletion examples/websockets-realtime-voting/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app whereDoWeEat {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
title: "where-do-we-eat",
client: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ waspGhOrgName = "wasp-lang"
-- By tagging templates for each version of Wasp CLI, we ensure that each release of
-- Wasp CLI uses correct version of templates, that work with it.
waspVersionTemplateGitTag :: String
waspVersionTemplateGitTag = "wasp-v0.14-template"
waspVersionTemplateGitTag = "wasp-v0.15-template"

findTemplateByString :: [StarterTemplate] -> String -> Maybe StarterTemplate
findTemplateByString templates query = find ((== query) . show) templates
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/examples/crud-testing/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app crudTesting {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
head: [
"<link rel=\"stylesheet\" href=\"https://unpkg.com/[email protected]/mvp.css\">"
Expand Down
2 changes: 1 addition & 1 deletion waspc/examples/pg-vector-example/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app pgVectorExample {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
title: "PG Vector Example",
client: {
Expand Down
2 changes: 1 addition & 1 deletion waspc/examples/todo-typescript/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app TodoTypescript {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
title: "ToDo TypeScript",

Expand Down
2 changes: 1 addition & 1 deletion waspc/examples/todoApp/main.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app todoApp {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
title: "ToDo App",
// head: [],
Expand Down
2 changes: 1 addition & 1 deletion waspc/headless-test/examples/todoApp/todoApp.wasp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app todoApp {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
title: "ToDo App",
auth: {
Expand Down
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.2
version: 0.15.0
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
8 changes: 4 additions & 4 deletions web/docs/auth/auth-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ To use auth hooks, you must first declare them in the Wasp file:
```wasp
app myApp {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
auth: {
userEntity: User,
Expand All @@ -77,7 +77,7 @@ app myApp {
```wasp
app myApp {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
auth: {
userEntity: User,
Expand Down Expand Up @@ -583,7 +583,7 @@ If you want to refresh the token periodically, use a [Wasp Job](../advanced/jobs
```wasp
app myApp {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
auth: {
userEntity: User,
Expand All @@ -605,7 +605,7 @@ app myApp {
```wasp
app myApp {
wasp: {
version: "^0.14.0"
version: "^0.15.0"
},
auth: {
userEntity: User,
Expand Down
Loading

0 comments on commit 05dfcc8

Please sign in to comment.