Valerio Ageno
897cc2daf2
feat: add --no-js-emit flag to tuono build command ( #175 )
...
Co-authored-by: Valerio Ageno <valerio.ageno@qonto.com >
2024-11-27 21:05:45 +01:00
Valerio Ageno
1f92931076
Fix optional application state parameters ( #173 )
...
Co-authored-by: Valerio Ageno <valerio.ageno@qonto.com >
2024-11-27 15:25:05 +01:00
Valerio Ageno
bcb2c91823
fix: windows path resolution ( #167 )
2024-11-26 21:37:00 +01:00
Valerio Ageno
439b4757df
Turn main.rs into app.rs ( #159 )
...
Co-authored-by: Valerio Ageno <valerio.ageno@qonto.com >
2024-11-26 09:20:10 +01:00
Valerio Ageno
8c84ef73c8
feat: update version to v0.14.1
2024-11-24 18:33:45 +01:00
Myan V.
6727264e39
Better error handling when trying to overwrite an existing folder and using a non-existent template ( #135 )
...
* fix: prevent overwriting existing project directories
* refactor: improve scaffold error messages
2024-11-22 13:38:54 +01:00
Valerio Ageno
087813fab9
Add support for api/ folder ( #129 )
...
* feat: detect api/ folder from tuono CLI
* feat: prevent adding the API in the data endpoints list
* feat: create basic API handler proc macro
* feat: parse api/ and build .tuono/main.rs file
* chore: remove unused cargo dependencies
* refactor: tuono base health_check
* fix: remove failing test
* feat: update version to v0.14.0
2024-11-21 19:02:11 +01:00
Myan V.
4aa99beaff
Better error handling for target ports conflict ( #126 )
...
* feat: add error message when port 3000 is already in use
* feat: expand port availability checking
* refactor: improve port extraction code modularity
* fix: formatting
* fix: clippy
* fix: move port checking logic to tuono crate
* fix(tuono): make main async
* fix: tokio panicking when testing CLI
* feat: working port conflict detection in crate tuono
* fix: passing format and lint checks
* refactor: refactor cli by making it non-async
* refactor: move port constants to module scope and remove unnecessary Result return type from port checker
2024-11-21 09:45:08 +01:00
Marco Pasqualetti
89d7a2c740
chore: add examples folder to workspaces and make examples packages name unique ( #125 )
2024-11-20 13:46:31 +01:00
Valerio Ageno
56c31f0204
feat: update version to v0.13.3
2024-11-20 13:45:37 +01:00
Valerio Ageno
209c9fb7f7
feat: update version to v0.13.2
2024-11-19 17:34:33 +01:00
Myan V.
b50902d23e
Update watchexec to v5 and watchexec-signals to v4 ( #118 )
...
* fix(deps): update rust crate watchexec to v5
* fix(deps): update rust crate watchexec-signals to v4
* fix: revert unnecessary imports
2024-11-19 14:32:44 +01:00
Valerio Ageno
ebc1a458a9
Fix tuono_lib_macro crate ( #116 )
...
* fix: tuono lib macro
* feat: remove reqwest re-export
* feat: update version to 0.13.1
* fix: remove reqwest from documentation
2024-11-17 17:11:07 +01:00
Valerio Ageno
df92ef5296
Add support for custom global state ( #111 )
...
* feat: add 'has_main_file' to App struct
* feat: handle custom state from the main.rs file
* feat: update tutorial template with new setup
* fix: apply clippy hints
* feat: add ApplicationState mention to documentation website
* feat: update version to v0.13.0
2024-11-17 16:28:56 +01:00
Valerio Ageno
cfccc638c6
feat: update version to v0.12.4
2024-11-16 19:23:21 +01:00
Henry Chen
f0a4541420
fix: handle hyphen in route ( #109 )
2024-11-16 17:10:37 +01:00
Marco Pasqualetti
8552796343
chore: fix typo and improve name on CI ( #107 )
2024-11-16 11:47:53 +01:00
Valerio Ageno
65faaf0183
feat: added website to crates/package manifest
2024-11-16 11:08:50 +01:00
Valerio Ageno
3be491baa7
Fix tuono lib release ( #103 )
...
* fix: removed service
* feat: update version to v0.12.3
2024-11-16 10:50:02 +01:00
Valerio Ageno
48b974ae58
Fix failing release pipeline ( #102 )
...
* feat: add no-verify key to cargo publish script
* feat: update version to v0.12.2
2024-11-16 10:23:59 +01:00
Valerio Ageno
c394898fcd
Create logger service ( #101 )
...
* feat: create logger service
* feat: opt out __tuono/data routes from logger
* feat: update version to v0.12.1
2024-11-16 09:47:59 +01:00
Valerio Ageno
607da92c71
Make handler arguments optional ( #87 )
...
* feat: support axum extractors
* chore: update tuono example
* chore: update tutorial example
* doc: update documentation
* feat: update version to v0.12.0
* fix: use clippy suggestion
2024-11-11 21:52:22 +01:00
Valerio Ageno
5d8ec82502
feat: add log to catch_all routes ( #83 )
2024-11-10 11:08:06 +01:00
Valerio Ageno
aaae7db24d
Improve route preloading ( #80 )
...
* feat: improve route preloading
* feat: update version to v0.11.2
---------
Co-authored-by: Valerio Ageno <valerio.ageno@qonto.com >
2024-11-05 12:03:20 +01:00
Valerio Ageno
edfbd03f13
Prevent not exported routes error ( #76 )
...
* fix: prevent no exported route compiler error
* feat: update version to v0.11.1
* fix: formatting
2024-11-04 19:25:46 +01:00
Valerio Ageno
d04a4c4103
Move to react-helmet-async ( #72 )
...
* feat: move to react-helmet-async
* feat: set version to v0.11.0
2024-11-03 21:09:32 +01:00
Valerio Ageno
ea82d2b1df
Correct documentation spelling ( #68 )
...
* fix: documentation/index spelling
* fix: documentation/development-setup spelling
* fix: documentation/api-fetching spelling
* fix: documentation/components spelling
* fix: documentation/dynamic-routes spelling
* feat: add correct tutorial link to README.md
* chore: remove legacy folder
* fix: formatting
* fix: documentation/error-handling spelling
* fix: documentation/seo spelling
* fix: documentation/redirections spelling
* fix: documentation/production spelling
* fix: documentation/conclusion spelling
* feat: update version to v0.10.4
* fix: redirections spelling
* fix: API fetching spelling
* feat: create CLI doc page
* fix: correct CLI spelling
* fix: update CLI output spelling
2024-10-17 19:00:23 +02:00
Valerio Ageno
002733cd99
Prevent dynamic fn replacement when not imported by tuono ( #57 )
...
* fix: prevent dynamic fn replacement when not imported by tuono
* feat: update version to v0.10.3
* Revert "fix(deps): update dependency zustand to v5 (#55 )"
This reverts commit d7a086dfb1 .
* Revert "fix(deps): update dependency zustand to v4.5.5 (#37 )"
This reverts commit b36dc0b897 .
* Revert "chore(deps): update dependency @testing-library/react to v16 (#38 )"
This reverts commit 1a1b62698c .
* Revert "chore(deps): update dependency @tanstack/config to ^0.13.0 (#32 )"
This reverts commit 6c7cc62371 .
* revert pnpm update
* Revert "chore(deps): update dependency vitest to v2 (#45 )"
This reverts commit c5b5f6aefe .
* Revert "chore(deps): update dependency node to v20.18.0 (#33 )"
This reverts commit 588326cc57 .
2024-10-16 20:41:33 +02:00
renovate[bot]
d60c7dcd9b
fix(deps): update rust crate watchexec-supervisor to v3 ( #56 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 19:29:33 +02:00
Valerio Ageno
0a8504d9f2
feat: update version to v0.10.2 ( #50 )
2024-10-13 10:18:19 +02:00
renovate[bot]
e593707ce7
fix(deps): update rust crate syn to v2 ( #48 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-12 18:38:44 +02:00
renovate[bot]
faf7bf29e2
fix(deps): update rust crate tungstenite to 0.24.0 ( #44 )
2024-10-12 13:41:03 +02:00
renovate[bot]
dfb1bebc6b
fix(deps): update rust crate tokio-tungstenite to 0.24.0 ( #39 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-12 13:03:59 +02:00
renovate[bot]
a40367f813
fix(deps): update rust crate tower-http to 0.6.0 ( #40 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-12 13:03:44 +02:00
renovate[bot]
23d84b25be
fix(deps): update rust crate ssr_rs to 0.7.0 ( #35 )
...
* fix(deps): update rust crate ssr_rs to 0.7.0
* chore: update ssr error
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valerio Ageno <valerioageno@yahoo.it >
2024-10-12 12:45:23 +02:00
Valerio Ageno
d0a6c59c62
Add response time to SSR GET log ( #29 )
...
* feat: add response time to SSR GET log
* feat: update version to v0.10.1
2024-08-19 18:25:00 +02:00
Valerio Ageno
509283adab
feat: update tuono version to v0.10.0
2024-08-18 11:19:54 +02:00
Valerio Ageno
acd663d79f
Add custom response type ( #27 )
...
* feat: support route names with dots
* feat: add support for Response::Custom value
* feat: statically export xml files
2024-08-18 11:09:27 +02:00
Valerio Ageno
2cbcd8ad70
feat: update version to v0.9.2
2024-08-16 11:28:42 +02:00
Valerio Ageno
30073c226d
feat: update version to v0.9.1
2024-08-15 20:44:25 +02:00
Valerio Ageno
341fba6ca9
Preload chunks when links are visible in the viewport ( #24 )
...
* feat: preload chunk when links are visible in the viewport
* feat: update version to v0.9.0
2024-08-14 20:50:47 +02:00
Valerio Ageno
9835a4c0d1
fix: route switch wrappers re-rendering ( #23 )
...
* fix: route switch wrappers re-rendering
* feat: update version to v0.8.4
2024-08-14 14:26:52 +02:00
Valerio Ageno
170c5ea098
Update static build html structures ( #20 )
...
* fix: improve static build output structure
* feat: update version to v0.8.3
2024-07-27 14:42:28 +02:00
Valerio Ageno
19782a2dbe
feat: update version to v0.8.2
2024-07-25 19:06:15 +02:00
Valerio Ageno
b755e658f5
fix: add mdx file to watch script
2024-07-25 19:06:15 +02:00
Valerio Ageno
92a76032eb
feat: update version to v0.8.1
2024-07-24 20:59:49 +02:00
Valerio Ageno
1726312d34
Support nested roots ( #18 )
...
* feat: remove isLoader route property
* fix: has-parent-route fs-router util
* feat: handle routeGenerator nested __root
* feat: enable multiple roots with nested dynamic paths
* feat: enable nested routes
* fix: prevent route path creation for __root
* feat: prevent wrong path on subfolder index routes
* chore: cleaned tutorial example folder
* feat: update version to v0.8.0
2024-07-23 19:13:18 +02:00
Valerio Ageno
444d1479b0
Add support for MDX ( #17 )
...
* feat: add support for MDX
* fix: prevent empty server handler error message
* doc: add MDX mention to README
* feat: update version to v0.7.0
2024-07-22 07:59:43 +02:00
Valerio Ageno
2949ea4dfa
Support Static Site Generation (SSG) ( #16 )
...
* refactor: init routes within App::new
* feat: handle build and server run within App struct
* feat: prevent dynamic routes SSG
* feat: support SSG
* chore: remove debugger
* feat: update version to v0.6.0
2024-07-21 14:10:12 +02:00
Valerio Ageno
9d8bfd9826
Refactor application struct representation ( #15 )
...
* feat: add ssg module and CLI argument
* refactor: tuono lib.rs structure
* refactor: create App struct
* feat: extend file extensions to read in src/routes/
* feat: load all routes in the app.route_map
* refactor: creaded AxumInfo struct
2024-07-14 20:58:03 +02:00