Commit graph

193 commits

Author SHA1 Message Date
Greg Johnston
576bb078f7
fix: Actix server fn redirect() duplicate Location headers (#1326) 2023-07-11 13:57:44 -04:00
sjud
7e540a8f49
feat: support Axum extractors with state other than () (#1275)
This requires state to be provided via context using a special handler, but allows for extractors that use this state, rather than only `()`, as previously.
2023-07-05 20:40:29 -04:00
Greg Johnston
66f54e7f1a
docs: add docs on responses/redirects and clarification re: Axum State(_) extractors (#1272) 2023-07-03 09:58:02 -04:00
Greg Johnston
23594a43ea
fix: allow FnOnce extractors (#1192) 2023-06-15 20:09:13 -04:00
martin frances
6fac92cb62
perf: removed duplicate calls to .collect() and .into_iter() in leptos_actix (#1133) 2023-06-11 21:54:24 -04:00
Greg Johnston
bb10b32200
feat: register server functions automatically (#1154) 2023-06-11 09:09:21 -04:00
martin frances
f6d856ee11
chore: cargo clippy --fix. (#1136) 2023-06-03 11:35:33 -04:00
Greg Johnston
4e41fad107
fix: wait for blocking fragments to resolve before pulling metadata (closes #1118) (#1137) 2023-06-02 17:32:32 -04:00
Greg Johnston
5d70275c3a
fix: dispose of runtime when stream is actually finished (closes #1097) (#1110) 2023-05-28 13:44:31 -04:00
Greg Johnston
4d3dd7a6e6
feat: add Axum extract() function (#1093) 2023-05-25 11:16:58 -04:00
yuuma03
cc68d20758
fix: duplicate headers (like Set-Cookie) on the actix integration (#1086) 2023-05-25 11:16:29 -04:00
Ben Wishovich
06d28f7d67
feat: use Axum SubStates to enable .with_state in Axum router (#1085) 2023-05-24 08:34:17 -04:00
yuuma03
b2faa6b86c
feat: allow multipart forms on server fns (Actix) (#1048) 2023-05-17 19:53:55 -04:00
Mark Catley
b472aaf6a0
fix: typo in actix extract documentation (#1043) 2023-05-15 08:57:49 -04:00
Matt Crane
add13fd6a4
change: migrate Axum integration to use with_state over layer(Extension) (#1032) 2023-05-14 06:37:39 -04:00
Greg Johnston
40c1556f29
change: remove APIs that had been marked deprecated (#1037) 2023-05-12 19:45:48 -04:00
Greg Johnston
d7b919032e
feat: SsrMode::PartiallyBlocked (#1026) 2023-05-10 13:30:01 -04:00
Greg Johnston
ef45828ca7 fix: don't assume OutOfOrder and GET for / 2023-05-05 10:20:36 -04:00
Ben Wishovich
6c3381ce52
feat: add From for RequestParts into Parts for Axum and add an option to ge… (#931) 2023-04-24 20:08:28 -04:00
Greg Johnston
0a7dbb0ca4
feat: add Actix extract helper (#936) 2023-04-24 20:03:24 -04:00
Ben Wishovich
72f8bf4e20
feat: remove need for LEPTOS_OUTPUT_NAME env var after compilation (#899) 2023-04-23 15:20:47 -04:00
Ben Wishovich
81f330e888
feat: add thorough tracing throughout (#908) 2023-04-22 06:47:11 -04:00
OvermindDL1
72d6af9c84
fix: use once_cell crate until OnceLock stabilized (closes #890)
* Fixes #890 that was using OnceLock, which is nightly only, by adding the once_cell crate as a dependency.

* Make `cargo fmt` happy
2023-04-18 16:31:04 -04:00
Greg Johnston
384d39543c
fix: dispose of scope when server fns return error (closes #862) (#888) 2023-04-17 22:08:47 -04:00
Greg Johnston
764192af36
feat: allow multiple HTTP request methods/verbs (#695) 2023-04-10 16:42:15 -04:00
Aaron Karras
af8afb1204
perf: use local pools for axum handlers (#815) 2023-04-07 11:35:16 -04:00
Greg Johnston
ff5ceddbe2
fix: correctly pass server fn errors to client (#822) 2023-04-07 08:12:10 -04:00
Ben Wishovich
8b57ba7aa8
feat: add the ability for server fns to be submitted via GET requests (#789) 2023-04-05 06:47:17 -04:00
Greg Johnston
1e037ecb60
chore: clippy and docs warnings (#779) 2023-03-31 17:12:42 -04:00
Greg Johnston
42360d109b
change: insert <head> metadata tags at the beginning of the head, not the end (#731) 2023-03-31 14:51:27 -04:00
Igor Shevchenko
98a9ec8335
chore(docs): fix a few typos (#756) 2023-03-27 20:06:34 -04:00
Greg Johnston
38daaf3b72
chore: apply cargo machete systematically (#671) 2023-03-13 10:16:20 -04:00
Ben Wishovich
1a3c1e9e52
feat: provide Request<_> in context for Axum, enabling easier extractor use (#632) 2023-03-10 17:28:32 -05:00
Greg Johnston
55ce805b60
feat: hot reloading support for cargo-leptos (#592) 2023-03-04 09:04:22 -05:00
tanguy-lf
e576d93f83
examples: add ssr_mode_axum (#575) 2023-02-25 11:24:24 -05:00
Fangdun Tsai
e9c4b490e5
feat: viz integration (#506) 2023-02-21 12:29:15 -05:00
Ben Wishovich
322041917d
fix issue with redirects in server fns creating multiple Location headers (#550) 2023-02-20 08:55:47 -05:00
Greg Johnston
20cbc240ee
v0.2.0-alpha2 (#539) 2023-02-18 12:45:46 -05:00
jquesada2016
f2f52b2533
change: move signal method implementations into traits in signal prelude (#490) 2023-02-18 07:30:03 -05:00
Greg Johnston
586f524015
feature: in-order streaming and async rendering (#496) 2023-02-17 17:31:32 -05:00
henrik
bde585dc3e
feature: enable cargo-leptos to reload multiple CSS files (#524) 2023-02-14 18:51:47 -05:00
Greg Johnston
7d6c4930e4
remove .unwrap() from redirect in Actix integration (#514) 2023-02-13 06:02:43 -05:00
IcosaHedron
81d6689cc0
do not unwrap use_context in integrations axum redirect (#513) 2023-02-12 21:59:12 -05:00
Greg Johnston
1dbcfe2861
change: reorganize module exports and reexports (#503) 2023-02-12 17:04:36 -05:00
Greg Johnston
6bab4ad966
apply new formatting everywhere (#502) 2023-02-11 14:30:06 -05:00
Greg Johnston
352601aa42
fix: correct out-of-order streaming behavior (#475) 2023-02-05 17:29:35 -05:00
Ben Wishovich
76aeb573bf
fix: convert site_address to site_addr to match cargo-leptos (#462) 2023-02-04 16:37:41 -05:00
Greg Johnston
4034aa9c11
feature: add isomorphic <Redirect/> component (closes #412) (#466) 2023-02-04 10:02:17 -05:00
Gentle
f698f8badd
use latest tokio in leptos_axum (#443) 2023-02-02 17:00:49 -05:00
Bruno De Simone
e2cdbc746f
Add leptos_routes functions for integrations (#415)
* added leptos_routes_with_context

* added leptos_routes_with_handler for axum integration
2023-01-31 09:09:58 -05:00