Commit Graph

977 Commits

Author SHA1 Message Date
Mihovil Ilakovac
4c38ef8a45
Bump version in Cabal file (#1898) 2024-03-18 14:21:40 +01:00
Mihovil Ilakovac
0880556592 Adds Keycloak OAuth provider (#1876) 2024-03-18 13:09:08 +01:00
Mihovil Ilakovac
3d5ed1a5d3 Replaces Passport with Arctic for OAuth (#1851) 2024-03-18 13:06:59 +01:00
Mihovil Ilakovac
7329465974 Define the WASP_SERVER_URL env var (#1856) 2024-03-18 12:57:15 +01:00
Mihovil Ilakovac
4c3216f349 Replaces jsonwebtoken with oslo/jwt (#1852) 2024-03-18 12:52:24 +01:00
Filip Sodić
95e313cf0e
Add client config to SDK API (#1893) 2024-03-15 16:53:42 +01:00
Filip Sodić
00c98ee2d0
Update the release process guide (#1887) 2024-03-13 13:11:07 +01:00
Filip Sodić
8cfcd080a9 Bump version to 0.12.4
Change version, update e2e tests, update Changelog
2024-03-12 16:51:38 +01:00
Filip Sodić
5fc4dc57b0
Add auth/types import path to package.json (#1882) 2024-03-12 16:38:08 +01:00
Filip Sodić
e87f90468f
Remove client file hacks from server/tsconfig.json (#1862) 2024-03-11 16:58:32 +01:00
Mihovil Ilakovac
cb6d10143e
Upgrade headless tests cache key (#1866) 2024-03-08 16:55:50 +01:00
Mihovil Ilakovac
8d7c64a296
Run CI with additional Node.js versions on Ubuntu (#1836) 2024-03-05 19:18:31 +01:00
Martin Sosic
e4932ec51b Added dates to latest releases in ChangeLog. 2024-03-01 23:24:30 +01:00
Martin Sosic
f2721e7679 Updated Wasp version to 0.12.3 + Mage to use it. 2024-03-01 16:18:11 +01:00
Martin Šošić
b784571ddc
Updated Wasp AI to work with newest GPT 3.5 Turbo (0125). (#1826) 2024-03-01 15:42:41 +01:00
Martin Sosic
17479c76a9 Updated waspc.cabal, ChangeLog and e2e test to 0.12.2. 2024-02-29 19:00:11 +01:00
Mihovil Ilakovac
1669357dbe
Conditionally apply Web Crypto API polyfill (#1834)
* Conditionally apply Web Crypto API polyfill

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* Updates e2e tests

* Update waspc/data/Generator/templates/server/src/polyfill.ts

---------

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2024-02-29 18:48:09 +01:00
Martin Sosic
86938b232b Updated cabal, Changelog, and e2e tests to 0.12.1 . 2024-02-27 15:52:49 +01:00
Martin Sosic
088413fdbc Reverted Wasp AI to use GPT-3.5-Turbo-0613. 2024-02-27 15:39:22 +01:00
Filip Sodić
646d7e2c7b
Enforce casing in operations and entities (#1818)
* Enforce casing in operations and entities

* Fix small error and remove improts

* Fix formatting

* Add fullstop to error messages

* Add naming changes to changelog and migration guide

* Update waspc/ChangeLog.md

* Update web/docs/migrate-from-0-11-to-0-12.md

* fix

---------

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
2024-02-27 09:12:29 +01:00
Mihovil Ilakovac
57714b1271
Fixes the order of operations in wasp build (#1821)
* Fixes the order of operations in 'wasp build'

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* fix

---------

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
2024-02-27 08:34:00 +01:00
Martin Šošić
fda10de089
Updated ChangeLog.md to contain info about 0.12.0. (#1810)
* Updated ChangeLog.md to contain info about 0.12.0.

* fix
2024-02-26 16:05:19 +01:00
Filip Sodić
21839ff2df
Add latest changes to examples updated to 0.12.0 (#1816)
* Add latest changes to examples updated to 0.12.0

* Add latest 0.12.0 changes to waspc/examples

* Remove stray todo from examples

* Update e2e tests
2024-02-26 15:20:52 +01:00
Filip Sodić
1c0bfd20ca
Update the tutorial for 0.12.0 (#1799) 2024-02-26 14:33:28 +01:00
Filip Sodić
c50b0e1f62
Restore lost .gitignore contents (#1811) 2024-02-26 14:08:19 +01:00
Filip Sodić
69255d327f
Move phantom dir to .wasp (#1814) 2024-02-26 13:15:41 +01:00
Filip Sodić
2969ef8829
Revert "Uses extends in the user land tsconfig.json (#1793)" (#1803)
This reverts commit c11e83311e.
2024-02-22 17:10:37 +01:00
Martin Šošić
e1ebcd14a1
Update ui.ts: GithubSignInButton -> GitHubSignInButton 2024-02-22 16:39:29 +01:00
Mihovil Ilakovac
c11e83311e
Uses extends in the user land tsconfig.json (#1793) 2024-02-21 16:12:52 +01:00
Mihovil Ilakovac
4ae6696374
Making Stitches CSS more important than Tailwind (#1790) 2024-02-21 15:31:43 +01:00
Martin Sosic
c46615236d Updated instructions for running wasp-migrate script and removed old migrate script. 2024-02-20 18:54:34 +01:00
Martin Sosic
ed684e583f Updated e2e tests for addition of Oslo. 2024-02-20 18:10:22 +01:00
Mihovil Ilakovac
55ede5684b
Uses Oslo for password hashing (#1782)
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2024-02-20 17:46:54 +01:00
Filip Sodić
edb3cbd61f
Solve build context issues for 0.12.0 (#1785) 2024-02-20 15:42:46 +01:00
Mihovil Ilakovac
52a1910a74
Adds .DS_Store to .waspignore (#1784) 2024-02-19 16:13:06 +01:00
Martin Sosic
7eee16e9b1 Updated run script to also run headless tests. 2024-02-19 14:28:12 +01:00
Martin Sosic
8f71f45546 Removed redundant secure-password dep from server/package.json and also removed now redundant overrides field. 2024-02-19 13:57:41 +01:00
Mihovil Ilakovac
9800c1cc37
Enables e2e tests and build test (#1780) 2024-02-19 12:06:31 +01:00
Martin Sosic
39195fc8f3 Updated LSP code actions to use latest wasp import paths. 2024-02-19 10:47:01 +01:00
Mihovil Ilakovac
3e88f24965
Migrates internal Todo app to 0.12 (#1781) 2024-02-19 10:16:34 +01:00
Martin Šošić
7fabe07265
Implemented a JS script that does part of migration from 0.11 to 0.12. (#1770)
* Implemented a JS script that does part of migration from 0.11 to 0.12.

* Did some polishing and small improvements.

* Implemented migration of dependencies.

* polishing

* Moved the script.

* fix

* Added instructions for running the script to README.md.

* fix

* fix
2024-02-19 09:02:03 +01:00
Mihovil Ilakovac
292f06beb7
Fixes e2e tests (#1761)
* Fixes e2e tests

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* Adds new e2e tests

* Update build tests

---------

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: Filip Sodić <filip.sodic@fer.hr>
2024-02-16 18:48:13 +01:00
Filip Sodić
5cd5130534
Fix build for 0.12.0 (#1773) 2024-02-16 18:25:26 +01:00
Mihovil Ilakovac
87e576d66d
Fixes Tailwind setup in client tests (#1766) 2024-02-16 12:25:31 +01:00
Mihovil Ilakovac
3edb2fe921
Fixes GitHub auth check (#1774) 2024-02-15 20:22:59 +01:00
Filip Sodić
ad19fee424
Expose server-side operations from SDK (#1758) 2024-02-15 15:21:15 +01:00
Mihovil Ilakovac
e6f066660e
Enables headless and unit tests (#1763) 2024-02-14 17:58:26 +01:00
Martin Sosic
0b3ed2a11b Updated GPT models used in Wasp AI + improved Mage install instructions a bit. 2024-02-14 16:20:48 +01:00
Martin Sosic
dc414f7cd1 Updated waspc/README.md with instructions to update Mage on new release. 2024-02-14 14:38:40 +01:00
Mihovil Ilakovac
c471a8a9f5
Uses POSIX path separators for Vitest exclude path (#1767) 2024-02-14 13:26:10 +01:00
Mihovil Ilakovac
3cb706e124
Uses string for glob pattern (#1765) 2024-02-14 12:43:23 +01:00
Mihovil Ilakovac
0d0deb47f1
Fixes unit tests (#1762) 2024-02-14 11:13:25 +01:00
Mihovil Ilakovac
7ff1d06976
Migrates headless tests to new structure (#1760) 2024-02-13 18:56:24 +01:00
Mihovil Ilakovac
0e7a951742
Moves resolveProjectPath to wasp/dev (#1759) 2024-02-13 18:27:26 +01:00
Mihovil Ilakovac
abcb1cb7b0 Fixes missing SDK file copy 2024-02-13 14:18:24 +01:00
Mihovil Ilakovac
6ee5b9c4eb
Exports HttpMethod and Route types from wasp/client (#1755) 2024-02-12 16:05:31 +01:00
Martin Šošić
413f6aebcb
Removed patching of oauth npm package for server. (#1747) 2024-02-12 14:24:46 +01:00
Mihovil Ilakovac
576f15a52d
Various SDK related fixes (#1743) 2024-02-12 11:52:51 +01:00
Filip Sodić
a9b4011d6f Fix formatting for CI 2024-02-09 18:27:13 +01:00
Filip Sodić
315f398484 Move uuid dependency to the SDK 2024-02-09 17:43:34 +01:00
Filip Sodić
d9136bb489
Update examples and guide for 0.12.x (#1727) 2024-02-09 17:26:28 +01:00
Mihovil Ilakovac
c9959b4515
Implement a Tailwind content path wrapper (#1731) 2024-02-09 13:10:37 +01:00
Mihovil Ilakovac
b873df960d
Rewrite internal jobs API (#1722) 2024-02-09 12:52:27 +01:00
Martin Šošić
03d234fd7d
Updated Wasp AI to work with wasp 0.12. (#1726) 2024-02-09 11:38:16 +01:00
Mihovil Ilakovac
814b82bd58
Removes AuthError (#1737) 2024-02-09 11:17:18 +01:00
Mihovil Ilakovac
8b2a136912
Exposes extra auth types in SDK (#1736) 2024-02-08 17:48:00 +01:00
Mihovil Ilakovac
985825bcd8
Fixes bundler setup (#1728) 2024-02-08 12:37:20 +01:00
Mihovil Ilakovac
dbc2a7f5ea
Init PrismaClient only when there are entities (#1716) 2024-02-08 11:53:47 +01:00
Martin Sosic
bb17a1ba77 Fixed wrong instructions after 'wasp new'. 2024-02-07 16:41:04 +01:00
Mihovil Ilakovac
b23e4ce3eb
Bundling server with Rollup + esbuild (#1714) 2024-02-07 16:13:03 +01:00
Mihovil Ilakovac
d38de37861
Update the local templates to work with 0.12 (#1715) 2024-02-06 16:15:51 +01:00
Filip Sodić
206b0453e5
Fix experience after restructuring (#1713) 2024-02-02 19:37:10 +01:00
Filip Sodić
26141f989e Update imports and API for server/operations (#1711) 2024-01-31 17:46:23 +01:00
Filip Sodić
dd16fb993c Update imports for wasp/client/operations 2024-01-31 17:46:23 +01:00
Martin Sosic
82008d7078 [New SDK]: 'wasp/server/webSocket'. 2024-01-31 17:46:23 +01:00
Martin Sosic
bac7551660 [New SDK]: 'wasp/client/webSocket'. 2024-01-31 17:46:23 +01:00
Filip Sodić
1a09d71672 Remove generated files from git 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
487a01fd74 Implement wasp/client/test API (#1704) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
cad358d6ef Implement the wasp/client/router API (#1703) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
58d22d9952 Implement new wasp/server/jobs API (#1702) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
1bd87eab3c Implement new wasp/server/email API (#1701) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
8efabdf395 Implement wasp/client/crud API (#1700) 2024-01-31 17:46:23 +01:00
Martin Šošić
129d06480c [New SDK]: { HttpError, AuthError, DbSeedFn, MiddlewareConfigFn } from 'wasp/server'. (#1699) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
72f8437108 Fixes CRUD server import 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
cf961f52e2 Implement the new wasp/server/crud API (#1695) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
e2ac659526 Adds wasp/server/auth API (#1694) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
615b373fd6 Migrate wasp/client/auth API 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
d650276586 Implement new wasp/auth API (#1691) 2024-01-31 17:46:23 +01:00
Martin Šošić
ec9241b780 [New SDK]: 'wasp/server'. (#1682) 2024-01-31 17:46:23 +01:00
Martin Šošić
f61d1843c9 [New SDK]: 'wasp/client/api'. (#1681) 2024-01-31 17:46:23 +01:00
Martin Šošić
df293e53d7 [New SDK]: 'wasp/server/api'. (#1679) 2024-01-31 17:46:23 +01:00
Filip Sodić
10aca7f02f Remove leftover restructuring scripts 2024-01-30 15:13:43 +01:00
Filip Sodić
8e8f61073c Fix formatting for CI 2024-01-29 17:35:00 +01:00
Filip Sodić
f7587a2c9c Sort out restructuring leftovers 2024-01-29 17:20:35 +01:00
Filip Sodić
0c178c0719 Explain why we run Vitest from Wasp project root 2024-01-29 16:22:58 +01:00
Filip Sodić
cbd7310b16
Implement Wasp SDK generation (#1626) 2024-01-29 16:08:15 +01:00
Martin Šošić
bc9e1b6bce
Update LSP to work with restructuring (#1650) 2024-01-29 16:05:56 +01:00
Filip Sodić
1456a89222
Adapt wasp clean and fix NPM dep installation (#1603)
---------

Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
2024-01-29 15:21:36 +01:00
Filip Sodić
df5a1358e6
Adapt Prisma for the new structure (#1604) 2024-01-29 15:10:47 +01:00
Filip Sodić
d3e9fdc4c6
Implement project install step for restructuring (#1690) 2024-01-29 14:57:22 +01:00
Filip Sodić
6f0714ad23
Create restructuring prototype (#1584) 2024-01-29 14:00:20 +01:00
Martin Šošić
5aae915fff
Updated README.md with info about publishing vscode extension. 2024-01-21 13:59:53 +01:00
Mihovil Ilakovac
33ed5e6178 Updates example app version 2024-01-18 13:54:09 +01:00
Mihovil Ilakovac
846fdda827
Unify userSignupFields for all auth methods (#1639) 2024-01-18 13:42:00 +01:00
Mihovil Ilakovac
b360af3065
Remove user-facing unverified email flow (#1638) 2024-01-16 17:42:27 +01:00
Mihovil Ilakovac
e3c825fae1
Enable easier email dev setup (#1634) 2024-01-16 16:19:35 +01:00
Mihovil Ilakovac
73c37b7d6d
Integrate Lucia Auth in Wasp (#1625) 2024-01-15 11:53:54 +01:00
Martin Sosic
c534a84b9c Merge branch 'release' 2024-01-12 18:28:23 +01:00
Martin Sosic
6ec6bc2828 Fixed e2e tests. 2024-01-12 18:12:54 +01:00
Martin Šošić
7f91081bd8
Fix broken documentation links & remove old docs.
* Removed old docs leftovers.

* Fixed broken links in the docs.

* fix
2024-01-12 17:42:53 +01:00
Martin Šošić
e7a773a64c
Versioned docs (#1628)
* Wasp docs are now versioned.

* Removed version 0.11.8 of docs.

* Update waspc/README.md
2024-01-11 16:37:06 +01:00
Martin Šošić
6771dacb0e
Added open-saas starter template to CLI & fixed all starter templates (instructions, versioning) (#1619)
* Added open saas to starter templates and refactored template picking a bit.

* All now use new mechanism.

* Removed notion of GhStartersRepoTemplate.

* Templates are now versioned.

* Starting instructions are not adjustable per template.

* Instructions are now correct for each template.

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2024-01-11 16:25:35 +01:00
Martin Sosic
7297dfab3d Fixed old hlint warnings/suggestions. 2024-01-08 15:54:10 +01:00
Martin Šošić
758110e686
Relax node version (#1533)
* Relaxed Wasp's node version requirements.

* Updated e2e tests.

* fix

* fix

* Fixed version of wasp app in headless tests.

* Update web/docs/introduction/getting-started.md

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* fix

* fix

* Small grammar fixes.

* fixes

* Updated e2e tests.

* fix

* fix

---------

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2024-01-04 11:30:42 +01:00
Mihovil Ilakovac
633e25c125
Injected auth models (#1583) 2024-01-03 14:40:08 +01:00
Janko Vidaković
e41fc5792c
Fix import/export JS errors in Mage (#1607) 2024-01-02 16:43:35 +01:00
Martin Šošić
994a58f0dc
Wasp ai cli mage (#1601)
* Improved Wasp AI CLI experience.

* fix

* Added CLI Usage, polished CLI commands.

* Added choice of temperature.

* Added styling.

* Added more sophisticated, terminal-only styling.

* fix

* Updated Mage to use new Wasp CLI + added some messaging to CLI.

* fix

* Created wasp-ai/README, updated waspc/README.

* Moved wasp-ai/ to mage/.

* Final polishing (docs, readmes, messaging).

* fix

* Added tests for LogMsg.

* Updated versions of test apps to 0.12.

* fix

* fix

* Update mage/README.md

* fix

* fix
2023-12-22 15:14:38 +01:00
Janko Vidaković
34f6539590
Support more GPT models in Mage + allow customizing both of them (#1598)
* Enable new OpenAI models for MAGE

* Add option to specify Plan GPT model from CLI

* Fix error in parsing planGptModel

* Remove check for GPT-4 availability

* Refactor initialization of GPT params

* Add GPT 3.5 Turbo 0613

* Fix GPT versions to exact values

Generic OpenAI models, such as 'GPT-4' and 'GPT-3_5_turbo',
point to the 'latest' of the respective OpenAI models.
This means that the exact models used can change unexpectedly.
This would not normally be an issue, but the newer models
tend to exhibit a performance drop.
Therefore, to future-proof our application, we fix the
model versions to prevent any unexpected model changes.

* Rename base->coding, plan->planning

* Remove unused _useGpt3IfGpt4NotAvailable field

* Remove confusing helper function

* Fix typo Planing -> Planning
2023-12-13 17:11:08 +01:00
Martin Sosic
47c4b8cb16 Merge branch 'main' into wasp-ai 2023-12-11 20:19:46 +01:00
Martin Šošić
20769f67a8
Made CI checks during telemetry a bit more thorough. (#1586) 2023-11-30 14:44:54 +01:00
Martin Sosic
cf88e2b1a5 Added ghcup-set command to waspc/run script. 2023-11-28 23:36:10 +01:00
Mihovil Ilakovac
ef6d6b1041
Username validation refactor (#1569) 2023-11-15 13:05:00 +01:00
Mihovil Ilakovac
3a5bba9b39
Bumps version (#1573) 2023-11-14 14:21:20 +01:00
Mihovil Ilakovac
37af3c3143
Update ChangeLog.md 2023-11-14 13:56:40 +01:00
Mihovil Ilakovac
4db82bf815
Escape Prisma command when running with script on Linux (#1561) 2023-11-14 13:32:15 +01:00
Mihovil Ilakovac
62aa2b72c4
Adjust the DB check error message (#1558) 2023-11-09 13:19:47 +01:00
Mihovil Ilakovac
96ea796067
Add check if migrations dir exists before copying (#1562) 2023-11-09 13:17:45 +01:00
Mihovil Ilakovac
2752f889c8
Sets the minimum number of Fly machines to 1 (#1535) 2023-11-06 15:47:45 +01:00
Ikko Eltociear Ashimine
2b47abd36f
Fix typo in Token.hs (#1496)
accomodate -> accommodate

Co-authored-by: Filip Sodić <filip.sodic@fer.hr>
2023-11-06 12:43:17 +01:00
Mihovil Ilakovac
0f6ca6de5f
Fixes timeouts for Mage (#1555) 2023-11-02 13:31:05 +01:00
Mihovil Ilakovac
520c35af5c
Adds support for client subdir (#1516) 2023-10-27 15:12:47 +02:00
Mihovil Ilakovac
9f31b3229e
Bumps version to 0.11.7 (#1545) 2023-10-27 14:19:53 +02:00
Mihovil Ilakovac
4aeddfbc9f Updates change log 2023-10-27 12:50:59 +02:00
Mihovil Ilakovac
e871e048fb
Fixes a Prisma SSL bug by bumping Prisma (#1544) 2023-10-27 12:47:25 +02:00
Ritik Raj
b26ca1dc33
updated SQLite to PostgreSQL migration doc's link (#1517) 2023-10-19 15:16:07 +02:00
Parikshit Adhikari
bbfbd77230
fixed typos in waspc/design-docs/db-seeding.org and waspc/design-docs/server-setup.md (#1499) 2023-10-17 17:36:29 +02:00
Parikshit Adhikari
15d7a0cae1
fixed typos in waspc/docs/wasplang/src/index.tex (#1497) 2023-10-17 17:35:33 +02:00
Martin Sosic
2fb1b0a54d Added info about 'wasp studio' command to CLI usage/help output. 2023-10-16 16:02:43 +02:00
Filip Sodić
7df1b10ffd
Bump Wasp version to 0.11.6 and update e2e tests (#1493) 2023-10-10 15:02:31 +02:00
Mihovil Ilakovac
03cfcdfaaf
Wasp Studio [experimental] (#1483) 2023-10-10 12:17:05 +02:00
Mihovil Ilakovac
88d9534fd3
Allow customising the Vite config (#1465) 2023-10-09 15:40:33 +02:00
Mihovil Ilakovac
20eb9e007a
Bumps Wasp version (#1448) 2023-09-16 00:43:46 +02:00
Mihovil Ilakovac
b9ba6fbaa4
Fixes Auth UI (#1447) 2023-09-16 00:13:37 +02:00
Mihovil Ilakovac
16fa3bd487 Merge branch 'main' into wasp-ai 2023-09-14 12:23:29 +02:00
Mihovil Ilakovac
99c9021f82
Signup Customisation [RFC] (#1395) 2023-09-12 13:19:47 +02:00
Mihovil Ilakovac
cb88dfc618
Adding support for Postgres Extensions (#1443) 2023-09-12 13:03:57 +02:00
Martin Šošić
ed3be9ca1a
Update README.md with info about installing LLVM on Mac to build wasp 2023-09-10 15:12:31 +02:00
Mihovil Ilakovac
092ff2acaf
Type safe async jobs (#1400) 2023-09-07 16:32:55 +02:00
Martin Sosic
0183d9cbf2 Fixed e2e tests that I messed up when adding comments to app.js. 2023-09-07 14:42:36 +02:00
Martin Šošić
7da0aae3e9
Added a comment to app.js about default express error handler behaviour. 2023-09-06 17:18:21 +02:00