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: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ This is the main repo of the Wasp universe, containing core code (mostly `waspc`
103
103
104
104
# Project status
105
105
106
-
Currently, Wasp is in beta, with most features flushed out and working well.
106
+
Currently, Wasp is in beta, with most features fleshed out and working well.
107
107
However, there are still a lot of improvements and additions that we have in mind for the future, and we are working on them constantly, so you can expect a lot of changes and improvements in the future.
108
108
109
109
While the idea is to support multiple web tech stacks in the future, right now, we are focusing on the specific stack: React + react-query, NodeJS + ExpressJS, and Prisma.
Copy file name to clipboardExpand all lines: waspc/ChangeLog.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ You can now write this:
58
58
59
59
```typescript
60
60
61
-
improt { App } from'wasp-config'
61
+
import { App } from'wasp-config'
62
62
63
63
const app =newApp('TodoApp', {
64
64
wasp: {
@@ -1621,7 +1621,7 @@ Make sure to update your Wasp VSCode extension to get the benefits of Wasp Langu
1621
1621
### [NEW FEATURE] Optimistic updates via useAction hook
1622
1622
1623
1623
We added `useAction` hook to our JS API, which allows you to specify optimistic update details for an Action.
1624
-
This means that, if you have a good idea of how an Action will affect the state on the client, you can perform those changes immediatelly upon its call (instead of waiting for Action to finish), by modifying what specific Queries currently return.
1624
+
This means that, if you have a good idea of how an Action will affect the state on the client, you can perform those changes immediately upon its call (instead of waiting for Action to finish), by modifying what specific Queries currently return.
1625
1625
Once Action is actually done, related Queries will be unvalidated as usual and therefore fetch the real result, but in the meantime the changes you specified via optimistic updates will be visible.
1626
1626
1627
1627
This is great for apps where there is a lot of interactivity and you want the UI to update instantly with your changes, even as they are still being saved to the server.
@@ -1648,7 +1648,7 @@ Check out https://wasp-lang.dev/docs/language/features#the-useaction-hook for mo
1648
1648
1649
1649
### Upgraded Prisma to latest version (13.15.2)
1650
1650
1651
-
Among various other things, this brins support for OpenSSL3. So if you couldn't run Wasp on your operating system due to Prisma not supporting OpenSSL3, those days are over!
1651
+
Among various other things, this brings support for OpenSSL3. So if you couldn't run Wasp on your operating system due to Prisma not supporting OpenSSL3, those days are over!
1652
1652
1653
1653
---
1654
1654
@@ -1682,8 +1682,8 @@ To run Jobs, you don't need any additional infrastructure at the moment, just a
1682
1682
### BREAKING CHANGES
1683
1683
1684
1684
- Wasp now requires latest LTS version of NodeJS
1685
-
- We had a bit of issues with being too relaxed on the version of NodeJS that can be used with Wasp so we thightened it up a bit.
1686
-
We also added a more thorough check in Wasp for it, that will warn you very explicitelyif you are using the wrong version of Node.
1685
+
- We had a bit of issues with being too relaxed on the version of NodeJS that can be used with Wasp so we tightened it up a bit.
1686
+
We also added a more thorough check in Wasp for it, that will warn you very explicitlyif you are using the wrong version of Node.
1687
1687
- Updated react-query to v3
1688
1688
- This brings some new features from react query while also laying the foundation forthe further features we are building on top of itin Wasp (coming soon!).
1689
1689
- Updated python to python3 in Dockerfile generated upon `wasp build`.
Copy file name to clipboardExpand all lines: waspc/README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ If you would like to make your first contribution, here is a handy checklist we
11
11
-[ ] Read [Quick overview](#quick-overview).
12
12
-[ ] Compile the project successfully and get todoApp example running (follow [Basics](#basics)).
13
13
-[ ] Join [Discord](https://discord.gg/rzdnErX) and say hi :)!
14
-
-[ ] Pick an issue [labeled with "good first issue"](https://github.com/wasp-lang/wasp/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) and let us know you would like to work on it - ideally immediatelly propose a plan of action and ask questions.
15
-
If you can't find a suitable issue for you, reach out to us on Discord and we can try to find smth for you together.
14
+
-[ ] Pick an issue [labeled with "good first issue"](https://github.com/wasp-lang/wasp/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) and let us know you would like to work on it - ideally immediately propose a plan of action and ask questions.
15
+
If you can't find a suitable issue for you, reach out to us on Discord and we can try to find something for you together.
16
16
-[ ] Make a PR targeting `main` and have it accepted! Check [Typical workflow](#typical-development-workflow) and [Branching and merging strategy](#branching-and-merging-strategy) for guidance, and consult [Codebase overview](#codebase-overview) for more details on how Wasp compiler works internally.
17
17
18
18
## Quick overview
@@ -21,7 +21,7 @@ Wasp compiler is implemented in Haskell, but you will also see a lot of Javascri
21
21
22
22
You don't have to be expert in Haskell to contribute or understand the code, since we don't use complicated Haskell features much -> most of the code is relatively simple and straight-forward, and we are happy to help with the part that is not.
23
23
24
-
Main result of building the project is `wasp` executable (also reffered to as CLI), which is both Wasp compiler, CLI and Wasp project runner in one - one tool for everything Wasp-related.
24
+
Main result of building the project is `wasp` executable (also referred to as CLI), which is both Wasp compiler, CLI and Wasp project runner in one - one tool for everything Wasp-related.
25
25
26
26
`wasp` executable takes `.wasp` files and `ext/` dir as input and generates a web app from them.
27
27
@@ -125,7 +125,7 @@ NOTE: Reload page if blank.
125
125
Rinse and repeat.
126
126
4. Run `cabal test` to confirm that the project's unit and integration tests are passing (both new and old).
127
127
5. For easily testing the changes you did on a Wasp app, you have `examples/todoApp`, which we always keep updated. Also, if you added a new feature, add it to this app. Check its README for more details (including how to run it).
128
-
6. There is also `headless-test/examples/todoApp`, that comes equiped with Playwright tests. This one is not so much for experimenting as `examples/todoApp` is, but more for running Playwright tests in the CI. Make sure this one is also passing, and add a new feature to it (+ tests) if needed. We will be merging this one with `examples/todoApp` in the future so it is a single app.
128
+
6. There is also `headless-test/examples/todoApp`, that comes equipped with Playwright tests. This one is not so much for experimenting as `examples/todoApp` is, but more for running Playwright tests in the CI. Make sure this one is also passing, and add a new feature to it (+ tests) if needed. We will be merging this one with `examples/todoApp` in the future so it is a single app.
129
129
7. If you did a bug fix, added new feature or did a breaking change, add short info about it to Changelog.md. Also, bump version in waspc.cabal and ChangeLog.md if needed -> check the version of latest release when doing it. If you are not sure how to decide which version to go with, check later in this file instructions on it.
130
130
8. Squash all the commits into a single commit (or a few in case it makes more sense) and create a PR.
131
131
Keep an eye on CI tests -> they should all be passing, if not, look into it.
@@ -142,7 +142,7 @@ In order to better support a wider range of developer operating systems, we have
142
142
If the feature you are implementing is complex, be it due to its design or technical implementation, we recommend creating a [design doc](https://www.industrialempathy.com/posts/design-docs-at-google/) (aka RFC).
143
143
It is a great way to share the idea you have with others while also getting help and feedback.
144
144
145
-
To create one, make a PR that adds a markdown document under `wasp/docs/design-docs`, and in that markdown document explain the thinking behind and choice made when deciding how to implement a feature.
145
+
To create one, make a PR that adds a markdown document under `wasp/docs/design-docs`, and in that markdown document explain the thinking behind and choices made when deciding how to implement a feature.
146
146
147
147
Others will comment on your design doc, and once it has gone through needed iterations and is approved, you can start with the implementation of the feature (in a separate PR).
Copy file name to clipboardExpand all lines: web/blog/2023-02-02-no-best-framework.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ The fact that so many libraries and frameworks exist in 2023, and that **the bes
27
27
28
28
<!--truncate-->
29
29
30
-
For example, according the the [StateOfJS](https://2022.stateofjs.com/en-US/libraries/front-end-frameworks/) survey, there were 5 Front-end Frameworks with good retention in 2018, now there are 11 in 2022. That’s a 120% increase in a matter of 4 years, and that’s not even taking into account the hot meta-frameworks like NextJS, SvelteKit, or Astro!
30
+
For example, according the [StateOfJS](https://2022.stateofjs.com/en-US/libraries/front-end-frameworks/) survey, there were 5 Front-end Frameworks with good retention in 2018, now there are 11 in 2022. That’s a 120% increase in a matter of 4 years, and that’s not even taking into account the hot meta-frameworks like NextJS, SvelteKit, or Astro!
As you can see, this function expects the `id` of the already existing meme, along with the new `text` boxes. That’s because we’re letting the user manually input/edit the text that GPT generated, rather than making another request the the OpenAI API.
1096
+
As you can see, this function expects the `id` of the already existing meme, along with the new `text` boxes. That’s because we’re letting the user manually input/edit the text that GPT generated, rather than making another request the OpenAI API.
1097
1097
1098
1098
Next, we look for that specific meme in our database, and if we don’t find it we throw an error (`findUniqueOrThrow`).
Copy file name to clipboardExpand all lines: web/blog/2024-09-30-wasp-launch-week-7.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ Let's take a look together at the nice things that v0.15 brings us:
57
57
58
58
As mentioned above, we got to keep up with the trends! Here's what's new:
59
59
-**Upgraded Prisma to v5** - no major interface changes, but brings a lot of performance improvements which also make Wasp faster by default 🏎️
60
-
-**React Router is now at v6** - v6 has been around for a while (you can see the the main changes from v5 [here](https://blog.saeloun.com/2021/12/02/new-features-in-react-router-6/)) and it made the code even more compact and elegant.
60
+
-**React Router is now at v6** - v6 has been around for a while (you can see the main changes from v5 [here](https://blog.saeloun.com/2021/12/02/new-features-in-react-router-6/)) and it made the code even more compact and elegant.
61
61
-**We cleaned up and bumped a lot of other dependencies** - including Express.js on which we base Wasp’s API layer and our type-safe RPC.
62
62
63
63
## #2: TS SDK early preview 🤩 - give it a spin and let us know what you think!
0 commit comments