Greg Johnston
af62d2e900
automatically include server function handler in `.leptos_router()`
2024-01-19 14:16:17 -05:00
Greg Johnston
c3e3ce7878
changes to get `todo_app_sqlite_axum` example working
2024-01-19 14:16:17 -05:00
Greg Johnston
dec17fc65b
fix server actions and server multi actions
2024-01-19 14:16:03 -05:00
Greg Johnston
2dbc5899f3
cargo fmt
2024-01-19 14:16:03 -05:00
Greg Johnston
dd368a845c
@ealmloff changes to reexport actix/axum
2024-01-19 14:16:03 -05:00
Greg Johnston
9c258219dd
fix Actix implementation with middleware
2024-01-19 14:16:03 -05:00
Greg Johnston
6a1685936b
fix rkyv
2024-01-19 14:16:03 -05:00
Greg Johnston
7d45e6bb13
clean up my mistake
2024-01-19 14:16:03 -05:00
Greg Johnston
8fae76828e
`FromStr`-based lightweight `ServerFnError` deserialization
2024-01-19 14:16:03 -05:00
Greg Johnston
d5b9e84f36
properly gate `inventory`
2024-01-19 14:16:03 -05:00
benwis
197edebd51
Made some progress, started work on pavex integration as well
2024-01-19 14:16:03 -05:00
benwis
2a5c855595
It starts to compile!
2024-01-19 14:16:03 -05:00
benwis
c9627bfeb4
Setup folder structure as before. Got a cyclical dependency though
2024-01-19 14:16:03 -05:00
benwis
c7422cd96e
First commit, checkpoint for cyclical dependency error
2024-01-19 14:15:51 -05:00
Daniel Santana
cadd217078
Update integration with support for axum 0.7 ( #2082 )
...
* chore: update to axum 0.7
Removed http, since it's included in axum, and replaced hyper by http-body-util, which is a smaller.
* chore: update samples to work with nre axum
Missing sessions_axum_auth, pending PR merge.
* chore: all dependencies update to axum 0.7
* chore: cargo fmt
* chore: fix doctests
* chore: Fix example that in reality doesn't use axum.
Fixed anyway.
* chore: more examples support for axum 0.7
* Small tweak
2024-01-19 14:13:55 -05:00
Greg Johnston
0c4cf5471d
`v0.5.7`
2024-01-19 13:03:44 -05:00
Greg Johnston
dd0c349554
examples: update `axum-session` because old version was yanked ( #2205 )
2024-01-19 12:54:08 -05:00
Greg Johnston
dd5a0ae094
Merge pull request #2203 from leptos-rs/2201
...
fix: routing regressions caused by `trailing_slash` support
2024-01-19 12:14:20 -05:00
Greg Johnston
5cacb57283
chore: new clippy warnings
2024-01-19 11:14:36 -05:00
Greg Johnston
b356d3cd28
ci: add regression test for #2190
2024-01-19 10:29:30 -05:00
Greg Johnston
ae1de88916
Revert "Better handling for trailing slashes. ( #2154 ) ( #2172 )"
...
This reverts commit 1eaf886481
.
2024-01-19 10:27:38 -05:00
Greg Johnston
67dd188358
ci: add regression test for matching main page correctly in router example
2024-01-19 10:26:58 -05:00
Joseph Cruz
1d4772251a
fix: ci stopped detecting leptos or example changes ( #2194 )
2024-01-17 18:58:21 -05:00
benwis
98f18e7c31
release: version 0.5.6
2024-01-16 16:57:07 -08:00
Greg Johnston
3f34d9bb23
fix: doc comments breaking server functions ( closes #2190 ) ( #2191 )
2024-01-16 15:31:29 -05:00
Greg Johnston
44db400f6b
chore: fix spin-sdk dependency
2024-01-15 17:11:50 -05:00
Greg Johnston
3a5730800c
`v0.5.5`
2024-01-15 17:10:49 -05:00
Sam Judelson
041b86e6e5
sso_auth_session example ( #2117 )
...
* example draft
* fmt
* db delete
* db
* oops clippy
* clippy 2
* - nightly ?
* fmt
* - cargo all features?
2024-01-15 10:48:22 -08:00
Greg Johnston
d71feada7e
change: change all tracing levels to `trace` to reduce verbosity ( #2176 )
2024-01-13 08:19:12 -08:00
Cody Casterline
1eaf886481
Better handling for trailing slashes. ( #2154 ) ( #2172 )
...
* retain trailing slashes in paths but leave matching trail-slash-insensitive
* fix: Allow trailing slashes to remain in leptos_path.
* Better handling for trailing slashes. (#2154 )
This adds a trailing_slash option to <Router> and <Route>.
By default, this option is backward compatible with current Leptos
behavior, but users can opt into two new modes for handling trailing
slashes.
* cargo fmt
* Fix redirect routes for wildcard patterns.
* Clippy fixies
* (Re)Reduce the scope of PossibleBranchContext's internals.
* Test real code, not copied code.
* Test TrailingSlash redirects.
* Fixes and more tests for matching "" && "/".
This path is the exception to the rule and *should* be treated
as equivalent regardless of its trailing slash.
* cargo fmt
---------
Co-authored-by: Tadas Dailyda <tadas@dailyda.com>
2024-01-11 13:51:31 -08:00
dependabot[bot]
c7da3998ba
chore(deps): bump tj-actions/changed-files in /.github/workflows ( #2180 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 39 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v39...v41 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 16:04:21 -05:00
Luxalpa
10bbeea697
fix: remember router state ( fixes #2164 ) ( #2165 )
2024-01-10 19:51:37 -05:00
webmstk
2d70229608
chore: add rust-toolchain.toml to examples ( closes #2151 ) ( #2161 )
2024-01-07 15:29:54 -05:00
Paul Hansen
bbcef811f4
chore: remove dead code in actix tailwind example ( #2160 )
2024-01-07 15:29:15 -05:00
Simon Bihel
f5bf539148
fix: allow multiple SSRed Leptos apps on same server ( closes #1806 ) ( #2135 )
2024-01-07 15:28:50 -05:00
Greg Johnston
855a3c65c0
chore: remove newly-detected unused tuple fields ( #2169 )
2024-01-06 18:25:20 -05:00
SleeplessOne1917
16cf3c4eaf
feat: make `IntoAttribute` more flexible for `Option<T: IntoAttribute>` ( #2130 )
2023-12-30 13:10:07 -05:00
Greg Johnston
da533ad4e0
chore: clarify `cargo-make` and examples (see #2141 ) ( #2150 )
2023-12-30 08:14:23 -05:00
JackSpagnoli
b4a9db51be
chore: fix broken tailwind example repo link ( #2138 )
2023-12-28 20:07:49 -05:00
Greg Johnston
15946c6136
fix: emit original token stream when there are syntax errors in `#[component]` or `#[island]` function signature ( closes #2133 ) ( #2134 )
2023-12-25 14:30:31 -05:00
Greg Johnston
9f4c480725
docs: specify form for component generics ( #2129 )
2023-12-23 07:36:28 -05:00
Greg Johnston
74f9c3cd82
fix: `<Transition/>` fallback should show if client-rendered ( closes #2123 ) ( #2128 )
2023-12-22 17:10:09 -05:00
martin frances
34fb39c976
chore: fix lifetime on example ( #2125 )
...
```bash
cd leptos/leptos_macro/example
cargo clippy
```
warning: the following explicit lifetimes could be elided: 'a
--> src/lib.rs:41:20
|
41 | fn TestMutCallback<'a, F>(mut callback: F, value: &'a str) -> impl IntoView
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
41 - fn TestMutCallback<'a, F>(mut callback: F, value: &'a str) -> impl IntoView
41 + fn TestMutCallback<F>(mut callback: F, value: &str) -> impl IntoView
|
warning: `example` (lib) generated 1 warning (run `cargo clippy --fix --lib -p example` to apply 1 suggestion)
2023-12-20 19:10:59 -05:00
martin frances
ea80a21a54
chore: remove duplicate `itertools` versions ( #2124 )
...
The root cause is the family of leptos modules requiring both versions 0.10.5 and 0.11.0
This PR will fix that. ( Also needs a bump to 0.12.0 )
```
warning: multiple versions for dependency `itertools`: 0.10.5, 0.11.0
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
note: the lint level is defined here
--> src/lib.rs:4:9
|
4 | #![warn(clippy::cargo)]
| ^^^^^^^^^^^^^
= note: `#[warn(clippy::multiple_crate_versions)]` implied by `#[warn(clippy::cargo)]`
```
2023-12-20 19:10:00 -05:00
Greg Johnston
33590d487b
chore: clean up warnings causing CI issues ( #2119 )
2023-12-18 08:15:46 -05:00
Rakshith Ravi
880002de31
fix: pass through doc comments for server fns ( #2099 )
2023-12-17 20:40:22 -05:00
Niklas Eicker
fb0a62f3f6
fix: support additional context for route generation ( #2113 )
2023-12-17 20:37:27 -05:00
Greg Johnston
a4bd7c4274
chore: don't warn when stabilized features are used ( #2118 )
2023-12-17 20:34:32 -05:00
NKID00
8122941c3c
fix: let `mount_to_body` accept `FnOnce` closures ( closes #2115 ) ( #2116 )
2023-12-17 20:28:18 -05:00
Gentle
21f4c27cfb
chore: add nix-darwin support, update flake ( #2106 )
...
Co-authored-by: Gentle <ramon.klass@gmail.com>
2023-12-14 09:42:07 -05:00