Greg Johnston
c6de7c714e
fix: emit syntax errors in components rather than swallowing them ( closes #3535 ) ( #3538 )
2025-02-01 15:29:40 -05:00
Greg Johnston
6154199850
fix: attribute type erasure nightly ( closes #3536 ) ( #3537 )
2025-02-01 11:32:32 -05:00
Ivan Radiček
32be3a023a
feat: implement PatchField
for Option<_>
( #3528 )
2025-02-01 09:40:43 -05:00
Greg Johnston
d9043e4f34
feat: impl From<ArcField<T>>
for Field<T>
( #3533 )
...
* feat: impl `From<ArcField<T>>` for `Field<T>`
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-01 09:37:38 -05:00
Serhii Stepanchuk
e3010c7f1f
feat: add file_and_error_handler_with_context
( #3526 )
...
* add file_and_error_handler_with_context
like in leptos_routes_with_context func
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-31 12:33:55 -05:00
Greg Johnston
1dcc5838f7
v0.7.5
2025-01-30 21:42:39 -05:00
Georg Vienna
1ff373dbc2
feat: allow raw identifiers in Params derive macro ( #3525 )
2025-01-29 19:39:23 -05:00
Greg Johnston
c35c42c6e3
fix: correctly notify descendants and ancestors of store fields ( closes #3523 ) ( #3524 )
2025-01-29 19:28:26 -05:00
Geoffrey Garrett
d4cbba7c63
feat(callback): implement matches
method for Callback and UnsyncCallback ( #3520 )
...
* feat(callback): implement matches method for Callback and UnsyncCallback
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-27 20:37:11 -05:00
stefnotch
9cc8ee3c5a
fix: memo recomputation ( closes #3252 ) ( #3495 )
2025-01-27 20:19:16 -05:00
SleeplessOne1917
f0c5ffe55f
impl IntoAttributeValue for TextProp ( #3517 )
...
* impl IntoAttributeValue for TextProp
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-26 14:16:58 -05:00
benwis
586c330995
Fix formatting
2025-01-26 09:46:19 -08:00
zakstucke
72f960a026
AddAnyAttr working with erase_components ( #3518 )
...
* AddAnyAttr working with erase_components
* CI fixes
2025-01-26 09:43:32 -08:00
Danik Vitek
b62ae56094
feat (either_of
): Extent API; Implement other iterator methods; Update deps ( #3478 )
...
* Implement other iterator methods. Update deps
* Formatting
* Update Cargo.lock
* [autofix.ci] apply automated fixes
* Formatting
* Move `Either` declaration into the `tuples` macro
* Comment out non-MSRV-compliant methods
* [autofix.ci] apply automated fixes
* Formatting
* Implement mapping functions
* Fix clippy warnings
* Impl `Error`; Impl `From<Result<A, B>> for Either<B, A>`
* Fix `Error` impl
* Move `Error` impl under `#[cfg(not(feature="no_std"))] until MSRV >= 1.81
* [autofix.ci] apply automated fixes
* Make `From<Result>` compliant with `EitherOr`. Add `impl EitherOr for Either`
* fix: use fully-qualified name
* fix: `EitherOf` test
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-24 21:15:29 -08:00
Greg Johnston
9ccefbbd8c
chore: update workspace dependency versions to latest ( #3506 )
2025-01-24 21:07:20 -08:00
Danik Vitek
d1108826cc
docs: Fix README.md & Add MSRV badge ( #3480 )
...
* Fix README.md
* Add MSRV badge
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-24 21:06:19 -08:00
starmaker
d6c4cd2a81
issue-3467 - bumping codee version to support rkyv 8 ( #3504 )
...
* issue-3467 - bumping codee version to support rkyv 8
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-24 20:29:55 -08:00
Sam Jude
f8acdf9168
hexagonal architecture ( #3342 )
...
Co-authored-by: Sam <@>
2025-01-24 20:29:07 -08:00
dcsturman
09bbae2a72
Enhanced docs for reactive_stores ( #3508 )
...
Added docs on shadow traits, Option, Enum, Vec, and Box usage with Store.
2025-01-24 20:23:13 -08:00
Greg Johnston
ac3352724b
fix: including node_ref
after {..}
on arbitrary components ( #3503 )
2025-01-18 09:18:05 -05:00
Greg Johnston
3413825638
chore(ci): add CI for leptos_0.8
branch ( #3500 )
2025-01-17 16:04:36 -05:00
Greg Johnston
22b2d8ec84
feat: #[lazy]
macros to support lazy loading and code splitting ( #3477 )
2025-01-17 15:15:12 -05:00
Greg Johnston
1c3e013a63
chore: restore reactivity warning at top level of components ( closes #3354 ) ( #3499 )
2025-01-17 14:06:39 -05:00
Greg Johnston
9d4b1bc4b7
fix: correctly handle ErrorBoundary
through reactive views ( closes #3487 ) ( #3492 )
2025-01-17 13:22:06 -05:00
Greg Johnston
f303ff9706
feat: implement unboxing support for recursive store nodes ( closes #3491 ) ( #3493 )
2025-01-17 13:21:40 -05:00
Georg Vienna
9fd2a75da4
feat: either_or combinator ( #3417 )
2025-01-17 13:12:18 -05:00
Michael Scofield
429d1b1262
feat: support for custom patch function on stores ( #3449 )
2025-01-17 13:10:44 -05:00
Greg Johnston
035586e5d8
chore: work around wasm-bindgen breakage ( #3498 )
2025-01-17 12:16:05 -05:00
Greg Johnston
fdd5671fe1
v0.7.4
2025-01-15 19:38:44 -05:00
Greg Johnston
293149eeb2
fix: include missing nonces on streaming script tags and on leptos_meta
components ( closes #3482 ) ( #3485 )
2025-01-13 22:06:14 -05:00
Greg Johnston
a9ce608433
fix: do not use stale values in AsyncDerived if it is mutated before running ( #3475 )
2025-01-13 21:32:08 -05:00
Thomas Versteeg
62196ff638
docs: warn about callbacks outside the ownership tree ( #3442 )
2025-01-10 15:23:08 -05:00
WorldSEnder
db9cabb365
chore: use cfg! macro instead of #[cfg] attribute ( #3446 )
...
this unifies the code path. The alternative will *move* arguments passed
to the debug_warn! macro only when compiling without debug_assertions.
This version will instead always use additional format arguments by reference.
2025-01-10 15:22:41 -05:00
Greg Johnston
5293afddb7
chore: fix tracing warning mess ( #3473 )
2025-01-10 14:27:03 -05:00
林玮 (Jade Lin)
eeb01e2d52
feat: add [Arc]LocalResource::refetch method ( #3394 )
2025-01-10 13:57:37 -05:00
Geoffrey Garrett
7d9cd43c0e
feat: impl AddAnyAttr trait for Static<V> ( #3464 )
...
* Implement AddAnyAttr trait for Static<V>
Closes #3463
* [autofix.ci] apply automated fixes
---------
Co-authored-by: geoffreygarrett <geoffrey@apollo.xyz>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-10 12:54:01 -05:00
Greg Johnston
723685c370
fix: do not overwrite SuspenseContext in adjacent Transition components ( closes #3465 ) ( #3471 )
2025-01-10 12:52:28 -05:00
Michael Kadziela
6d19e1a921
chore: derive Clone
for RouteChildren
( #3462 )
...
This change allows users to clone RouteChildren and call .into_inner() on it to get an owned version of <Children>, and then pass on the original RouteChildren to an underlying Routes, or ParentRoute component.
This helps users snapshot all possible routes in an application.
2025-01-10 12:03:52 -05:00
Greg Johnston
165911b2e6
fix: allow multiple overlapping notifications of AsyncDerived/LocalResource ( closes #3454 ) ( #3455 )
2025-01-06 22:53:15 -05:00
starmaker
575186349c
Rkyv feature should propagate properly ( #3448 )
...
I suppose enabling `rkyv` feature on `leptos` crate should enable it on all dependencies.
2025-01-06 12:09:26 -08:00
Greg Johnston
10db2f83eb
v0.7.3
2025-01-04 08:55:44 -05:00
Greg Johnston
357f3be393
fix: erase_components
with AttributeInterceptor ( #3435 )
2025-01-04 08:46:17 -05:00
Soso
a1f5d6f79f
feat: impl IntoClass for Cow<'_, str> ( #3420 )
...
I also thought about making the implementation more generic, for example over
T: AsRef<str>, but that would change the associated types and be a breaking change
it would also conflict with the `Option` impl due to the orphan rules.
Maybe there is something to be done with Borrow or Deref in a future release?
2025-01-03 15:42:42 -05:00
Michael Scofield
34ecd2d541
feat: add Dispose for Store ( #3429 )
2025-01-03 15:37:59 -05:00
Michael Scofield
df38b075d8
feat: add Default to stores ( #3432 )
2025-01-03 15:37:41 -05:00
Konstantin Stepanov
46233e3097
fix: avoid failure on guard try_new()
functions ( #3436 )
2025-01-03 15:37:06 -05:00
Greg Johnston
46f6d9ae26
fix: correct ownership in redirect route hook ( closes #3425 ) ( #3428 )
2024-12-31 11:48:52 -05:00
Chris
8264d478e4
docs: remove islands
mention from leptos_axum
( #3423 )
2024-12-31 10:35:20 -05:00
Greg Johnston
9c54da304e
Merge pull request #3424 from leptos-rs/3419
...
Fix issues with island hydration when nested in a closure, and with context (closes #3419 )
2024-12-31 10:35:02 -05:00
Michael Scofield
1c002a2df8
chore: add missing #[track_caller]
s ( #3422 )
2024-12-31 10:34:47 -05:00