Commit Graph

896 Commits

Author SHA1 Message Date
Martin Sosic
90571c0298 Updated wasp version to 0.5.2.0. 2022-06-23 14:19:43 +02:00
Martin Šošić
4f22ea1c08
Updated Prisma to 3.15.2. Fixes #629. (#643) 2022-06-23 14:18:13 +02:00
Martin Sosic
2a1fae3ecd Updated CHANGELOG for v0.5.1.0. 2022-06-17 17:24:19 +02:00
Martin Sosic
a3acc62f74 Updated wasp version to 0.5.1.0. 2022-06-17 17:08:29 +02:00
Martin Šošić
62f0a76937
Limited Wasp version to ^16.0.0 && <=16.15.0 (#634)
* Limited Wasp node version to ^16.0.0 && <=16.15.0.

In the process, I removed .nvmrc files from generated code and
refactored SemanticVersion to follow npm spec.
I also updated CI to use node 16.15.0, and not any 16.
I also updated docs.
2022-06-17 17:02:54 +02:00
Filip Sodić
fdd8e47b25
Reduce duplication when creating frontend queries and actions (#633)
* Make waspc/todoApp return tasks in consistent order

(cherry picked from commit 57606c74e4)

* Reduce duplication in frontend actions and queries

* Fix formatting

* Update e2e tests to include queries/core
2022-06-17 14:35:01 +02:00
Filip Sodić
5e5b264448
Make waspc/todoApp return tasks in consistent order (#632)
(cherry picked from commit 57606c74e4)
2022-06-16 14:50:02 +02:00
Max Khamrovskyi
f83b9cd152
Merge pull request #627 from wasp-lang/change-alpha-testing-link
Change Alpha-testing link to Typeform
2022-06-09 12:54:04 +03:00
Filip Sodić
0b78f658be
Implement support for query client configuration (#612)
* Implement support for query client configuration

* Make sure query client is always initialized

* Fix formatting

* Fix formatting

* Add missing await in index.js

* Separate query client setup into two functions

* Introduce default query client config

* Fix missing export in docs

* Fix missing field warnings

* Add query client setup docs

* Update e2e tests for query client config
2022-06-09 10:37:19 +02:00
Filip Sodić
b19e95ea51
Filip intro blog post (#625)
* Add first draft of blog post

* Finish article

* finalized filip intro post - added intro + rm martijn post.

* Update web/blog/2022-05-31-filip-intro.md

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update web/blog/2022-05-31-filip-intro.md

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update web/blog/2022-05-31-filip-intro.md

Co-authored-by: Matija Sosic <matija.sosic@gmail.com>

* Make final edits to the intro blog post

Co-authored-by: Matija Sosic <matija.sosic@gmail.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-06-08 16:20:11 +02:00
Max Khamrovskyi
cb28db8a1b
Change Alpha-testing link to Typeform 2022-06-08 16:13:21 +03:00
Max Khamrovskyi
f5472d9d97
Merge pull request #624 from wasp-lang/fix-truncate
Add <!--truncate-->
2022-06-08 16:07:21 +03:00
Shayne Czyzewski
4d57213e18
Move react-error-overlay into dependencies (#626)
* Move react-error-overlay to dependencies

* fix e2e

Co-authored-by: shayneczyzewski <shayne.czyzewski@gmail.com>
2022-06-07 18:35:52 +02:00
mkhamrov
fc780d6b74 Add truncate 2022-06-07 15:56:11 +03:00
Max Khamrovskyi
1e73936704
Merge pull request #613 from wasp-lang/add_gitpod_post
Add Gitpod hackathon guide
2022-06-07 15:14:15 +03:00
mkhamrov
5f8bd3aabe Add intro image 2022-06-07 14:54:24 +03:00
mkhamrov
009f26eba1 Merge branch 'add_gitpod_post' of github.com:wasp-lang/wasp into add_gitpod_post 2022-06-07 14:18:18 +03:00
mkhamrov
d1f54d98e8 Fix image description and personal banner 2022-06-07 14:18:14 +03:00
Modotte
98afb79999
Fix level of headers in deployment docs (#622) 2022-06-07 11:59:21 +02:00
Max Khamrovskyi
faf972b11a
Add bit.ly link 2022-06-06 11:22:45 +03:00
mkhamrov
efb7946cd9 Update alpha-testing program link and add WaspIntro 2022-06-05 18:31:49 +03:00
Shayne Czyzewski
d5a0e322d4
Fix unresponsive UI on server reload (#621) 2022-06-03 16:38:21 -04:00
Shayne Czyzewski
14161916f4
Update Waspleau example app URLs (#619) 2022-06-02 14:27:08 -04:00
Shayne Czyzewski
a264d2ee29
Make warnings filterable to avoid redundant messages (#610) 2022-06-02 14:04:57 -04:00
mkhamrov
3920ecd269 Add Gitpod hackathon guide 2022-06-01 16:58:21 +03:00
Shayne Czyzewski
1721371fc7
Updates Waspleau with Jobs and some documentation updates (#600) 2022-05-25 12:55:54 -04:00
Modotte
f8c775923d
Modularize Lexer.x (#599)
* Modularize Lexer.x

Extract utility functions from Lexer.x into a separate file.

* Move more utilities out of Lexer.x

* Fix hlint and ormolu warnings
2022-05-24 17:57:05 +02:00
Filip Sodić
59c714111e
Support for the client setup function (#595)
* Add clientSetup support to analyzer and tidy up generator

* Add clientSetup support to generator

* Add tests for client setup function and tidy up

* Address PR comments for client setup function

* Clean up server and web app generators

* Document react query invalidation on logout

* Update e2e tests after query client cache clean

* Fix syntax error in exmaple app

* Remove leftover todos

* Fix formatting

* Fix formatting

* Fix tests for client setup function

* Update e2e test

* Fix todos in templates

* Add docs for client setup

* Fix docs typo

* Fix docs typo

* Fix docs typo

* Fix docs typo

* Update e2e test
2022-05-20 14:49:26 +02:00
Martin Sosic
a6f5a7d7b2 Updated wasp version to 0.5.0.0. 2022-05-18 12:55:22 +02:00
Martin Sosic
cda64a3d46 Added v0.5 to the CHANGELOG. 2022-05-18 12:54:42 +02:00
Shayne Czyzewski
4de7d16331
Adds cron support to pg-boss Jobs and documentation (#586) 2022-05-13 12:30:55 -04:00
Shayne Czyzewski
f14be11fc3
Add pg-boss as a Job executor (#582)
Note: This does not provide cron support, that is coming in the next PR.
2022-05-03 14:34:25 -04:00
Shayne Czyzewski
2345ce2b4f
[Examples] Fixes realworld auth error return and display (#571)
Adds two new sections to docs as well.
2022-04-21 10:22:21 -04:00
Shayne Czyzewski
a5f86524e0
Changes python to python3 in Dockerfile (#577) 2022-04-21 08:33:49 -04:00
Martin Šošić
4ee7cebc36
Context and user id can now be passed to our telemetry. (#564)
* Added 'context' field to our telemetry, specifically to recognize when Wasp is running on Gitpod.

* Telemetry user id can now be specified via ENV var.

* Improved user signature obtaining code a bit.

* Added fromMaybeM.
2022-04-15 18:46:47 +02:00
Filip Sodić
50d806daa6
Update React Query to v3 (#554)
* Apply minor syntax fixes to templates

* Fix Wasp react app warnings

* Fix small bug in waspc todo app

* Rearrange functions in RouterGenerator

* Migrate react-query to v3

* Collapse config in react query

* Update e2e tests after react-query migration

* Rename function in RouterGenerator

* Update job tests
2022-04-15 11:23:15 +02:00
Filip Sodić
210a43d781
Fix broken link in realworld README 2022-04-14 16:49:24 +02:00
Filip Sodić
2783c97bc0
[Examples] Fix realworld Wasp example app (#561)
* Fix errors in realworld Wasp app

* Fix errors in realworld Wasp app

* Fix identation

* Add database migration for cascading comments
2022-04-14 16:35:01 +02:00
Shayne Czyzewski
43043708b3
Adds output for new Job golden test. (#557) 2022-04-13 12:46:51 -04:00
Shayne Czyzewski
adcb15a41c
Adds a simple pass-through Jobs implementation. (#553) 2022-04-13 12:30:29 -04:00
Martin Sosic
801ba69e54 Increased resolution of module graph produced by run script. 2022-04-13 14:19:17 +02:00
Phil de Joux
45a1ffd5c5
Change NOTE to a warning. (#552) 2022-04-06 21:09:33 +02:00
Shayne Czyzewski
302fcc11d8
Adds support for basic Wasp job DSL parsing (#540) 2022-04-06 10:07:45 -04:00
Phil de Joux
f9008e81bf
Add a warning in the project file to run cabal update. (#526) 2022-04-06 15:10:11 +02:00
Shayne Czyzewski
f91dbdc6fa
Change termination method of spawned processes on *nix (#524) 2022-03-31 11:55:42 -04:00
Filip Sodić
b3d9014e37
Allow Wasp identifiers for project names (#520)
* Allow Wasp identifiers for project names

* Rename initialState to makeInitialState

* Fix formatting

* Use parser to parse Wasp identifiers

* Add newline at the end of Wasp.Analyzer.Parser

* Fix newline at the end of Wasp.Analyzer.Parser

* Clean up and rename parsing

* Fix newline at the end of Wasp.Analyzer.Parser

* Add tests for new parser functions

* Fix formatting

* Fix formatting

* Reformat where statement

* Address PR comments and remove redundant module

* Remove keywords from error message

* Fix formatting in CreateNewProject.hs

* Remove redundant note on duplication
2022-03-30 01:25:56 +02:00
Shayne Czyzewski
52ec8d7232
Improve performance of writing FileDrafts (#506)
Closes #503 

Co-authored-by: Martijn Faassen <martijn@wasp-lang.dev>
2022-03-29 08:53:28 -04:00
Shayne Czyzewski
31b01838ae
Add missing react-app data-files (#529)
Co-authored-by: shayneczyzewski <shayne.czyzewski@gmail.com>
2022-03-28 19:26:37 +02:00
Shayne Czyzewski
a4a2b03a81
Swap cabal freeze file for index-state (#519) 2022-03-24 08:50:14 -04:00
Filip Sodić
52badd651e
[Analyzer] Reverse the order of Wasp error messages (#500)
* Reverse the order for TypeError messages

* Remove redundant import and unused pragma

* Remove redundant import and unused pragma

* Reverse additional type error messages

* Remove redundant import

* Format util test file

* Address PR comments

* Add empty line to TypeError.hs

* Address PR comments

* Format TypeError.hs

* Reverse message order in evaluation errors

* Extract common error message functions

* Add tests for EvaluationErrors

* Improve naming in Wasp.ErrorMessage

* Fix formatting

* Fix formatting

* Format code

* Change naming and syntax in ErrorMessage

* hange names in EvaluationError tests

* Add full stops to documentation

* Fix formatting in tests
2022-03-23 13:18:43 +01:00