Commit Graph

263 Commits

Author SHA1 Message Date
Greg Johnston 06f782aa13
perf: improve router performance on server by calculating route branches once (#898) 2023-04-19 20:09:29 -04:00
Daniel Santana e96f1d2129
feat: impl Serialize/Deserialize for ParamsMap (closes #892) (#895) 2023-04-19 06:19:53 -04:00
Greg Johnston efbe32e081
feat: add non-animation base classes to `<AnimatedOutlet/>` and `<AnimatedRoutes/>` (#877) 2023-04-17 08:12:22 -04:00
Greg Johnston 7382c7e51c
feat: add the ability to specify animations on route transitions (#736) 2023-04-14 18:20:42 -04:00
Greg Johnston 93da88eac0
feat: add ability to set `node_ref` and pass additional attributes to `<Form/>` and friends (#853) 2023-04-14 14:25:52 -04:00
Álvaro Mondéjar 274a1ac5f0
Remove `&` at the end of params queries (#854) 2023-04-12 17:04:22 -04:00
Greg Johnston 151c58733b docs: clean up `methods` documentation 2023-04-11 14:37:12 -04:00
Greg Johnston 764192af36
feat: allow multiple HTTP request methods/verbs (#695) 2023-04-10 16:42:15 -04:00
novacrazy be7b9eea25 Merge branch 'main' of https://github.com/leptos-rs/leptos 2023-04-07 14:09:10 -05:00
Greg Johnston 016ad6b7a6
feat: make `__Props` imports unnecessary (closes #746) (#828) 2023-04-07 15:06:10 -04:00
Mark Catley 2170be8e01
chore: deny warnings on github actions (#814)
Enabling on all except for checking examples to start. I'll fix those
and add it as a follow up.

Closes #795
2023-04-07 09:28:48 -04:00
novacrazy 7ccb2d9f44 Simplify SsrMode enum 2023-04-07 05:10:55 -05:00
novacrazy de9b2998ac More inlining 2023-04-07 05:09:24 -05:00
Greg Johnston fe4d2382b8
fix: prevent router panic on root-level `<Redirect/>` during route list generation (#801) 2023-04-04 21:36:03 -04:00
Mark Catley e72ed26809
fix: warning in Cargo.toml (#800) 2023-04-04 19:53:05 -04:00
Greg Johnston 9502de561b
fix: warnings about untracked signal access in `<Router/>` (#790) 2023-04-02 12:28:58 -04:00
Greg Johnston f727dd773b
`v0.2.5` (#782) 2023-04-01 11:23:42 -04:00
Greg Johnston c9f75d82d6 docs: warn if you add something that's not a `<Route/>` inside `<Routes/>` 2023-03-31 16:39:06 -04:00
Kaszanas 7aa4d9e6db
feat: Added `<ProtectedRoute/> component to route file (#741) 2023-03-31 14:50:46 -04:00
Greg Johnston 16917997cd
fix: prevent forms from entering infinite loops (closes issue #760) (#762) 2023-03-30 16:28:49 -04:00
Greg Johnston f42568d262
fix: `<Redirect/>` between nested routes at same level (#767) 2023-03-30 16:28:32 -04:00
Houski 97bbdf561a
feat: added the `id` attribute to the Leptos router `<A/>` tag (#770) 2023-03-30 16:28:08 -04:00
Igor Shevchenko 98a9ec8335
chore(docs): fix a few typos (#756) 2023-03-27 20:06:34 -04:00
Andrew Chang-DeWitt c2fdd2cd70
fix: include missing query params in navigation when `<ActionForm/>` receives a redirect (#728)
Previous solution in #727 included manually inserted `?` when a leading
`?` is present automatically in `Url.search`.
2023-03-22 20:05:21 -04:00
Greg Johnston 286f3eebe4
fix: relative routing should update when navigating between `<Outlet/>`s (closes issue #725) (#729)
* clear some cruft out of the navigation code
* fix issue #725 (correctly reactively resolving paths)
2023-03-22 19:59:08 -04:00
Greg Johnston 508ad52582
chore: fix clippy warnings (#721)
* `v0.2.4`

* chore: fix clippy warnings
2023-03-21 18:20:29 -04:00
Greg Johnston 666d53e2ba
feat: `<ActionForm/>` improvements (#676) 2023-03-13 10:16:02 -04:00
Greg Johnston b55e9a9e64
`v0.2.3`: fix broken stable support (#670) 2023-03-13 07:25:08 -04:00
Greg Johnston 8f94c8e6b1
v0.2.2 (#667) 2023-03-12 14:59:04 -04:00
martin frances c66b673067
chore: `<Form/>` component Removed unused variables. (#640) 2023-03-07 14:04:55 -05:00
IchHabeKeineNamen 0052b10df3
docs: fix instruction typos (#631) 2023-03-06 09:05:21 -05:00
Greg Johnston 02e2948e00
fix: suppress warnings caused by resource loading in `generate_route_list` (closes #582) (#621) 2023-03-03 13:20:38 -05:00
Greg Johnston bd86125629
feat: allow easier client-side form validation (closes #413) (#620) 2023-03-03 13:19:54 -05:00
martin frances 2dd9116a20
chore: clippy - simplified conditional logic in transition.rs. (#615) 2023-03-03 09:06:56 -05:00
Azz b153ab51ee
feat: support `rkyv` encoding (#577) 2023-02-26 16:12:53 -05:00
g-re-g 3648af0d9d
fix: correct scheme handling in router, and improve matching code by removing regexes (#569) 2023-02-26 07:15:14 -05:00
Greg Johnston 3d50ca32cd `v0.2.0` 2023-02-25 15:45:35 -05:00
Fangdun Tsai e9c4b490e5
feat: viz integration (#506) 2023-02-21 12:29:15 -05:00
Greg Johnston dafd6e51c5
`v0.2.0-beta` (#557) 2023-02-20 14:52:31 -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 4ff08f042b
change: pass `Scope` as argument into `Resource::read()` and `Resource::with()` (#542) 2023-02-19 19:52:31 -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
Greg Johnston 8a99623fd6
`0.2.0-alpha` (#515) 2023-02-13 07:49:29 -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 cf7deaaea3
fix: proper disposal of nested route scopes (#499) 2023-02-11 14:12:59 -05:00
martin frances e59ee6329e
Minor: Clippy router now uses types OnFormData and OnResponse. (#484) 2023-02-07 09:52:29 -05:00
Jan b0a98d8b4f
Better styling for router related components (#477) 2023-02-06 18:34:39 -05:00