Evan Almloff
7bb53fe835
Parse trailing route slash ( #2896 )
...
* Parse trailing route slash
* Fix typo
2024-09-07 13:34:57 -05:00
Drew Pirrone-Brusse and Evan Almloff
a575a425e3
Add placeholder doc comments to macro-generated enums ( #2872 )
...
* Add placeholder doc comments to macro-generate enums
* Add doc comments to generated router parse error enums
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
2024-08-26 08:26:46 -05:00
Evan Almloff
a35436ee4f
Change ToRouteSegments to borrow self ( #2283 )
...
* Change display route segments to borrow the type
* fix formatting
2024-06-07 12:40:50 -07:00
Evan Almloff
47c87568e1
Fix event handler memory leak ( #2298 )
...
* fix event handler memory leak and double drops
* Prevent double dropping generational boxes
* recycle instead of dropping
2024-04-26 00:47:22 -04:00
Evan Almloff and Jonathan Kelley
08da9a1253
Implement hash fragments in the router ( #2320 )
...
* implement hash fragments in the router
* clean up query and search example
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2024-04-25 14:30:25 -04:00
Evan Almloff
39cef8fe42
fix out of order fields in route definitions ( #2356 )
2024-04-25 13:36:04 -04:00
Konstantin Kostiuk
a4de322821
fix typo varient -> variant ( #2056 )
2024-03-11 17:03:34 -05:00
tigerros
e217a957dc
fix
2024-02-24 14:36:02 +01:00
tigerros
24e8ac2ad3
fix warning
2024-02-24 13:30:50 +01:00
Evan Almloff
8a44fe8d03
derive query parsing in the router macro
2023-12-01 15:31:45 -06:00
Leonard
ae5dca8f43
Routable improvements (#1461 )
...
* Fix `SegmentType::CatchAll` `Display`
* Rename `display_route_segements` to `display_route_segments` and add dots to docs
* Fix `Routeable::static_routes` and add more route retrieval methods
* Fix Clippy and extract duplication to function
* Return route strings instead of instances
* Remove some methods
* Clippy
2023-09-13 11:55:26 -05:00
ealmloff
c8127e164b
Url decode routes ( #1407 )
...
* fix a few new clippy lints
* url decode routes
* fix catch all segments
* fix clippy
2023-09-06 12:56:43 -05:00
Jonathan Kelley
9d942f1162
make msrv 1.66
2023-07-19 17:20:48 -07:00
Evan Almloff
61e9fd9973
use :.. instead of :...
2023-07-18 16:34:27 -07:00
Evan Almloff
d19a33d59c
fix reversed nests
2023-07-14 11:40:38 -07:00
Evan Almloff
a7f7aad947
fix errors for nested routes
2023-06-28 11:27:11 -07:00
Evan Almloff
58b74c1155
create redirects
2023-05-31 12:11:11 -05:00
Evan Almloff
e4b8fbfafe
Intigrate macro with router hooks and components
2023-05-22 16:42:32 -05:00
Evan Almloff
ef6551a6cd
seperate dynamic nested segments and layouts
2023-05-22 11:44:24 -05:00
Evan Almloff
ecab5497ee
switch to :field for dynamic segments
2023-05-20 19:02:49 -05:00
Evan Almloff
fbd333e334
implement layouts and outlets
2023-05-20 16:32:48 -05:00
Evan Almloff
a73873a571
add static nesting
2023-05-14 17:39:42 -05:00
Evan Almloff
adfc10461e
reorganize router macro package
2023-05-13 18:14:30 -05:00