Greg Johnston
e7e18b1995
fix: correctly read resources inside <For/> children ( closes #4503 ) ( #4504 )
2025-12-26 11:26:05 -05:00
dependabot[bot]
81cff63455
chore(deps): bump actions/cache from 4 to 5 ( #4489 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-19 15:48:06 -05:00
dependabot[bot]
61186c2432
chore(deps): bump the rust-dependencies group across 1 directory with 19 updates ( #4499 )
...
Bumps the rust-dependencies group with 14 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [tracing](https://github.com/tokio-rs/tracing ) | `0.1.43` | `0.1.44` |
| [bitcode](https://github.com/SoftbearStudios/bitcode ) | `0.6.7` | `0.6.9` |
| [insta](https://github.com/mitsuhiko/insta ) | `1.44.3` | `1.45.0` |
| [bumpalo](https://github.com/fitzgen/bumpalo ) | `3.19.0` | `3.19.1` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.2.49` | `1.2.50` |
| [glam](https://github.com/bitshifter/glam-rs ) | `0.30.8` | `0.30.9` |
| [half](https://github.com/VoidStarKat/half-rs ) | `2.6.0` | `2.7.1` |
| [minicov](https://github.com/Amanieu/minicov ) | `0.3.7` | `0.3.8` |
| [rustls-pki-types](https://github.com/rustls/pki-types ) | `1.13.1` | `1.13.2` |
| [system-deps](https://github.com/gdesmott/system-deps ) | `7.0.5` | `7.0.7` |
| [toml_parser](https://github.com/toml-rs/toml ) | `1.0.4` | `1.0.6+spec-1.1.0` |
| [toml_writer](https://github.com/toml-rs/toml ) | `1.0.4` | `1.0.6+spec-1.1.0` |
| [utf8-width](https://github.com/magiclen/utf8-width ) | `0.1.7` | `0.1.8` |
| [version-compare](https://gitlab.com/timvisee/version-compare ) | `0.2.0` | `0.2.1` |
Updates `tracing` from 0.1.43 to 0.1.44
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.43...tracing-0.1.44 )
Updates `bitcode` from 0.6.7 to 0.6.9
- [Commits](https://github.com/SoftbearStudios/bitcode/commits )
Updates `insta` from 1.44.3 to 1.45.0
- [Release notes](https://github.com/mitsuhiko/insta/releases )
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.44.3...1.45.0 )
Updates `bitcode_derive` from 0.6.7 to 0.6.9
- [Commits](https://github.com/SoftbearStudios/bitcode/commits )
Updates `bumpalo` from 3.19.0 to 3.19.1
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/bumpalo/compare/v3.19.0...v3.19.1 )
Updates `cc` from 1.2.49 to 1.2.50
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.49...cc-v1.2.50 )
Updates `glam` from 0.30.8 to 0.30.9
- [Changelog](https://github.com/bitshifter/glam-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitshifter/glam-rs/compare/0.30.8...0.30.9 )
Updates `half` from 2.6.0 to 2.7.1
- [Release notes](https://github.com/VoidStarKat/half-rs/releases )
- [Changelog](https://github.com/VoidStarKat/half-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/VoidStarKat/half-rs/compare/v2.6.0...v2.7.1 )
Updates `minicov` from 0.3.7 to 0.3.8
- [Changelog](https://github.com/Amanieu/minicov/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/minicov/compare/v0.3.7...v0.3.8 )
Updates `rustls-pki-types` from 1.13.1 to 1.13.2
- [Release notes](https://github.com/rustls/pki-types/releases )
- [Commits](https://github.com/rustls/pki-types/compare/v/1.13.1...v/1.13.2 )
Updates `system-deps` from 7.0.5 to 7.0.7
- [Release notes](https://github.com/gdesmott/system-deps/releases )
- [Changelog](https://github.com/gdesmott/system-deps/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gdesmott/system-deps/compare/v7.0.5...v7.0.7 )
Updates `toml` from 0.8.23 to 0.9.8
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.23...toml-v0.9.8 )
Updates `toml_datetime` from 0.6.11 to 0.7.3
- [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.6.11...toml_datetime-v0.7.3 )
Updates `toml_edit` from 0.22.27 to 0.23.7
- [Commits](https://github.com/toml-rs/toml/compare/v0.22.27...v0.23.7 )
Updates `toml_parser` from 1.0.4 to 1.0.6+spec-1.1.0
- [Commits](https://github.com/toml-rs/toml/compare/toml_parser-v1.0.4...toml_parser-v1.0.6 )
Updates `toml_writer` from 1.0.4 to 1.0.6+spec-1.1.0
- [Commits](https://github.com/toml-rs/toml/compare/toml_writer-v1.0.4...toml_writer-v1.0.6 )
Updates `tracing-core` from 0.1.35 to 0.1.36
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-core-0.1.35...tracing-core-0.1.36 )
Updates `utf8-width` from 0.1.7 to 0.1.8
- [Commits](https://github.com/magiclen/utf8-width/compare/v0.1.7...v0.1.8 )
Updates `version-compare` from 0.2.0 to 0.2.1
- [Changelog](https://gitlab.com/timvisee/version-compare/blob/master/CHANGELOG.md )
- [Commits](https://gitlab.com/timvisee/version-compare/compare/v0.2.0...v0.2.1 )
---
updated-dependencies:
- dependency-name: tracing
dependency-version: 0.1.44
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bitcode
dependency-version: 0.6.9
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: insta
dependency-version: 1.45.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: bitcode_derive
dependency-version: 0.6.9
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bumpalo
dependency-version: 3.19.1
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cc
dependency-version: 1.2.50
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: glam
dependency-version: 0.30.9
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: half
dependency-version: 2.7.1
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: minicov
dependency-version: 0.3.8
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rustls-pki-types
dependency-version: 1.13.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: system-deps
dependency-version: 7.0.7
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: toml
dependency-version: 0.9.8
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: toml_datetime
dependency-version: 0.7.3
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: toml_edit
dependency-version: 0.23.7
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: toml_parser
dependency-version: 1.0.6+spec-1.1.0
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: toml_writer
dependency-version: 1.0.6+spec-1.1.0
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tracing-core
dependency-version: 0.1.36
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: utf8-width
dependency-version: 0.1.8
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: version-compare
dependency-version: 0.2.1
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-19 15:47:50 -05:00
Greg Johnston
75e42ccea5
Merge pull request #4501 from leptos-rs/4488v2
...
Fix untracked writes on keyed store fields
2025-12-19 15:47:29 -05:00
Greg Johnston
85c7cc94ad
Merge pull request #4500 from leptos-rs/fix-4481
...
fix: wrong path for `IntoAnyAttribute` in macro expansion from #4481
2025-12-19 15:46:56 -05:00
Greg Johnston
270536adb1
fix: prevent untracked writes on keyed subfields from notifying parent
...
(closes #4488 )
2025-12-19 11:41:13 -05:00
Greg Johnston
cec0fb8d85
chore: add regression test to make sure untracked writes on store fields
...
don't notify anything
2025-12-19 11:40:44 -05:00
Greg Johnston
764b9cd57d
leptos_macro-v0.8.14
2025-12-19 11:32:43 -05:00
Greg Johnston
6de2b4006a
fix: wrong path for IntoAnyAttribute in macro expansion from #4481
2025-12-19 11:31:25 -05:00
Greg Johnston
65940cbefa
fix: do not show Transition fallback on 2nd change if 1st change resolved synchronously ( closes #4492 , closes #3868 ) ( #4495 )
2025-12-19 10:42:44 -05:00
Greg Johnston
8f5c34de8a
chore: publish patch versions
2025-12-19 10:22:10 -05:00
Saber Haj Rabiee
4faa340ba8
chore: upgrade dependencies ( #4497 )
2025-12-19 09:29:04 -05:00
Merlijn
5af5fdeeed
chore: add missing import for IntoAnyAttribute when using erase_components ( #4481 )
2025-12-15 14:57:32 -05:00
Greg Johnston
9dd52e6c15
fix: use unkeyed paths for all store patching ( closes #4486 ) ( #4487 )
2025-12-14 21:13:08 -05:00
Greg Johnston
8535a10bd7
chore: add a regression test to ensure correct behavior for keyed store fields (see discussion in #4473 ) ( #4483 )
2025-12-14 15:47:48 -05:00
Greg Johnston
7864a12967
chore: resolve new warnings ( #4485 )
2025-12-13 14:00:19 -05:00
dependabot[bot]
9733cdcfe1
chore(deps): bump actions/checkout from 5 to 6 ( #4461 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-28 12:28:14 -05:00
Marc-Stefan Cassola
1aaa716dfc
examples: use ShowLet where appropriate in examples ( #4467 )
2025-11-28 12:00:26 -05:00
Greg Johnston
779b2f2a9f
chore: bump versions after recent release
2025-11-24 19:49:03 -05:00
Greg Johnston
72e0abc75c
chore: bump versions after recent release ( #4462 )
2025-11-24 17:29:23 -05:00
zakstucke
a7a8970150
feat: resupport From<Fn() -> T> for Signal<T>, ArcSignal<T>, Callback<T, _> and similar ( #4273 )
2025-11-24 13:50:11 -05:00
Tyler Earls
2e09f3d102
fix: make class attribute overwrite behavior consistent between SSR and CSR ( closes #4248 ) ( #4439 )
...
Fixes #4248
During SSR, multiple `class` attributes were incorrectly concatenating
instead of overwriting like they do in browsers. This inconsistency
caused code that appeared to work in SSR to fail in CSR/hydration.
The fix distinguishes between two types of class attributes:
- `class="..."` attributes should overwrite (clear previous values)
- `class:name=value` directives should merge (append to existing classes)
Implementation:
- Added `should_overwrite()` method to `IntoClass` trait (defaults to `false`)
- Modified `Class::to_html()` to clear buffer before rendering if `should_overwrite()` returns `true`
- Implemented `should_overwrite() -> true` for string types (`&str`, `String`, `Cow<'_, str>`, `Arc<str>`)
- Tuple type `(&'static str, bool)` keeps default `false` for merge behavior
Added comprehensive tests to verify:
- `class="foo" class:bar=true` produces `"foo bar"` (merge)
- `class:foo=true` works standalone
- Correct behavior with macro attribute sorting
- Global class application
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-22 13:12:10 -05:00
tqq1994516
e6fe7fef07
fix: add response headers for leptos_axum static files #4377 ( #4394 )
2025-11-22 13:11:53 -05:00
Greg Johnston
629f4f9d0f
fix: do not unescape query and hash in URLs when clicking links (closes ( #4454 )
2025-11-21 13:16:24 -05:00
Ægir Örn Símonarson
ff5b612e12
chore: removed duplicate workspace member oco ( #4445 )
2025-11-19 19:59:14 -05:00
Greg Johnston
61571ed24b
fix: improve marker-node filtering when using islands router ( closes #4443 ) ( #4446 )
2025-11-19 19:56:44 -05:00
Greg Johnston
4f3a26ce88
fix: track resources in Suspense that are read conditionally behind other resource reads (see #4430 ) ( #4444 )
2025-11-17 21:36:56 -05:00
Greg Johnston
83a848b5ec
chore: clean up up warning behavior for resources that depend on other resources ( #4415 ) ( closes #3372 )
2025-11-17 21:00:41 -05:00
Greg Johnston
eec9edf517
Update README.md
2025-11-11 15:51:21 -05:00
Marco Kuoni
861dcf354c
docs: add --split to command for lazy_routes example ( #4440 )
2025-11-09 20:23:40 -05:00
Greg Johnston
af3d6cba22
fix: remove possibility of SendWrapper errors on server by using conditional compilation instead of overloading .dry_resolve() ( closes #4432 , #4402 ) ( #4433 )
2025-11-07 13:43:18 -05:00
Alexis Fontaine
a0d657f9b1
chore: relax Debug trait bound on tuples PossibleRouteMatch implementation ( #4428 )
2025-11-04 08:42:38 -05:00
Greg Johnston
cddb24ebd3
fix: check custom element tag name when rebuilding ( #4413 )
2025-11-02 14:49:51 -05:00
Greg Johnston
e8afd11995
Merge pull request #4427 from zakstucke/zak/root-owner-cleanup
...
Force cleanup even if there are other references to the root owner
2025-11-02 14:49:29 -05:00
Zak Stucke
4d01d95175
Clippy
2025-11-02 16:16:03 +02:00
Zak Stucke
9bf5b22633
Force cleanup even if there are other references to the root owner
2025-11-02 15:24:26 +02:00
Greg Johnston
da4a7d5285
examples: clarify behavior of upload-with-progress demo ( closes #4397 ) ( #4420 )
2025-10-29 21:07:52 -04:00
Tim Sweña (Swast)
2af6c6353c
chore: add homepage to leptos cargo metadata ( #4417 )
...
This updates the links at Are We Web Yet.
2025-10-29 08:35:13 -04:00
Greg Johnston
7f4b5eb4d1
chore: publish patch versions
2025-10-27 20:05:04 -04:00
WorldSEnder
fbf46ca58c
feat: replace vendored wasm-split with out-of-repository version ( #4369 )
2025-10-24 21:13:55 -04:00
Greg Johnston
0edbd9b3b5
chore: publish patch versions
2025-10-24 13:06:04 -04:00
arpad voros
43359694b6
feat: add bitcode encoding/decoding to server functions ( #4376 )
2025-10-24 12:42:01 -04:00
dependabot[bot]
9dd5501b1a
chore(deps): bump playwright ( #4399 )
...
Bumps the npm_and_yarn group with 1 update in the /projects/hexagonal-architecture/end2end directory: [playwright](https://github.com/microsoft/playwright ).
Updates `playwright` from 1.44.1 to 1.56.1
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.44.1...v1.56.1 )
---
updated-dependencies:
- dependency-name: playwright
dependency-version: 1.56.1
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 12:41:27 -04:00
dependabot[bot]
6843f654ff
chore(deps): bump actions/setup-node from 5 to 6 ( #4398 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 12:41:11 -04:00
Greg Johnston
cb7c648400
fix: adding missing dry_resolve() call on Suspend ( closes #4402 ) ( #4404 )
2025-10-23 14:00:29 -04:00
Greg Johnston
d3148ac9c9
leptos_actix-v0.8.6 ( #4396 )
...
* leptos_actix-v0.8.6
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-23 12:50:48 -04:00
Greg Johnston
6d7e203efe
Merge pull request #4389 from leptos-rs/4385
...
fix: correctly track ancestors for `AtIndex` (closes #4385 )
2025-10-18 10:25:07 -04:00
arpad voros
b5c69937b4
chore: propagate features from leptos to server_fn to avoid need to explicitly add dependency
2025-10-17 13:14:31 -04:00
Greg Johnston
0b45ff5116
Merge remote-tracking branch 'origin' into 4385
2025-10-17 11:42:48 -04:00
Greg Johnston
13dc6f474d
chore: add regression test for #4385
2025-10-17 11:42:43 -04:00
Greg Johnston
21218fc802
chore: add regression test for #3523
2025-10-17 11:42:32 -04:00
Greg Johnston
65b5be2748
Merge pull request #4383 from leptos-rs/3957
...
fix: patching keyed store fields (closes #3957 )
2025-10-15 09:45:35 -04:00
Greg Johnston
7c30bb92f7
fix: correctly track ancestors for AtIndex ( closes #4385 )
2025-10-13 17:31:45 -04:00
autofix-ci[bot]
edf369f035
[autofix.ci] apply automated fixes
2025-10-13 15:40:12 +00:00
Greg Johnston
eb02304ee1
chore: bump reactive_stores minor version number
2025-10-13 11:05:40 -04:00
Greg Johnston
578b672f14
fix: patching keyed store fields ( closes #3957 )
2025-10-13 10:52:45 -04:00
Greg Johnston
b20902aaa1
fix: use correct/full type names for matched routes to fix islands-router issues ( closes #4378 ) ( #4380 )
2025-10-11 08:04:21 -04:00
Michael Kadziela
d3ad0c67b6
fix: clean up window router events on unmount (improves subsecond support for router)
...
Clean up window router events on unmount
2025-10-10 12:03:31 -04:00
Greg Johnston
62d8ec9cc5
feat: effect::immediate::batch ( #4344 )
...
* feat: `ImmediateEffect::new_mut_scoped`
* fix: `ImmediateEffect` debug info
* feat: `effect::immediate::batch`
2025-10-10 11:31:57 -04:00
Antoine Büsch
0d2523190d
feat: allow anyhow::Error (and similar types) to be converted to throw_error::Error ( #4359 )
...
* Allow more types to be converted to throw_error::Error
## Context
At the moment it is quite difficult to get crates like `anyhow` to play
well with leptos, in particular because it is _very_ difficult to
convert an `anyhow::Error` type to a `leptos::Error` type. This is
because the only way to construct a `leptos::Error` currently is via its
`From` implementation, which exists for any type that implements the
standard `Error` trait, but `anyhow::Error` does not implement
`StdError` directly. It can however be converted to a boxed trait object
via its [`.into_boxed_dyn_error()`][4] method, and you would think that `Box<dyn
Error>` implements `Error`, but [that is sadly not the case][1].
## Solution
Change the blanket implementation of `From` for `throw_error::Error`
from "any type that implements the Error trait" to "any type that can be
converted to a boxed Error trait object".
This works because:
- A `Box` [can be converted][2] to an `Arc` for any type (including unsized
types like trait objects),
- Any type that implements the standard `Error` trait [can be
converted][3] to a `Box<dyn Error>`, so the new `From` blanket
implementation covers a strict superset of what was previously
allowed.
This change now allows types like `anyhow::Error`, but also `String`, to
be easily converted to a leptos `Error`, therefore making them play well
with things like `<ErrorBoundary>`.
[1]: https://stackoverflow.com/questions/65151237/why-doesnt-boxdyn-error-implement-error
[2]: https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#impl-From%3CBox%3CT,+A%3E%3E-for-Arc%3CT,+A%3E
[3]: https://doc.rust-lang.org/stable/std/error/trait.Error.html#impl-From%3CE%3E-for-Box%3Cdyn+Error%3E
[4]: https://docs.rs/anyhow/latest/anyhow/struct.Error.html#method.into_boxed_dyn_error
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-10 11:29:23 -04:00
mahdi739
338da18ed2
chore: re-export debug_log and debug_error in logging module ( #4335 )
...
* chore: re-export `debug_log` and `debug_error` in logging module
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-10 11:26:54 -04:00
Greg Johnston
616aae4c3c
fix: allow setting NodeRef by implementing IsDisposed ( #4367 )
2025-10-10 11:26:07 -04:00
dependabot[bot]
c6e59eeb43
chore(deps): bump the rust-dependencies group with 43 updates ( #4368 )
...
Bumps the rust-dependencies group with 43 updates:
| Package | From | To |
| --- | --- | --- |
| [thiserror](https://github.com/dtolnay/thiserror ) | `2.0.16` | `2.0.17` |
| [const_format](https://github.com/rodrimati1992/const_format_crates ) | `0.2.34` | `0.2.35` |
| [parking_lot](https://github.com/Amanieu/parking_lot ) | `0.12.4` | `0.12.5` |
| [axum](https://github.com/tokio-rs/axum ) | `0.8.4` | `0.8.6` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.40` | `1.0.41` |
| [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite ) | `0.27.0` | `0.28.0` |
| [camino](https://github.com/camino-rs/camino ) | `1.2.0` | `1.2.1` |
| [rkyv](https://github.com/rkyv/rkyv ) | `0.8.11` | `0.8.12` |
| [regex](https://github.com/rust-lang/regex ) | `1.11.2` | `1.11.3` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.22.0` | `3.23.0` |
| [attribute-derive](https://github.com/ModProg/attribute-derive ) | `0.10.3` | `0.10.5` |
| [actix-http](https://github.com/actix/actix-web ) | `3.11.1` | `3.11.2` |
| [attribute-derive-macro](https://github.com/ModProg/attribute-derive ) | `0.10.3` | `0.10.5` |
| [axum-core](https://github.com/tokio-rs/axum ) | `0.5.2` | `0.5.5` |
| [backtrace](https://github.com/rust-lang/backtrace-rs ) | `0.3.75` | `0.3.76` |
| [bytecheck](https://github.com/rkyv/bytecheck ) | `0.8.1` | `0.8.2` |
| [bytecheck_derive](https://github.com/rkyv/bytecheck ) | `0.8.1` | `0.8.2` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.2.38` | `1.2.40` |
| [collection_literals](https://github.com/staedoix/collection_literals ) | `1.0.2` | `1.0.3` |
| [deranged](https://github.com/jhpratt/deranged ) | `0.5.3` | `0.5.4` |
| [find-msvc-tools](https://github.com/rust-lang/cc-rs ) | `0.1.2` | `0.1.3` |
| [flate2](https://github.com/rust-lang/flate2-rs ) | `1.1.2` | `1.1.4` |
| [gimli](https://github.com/gimli-rs/gimli ) | `0.31.1` | `0.32.3` |
| [libc](https://github.com/rust-lang/libc ) | `0.2.175` | `0.2.176` |
| [lock_api](https://github.com/Amanieu/parking_lot ) | `0.4.13` | `0.4.14` |
| [memchr](https://github.com/BurntSushi/memchr ) | `2.7.5` | `2.7.6` |
| [miniserde](https://github.com/dtolnay/miniserde ) | `0.1.42` | `0.1.43` |
| [munge](https://github.com/djkoloski/munge ) | `0.4.6` | `0.4.7` |
| [munge_macro](https://github.com/djkoloski/munge ) | `0.4.6` | `0.4.7` |
| [object](https://github.com/gimli-rs/object ) | `0.36.7` | `0.37.3` |
| [parking_lot_core](https://github.com/Amanieu/parking_lot ) | `0.9.11` | `0.9.12` |
| [ptr_meta](https://github.com/rkyv/ptr_meta ) | `0.3.0` | `0.3.1` |
| [ptr_meta_derive](https://github.com/rkyv/ptr_meta ) | `0.3.0` | `0.3.1` |
| [rancor](https://github.com/rkyv/rancor ) | `0.1.0` | `0.1.1` |
| redox_syscall | `0.5.17` | `0.5.18` |
| [regex-automata](https://github.com/rust-lang/regex ) | `0.4.10` | `0.4.11` |
| [rend](https://github.com/djkoloski/rend ) | `0.5.2` | `0.5.3` |
| [rkyv_derive](https://github.com/rkyv/rkyv ) | `0.8.11` | `0.8.12` |
| [rustls-webpki](https://github.com/rustls/webpki ) | `0.103.6` | `0.103.7` |
| [tokio-rustls](https://github.com/rustls/tokio-rustls ) | `0.26.3` | `0.26.4` |
| [tungstenite](https://github.com/snapview/tungstenite-rs ) | `0.26.2` | `0.27.0` |
| [typenum](https://github.com/paholg/typenum ) | `1.18.0` | `1.19.0` |
| [zeroize](https://github.com/RustCrypto/utils ) | `1.8.1` | `1.8.2` |
Updates `thiserror` from 2.0.16 to 2.0.17
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.16...2.0.17 )
Updates `const_format` from 0.2.34 to 0.2.35
- [Release notes](https://github.com/rodrimati1992/const_format_crates/releases )
- [Changelog](https://github.com/rodrimati1992/const_format_crates/blob/master/Changelog.md )
- [Commits](https://github.com/rodrimati1992/const_format_crates/commits )
Updates `parking_lot` from 0.12.4 to 0.12.5
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/parking_lot-v0.12.4...parking_lot-v0.12.5 )
Updates `axum` from 0.8.4 to 0.8.6
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.8.4...axum-v0.8.6 )
Updates `quote` from 1.0.40 to 1.0.41
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.40...1.0.41 )
Updates `tokio-tungstenite` from 0.27.0 to 0.28.0
- [Changelog](https://github.com/snapview/tokio-tungstenite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/snapview/tokio-tungstenite/compare/v0.27.0...v0.28.0 )
Updates `camino` from 1.2.0 to 1.2.1
- [Release notes](https://github.com/camino-rs/camino/releases )
- [Changelog](https://github.com/camino-rs/camino/blob/main/CHANGELOG.md )
- [Commits](https://github.com/camino-rs/camino/compare/camino-1.2.0...camino-1.2.1 )
Updates `rkyv` from 0.8.11 to 0.8.12
- [Release notes](https://github.com/rkyv/rkyv/releases )
- [Commits](https://github.com/rkyv/rkyv/commits )
Updates `regex` from 1.11.2 to 1.11.3
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.11.2...1.11.3 )
Updates `tempfile` from 3.22.0 to 3.23.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.22.0...v3.23.0 )
Updates `attribute-derive` from 0.10.3 to 0.10.5
- [Release notes](https://github.com/ModProg/attribute-derive/releases )
- [Changelog](https://github.com/ModProg/attribute-derive/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ModProg/attribute-derive/compare/v0.10.3...v0.10.5 )
Updates `actix-http` from 3.11.1 to 3.11.2
- [Release notes](https://github.com/actix/actix-web/releases )
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md )
- [Commits](https://github.com/actix/actix-web/compare/http-v3.11.1...http-v3.11.2 )
Updates `attribute-derive-macro` from 0.10.3 to 0.10.5
- [Release notes](https://github.com/ModProg/attribute-derive/releases )
- [Changelog](https://github.com/ModProg/attribute-derive/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ModProg/attribute-derive/compare/v0.10.3...v0.10.5 )
Updates `axum-core` from 0.5.2 to 0.5.5
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-core-v0.5.2...axum-core-v0.5.5 )
Updates `backtrace` from 0.3.75 to 0.3.76
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Changelog](https://github.com/rust-lang/backtrace-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.75...backtrace-v0.3.76 )
Updates `bytecheck` from 0.8.1 to 0.8.2
- [Release notes](https://github.com/rkyv/bytecheck/releases )
- [Commits](https://github.com/rkyv/bytecheck/commits )
Updates `bytecheck_derive` from 0.8.1 to 0.8.2
- [Release notes](https://github.com/rkyv/bytecheck/releases )
- [Commits](https://github.com/rkyv/bytecheck/commits )
Updates `cc` from 1.2.38 to 1.2.40
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.38...cc-v1.2.40 )
Updates `collection_literals` from 1.0.2 to 1.0.3
- [Commits](https://github.com/staedoix/collection_literals/commits )
Updates `deranged` from 0.5.3 to 0.5.4
- [Commits](https://github.com/jhpratt/deranged/commits )
Updates `find-msvc-tools` from 0.1.2 to 0.1.3
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/find-msvc-tools-v0.1.2...find-msvc-tools-v0.1.3 )
Updates `flate2` from 1.1.2 to 1.1.4
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.1.2...1.1.4 )
Updates `gimli` from 0.31.1 to 0.32.3
- [Changelog](https://github.com/gimli-rs/gimli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gimli-rs/gimli/compare/0.31.1...0.32.3 )
Updates `libc` from 0.2.175 to 0.2.176
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.176/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.175...0.2.176 )
Updates `lock_api` from 0.4.13 to 0.4.14
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/lock_api-v0.4.13...lock_api-v0.4.14 )
Updates `memchr` from 2.7.5 to 2.7.6
- [Commits](https://github.com/BurntSushi/memchr/compare/2.7.5...2.7.6 )
Updates `miniserde` from 0.1.42 to 0.1.43
- [Release notes](https://github.com/dtolnay/miniserde/releases )
- [Commits](https://github.com/dtolnay/miniserde/compare/0.1.42...0.1.43 )
Updates `munge` from 0.4.6 to 0.4.7
- [Release notes](https://github.com/djkoloski/munge/releases )
- [Commits](https://github.com/djkoloski/munge/commits )
Updates `munge_macro` from 0.4.6 to 0.4.7
- [Release notes](https://github.com/djkoloski/munge/releases )
- [Commits](https://github.com/djkoloski/munge/commits )
Updates `object` from 0.36.7 to 0.37.3
- [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gimli-rs/object/compare/0.36.7...0.37.3 )
Updates `parking_lot_core` from 0.9.11 to 0.9.12
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/parking_lot_core-v0.9.11...parking_lot_core-v0.9.12 )
Updates `ptr_meta` from 0.3.0 to 0.3.1
- [Release notes](https://github.com/rkyv/ptr_meta/releases )
- [Changelog](https://github.com/rkyv/ptr_meta/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rkyv/ptr_meta/commits )
Updates `ptr_meta_derive` from 0.3.0 to 0.3.1
- [Release notes](https://github.com/rkyv/ptr_meta/releases )
- [Changelog](https://github.com/rkyv/ptr_meta/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rkyv/ptr_meta/commits )
Updates `rancor` from 0.1.0 to 0.1.1
- [Release notes](https://github.com/rkyv/rancor/releases )
- [Commits](https://github.com/rkyv/rancor/commits )
Updates `redox_syscall` from 0.5.17 to 0.5.18
Updates `regex-automata` from 0.4.10 to 0.4.11
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/commits )
Updates `rend` from 0.5.2 to 0.5.3
- [Release notes](https://github.com/djkoloski/rend/releases )
- [Commits](https://github.com/djkoloski/rend/commits )
Updates `rkyv_derive` from 0.8.11 to 0.8.12
- [Release notes](https://github.com/rkyv/rkyv/releases )
- [Commits](https://github.com/rkyv/rkyv/commits )
Updates `rustls-webpki` from 0.103.6 to 0.103.7
- [Release notes](https://github.com/rustls/webpki/releases )
- [Commits](https://github.com/rustls/webpki/compare/v/0.103.6...v/0.103.7 )
Updates `tokio-rustls` from 0.26.3 to 0.26.4
- [Release notes](https://github.com/rustls/tokio-rustls/releases )
- [Commits](https://github.com/rustls/tokio-rustls/compare/v/0.26.3...v/0.26.4 )
Updates `tungstenite` from 0.26.2 to 0.27.0
- [Changelog](https://github.com/snapview/tungstenite-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/snapview/tungstenite-rs/compare/v0.26.2...v0.27.0 )
Updates `typenum` from 1.18.0 to 1.19.0
- [Release notes](https://github.com/paholg/typenum/releases )
- [Changelog](https://github.com/paholg/typenum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/paholg/typenum/compare/v1.18.0...v1.19.0 )
Updates `zeroize` from 1.8.1 to 1.8.2
- [Commits](https://github.com/RustCrypto/utils/compare/zeroize-v1.8.1...zeroize-v1.8.2 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-version: 2.0.17
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: const_format
dependency-version: 0.2.35
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: parking_lot
dependency-version: 0.12.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: axum
dependency-version: 0.8.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: quote
dependency-version: 1.0.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tokio-tungstenite
dependency-version: 0.28.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: camino
dependency-version: 1.2.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rkyv
dependency-version: 0.8.12
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: regex
dependency-version: 1.11.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tempfile
dependency-version: 3.23.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: attribute-derive
dependency-version: 0.10.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: actix-http
dependency-version: 3.11.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: attribute-derive-macro
dependency-version: 0.10.5
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: axum-core
dependency-version: 0.5.5
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: backtrace
dependency-version: 0.3.76
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bytecheck
dependency-version: 0.8.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bytecheck_derive
dependency-version: 0.8.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cc
dependency-version: 1.2.40
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: collection_literals
dependency-version: 1.0.3
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: deranged
dependency-version: 0.5.4
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: find-msvc-tools
dependency-version: 0.1.3
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: flate2
dependency-version: 1.1.4
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: gimli
dependency-version: 0.32.3
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: libc
dependency-version: 0.2.176
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: lock_api
dependency-version: 0.4.14
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: memchr
dependency-version: 2.7.6
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: miniserde
dependency-version: 0.1.43
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: munge
dependency-version: 0.4.7
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: munge_macro
dependency-version: 0.4.7
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: object
dependency-version: 0.37.3
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: parking_lot_core
dependency-version: 0.9.12
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: ptr_meta
dependency-version: 0.3.1
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: ptr_meta_derive
dependency-version: 0.3.1
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rancor
dependency-version: 0.1.1
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: redox_syscall
dependency-version: 0.5.18
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: regex-automata
dependency-version: 0.4.11
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rend
dependency-version: 0.5.3
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rkyv_derive
dependency-version: 0.8.12
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rustls-webpki
dependency-version: 0.103.7
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tokio-rustls
dependency-version: 0.26.4
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tungstenite
dependency-version: 0.27.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: typenum
dependency-version: 1.19.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: zeroize
dependency-version: 1.8.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-10 11:25:54 -04:00
Adam Doyle
c025ae59ac
chore: add scrollend event to view macro ( #4379 )
2025-10-10 09:56:23 -04:00
Brett Etter
df46feee5d
fixed: removed excess bound on MaybeProp ReadUntracked implementation. ( #4360 )
2025-10-04 09:07:04 -04:00
Greg Johnston
bbf5bf9170
chore: publish patch releases
2025-09-29 15:21:22 -04:00
QuartzLibrary
7a3556bf34
feat: effect::immediate::batch
2025-09-27 22:59:05 +01:00
QuartzLibrary
d13936cab5
fix: ImmediateEffect debug info
2025-09-27 22:57:18 +01:00
QuartzLibrary
b303a35d76
feat: ImmediateEffect::new_mut_scoped
2025-09-27 22:57:18 +01:00
Greg Johnston
a453b7d1bd
fix: correctly poll all out-of-order streaming chunks ( closes #4326 ) ( #4333 )
...
* fix: correctly poll all out-of-order streaming chunks (closes #4326 )
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-26 07:45:41 -04:00
Greg Johnston
3b9ccdf57e
Merge pull request #4334 from leptos-rs/4324
...
Correctly manage path stack during back navigation
2025-09-26 07:45:25 -04:00
Greg Johnston
27cd423ebc
fix: correctly update path stack when navigating backwards ( closes #4324 )
2025-09-24 19:39:31 -04:00
Greg Johnston
b3907baf49
test: add regression test for #4324
2025-09-24 19:23:20 -04:00
Greg Johnston
9a8bb7eb75
test: add regression test for #4251
2025-09-24 19:23:13 -04:00
Greg Johnston
95db8c939e
chore: add missing attributes ( #4308 )
...
* chore: add missing `dirname` attribute to `input` element
* chore: add missing `exportparts` global attribute
2025-09-24 17:05:38 -04:00
zakstucke
2bfa9952af
feat: allow accessing a parent owner from a child ( #4325 )
2025-09-24 17:04:26 -04:00
Greg Johnston
4e445f43d6
fix: correctly import scoped slots ( closes #4311 ) ( #4318 )
2025-09-24 17:01:25 -04:00
dependabot[bot]
5f544f67ae
chore(deps): bump the rust-dependencies group across 1 directory with 11 updates ( #4319 )
...
Bumps the rust-dependencies group with 3 updates in the / directory: [anyhow](https://github.com/dtolnay/anyhow ), [subsecond](https://github.com/dioxuslabs/dioxus ) and [libloading](https://github.com/nagisa/rust_libloading ).
Updates `anyhow` from 1.0.99 to 1.0.100
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.99...1.0.100 )
Updates `subsecond` from `eef4db6` to `2e7e069`
- [Release notes](https://github.com/dioxuslabs/dioxus/releases )
- [Commits](eef4db67b1...2e7e0696a3 )
Updates `dioxus-cli-config` from `eef4db6` to `2e7e069`
- [Release notes](https://github.com/dioxuslabs/dioxus/releases )
- [Commits](eef4db67b1...2e7e0696a3 )
Updates `dioxus-devtools` from `eef4db6` to `2e7e069`
- [Release notes](https://github.com/dioxuslabs/dioxus/releases )
- [Commits](eef4db67b1...2e7e0696a3 )
Updates `dioxus-core` from `eef4db6` to `2e7e069`
- [Release notes](https://github.com/DioxusLabs/dioxus/releases )
- [Commits](https://github.com/DioxusLabs/dioxus/commits )
Updates `dioxus-core-types` from `eef4db6` to `2e7e069`
- [Release notes](https://github.com/DioxusLabs/dioxus/releases )
- [Commits](https://github.com/DioxusLabs/dioxus/commits )
Updates `dioxus-devtools-types` from `eef4db6` to `2e7e069`
- [Release notes](https://github.com/DioxusLabs/dioxus/releases )
- [Commits](https://github.com/DioxusLabs/dioxus/commits )
Updates `dioxus-signals` from `eef4db6` to `2e7e069`
- [Release notes](https://github.com/DioxusLabs/dioxus/releases )
- [Commits](https://github.com/DioxusLabs/dioxus/commits )
Updates `generational-box` from `eef4db6` to `2e7e069`
- [Release notes](https://github.com/DioxusLabs/dioxus/releases )
- [Commits](https://github.com/DioxusLabs/dioxus/commits )
Updates `libloading` from 0.8.8 to 0.8.9
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.8...0.8.9 )
Updates `subsecond-types` from `eef4db6` to `2e7e069`
- [Release notes](https://github.com/DioxusLabs/dioxus/releases )
- [Commits](https://github.com/DioxusLabs/dioxus/commits )
---
updated-dependencies:
- dependency-name: anyhow
dependency-version: 1.0.100
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: subsecond
dependency-version: 2e7e0696a320a2a98a07e405603f59c8296b0b42
dependency-type: direct:production
dependency-group: rust-dependencies
- dependency-name: dioxus-cli-config
dependency-version: 2e7e0696a320a2a98a07e405603f59c8296b0b42
dependency-type: direct:production
dependency-group: rust-dependencies
- dependency-name: dioxus-devtools
dependency-version: 2e7e0696a320a2a98a07e405603f59c8296b0b42
dependency-type: direct:production
dependency-group: rust-dependencies
- dependency-name: dioxus-core
dependency-version: 2e7e0696a320a2a98a07e405603f59c8296b0b42
dependency-type: indirect
dependency-group: rust-dependencies
- dependency-name: dioxus-core-types
dependency-version: 2e7e0696a320a2a98a07e405603f59c8296b0b42
dependency-type: indirect
dependency-group: rust-dependencies
- dependency-name: dioxus-devtools-types
dependency-version: 2e7e0696a320a2a98a07e405603f59c8296b0b42
dependency-type: indirect
dependency-group: rust-dependencies
- dependency-name: dioxus-signals
dependency-version: 2e7e0696a320a2a98a07e405603f59c8296b0b42
dependency-type: indirect
dependency-group: rust-dependencies
- dependency-name: generational-box
dependency-version: 2e7e0696a320a2a98a07e405603f59c8296b0b42
dependency-type: indirect
dependency-group: rust-dependencies
- dependency-name: libloading
dependency-version: 0.8.9
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: subsecond-types
dependency-version: 2e7e0696a320a2a98a07e405603f59c8296b0b42
dependency-type: indirect
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-24 17:01:08 -04:00
Greg Johnston
68477d2b76
fix: preload correct __wasm_split.*.js file ( closes #4322 ) ( #4327 )
2025-09-24 17:00:55 -04:00
Greg Johnston
5bd9469b93
fix: remove event listeners correctly when dropping handles ( closes #4313 ) ( #4314 )
2025-09-23 10:59:04 -04:00
Greg Johnston
4bca70dc2f
chore: specify Tailwind version in Trunk.toml ( closes #4315 ) ( #4317 )
2025-09-21 14:38:13 -04:00
dependabot[bot]
d0295009cf
chore(deps): bump tj-actions/changed-files from 46 to 47 ( #4297 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 46 to 47.
- [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/v46...v47 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-version: '47'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-20 11:40:53 -04:00
dependabot[bot]
3e8b5c9805
chore(deps): bump actions/setup-node from 4 to 5 ( #4283 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-20 11:40:41 -04:00
Greg Johnston
924efa8ac1
feat: minimal support for subsecond and an example ( #4307 )
2025-09-20 11:40:28 -04:00
Adam Doyle
b92a14228c
chore: add missing exportparts global attribute
2025-09-20 08:40:17 -04:00
Adam Doyle
68967fdad3
chore: add missing dirname attribute to input element
2025-09-19 16:00:05 -04:00
Ægir Örn Símonarson
44bc4fbc31
Locking dependencies in cargo-leptos install example ( #4295 )
...
This limits dependencies errors on install
2025-09-19 11:35:51 -04:00
Greg Johnston
646cfc12ed
leptos v0.8.9
2025-09-18 15:49:46 -04:00
Greg Johnston
62977a68b0
fix: support const generic static strs on nightly versions with conflicting feature names ( closes #4300 ) ( #4301 )
2025-09-18 09:09:36 -04:00
Adam Doyle
e9ee90c78f
chore: add referrerpolicy attribute to a element ( #4299 )
2025-09-18 09:05:27 -04:00
Greg Johnston
73e728f145
Merge pull request #4294 from leptos-rs/4285
...
fix: prevent double-rebuild and correctly navigate multiple times to same lazy route (closes #4285 )
2025-09-17 10:05:49 -04:00
Greg Johnston
6f047a2271
test: add regression test for #4296
2025-09-16 16:22:42 -04:00
Greg Johnston
7c942b8b47
chore: correct name for test
2025-09-16 16:07:00 -04:00
Greg Johnston
d4bf6d9cb6
test: add regression test for #4285
2025-09-15 21:05:12 -04:00
Greg Johnston
9deb96ea01
fix: provide correct URL/query/params to preloaders ( closes #4296 )
2025-09-15 19:46:52 -04:00
Greg Johnston
d1899cde1c
during SSR, don't dispose of preload owners until whole request is done
2025-09-15 18:54:11 -04:00
Greg Johnston
ee731d7a3a
fix: create individual owners for each preload
2025-09-12 18:51:46 -04:00
Greg Johnston
59cbcfa0fb
fix: prevent infinite rebuild loop
2025-09-12 18:00:13 -04:00
Greg Johnston
0939cf63ad
Revert "fix: prevent double-rebuild and correctly navigate multiple times to same lazy route ( closes #4285 )"
...
This reverts commit d37512bebd .
2025-09-12 17:59:14 -04:00
Greg Johnston
d37512bebd
fix: prevent double-rebuild and correctly navigate multiple times to same lazy route ( closes #4285 )
2025-09-12 17:20:52 -04:00
Greg Johnston
7dd44919cf
docs: document some missing features ( #4281 )
2025-09-10 09:53:35 -07:00
Raffaele Fontana
3eaabf85ea
docs: fix broken link in suspense ( #4276 )
2025-09-03 08:34:08 -04:00
Greg Johnston
d60c632c90
fix: correctly propagate visibility on lazy functions ( closes #4256 ) ( #4259 )
2025-09-03 08:33:38 -04:00
Greg Johnston
f5ad4f4b88
fix: clear old attributes when replacing a Vec<AnyAttribute> ( closes #4268 ) ( #4270 )
2025-09-01 07:41:54 -04:00
zakstucke
f3a053f99b
feat: standardize ScopedFuture::new_untracked like untrack() and untrack_with_diagnostics() ( #4269 )
2025-08-31 12:30:16 -04:00
Greg Johnston
06573cbca1
Merge pull request #4272 from leptos-rs/4271
...
fix: revert changes to raw text parsing (closes #4271 )
2025-08-30 11:25:13 -04:00
autofix-ci[bot]
9f4d826533
[autofix.ci] apply automated fixes
2025-08-30 11:25:00 +00:00
Greg Johnston
a305ae7227
chore: update leptos_macro version
2025-08-30 06:53:42 -04:00
Greg Johnston
65557c5723
leptos_macro-v0.8.8
2025-08-30 06:47:57 -04:00
Greg Johnston
a529f87ee2
Revert "fix: correctly parse unquoted text with punctuation in stable ( closes #4137 ) ( #4238 )"
...
This reverts commit 99c3d8f9e9 .
2025-08-30 06:46:36 -04:00
zakstucke
c0ca97e42f
feat: impl From<RwSignal/ReadSignal/Memo> for ArcSignal ( #4258 )
2025-08-29 16:09:41 -04:00
dependabot[bot]
9a4e93ab07
chore(deps): bump the rust-dependencies group across 1 directory with 33 updates ( #4262 )
...
Bumps the rust-dependencies group with 32 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.142` | `1.0.143` |
| [typed-builder](https://github.com/idanarye/rust-typed-builder ) | `0.21.0` | `0.21.2` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `2.0.12` | `2.0.16` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.10.0` | `2.11.0` |
| [cfg-if](https://github.com/rust-lang/cfg-if ) | `1.0.1` | `1.0.3` |
| [proc-macro2](https://github.com/dtolnay/proc-macro2 ) | `1.0.96` | `1.0.101` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.104` | `2.0.106` |
| [async-trait](https://github.com/dtolnay/async-trait ) | `0.1.88` | `0.1.89` |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.98` | `1.0.99` |
| [prettyplease](https://github.com/dtolnay/prettyplease ) | `0.2.36` | `0.2.37` |
| [inventory](https://github.com/dtolnay/inventory ) | `0.3.20` | `0.3.21` |
| [config](https://github.com/rust-cli/config-rs ) | `0.15.13` | `0.15.14` |
| [regex](https://github.com/rust-lang/regex ) | `1.11.1` | `1.11.2` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.20.0` | `3.21.0` |
| [percent-encoding](https://github.com/servo/rust-url ) | `2.3.1` | `2.3.2` |
| [hyper](https://github.com/hyperium/hyper ) | `1.6.0` | `1.7.0` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.12.22` | `0.12.23` |
| [actix-http](https://github.com/actix/actix-web ) | `3.11.0` | `3.11.1` |
| [bitflags](https://github.com/bitflags/bitflags ) | `2.9.1` | `2.9.3` |
| [brotli](https://github.com/dropbox/rust-brotli ) | `8.0.1` | `8.0.2` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.2.32` | `1.2.34` |
| [form_urlencoded](https://github.com/servo/rust-url ) | `1.2.1` | `1.2.2` |
| [idna](https://github.com/servo/rust-url ) | `1.0.3` | `1.1.0` |
| [io-uring](https://github.com/tokio-rs/io-uring ) | `0.7.9` | `0.7.10` |
| [jobserver](https://github.com/rust-lang/jobserver-rs ) | `0.1.33` | `0.1.34` |
| [regex-automata](https://github.com/rust-lang/regex ) | `0.4.9` | `0.4.10` |
| [regex-lite](https://github.com/rust-lang/regex ) | `0.1.6` | `0.1.7` |
| [regex-syntax](https://github.com/rust-lang/regex ) | `0.8.5` | `0.8.6` |
| [scc](https://github.com/wvwwvwwv/scalable-concurrent-containers ) | `2.3.4` | `2.4.0` |
| [tinyvec](https://github.com/Lokathor/tinyvec ) | `1.9.0` | `1.10.0` |
| [winapi-util](https://github.com/BurntSushi/winapi-util ) | `0.1.9` | `0.1.10` |
| [winnow](https://github.com/winnow-rs/winnow ) | `0.7.12` | `0.7.13` |
Updates `serde_json` from 1.0.142 to 1.0.143
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.142...v1.0.143 )
Updates `typed-builder` from 0.21.0 to 0.21.2
- [Release notes](https://github.com/idanarye/rust-typed-builder/releases )
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/idanarye/rust-typed-builder/compare/v0.21.0...v0.21.2 )
Updates `thiserror` from 2.0.12 to 2.0.16
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.12...2.0.16 )
Updates `indexmap` from 2.10.0 to 2.11.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.10.0...2.11.0 )
Updates `cfg-if` from 1.0.1 to 1.0.3
- [Release notes](https://github.com/rust-lang/cfg-if/releases )
- [Changelog](https://github.com/rust-lang/cfg-if/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cfg-if/compare/v1.0.1...v1.0.3 )
Updates `proc-macro2` from 1.0.96 to 1.0.101
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.96...1.0.101 )
Updates `syn` from 2.0.104 to 2.0.106
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.104...2.0.106 )
Updates `async-trait` from 0.1.88 to 0.1.89
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.88...0.1.89 )
Updates `typed-builder-macro` from 0.21.0 to 0.21.2
- [Release notes](https://github.com/idanarye/rust-typed-builder/releases )
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/idanarye/rust-typed-builder/compare/v0.21.0...v0.21.2 )
Updates `anyhow` from 1.0.98 to 1.0.99
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.98...1.0.99 )
Updates `prettyplease` from 0.2.36 to 0.2.37
- [Release notes](https://github.com/dtolnay/prettyplease/releases )
- [Commits](https://github.com/dtolnay/prettyplease/compare/0.2.36...0.2.37 )
Updates `inventory` from 0.3.20 to 0.3.21
- [Release notes](https://github.com/dtolnay/inventory/releases )
- [Commits](https://github.com/dtolnay/inventory/compare/0.3.20...0.3.21 )
Updates `config` from 0.15.13 to 0.15.14
- [Changelog](https://github.com/rust-cli/config-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/config-rs/compare/v0.15.13...v0.15.14 )
Updates `regex` from 1.11.1 to 1.11.2
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.11.1...1.11.2 )
Updates `tempfile` from 3.20.0 to 3.21.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/commits )
Updates `percent-encoding` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/commits )
Updates `hyper` from 1.6.0 to 1.7.0
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v1.6.0...v1.7.0 )
Updates `reqwest` from 0.12.22 to 0.12.23
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.22...v0.12.23 )
Updates `actix-http` from 3.11.0 to 3.11.1
- [Release notes](https://github.com/actix/actix-web/releases )
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md )
- [Commits](https://github.com/actix/actix-web/compare/http-v3.11.0...http-v3.11.1 )
Updates `bitflags` from 2.9.1 to 2.9.3
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.9.1...2.9.3 )
Updates `brotli` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dropbox/rust-brotli/releases )
- [Commits](https://github.com/dropbox/rust-brotli/commits/8.0.2 )
Updates `cc` from 1.2.32 to 1.2.34
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.32...cc-v1.2.34 )
Updates `form_urlencoded` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v1.2.1...v1.2.2 )
Updates `idna` from 1.0.3 to 1.1.0
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/commits )
Updates `io-uring` from 0.7.9 to 0.7.10
- [Commits](https://github.com/tokio-rs/io-uring/commits )
Updates `jobserver` from 0.1.33 to 0.1.34
- [Commits](https://github.com/rust-lang/jobserver-rs/compare/0.1.33...0.1.34 )
Updates `regex-automata` from 0.4.9 to 0.4.10
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-automata-0.4.9...regex-automata-0.4.10 )
Updates `regex-lite` from 0.1.6 to 0.1.7
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-lite-0.1.6...regex-lite-0.1.7 )
Updates `regex-syntax` from 0.8.5 to 0.8.6
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.8.5...regex-syntax-0.8.6 )
Updates `scc` from 2.3.4 to 2.4.0
- [Changelog](https://github.com/wvwwvwwv/scalable-concurrent-containers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wvwwvwwv/scalable-concurrent-containers/commits )
Updates `tinyvec` from 1.9.0 to 1.10.0
- [Changelog](https://github.com/Lokathor/tinyvec/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Lokathor/tinyvec/compare/v1.9.0...v1.10.0 )
Updates `winapi-util` from 0.1.9 to 0.1.10
- [Commits](https://github.com/BurntSushi/winapi-util/compare/0.1.9...0.1.10 )
Updates `winnow` from 0.7.12 to 0.7.13
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md )
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.7.12...v0.7.13 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-version: 1.0.143
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: typed-builder
dependency-version: 0.21.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: thiserror
dependency-version: 2.0.16
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: indexmap
dependency-version: 2.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: cfg-if
dependency-version: 1.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: proc-macro2
dependency-version: 1.0.101
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: syn
dependency-version: 2.0.106
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: async-trait
dependency-version: 0.1.89
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: typed-builder-macro
dependency-version: 0.21.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: anyhow
dependency-version: 1.0.99
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: prettyplease
dependency-version: 0.2.37
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: inventory
dependency-version: 0.3.21
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: config
dependency-version: 0.15.14
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: regex
dependency-version: 1.11.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tempfile
dependency-version: 3.21.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: percent-encoding
dependency-version: 2.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: hyper
dependency-version: 1.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: reqwest
dependency-version: 0.12.23
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: actix-http
dependency-version: 3.11.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bitflags
dependency-version: 2.9.3
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: brotli
dependency-version: 8.0.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cc
dependency-version: 1.2.34
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: form_urlencoded
dependency-version: 1.2.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: idna
dependency-version: 1.1.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: io-uring
dependency-version: 0.7.10
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: jobserver
dependency-version: 0.1.34
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: regex-automata
dependency-version: 0.4.10
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: regex-lite
dependency-version: 0.1.7
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: regex-syntax
dependency-version: 0.8.6
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: scc
dependency-version: 2.4.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: tinyvec
dependency-version: 1.10.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: winapi-util
dependency-version: 0.1.10
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: winnow
dependency-version: 0.7.13
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-29 16:08:39 -04:00
zakstucke
bee2b5ea1c
feat: impl From<View<C>> for ViewFn where View<C>: Clone ( #4266 )
2025-08-29 16:02:00 -04:00
Spencer Ferris
3b058e77f1
fix: set Content-Type header for server function errors ( closes #4209 ) ( #4215 )
2025-08-29 08:56:26 -04:00
zakstucke
7adb11ec49
Preserve owner in Actions and event listeners ( #4267 )
...
* Preserve Owner for Action's, allowing context retrieval
* Preserve owner for event listeners, allowing context retrieval
* CI
* Refactor
---------
Co-authored-by: Zak Stucke <zakstucke@hotmail.c.uk>
2025-08-29 11:50:33 +12:00
Greg Johnston
1af5f66ee6
fix: when navigating, only add new URL to history stack if it's different from current URL ( closes #4251 ) ( #4252 )
2025-08-26 21:08:00 -04:00
Gabriel Lopes Veiga
956f1836ec
fix: use wss for live reload if on https ( #4257 )
2025-08-26 21:07:28 -04:00
Greg Johnston
b54f80f529
chore: publish new patch releases for changed packages
2025-08-26 17:13:21 -04:00
Greg Johnston
a48a2994ee
Merge pull request #4255 from leptos-rs/4254
...
Revert recent broken changes
2025-08-26 17:09:01 -04:00
Greg Johnston
aedcd5148c
Revert "feat: add default "auto" live reload protocol option ( #4224 )"
...
This reverts commit a97eceacf1 .
2025-08-26 13:25:49 -04:00
Greg Johnston
9160d8aaa6
Revert "made <Show> accept signals in addition to closures ( #4236 )"
...
This reverts commit db9f323f8d .
2025-08-26 13:24:44 -04:00
Greg Johnston
274fe07dae
Merge remote-tracking branch 'origin'
2025-08-26 13:23:17 -04:00
Greg Johnston
7add26fc41
docs: correctly document additional serialization features for leptos_server ( #4250 )
2025-08-25 20:46:40 -04:00
Greg Johnston
d9213850f7
chore: publish new patch releases for changed packages
2025-08-25 20:40:32 -04:00
Marc-Stefan Cassola
db9f323f8d
made <Show> accept signals in addition to closures ( #4236 )
2025-08-25 14:50:20 -07:00
Greg Johnston
1d0f668dc3
Merge pull request #4235 from leptos-rs/4217
...
Special-case `value` property to support quirky `<select>` behavior
2025-08-25 09:05:29 -04:00
Gabriel Lopes Veiga
a97eceacf1
feat: add default "auto" live reload protocol option ( #4224 )
...
* feat: add default "auto" live reload protocol option
* fix: make "auto" live reload protocol option last
2025-08-23 17:29:22 -07:00
Greg Johnston
3d6ea6d285
Merge pull request #4242 from leptos-rs/4239
...
Fixes for two server function issues
2025-08-22 21:00:54 -04:00
Greg Johnston
99c3d8f9e9
fix: correctly parse unquoted text with punctuation in stable ( closes #4137 ) ( #4238 )
2025-08-22 21:00:39 -04:00
Greg Johnston
a394eb211f
fix: transposed Accept/Content-Type headers in server function requests ( closes #4240 )
2025-08-22 16:32:42 -04:00
Greg Johnston
ceb7dd8ae5
fix: parse body rather than query string for PatchUrl and PutUrl ( closes #4239 )
2025-08-22 16:20:21 -04:00
Greg Johnston
f50adc00bc
chore: rename changed method to avoid breaking user code that called set_property
2025-08-21 19:47:02 -04:00
Greg Johnston
1340deee96
chore: typo in name of feature test
2025-08-21 19:20:41 -04:00
Greg Johnston
8da3011a7f
fix: special-case value prop so that it waits for children, if any, before being set ( closes #4217 )
2025-08-20 22:07:32 -04:00
Greg Johnston
959677f018
chore: move queue_microtask implementation into tachys
2025-08-20 22:06:38 -04:00
Greg Johnston
03529b3992
chore: add regression test for #4005
2025-08-20 21:19:35 -04:00
Greg Johnston
8bfd0ce143
chore: add regression test for #4217
2025-08-20 21:11:16 -04:00
Marc-Stefan Cassola
47199bbbf3
<ShowLet> component similar to <Show> but for Option (#4227 )
...
* added the <Map> component
* chore: rustfmt
* removed support for `Result` from `<Map>` and added possibility to use
both closures and signals in the `value` prop.
2025-08-20 11:24:31 -07:00
Greg Johnston
9ed7e9de61
chore: remove lockfiles accidentally included in repo ( #4234 )
2025-08-20 10:34:42 -04:00
yescallop
26ecbf4df5
fix: allow non_snake_case and dead_code lints to run within component functions ( #3198 )
...
* fix: allow `non_snake_case` and `dead_code` lints to run within component functions
* Fixed component type name
* Update lib.rs
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Rakshith Ravi <rakshith.ravi@gmx.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-17 10:45:33 -07:00
dependabot[bot]
b3885c7be4
chore(deps): bump actions/checkout from 4 to 5 ( #4221 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-14 11:39:37 -07:00
dependabot[bot]
436e5aa141
chore(deps): bump the rust-dependencies group with 32 updates ( #4222 )
...
Bumps the rust-dependencies group with 32 updates:
| Package | From | To |
| --- | --- | --- |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.141` | `1.0.142` |
| [trybuild](https://github.com/dtolnay/trybuild ) | `1.0.106` | `1.0.110` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.46.1` | `1.47.1` |
| [proc-macro2](https://github.com/dtolnay/proc-macro2 ) | `1.0.95` | `1.0.96` |
| [prettyplease](https://github.com/dtolnay/prettyplease ) | `0.2.35` | `0.2.36` |
| [camino](https://github.com/camino-rs/camino ) | `1.1.10` | `1.1.11` |
| [rkyv](https://github.com/rkyv/rkyv ) | `0.8.10` | `0.8.11` |
| [uuid](https://github.com/uuid-rs/uuid ) | `1.17.0` | `1.18.0` |
| [futures-lite](https://github.com/smol-rs/futures-lite ) | `2.6.0` | `2.6.1` |
| [const-str](https://github.com/Nugine/const-str ) | `0.6.3` | `0.6.4` |
| [postcard](https://github.com/jamesmunns/postcard ) | `1.1.2` | `1.1.3` |
| [rustversion](https://github.com/dtolnay/rustversion ) | `1.0.21` | `1.0.22` |
| [async-lock](https://github.com/smol-rs/async-lock ) | `3.4.0` | `3.4.1` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.2.30` | `1.2.32` |
| [cfg-expr](https://github.com/EmbarkStudios/cfg-expr ) | `0.20.1` | `0.20.2` |
| [derive-where](https://github.com/ModProg/derive-where ) | `1.5.0` | `1.6.0` |
| [event-listener](https://github.com/smol-rs/event-listener ) | `5.4.0` | `5.4.1` |
| [glob](https://github.com/rust-lang/glob ) | `0.3.2` | `0.3.3` |
| [hyper-util](https://github.com/hyperium/hyper-util ) | `0.1.15` | `0.1.16` |
| [io-uring](https://github.com/tokio-rs/io-uring ) | `0.7.8` | `0.7.9` |
| [libc](https://github.com/rust-lang/libc ) | `0.2.174` | `0.2.175` |
| [munge](https://github.com/djkoloski/munge ) | `0.4.5` | `0.4.6` |
| [munge_macro](https://github.com/djkoloski/munge ) | `0.4.5` | `0.4.6` |
| redox_syscall | `0.5.15` | `0.5.17` |
| [rkyv_derive](https://github.com/rkyv/rkyv ) | `0.8.10` | `0.8.11` |
| [rustc-demangle](https://github.com/rust-lang/rustc-demangle ) | `0.1.25` | `0.1.26` |
| [rustls](https://github.com/rustls/rustls ) | `0.23.29` | `0.23.31` |
| [signal-hook-registry](https://github.com/vorner/signal-hook ) | `1.4.5` | `1.4.6` |
| [slab](https://github.com/tokio-rs/slab ) | `0.4.10` | `0.4.11` |
| [tokio-util](https://github.com/tokio-rs/tokio ) | `0.7.15` | `0.7.16` |
| [toml_parser](https://github.com/toml-rs/toml ) | `1.0.1` | `1.0.2` |
| [zerovec](https://github.com/unicode-org/icu4x ) | `0.11.2` | `0.11.4` |
Updates `serde_json` from 1.0.141 to 1.0.142
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.141...v1.0.142 )
Updates `trybuild` from 1.0.106 to 1.0.110
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.106...1.0.110 )
Updates `tokio` from 1.46.1 to 1.47.1
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.46.1...tokio-1.47.1 )
Updates `proc-macro2` from 1.0.95 to 1.0.96
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.95...1.0.96 )
Updates `prettyplease` from 0.2.35 to 0.2.36
- [Release notes](https://github.com/dtolnay/prettyplease/releases )
- [Commits](https://github.com/dtolnay/prettyplease/compare/0.2.35...0.2.36 )
Updates `camino` from 1.1.10 to 1.1.11
- [Release notes](https://github.com/camino-rs/camino/releases )
- [Changelog](https://github.com/camino-rs/camino/blob/main/CHANGELOG.md )
- [Commits](https://github.com/camino-rs/camino/compare/camino-1.1.10...camino-1.1.11 )
Updates `rkyv` from 0.8.10 to 0.8.11
- [Release notes](https://github.com/rkyv/rkyv/releases )
- [Commits](https://github.com/rkyv/rkyv/commits )
Updates `uuid` from 1.17.0 to 1.18.0
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.17.0...v1.18.0 )
Updates `futures-lite` from 2.6.0 to 2.6.1
- [Release notes](https://github.com/smol-rs/futures-lite/releases )
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.6.0...v2.6.1 )
Updates `const-str` from 0.6.3 to 0.6.4
- [Release notes](https://github.com/Nugine/const-str/releases )
- [Commits](https://github.com/Nugine/const-str/compare/v0.6.3...v0.6.4 )
Updates `postcard` from 1.1.2 to 1.1.3
- [Release notes](https://github.com/jamesmunns/postcard/releases )
- [Commits](https://github.com/jamesmunns/postcard/compare/postcard/v1.1.2...postcard/v1.1.3 )
Updates `rustversion` from 1.0.21 to 1.0.22
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.21...1.0.22 )
Updates `async-lock` from 3.4.0 to 3.4.1
- [Release notes](https://github.com/smol-rs/async-lock/releases )
- [Changelog](https://github.com/smol-rs/async-lock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-lock/compare/v3.4.0...v3.4.1 )
Updates `cc` from 1.2.30 to 1.2.32
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.30...cc-v1.2.32 )
Updates `cfg-expr` from 0.20.1 to 0.20.2
- [Release notes](https://github.com/EmbarkStudios/cfg-expr/releases )
- [Changelog](https://github.com/EmbarkStudios/cfg-expr/blob/main/CHANGELOG.md )
- [Commits](https://github.com/EmbarkStudios/cfg-expr/compare/0.20.1...0.20.2 )
Updates `derive-where` from 1.5.0 to 1.6.0
- [Release notes](https://github.com/ModProg/derive-where/releases )
- [Changelog](https://github.com/ModProg/derive-where/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ModProg/derive-where/compare/v1.5.0...v1.6.0 )
Updates `event-listener` from 5.4.0 to 5.4.1
- [Release notes](https://github.com/smol-rs/event-listener/releases )
- [Changelog](https://github.com/smol-rs/event-listener/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/event-listener/compare/v5.4.0...v5.4.1 )
Updates `glob` from 0.3.2 to 0.3.3
- [Release notes](https://github.com/rust-lang/glob/releases )
- [Changelog](https://github.com/rust-lang/glob/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/glob/compare/v0.3.2...v0.3.3 )
Updates `hyper-util` from 0.1.15 to 0.1.16
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.15...v0.1.16 )
Updates `io-uring` from 0.7.8 to 0.7.9
- [Commits](https://github.com/tokio-rs/io-uring/commits )
Updates `libc` from 0.2.174 to 0.2.175
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.175/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.174...0.2.175 )
Updates `munge` from 0.4.5 to 0.4.6
- [Release notes](https://github.com/djkoloski/munge/releases )
- [Commits](https://github.com/djkoloski/munge/commits )
Updates `munge_macro` from 0.4.5 to 0.4.6
- [Release notes](https://github.com/djkoloski/munge/releases )
- [Commits](https://github.com/djkoloski/munge/commits )
Updates `redox_syscall` from 0.5.15 to 0.5.17
Updates `rkyv_derive` from 0.8.10 to 0.8.11
- [Release notes](https://github.com/rkyv/rkyv/releases )
- [Commits](https://github.com/rkyv/rkyv/commits )
Updates `rustc-demangle` from 0.1.25 to 0.1.26
- [Release notes](https://github.com/rust-lang/rustc-demangle/releases )
- [Changelog](https://github.com/rust-lang/rustc-demangle/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/rustc-demangle/commits/rustc-demangle-v0.1.26 )
Updates `rustls` from 0.23.29 to 0.23.31
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.29...v/0.23.31 )
Updates `signal-hook-registry` from 1.4.5 to 1.4.6
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/signal-hook/compare/registry-v1.4.5...registry-v1.4.6 )
Updates `slab` from 0.4.10 to 0.4.11
- [Release notes](https://github.com/tokio-rs/slab/releases )
- [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/slab/compare/v0.4.10...v0.4.11 )
Updates `tokio-util` from 0.7.15 to 0.7.16
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.15...tokio-util-0.7.16 )
Updates `toml_parser` from 1.0.1 to 1.0.2
- [Commits](https://github.com/toml-rs/toml/compare/toml_parser-v1.0.1...toml_parser-v1.0.2 )
Updates `zerovec` from 0.11.2 to 0.11.4
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits/ind/zerovec@0.11.4 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-version: 1.0.142
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: trybuild
dependency-version: 1.0.110
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tokio
dependency-version: 1.47.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: proc-macro2
dependency-version: 1.0.96
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: prettyplease
dependency-version: 0.2.36
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: camino
dependency-version: 1.1.11
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rkyv
dependency-version: 0.8.11
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: uuid
dependency-version: 1.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: futures-lite
dependency-version: 2.6.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: const-str
dependency-version: 0.6.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: postcard
dependency-version: 1.1.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rustversion
dependency-version: 1.0.22
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: async-lock
dependency-version: 3.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cc
dependency-version: 1.2.32
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cfg-expr
dependency-version: 0.20.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: derive-where
dependency-version: 1.6.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: event-listener
dependency-version: 5.4.1
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: glob
dependency-version: 0.3.3
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: hyper-util
dependency-version: 0.1.16
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: io-uring
dependency-version: 0.7.9
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: libc
dependency-version: 0.2.175
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: munge
dependency-version: 0.4.6
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: munge_macro
dependency-version: 0.4.6
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: redox_syscall
dependency-version: 0.5.17
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rkyv_derive
dependency-version: 0.8.11
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rustc-demangle
dependency-version: 0.1.26
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rustls
dependency-version: 0.23.31
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: signal-hook-registry
dependency-version: 1.4.6
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: slab
dependency-version: 0.4.11
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tokio-util
dependency-version: 0.7.16
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: toml_parser
dependency-version: 1.0.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: zerovec
dependency-version: 0.11.4
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-14 11:39:20 -07:00
Greg Johnston
05cafa8b06
fix: support islands routing in 404 routes ( #4218 )
2025-08-11 21:46:10 -04:00
Greg Johnston
9e3c0cc402
fix: pass hydrate_async through OwnedView properly ( closes #4219 ) ( #4220 )
2025-08-11 21:06:02 -04:00
Gabriel Lopes Veiga
30141293f6
feat: implement IntoProperty for Oco ( #4174 )
2025-08-09 15:34:51 -04:00
Saber Haj Rabiee
8f623a2d5b
feat: improving the bump script ( #4187 )
2025-08-09 15:31:50 -04:00
Greg Johnston
f2fe791f6b
perf: use a set instead of Vec<_> to optimize large subscriber sets (see #4138 ) ( #4201 )
2025-08-09 15:31:05 -04:00
Greg Johnston
30dbb7ccc8
fix: ensure task::spawn maintains reactive ownership ( closes #4203 ) ( #4206 )
2025-08-09 15:30:23 -04:00
Aleksander Heintz
b986fe11dc
make is_server and is_browser public ( #4204 )
2025-08-05 17:10:10 -07:00
mskorkowski
e2e28ef180
fix: allowing deriving Patch for a struct with generic argument ( closes #4163 ) ( #4175 )
2025-08-03 08:28:42 -04:00
Adam Doyle
a5e0053bab
chore: add name attribute to details element ( #4190 )
2025-08-03 08:24:54 -04:00
Greg Johnston
6c04a1cd76
fix: only continue navigating to most recent page ( closes #4195 ) ( #4198 )
2025-08-03 08:24:19 -04:00
Raffaele Fontana
87fb947465
docs: fix typo ( #4202 )
2025-08-01 11:12:42 -04:00
mskorkowski
5ba818132a
feat: add command and commandfor attributes for button ( closes #4193 ) ( #4194 )
2025-07-31 16:45:38 -04:00
Greg Johnston
30b917cfc3
v0.8.6
2025-07-27 08:59:22 -04:00
Greg Johnston
6cd731cbb1
Merge pull request #4186 from leptos-rs/4184
...
A few pieces of lazy island clean-up
2025-07-27 08:50:22 -04:00
Greg Johnston
f1b6b79e27
Enhancing members’ versioning ( #4172 )
...
* fix: decouple versioning for members
* feat: handy script to bump changed member crates from the last released tag
2025-07-27 08:50:08 -04:00
Greg Johnston
623ee08f82
chore: this does not need to be async
2025-07-27 08:34:59 -04:00
Greg Johnston
877849a5dd
chore: new wasm_split version
2025-07-27 08:30:51 -04:00
Greg Johnston
fb59da90c2
fix: support file hashing when using lazy loading ( #4182 )
2025-07-26 15:46:31 -04:00
Greg Johnston
d33f5c9e77
feat: allow lazy server functions ( #4169 )
2025-07-24 07:30:05 -04:00
dependabot[bot]
deb8e96eb0
chore(deps): bump redox_syscall in the rust-dependencies group ( #4171 )
...
Bumps the rust-dependencies group with 1 update: redox_syscall.
Updates `redox_syscall` from 0.5.14 to 0.5.15
---
updated-dependencies:
- dependency-name: redox_syscall
dependency-version: 0.5.15
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 12:33:31 -04:00
Greg Johnston
181e4d0566
chore: bump wasm-split version numbers ( #4170 )
2025-07-22 12:31:46 -04:00
Saber Haj Rabiee
525379a9b3
fix(CI): remove autofix CI timeout ( #4173 )
2025-07-22 12:31:04 -04:00
Saber Haj Rabiee
783a233167
feat: handy script to bump changed member crates from the last released tag
2025-07-21 22:44:40 -07:00
Saber Haj Rabiee
8079956d1b
fix: decouple versioning for members
2025-07-21 22:43:58 -07:00
Greg Johnston
f5d3fbb091
0.8.5
2025-07-21 09:04:16 -04:00
Greg Johnston
fbe7cdc482
docs: update documentation for #[lazy] and #[lazy_route]
2025-07-21 08:53:38 -04:00
Greg Johnston
14884bc8ac
Merge pull request #3988 from leptos-rs/wasm-splitting-support
...
feat: wasm-splitting library support for future cargo-leptos integration
2025-07-21 07:17:29 -04:00
Greg Johnston
2c93e1a185
fix: avoid name conflict between lazy route struct type and split view function
2025-07-20 19:59:10 -04:00
Greg Johnston
64b8c3dfd5
fix: use dummy macro output to improve rust-analyzer experience for #[lazy_route]
2025-07-20 19:58:41 -04:00
martin frances
5f2d511553
chore: bump oco_ref version number ( #4168 )
2025-07-20 18:44:09 -04:00
Greg Johnston
d7cdc6c489
chore: fix Cargo.lock
2025-07-20 13:12:03 -04:00
Greg Johnston
ebb33b6f41
Merge remote-tracking branch 'origin' into wasm-splitting-support
2025-07-20 13:09:26 -04:00
Greg Johnston
809c0b532c
chore: cargo update
2025-07-20 13:07:47 -04:00
Greg Johnston
b13f2420fb
chore: change name of wasm_split due to namesquatting
2025-07-20 12:54:30 -04:00
Greg Johnston
77de264615
chore: publish wasm_split and wasm_split_macros
2025-07-20 12:54:14 -04:00
Greg Johnston
1524386346
v0.8.4
2025-07-20 11:11:29 -04:00
Greg Johnston
426b079709
Merge pull request #4167 from shadr/hot-reload-fixes
...
fix(hot-reload): hot-reload stops working when number of views changes in a file + small fixes
2025-07-20 11:00:05 -04:00
shadr
c6f176e2b0
Merge branch 'leptos-rs:main' into hot-reload-fixes
2025-07-20 16:23:48 +03:00
Greg Johnston
75662d08e7
Merge pull request #4162 from shadr/hot-reload-myers-diff
...
fix(hot-reload): implement Myers diffing algorithm
2025-07-20 08:23:58 -04:00
mahdi739
4448b77cde
feat: add debug_log!, debug_error!, console_debug_log and console_debug_error ( #4160 )
2025-07-20 08:11:17 -04:00
Dylan Anthony
956af8e466
feat: allow using Actix without default features ( #3921 )
2025-07-20 08:03:49 -04:00
Nesterov Nikita
8c469b85d6
fix(hot-reload): ignore clippy::needless_range_loop lint
2025-07-20 07:49:26 +03:00
Saber Haj Rabiee
7f93dd224d
fix(CI): check latest commit for version release instead of version tag ( #4150 )
2025-07-19 21:38:56 -04:00
martin frances
777b5e1e54
chore: examples - bumped version numbers for sqlx and this error. ( #4126 )
2025-07-19 21:19:32 -04:00
Greg Johnston
37cb102d53
fix: wait for preloaded route data as part of route transition
2025-07-19 13:46:30 -04:00
Nesterov Nikita
433f7284e6
fix(hot-reload): update view map when number of views mismatch
2025-07-19 16:25:33 +03:00
Greg Johnston
897e6ecc26
example: lazy routes in hackernews_axum
2025-07-19 08:53:02 -04:00
Greg Johnston
0c67f7d389
fix: properly support concurrent loading without breaking changes to ChooseView
2025-07-19 08:53:02 -04:00
Greg Johnston
232b603a25
feat: support both sync and async lazy functions
2025-07-19 08:53:02 -04:00
Nesterov Nikita
4a8a212d84
fix(hot-reload): ReplaceWith couldn't replace Fragment with an Element
2025-07-19 15:48:57 +03:00
Nesterov Nikita
1d7bc021af
fix(hot-reload): ClearChildren couldn't clear fragment view
2025-07-19 15:46:18 +03:00
Nesterov Nikita
74055a7e13
fix(hot-reload): fix AppendChildren patch command
2025-07-19 15:06:13 +03:00
Nesterov Nikita
c98082de74
fix(hot-reload): insertion before/after fragment in a tag
...
Previous commits that aimed at fixing indexing for Myers algorithm broke
insertion before/after a fragment in a html tag, resulting in incorrect
ordering/error
2025-07-19 13:48:09 +03:00
autofix-ci[bot]
b8d44e20a9
[autofix.ci] apply automated fixes
2025-07-19 09:05:20 +00:00
Nesterov Nikita
00e83e0d70
fix(hot-reload): update InsertChild parent node logic
2025-07-19 10:12:58 +03:00
Nesterov Nikita
e89b1389ca
fix(hot-reload): rebuild actual children before each patch
2025-07-19 08:05:48 +03:00
Nesterov Nikita
bd454d03e2
refactor(hot-reload): immediately apply patches
2025-07-19 08:05:11 +03:00
Nesterov Nikita
d7f4457ea4
feat(hot-reload): implement Myers diffing algorithm
2025-07-19 07:39:32 +03:00
Rakshith Ravi
17d357bcec
chore(README): we're kinda prod-ready ( #4148 )
2025-07-18 10:33:45 -04:00
dependabot[bot]
66d1bead9a
chore(deps): bump the rust-dependencies group across 1 directory with 15 updates ( #4152 )
...
---
updated-dependencies:
- dependency-name: trybuild
dependency-version: 1.0.106
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tokio
dependency-version: 1.46.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: config
dependency-version: 0.15.13
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: const-str
dependency-version: 0.6.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: reqwest
dependency-version: 0.12.22
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cc
dependency-version: 1.2.29
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cfg-expr
dependency-version: 0.20.1
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: collection_literals
dependency-version: 1.0.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: crc32fast
dependency-version: 1.5.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: h2
dependency-version: 0.3.27
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: hyper-util
dependency-version: 0.1.15
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rustls
dependency-version: 0.23.29
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rustls-webpki
dependency-version: 0.103.4
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: sdd
dependency-version: 3.0.9
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: winnow
dependency-version: 0.7.12
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-18 10:32:18 -04:00
Greg Johnston
69c918e813
Merge pull request #4154 from shadr/hot-reload-fixes
...
fix: three hot-reloading bugs ( closes #3191 )
2025-07-18 10:31:18 -04:00
TERRORW0LF
2817a261ce
docs: add warning for reading hash on the server ( #4158 )
2025-07-18 10:25:17 -04:00
mahdi739
972b1ff90b
feat: support conversion from signals and optional get extension for TextProp ( #4159 )
...
* feat: support conversion from signals and optional get extension for TextProp
* [autofix.ci] apply automated fixes
* remove unused import
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-18 10:24:32 -04:00
autofix-ci[bot]
10c13bbca2
[autofix.ci] apply automated fixes
2025-07-18 13:01:09 +00:00
Greg Johnston
e545b7c48a
chore: remove unnecessary lifetime
2025-07-18 08:31:30 -04:00
Greg Johnston
839eb9ac1c
fix: correctly handle preloads when they do or don't exist
2025-07-18 08:30:02 -04:00
Greg Johnston
ae9324e555
fix: use crossorigin rather than nonce for <link rel="modulepreload">
2025-07-18 08:29:34 -04:00
shadr
3a66a1f3d3
Merge branch 'main' into hot-reload-fixes
2025-07-18 06:05:14 +03:00
Greg Johnston
f7c4a664d2
chore(ci): add new wasm-splitting crates to CI
2025-07-17 19:11:11 -04:00
Greg Johnston
d446474456
chore: clippy
2025-07-17 19:10:03 -04:00
Greg Johnston
d7bc6715a6
chore: clippy
2025-07-17 19:09:32 -04:00
Greg Johnston
4c95cddca8
chore: cargo fmt
2025-07-17 14:19:52 -04:00
Greg Johnston
437d61bed7
chore: allow non-snake-case name on LazyRoute::view()
2025-07-17 14:17:14 -04:00
Greg Johnston
3fdbae4314
Merge remote-tracking branch 'origin' into wasm-splitting-support
2025-07-17 14:07:29 -04:00
Greg Johnston
7559b27361
feat: support preloading split WASM files from a manifest
2025-07-17 14:06:20 -04:00
Greg Johnston
b9bb14cfdc
chore: clippy
2025-07-17 14:06:05 -04:00
Greg Johnston
504f983996
Merge pull request #4161 from leptos-rs/version-updates
...
Version updates + stable hot-reloading
2025-07-17 13:36:52 -04:00
Greg Johnston
c7a319db15
nested concurrent lazy routes
2025-07-17 11:21:05 -04:00
Greg Johnston
0862385816
fix: hot-reloading still only supported in debug
2025-07-17 09:29:29 -04:00
Greg Johnston
0d18da720b
fix: rename arguments for lazy routes
2025-07-17 09:27:31 -04:00
Greg Johnston
12f5676bd1
fix/change: proper concurrent data loading for routes
2025-07-17 09:27:18 -04:00
Greg Johnston
0fa8155adc
fix: correct async hydration for elements
2025-07-17 09:26:55 -04:00
Greg Johnston
f8fa6de987
preload lazy routes without creating data twice
2025-07-17 08:09:05 -04:00
Greg Johnston
81b37a3867
create a separate preload function for lazy functions
2025-07-17 08:08:56 -04:00
Greg Johnston
8319446d3f
chore: update nightly error output for server function return types
2025-07-17 07:10:59 -04:00
Greg Johnston
efb1e945d9
hydrate lazy islands in correct order
2025-07-17 06:51:51 -04:00
Greg Johnston
5fa31941bb
chore: remove unused type in test
2025-07-17 06:11:35 -04:00
Greg Johnston
f4bb87ea1e
feat: support hot-reloading on stable
2025-07-16 21:34:32 -04:00
Greg Johnston
016fbf8da1
chore: bump nightly version in CI
2025-07-16 18:03:07 -04:00
Greg Johnston
21fd995468
change: set MSRV to 1.88 (proc-macro spans stabilized = stable hot-reloading)
2025-07-16 18:02:40 -04:00
Greg Johnston
17b9bec79a
update test results
2025-07-16 18:01:19 -04:00
Greg Johnston
acd69daedb
clippy
2025-07-16 17:40:45 -04:00
Greg Johnston
b8a3129396
support hot-reloading on stable
2025-07-16 17:34:05 -04:00
Greg Johnston
783b4c4b04
Merge remote-tracking branch 'origin' into wasm-splitting-support
2025-07-16 17:25:34 -04:00
Greg Johnston
683e7177dd
docs: update README to remove nightly note, as it has not been the default for the examples/book for a long time
2025-07-16 17:25:28 -04:00
Greg Johnston
eede2e9e6c
unnecessary unsafe that had no safety comment in the POC!
2025-07-16 17:23:42 -04:00
Greg Johnston
31d51ea94f
clippy
2025-07-16 17:23:32 -04:00
Greg Johnston
01fbd82edf
use more recent nightly in CI
2025-07-16 17:20:34 -04:00
Greg Johnston
b276e703a8
unblock hot reloading on stable now that proc-macro spans are stabilized
2025-07-16 17:20:15 -04:00
Greg Johnston
d2409a22a7
update MSRV to allow deduplicating lazy function names
2025-07-16 17:19:46 -04:00
Greg Johnston
f6cd784088
clippy
2025-07-16 17:18:01 -04:00
Greg Johnston
eb9ebc870f
regression tests for #4157 and for https://github.com/leptos-rs/cargo-leptos/issues/546
2025-07-16 07:47:30 -04:00
Greg Johnston
b746c2ac4e
feat: deduplicate lazy function names with a hash ( closes #4157 )
2025-07-16 07:46:40 -04:00
Greg Johnston
4c1e7dc8c1
add README
2025-07-15 20:43:29 -04:00
Greg Johnston
f1fa4635c7
clippy
2025-07-15 09:37:50 -04:00
Greg Johnston
46c8a11eae
infrastructure for testing with --split
2025-07-15 09:37:45 -04:00
Greg Johnston
6b72ce3c16
Merge remote-tracking branch 'origin' into wasm-splitting-support
2025-07-15 09:10:50 -04:00
Nesterov Nikita
33b278c014
fix(hot-reload): fragments were not walked over properly
2025-07-15 09:35:06 +03:00
Nesterov Nikita
5fc56346f4
chore: format patch.js with prettier
2025-07-15 09:30:30 +03:00
Nesterov Nikita
afb37aaf4b
fix(hot-reload): handle DOM-less views
2025-07-15 09:28:59 +03:00
Nesterov Nikita
f8fd79725a
fix(hot-reload): parse RawText node
2025-07-15 09:28:19 +03:00
Greg Johnston
131251b361
fix: bump workspace dependency versions ( closes #4146 ) ( #4149 )
2025-07-14 10:55:25 -04:00
Greg Johnston
91fb315fe0
v0.8.3
2025-07-12 20:10:21 -04:00
mskorkowski
6954b77b62
fix: generics on stores ( closes #4136 ) ( #4142 )
...
Fixes the case when struct had a generic arguments by adding missing generic arguments into the generated trait and the said trait implementation.
2025-07-12 20:04:48 -04:00
Greg Johnston
299a4c161f
clean up dependencies (see #3987 )
2025-07-12 14:11:27 -04:00
Greg Johnston
b0ee946412
clean up example
2025-07-12 14:08:00 -04:00
Greg Johnston
b505892568
add lazy-routing example
2025-07-12 14:00:19 -04:00
Greg Johnston
b63cfa7935
support for lazy hydration
2025-07-12 13:22:12 -04:00
Greg Johnston
01a939e1e4
weird
2025-07-11 11:03:49 -04:00
Greg Johnston
995bc60c74
missing import
2025-07-11 11:00:57 -04:00
Greg Johnston
4c4869d33c
support custom names for split functions
2025-07-11 10:59:06 -04:00
Greg Johnston
0ca8d32805
fix lazy_route
2025-07-11 10:53:30 -04:00
Greg Johnston
0d853fdb74
re-export lazy route macro
2025-07-11 10:37:18 -04:00
Greg Johnston
853f049d9f
Merge remote-tracking branch 'origin' into wasm-splitting-support
2025-07-11 10:37:00 -04:00
Saber Haj Rabiee
77176f8395
fix(examples): remove redundant cf-worker example ( #4140 )
...
Cloudflare has an official template for leptos https://github.com/cloudflare/workers-rs/blob/main/templates/leptos
2025-07-11 10:35:14 -04:00
autofix-ci[bot]
84136cafa5
[autofix.ci] apply automated fixes
2025-07-10 16:36:07 +00:00
Greg Johnston
bb3f1deb1f
Merge remote-tracking branch 'origin' into wasm-splitting-support
2025-07-10 12:15:45 -04:00
Greg Johnston
344b79a01b
chore: fix cargo-leptos command in README ( closes #4134 )
2025-07-06 08:51:20 -04:00
Greg Johnston
051059c761
Merge pull request #4115 from leptos-rs/4114-fix
...
Clean up nested routing ownership and add regression tests
2025-07-01 08:32:52 -04:00
Ryo Hirayama
3c540dd858
Add an example to show server_fn is capable to serve on Cloudflare Workers ( #4052 )
...
* Add reqwest-no-ws feature to server_fn
* Add dep:tokio to server_fn/reqwest-no-ws
* Fix
* Refactor reqwest-no-ws feature in server_fn crate for wasm32 support
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Ad cf-worker example
* Fix error messages for trybuild
* Revert "Fix error messages for trybuild"
This reverts commit 42658dd031 .
* Fix CI error by disabling on reqwest-no-ws aslike other feature
* Compact deps and add ci
* Revert all server_fn changes as main
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-30 23:44:12 -07:00
Greg Johnston
4125688a0a
fix: don't create an extra intermediate outlet (messes with context)
2025-06-30 16:55:19 -04:00
Greg Johnston
bd3b962cfb
fix: dispose of all previous owners simultaneously when all routes are complete
2025-06-30 09:51:20 -04:00
Greg Johnston
5dd3c217c4
fix: don't dispose of view owners immediately when outlets rerun
2025-06-30 09:51:02 -04:00
Greg Johnston
ae00e5ae13
test: add regression test for nested context on server
2025-06-30 09:49:16 -04:00
Greg Johnston
1ce671ba08
test: fix signal disposal test
2025-06-30 09:46:22 -04:00
Greg Johnston
ec9f26bd9f
chore: remove unused variable
2025-06-30 09:06:18 -04:00
Greg Johnston
831eae31bc
fix: much better solution for nested route disposal
2025-06-30 09:05:22 -04:00
Greg Johnston
ff6ae5de25
test: add regression test for signal disposal issue
2025-06-30 08:49:25 -04:00
Greg Johnston
c21712ba04
chore: simplify element_by_id (see #4121 )
2025-06-29 17:16:51 -04:00
Greg Johnston
45771b6fd3
fix: correctly rebuild AnyView when the current view doesn't appear in the DOM ( closes #4122 )
2025-06-29 17:10:32 -04:00
Greg Johnston
f3557970a7
fix: uses EXISTS to mark things that don't exist in the DOM
2025-06-29 17:10:05 -04:00
Greg Johnston
c87ef331b0
fix: fix: correctly construct child links during rebuild
2025-06-29 14:07:48 -04:00
martin frances
e767518142
chore: updated clippy rule affecting stores example ( #4120 )
...
status.done().then_some("line-through").unwrap_or_default()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if status.done() { "line-through" } else { Default::default() }`
2025-06-28 14:53:27 -04:00
Greg Johnston
f94b681118
fix: correctly clear child route data
2025-06-28 14:31:57 -04:00
Greg Johnston
9c50e49253
test: add regression test for #4088
2025-06-28 14:15:49 -04:00
Greg Johnston
57c7097ede
fix: disable InertElement when global class is provided ( closes #4116 ) ( #4119 )
2025-06-28 13:53:58 -04:00
dependabot[bot]
1a06e0eee8
chore(deps): bump the rust-dependencies group across 1 directory with 18 updates ( #4110 )
...
---
updated-dependencies:
- dependency-name: syn
dependency-version: 2.0.104
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: glib
dependency-version: 0.20.12
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: prettyplease
dependency-version: 0.2.35
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: autocfg
dependency-version: 1.5.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: derive-where
dependency-version: 1.5.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: errno
dependency-version: 0.3.13
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: glib-macros
dependency-version: 0.20.12
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: libc
dependency-version: 0.2.174
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: munge
dependency-version: 0.4.5
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: munge_macro
dependency-version: 0.4.5
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: quinn-udp
dependency-version: 0.5.13
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: r-efi
dependency-version: 5.3.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: rustls
dependency-version: 0.23.28
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: slab
dependency-version: 0.4.10
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tracing-attributes
dependency-version: 0.1.30
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: webpki-roots
dependency-version: 1.0.1
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: zerocopy
dependency-version: 0.8.26
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: zerocopy-derive
dependency-version: 0.8.26
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-28 13:53:18 -04:00
bicarlsen
ce9af4a685
fix: use HTML-namespaced InertElement for top-level <svg> elements. ( #4109 )
2025-06-28 13:53:02 -04:00
martin frances
e0c79eb8d8
chore: bump syn and tokio-tungsenite. ( #4117 )
2025-06-28 13:52:20 -04:00
Greg Johnston
9fd972971e
test: add regression test for back/forward behavior mentioned in #4114
2025-06-27 18:50:28 -04:00
Greg Johnston
9473220639
test: add regression test for #4015
2025-06-27 18:42:30 -04:00
Greg Johnston
ae11812dc6
fix: ensure cleanups run when navigating between sibling Routes in Outlet
2025-06-27 17:59:09 -04:00
Greg Johnston
4c55c25445
chore: clean up unused owner manipulation
2025-06-27 17:59:09 -04:00
Greg Johnston
649b5fbe9e
Merge pull request #4114 from metatoaster/regression_examples
...
A place to put e2e tests for regression, plus reporting issue caused by #4091 .
2025-06-27 08:28:20 -04:00
Tommy Yu
adb3e75efc
test: e2e that demonstrates failure
...
- if b37900ec55 from #4091 is reverted the
failure described in the `pr_4091.feature` will no longer happen.
2025-06-27 22:42:40 +12:00
Tommy Yu
f303aa6d5c
test: leptos-rs/leptos#4091 regression
2025-06-27 22:42:40 +12:00
Tommy Yu
73ca3d7b04
Adding a basic regression example
2025-06-27 22:42:40 +12:00
Greg Johnston
235393bfbe
chore: remove now-unused join_contexts API ( #4113 )
2025-06-26 08:58:01 -04:00
Greg Johnston
17d8e2bd09
fix: correctly provide context via nested outlets ( closes #4088 ) ( #4091 )
2025-06-25 20:00:10 -04:00
Gabriel Lopes Veiga
f51c676e0d
feat: add method take for BrowserFormData ( #4102 )
2025-06-22 13:55:48 -04:00
bicarlsen
cf0aa0e4d7
fix: create svg::InertElement templates in SVG namespace. ( #4104 )
2025-06-22 13:53:37 -04:00
bicarlsen
df09d4a7f6
fix: update svg::InertElement for dom cache. ( #4100 )
...
#4099 introduced caching for inert elements, changing the API for [`dom::Dom::create_element_from_html`](30b0a579ca/tachys/src/renderer/dom.rs (L495) ). This updates `svg::InertElement` to match the new API.
2025-06-20 20:39:55 -04:00
TERRORW0LF
30b0a579ca
enhance: handle ../ in aria-current for <A/> component ( #4051 )
2025-06-20 17:09:07 -04:00
dependabot[bot]
50a4c3b0d9
chore(deps): bump autofix-ci/action from 1.3.1 to 1.3.2 ( #4072 )
...
Bumps [autofix-ci/action](https://github.com/autofix-ci/action ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/autofix-ci/action/releases )
- [Commits](https://github.com/autofix-ci/action/compare/v1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: autofix-ci/action
dependency-version: 1.3.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-20 17:02:54 -04:00
bicarlsen
c76649d77b
feat: add inert SVG elements. ( #4085 )
2025-06-20 17:02:38 -04:00
bicarlsen
911be5007e
perf: add template cache for InertElement ( #4099 )
2025-06-20 17:01:19 -04:00
Greg Johnston
5227221c96
docs: add document on adding class and other attributes to <A/> component ( #4086 )
2025-06-16 20:00:45 -04:00
Greg Johnston
3f48b77256
feat: impl IntoFragment for AnyView ( #4087 )
2025-06-16 20:00:32 -04:00
foldedwave
99117f496f
fix: correctly remove :capture listeners ( closes #4081 ) ( #4082 )
...
Co-authored-by: foldedwave <anon@foldedwave.com >
2025-06-16 20:00:15 -04:00
Moritz Hedtke
cf12ea3404
fix: conflicting changes between #4035 and #4074 ( #4090 )
2025-06-16 19:59:30 -04:00
martin frances
d555c1e0ce
Removed crate once_cell ( #4083 )
...
* Removed crate once_cell
As of rust_version 1.80.0 there are now equivalent options in std.
Async and sync changes are as follows.
-use once_cell::sync::Lazy;
+use std::sync::LazyLock;
-use once_cell::sync::Lazy;
+use std::sync::LazyLock;
* ran cargo fmt.
* fixed server_fn errors.
* cargo fmt fixes.
* "use srd::sync" becomes "use std::sync".
* fixed formatting issue.
* formatting issues.
* Fixed error in examples/server_fns_axum
* more formatting issues.
* more formatting issues.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-16 10:38:32 -07:00
Moritz Hedtke
40ea20057f
Remove unnecessary Option wrapping ( #4035 )
...
* Remove unnecessary Option wrapping.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-16 10:37:26 -07:00
Greg Johnston
5587ccd1eb
fix: don't render a comment node for () attributes in template ( closes #4079 ) ( #4080 )
2025-06-14 15:47:48 -04:00
Greg Johnston
50a9df9eea
Merge pull request #4078 from leptos-rs/4066
...
Fix updates to static class names
2025-06-13 22:49:51 -04:00
Greg Johnston
c46b1c4e25
feat: allow dereferencing LocalResource to an AsyncDerived (see #4063 ) ( #4077 )
2025-06-13 18:03:18 -04:00
Greg Johnston
e6f86408a1
fix: ensure that dynamic classes are replaced if they have changed
2025-06-13 18:01:42 -04:00
Greg Johnston
aa13ed9431
fix: ensure that classes are replaced if they have changed ( closes #4066 )
2025-06-13 18:01:27 -04:00
TERRORW0LF
607a7987e5
fix: unresolved path in server side redirect ( closes #4054 ) ( #4074 )
...
* feat: resolve path on server redirect
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-13 15:50:18 -04:00
Greg Johnston
c0c3279cbb
Merge pull request #4056 from elias098/fixes
...
Bugfixes to `reactive_stores`
2025-06-13 11:07:09 -04:00
Greg Johnston
ece6d9dd93
feat(CI): add checking minimal-versions on release ( #3987 )
...
* feat(CI): add checking minimal-versions
* chore: unify all deps + exact versioning in root workspace for better maintenance
* feat(CI): run minimal-versions only on release tag
* feat(CI): re-adding dependabot with grouped weekly updates
2025-06-13 10:47:53 -04:00
Álvaro Mondéjar Rubio
74ecf4763a
docs: update Tauri project to Leptos v0.8.2 ( #4020 )
2025-06-13 10:47:24 -04:00
Greg Johnston
2c5c69c2fe
Merge pull request #4065 from leptos-rs/3729pt2
...
fix: memory leak introduced by #4015
2025-06-13 10:37:27 -04:00
Tommy Yu
0c275d6540
fix: IntoMaybeErased hygiene on view macro ( #4071 )
2025-06-13 10:37:13 -04:00
Greg Johnston
6be3266a2e
fix: ensure that arena is reestablished for cleanups
2025-06-12 17:13:12 -04:00
Greg Johnston
c3efb8e476
Merge remote-tracking branch 'origin' into 3729pt2
2025-06-11 21:31:38 -04:00
Greg Johnston
32e0551b10
fix: correct set up sandboxing for AsyncDerived futures
2025-06-11 21:31:31 -04:00
Greg Johnston
671ada36ab
Merge pull request #4064 from metatoaster/pr_4061
...
Tests for #4061
2025-06-11 15:49:40 -04:00
Greg Johnston
a9ab4ea372
fix: memory leak introduced by #4015
2025-06-10 21:38:41 -04:00
Tommy Yu
1d72b75d03
test: chained resources as per #4061
2025-06-11 13:32:55 +12:00
Tommy Yu
798d8a4a9e
fix: suspense_test corrected due to previous fix
...
- The `res_overview` previously being tracked inside the async caused an
extra fetch to happen, and with that tracking being corrected, this no
longer happens.
- Left a comment about how this is untracked.
2025-06-11 13:32:32 +12:00
Greg Johnston
f4e0be2d59
fix: do not track anything inside the async block of a Resource ( closes #4060 ) ( #4061 )
2025-06-10 21:11:29 -04:00
Josiah Parry
05f50f7d27
chore: fix checkboxes in issue template ( #4031 )
2025-06-08 20:55:16 -04:00
Greg Johnston
a22d6f58be
fix: allow nested untracked reads without false positives ( closes #4032 ) ( #4049 )
2025-06-08 20:54:37 -04:00
Greg Johnston
ff21c9cae2
fix: suppress false-positive warning when adding children to a <For/> that is not currently mounted ( closes #3385 ) ( #4050 )
...
* fix: suppress false-positive warning when adding children to a `<For/>` that is not currently mounted (closes #3385 )
* remove track_caller
2025-06-08 20:54:25 -04:00
elias098
726b7b3116
fix: rework Subfield::track_field to remove duplicate track
2025-06-08 13:56:53 +02:00
elias098
6e91b6fada
fix: fix triggers_for_path to prevent duplicate trigger on empty path
2025-06-08 13:40:49 +02:00
elias098
76f1c7a50c
fix: triggers_for_path Vec capacity calculation changed to prevent reallocations
2025-06-08 13:19:19 +02:00
Greg Johnston
733a353820
fix: allow multiple #[middleware] macros ( closes #4029 ) ( #4048 )
2025-06-06 20:50:52 -04:00
Greg Johnston
829b07b598
Merge pull request #4033 from leptos-rs/update_session_auth
...
Update `session_auth_axum` example
2025-06-02 19:44:21 -04:00
Saber Haj Rabiee
8c6059774f
feat(CI): re-adding dependabot with grouped weekly updates
2025-06-01 09:20:10 -07:00
Saber Haj Rabiee
0e65034b01
feat(CI): run minimal-versions only on release tag
2025-06-01 09:18:41 -07:00
Saber Haj Rabiee
e1549c5ab3
chore: unify all deps + exact versioning in root workspace for better maintenance
2025-06-01 09:18:40 -07:00
Saber Haj Rabiee
624e91bb2a
feat(CI): add checking minimal-versions
2025-06-01 08:55:41 -07:00
Greg Johnston
0df6cd74ee
feat: simplify session_auth_axumby removing custom handlers
2025-05-30 18:32:22 -04:00
Greg Johnston
1da833a0aa
fix: update session_auth_axum to Axum 0.8
2025-05-30 17:30:09 -04:00
Saikat Das
f37d124d6a
Fix typo ( #4025 )
2025-05-29 12:39:32 -07:00
benwis
5d0e683b0f
Update tachys to v0.2.3
2025-05-29 12:37:21 -07:00
lcnr
f34e3a5bc9
remove unnecessary where-clauses ( #4023 )
...
they may cause tachys to break with -Znext-solver
2025-05-29 12:35:50 -07:00
martin frances
d7dd6a1109
chore: bump rkyv to 0.8.10. ( #4018 )
2025-05-27 21:15:59 -04:00
Greg Johnston
ff81d34084
fix: fix <select> value by ensuring HTML children are mounted before building attributes ( closes #4005 ) ( #4008 )
2025-05-27 21:15:41 -04:00
Soso
40a7aba3bc
feat: impl AttributeValue for Cow<'_, str> ( #4013 )
2025-05-27 21:15:12 -04:00
Greg Johnston
d4dcafd908
Merge pull request #4015 from leptos-rs/3042v2
...
Fix context issues with nesting routing
2025-05-27 21:12:58 -04:00
Greg Johnston
82ccbbf806
copy-paste errors
2025-05-25 15:32:33 -04:00
Greg Johnston
5ba45bb1ed
fix: allow Outlet to access context provided in parent view ( closes #3042 )
2025-05-24 17:51:22 -04:00
Greg Johnston
06dfa37eee
feat: allow joining two context trees
2025-05-24 17:50:51 -04:00
Nicolas Cura
e82a0bbc7f
chore: handle_response_inner public to be used in custom file_and_error_handler ( closes #3996 ) ( #3998 )
2025-05-23 14:51:08 -04:00
Álvaro Mondéjar Rubio
4a972fc09e
Merge pull request #4003 from mondeja/document-prop-attrs
...
docs: document `#[prop(default = ...)]` and `#[prop(name = ...)]`
2025-05-23 14:49:59 -04:00
Greg Johnston
5d9df592d5
fix: don't assume classList is unchanged when rebuilding a class effect for the first time ( #3983 part two)
2025-05-21 21:53:50 -04:00
Greg Johnston
323de496f3
fix: don't use Arc::ptr_eq for string comparison ( closes #3983 )
2025-05-21 21:53:50 -04:00
Álvaro Mondéjar Rubio
c8df5b75ef
fix: forward missing lint attributes passed to #[component] macro ( #3989 )
2025-05-21 21:53:50 -04:00
Dennis Waldherr
89cbf86595
docs: provide error message if file hashing is enabled but no hash file is present ( #3990 )
...
Co-authored-by: Dennis Waldherr <bytekeeper@mailbox.org >
2025-05-21 21:53:50 -04:00
mskorkowski
b78a6655f3
fix: smooshed static segments no longer matches the path #3968 ( #3973 )
...
* fix: smooshed static segments no longer matches the path #3968
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-21 21:53:50 -04:00
Greg Johnston
b5797ffe6a
fix: meta tags not properly rendered inside synchronously-available Suspend ( closes #3976 ) ( #3991 )
2025-05-21 21:53:50 -04:00
Greg Johnston
775e2eabed
feat: #[island(lazy)]
2025-05-21 21:53:50 -04:00
autofix-ci[bot]
37405ec778
[autofix.ci] apply automated fixes
2025-05-21 20:32:35 +00:00
Greg Johnston
54890af875
add wasm-split workplace dependencies
2025-05-21 16:12:50 -04:00
Greg Johnston
07cf649e3b
Merge pull request #3994 from leptos-rs/3983
...
fix: don't use `Arc::ptr_eq` for string comparison (closes #3983 )
2025-05-19 19:15:17 -04:00
Greg Johnston
0e9598b799
fix: don't assume classList is unchanged when rebuilding a class effect for the first time ( #3983 part two)
2025-05-19 09:42:33 -04:00
Greg Johnston
82303d7e33
fix: don't use Arc::ptr_eq for string comparison ( closes #3983 )
2025-05-19 09:27:17 -04:00
Álvaro Mondéjar Rubio
c4354ac965
fix: forward missing lint attributes passed to #[component] macro ( #3989 )
2025-05-18 20:38:16 -04:00
Dennis Waldherr
7de550685a
docs: provide error message if file hashing is enabled but no hash file is present ( #3990 )
...
Co-authored-by: Dennis Waldherr <bytekeeper@mailbox.org >
2025-05-18 20:30:53 -04:00
mskorkowski
b1f3f6023e
fix: smooshed static segments no longer matches the path #3968 ( #3973 )
...
* fix: smooshed static segments no longer matches the path #3968
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-18 20:29:40 -04:00
Greg Johnston
c189c3a45d
fix: meta tags not properly rendered inside synchronously-available Suspend ( closes #3976 ) ( #3991 )
2025-05-18 20:29:14 -04:00
Greg Johnston
5479ece865
Merge branch 'main' into wasm-splitting-support
2025-05-17 15:03:28 -04:00
Greg Johnston
f0b7e7445b
feat: wasm-splitting library support for future cargo-leptos integration
2025-05-17 15:00:38 -04:00
Eric Roman
3903867f82
Fix spelling typos. ( #3965 )
2025-05-17 08:49:57 +02:00
Greg Johnston
a42fa452fc
feat: add missing Resource::write() and similar functions (see #3959 ) ( #3984 )
2025-05-16 09:23:28 -04:00
Saber Haj Rabiee
cd48a6ac8c
fix: remove non-existent feature dep in leptos_macro ( #3985 )
2025-05-16 09:23:04 -04:00
Greg Johnston
34c14adcb8
fix: render identical branch structure for out-of-order and async streaming of Suspense ( closes #3970 ) ( #3977 )
2025-05-15 19:44:46 -04:00
Saber Haj Rabiee
50cee1d614
chore: upgrade rand and getrandom ( #3840 )
...
* chore: update rand and getrandom
* fix: use rng instead of thread_rng
* fix: enable getrandom wasm js backend in build.rs
2025-05-15 11:17:32 +02:00
Saber Haj Rabiee
7ca691305f
chore: unify all deps with min occurrences of 2 ( #3854 )
2025-05-14 20:34:33 -04:00
Greg Johnston
830882f330
fix: allow rebuilding Vec<_> before it is mounted ( closes #3962 ) ( #3966 )
2025-05-12 15:26:05 -04:00
Scott Little
13110a35e2
fix: add namespace to g in svg portals ( closes #3958 ) ( #3960 )
2025-05-09 16:44:40 -04:00
Marcus Whybrow
304dc081a2
fix: correct doc comment for SsrMode::PartiallyBlocked ( closes #3963 ) ( #3964 )
2025-05-09 09:39:00 -07:00
Serhii Shliakhov
14f6bc658e
fix: deprecated parameters js warning ( #3956 )
2025-05-09 08:04:15 -04:00
Eric Roman
09894aaca9
Remove unnecessary "crate::" prefix in a documentation example. ( #3952 )
2025-05-08 07:43:27 -07:00
Greg Johnston
2ee4444bb4
v0.8.2
2025-05-06 14:09:35 -04:00
Luxalpa
03a1c1e7a6
fix: ensure unique style caching hashes ( #3947 )
2025-05-06 14:00:29 -04:00
Greg Johnston
12e49ed996
Merge pull request #3950 from leptos-rs/3945
...
fix: correct order of meta content relative to surrounding tags (closes #3945 )
2025-05-06 13:59:28 -04:00
Greg Johnston
1e281e9e74
fix(examples): bugfix revealed a pre-existing bug with meta tags in the hackernews demo!
2025-05-06 11:49:43 -04:00
Greg Johnston
bd475f89d0
fix: correct order of meta content relative to surrounding tags ( closes #3945 )
2025-05-06 11:19:19 -04:00
Greg Johnston
3d91b5e90f
v0.8.1
2025-05-05 21:39:43 -04:00
Greg Johnston
96d8d5218c
Merge pull request #3942 from leptos-rs/3907
...
Some `islands_router` improvements
2025-05-05 21:33:57 -04:00
Greg Johnston
84caa35cef
feat: add .map() and .and_then() on LocalResource ( #3941 )
2025-05-05 21:20:34 -04:00
Greg Johnston
fc8b55161c
fix: remove extra marker node after text node when marking a branch ( closes #3936 ) ( #3940 )
2025-05-05 21:20:16 -04:00
Greg Johnston
657052466b
fix: use a runtime check rather than an unnecessary Either to determine how to render islands (see #3896 ; closes #3929 ) ( #3938 )
2025-05-05 19:41:29 -04:00
william light
efe8336363
reactive_stores: implement PartialEq and Eq for Store ( #3915 )
...
StoredValue also has these implemented and does the same thing.
2025-05-05 14:32:42 -04:00
Greg Johnston
770881842c
fix: correctly provide context through islands to children ( closes #3928 ) ( #3933 )
2025-05-05 13:00:40 -04:00
Greg Johnston
0d540ef02f
fix: ensure that nested children of a RenderEffect are dropped while dropped a RenderEffect ( closes #3922 ) ( #3926 )
2025-05-05 13:00:20 -04:00
Saber Haj Rabiee
dc1885ad92
feat: check the counter_isomorphic release build with the leptos_debuginfo flag ( #3918 )
2025-05-04 15:22:04 -04:00
Eric Roman
61bf87439a
Fix some typos in the documentation/examples for reactive store. ( #3924 )
2025-05-03 20:50:13 -04:00
Greg Johnston
308568e520
fix(CI): prevent regreession from nightly clippy in autofix ( #3917 )
...
* fix(CI): prevent regreession from nightly clippy in autofix
* chore: format
* chore: update nightly to 2025-04-16 (proc-macro span, #3852 )
* chore: improve the autofix ci workflow
* fix: adjust ServerFn macro test stderr based on nightly-2025-04-16
* fix: limit server_fn server macro trybuild tests nightly only
2025-05-03 20:47:42 -04:00
Greg Johnston
1b0f32dc4c
fix: clear and re-throw errors in correct order ( #3923 )
2025-05-03 20:46:57 -04:00
Greg Johnston
2e0b3011d9
fix: correct issues with StaticVec::rebuild() by aligning implementation with Vec::rebuild() ( closes #3906 ) ( #3920 )
2025-05-03 08:56:36 -04:00
Greg Johnston
680d4ccd07
fix: do not diff islands in islands_router mode (see #3907 )
2025-05-02 21:20:16 -04:00
Greg Johnston
325f9cbe33
fix: don't handle ActionForm (et al) with the islands_router default <form> behavior (see #3907 )
2025-05-02 21:12:20 -04:00
Greg Johnston
26ab392c95
fix: allow nested Suspense > ErrorBoundary > Suspense ( closes #3908 ) ( #3913 )
2025-05-02 16:59:04 -04:00
Saber Haj Rabiee
3a4e2a19aa
fix: limit server_fn server macro trybuild tests nightly only
2025-05-02 08:32:38 -07:00
Saber Haj Rabiee
eed3d21b40
fix: adjust ServerFn macro test stderr based on nightly-2025-04-16
2025-05-02 08:01:15 -07:00
Saber Haj Rabiee
7ae386285d
chore: improve the autofix ci workflow
2025-05-02 07:27:45 -07:00
Saber Haj Rabiee
ebcc51136d
chore: update nightly to 2025-04-16 (proc-macro span, #3852 )
2025-05-02 07:13:34 -07:00
Saber Haj Rabiee
e10ded4fd0
chore: format
2025-05-02 06:58:01 -07:00
Saber Haj Rabiee
67be872f58
fix(CI): prevent regreession from nightly clippy in autofix
2025-05-02 06:31:39 -07:00
LeoniePhiline
e5b21ac0fc
fix(docs): correct panic message in copied example code ( #3911 )
2025-05-02 08:14:36 -04:00
benwis
9b2e313d20
v0.8.0
2025-05-01 15:26:21 -07:00
Greg Johnston
bc79232033
feat: impl From<MappedSignal<T>> for Signal<T> ( #3897 )
2025-05-01 14:56:27 -04:00
Saber Haj Rabiee
a7bb2565c4
fix(examples): websocket tests fail (occasionally) second attemp ( #3910 )
...
do not check the label immediately
2025-05-01 14:54:57 -04:00
zakstucke
2e393aaca0
fix: leptos_debuginfo ( #3899 )
2025-05-01 14:54:24 -04:00
Greg Johnston
e37711cb85
fix: correct hydration for elements after island children ( closes #3904 ) ( #3905 )
2025-05-01 09:44:40 -04:00
Greg Johnston
627b553e60
fix: prevent sibling context leakage in islands ( closes #3902 ) ( #3903 )
2025-04-30 21:33:54 -04:00
Greg Johnston
e2f9aca466
Merge pull request #3901 from leptos-rs/3896
...
Fix some island-routing issues
2025-04-30 14:27:31 -04:00
Greg Johnston
970544ed0b
fix: correctly hydrate branches inside islands when using islands-router ( closes #3896 )
2025-04-30 08:48:40 -04:00
Greg Johnston
0c3b3c440f
chore: remove forgotten log
2025-04-30 08:36:23 -04:00
nickburlett
6578086e09
fix(examples): incorrect routes in hackernews example ( closes #3892 ) ( #3894 )
...
* fix(examples): incorrect routes in hackernews example (closes #3892 )
1. `Avoid calling category()` twice on the story type.
2. `get_static_file()` returns Err on not found, so don’t
unconditionally `unwrap()` it
* cargo fmt
---------
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2025-04-30 07:43:12 -04:00
Greg Johnston
113aba9666
docs: add note about file hashing in Stylesheet docs ( #3898 )
2025-04-29 19:03:18 -07:00
Greg Johnston
58d7475193
fix: don't render branching comments inside script/style tags
2025-04-29 20:32:56 -04:00
Greg Johnston
04d80ff8d0
chore: clippy
2025-04-29 20:31:44 -04:00
Greg Johnston
7971a2dccb
fix: marking AnyView branches with out-of-order streaming (for islands_router)
2025-04-29 20:30:40 -04:00
Greg Johnston
e2ea4277bc
fix(examples): broken favicons in hackernews examples ( closes #3890 ) ( #3891 )
2025-04-28 09:52:15 -04:00
Greg Johnston
171c8e7ff7
v0.8.0-rc3
2025-04-26 15:53:20 -04:00
Greg Johnston
53ffbeeb67
chore: fmt
2025-04-26 15:49:32 -04:00
Greg Johnston
ee86844077
Merge pull request #3882 from leptos-rs/3871
...
fix: remove event listeners from Suspense fallback during SSR (closes #3871 )
2025-04-26 12:48:45 -04:00
Greg Johnston
1cee3f2f52
Merge branch 'main' into 3871
2025-04-26 12:48:40 -04:00
Greg Johnston
23c89dbfe1
Merge pull request #3878 from leptos-rs/3828
...
fix: correctly calculate starting index for first new key (closes #3828 )
2025-04-26 12:48:12 -04:00
Greg Johnston
9f71f39f89
Merge branch 'main' into 3828
2025-04-26 12:47:56 -04:00
Greg Johnston
ef1d0f108a
Merge pull request #3880 from sabify/websocket-example
...
fix(examples): websocket example tests fail on latency
2025-04-26 12:47:17 -04:00
Greg Johnston
a7a78317b7
Merge pull request #3879 from huuff/prelude-textprop
...
chore: put `TextProp` in the prelude (closes #3877 )
2025-04-26 12:46:53 -04:00
autofix-ci[bot]
5005cc3587
[autofix.ci] apply automated fixes (attempt 2/3)
2025-04-26 16:15:06 +00:00
autofix-ci[bot]
08708f3388
[autofix.ci] apply automated fixes
2025-04-26 16:03:45 +00:00
Greg Johnston
c19c1b32f1
fix: remove event listeners from Suspense fallback during SSR ( closes #3871 )
2025-04-26 11:48:59 -04:00
Saber Haj Rabiee
e70cc08e96
fix(examples): websocket example tests fail on latency
2025-04-26 07:06:50 -07:00
autofix-ci[bot]
97175663ef
[autofix.ci] apply automated fixes
2025-04-26 00:05:33 +00:00
Haf
92524a93cd
chore: put TextProp in the prelude ( closes #3877 )
2025-04-25 23:50:08 +02:00
autofix-ci[bot]
9449f41ca9
[autofix.ci] apply automated fixes (attempt 2/3)
2025-04-25 20:31:56 +00:00
autofix-ci[bot]
d979055b70
[autofix.ci] apply automated fixes
2025-04-25 20:18:03 +00:00
Greg Johnston
97686f71a5
fix: improve support for keyed fields in ArcField<_>
2025-04-25 16:04:01 -04:00
Greg Johnston
06a0c768dc
fix: correctly calculate starting index for first new key ( closes #3828 )
2025-04-25 15:57:30 -04:00
Saber Haj Rabiee
fff6a508fc
feat(examples): add WebSocket example ( #3853 )
2025-04-24 20:17:08 -04:00
Greg Johnston
e65fc23fc7
fix: prevent infinite loop when sending Result over websocket, remove Display bound ( #3848 )
...
* chore: easing `Display` bound on `FromServerFnError`, #3811 follow-up
* fix: send/receive websocket data
* fix: clippy warnings
* fix: server_fn_axum example
* fix: make de/serialize_result functions public
* fix: make websocket result ser/de private
* chore: make the doc a comment and remove allow dead_code
2025-04-23 07:52:42 -04:00
Saber Haj Rabiee
f83b14d76c
feat: enhancing ByteStream error handling ( #3869 )
...
* feat: enhancing `ByteStream` error handling
* fix: easing unnecessary trait bound over some `TextStream` methods
2025-04-23 07:38:39 -04:00
zakstucke
62dac6fb8a
fix: prevent ScopedFuture stopping owner cleanup ( #3863 )
2025-04-23 07:37:12 -04:00
Rakshith Ravi
b36dec8269
feat: add header generation method to BrowserResponse ( #3873 )
2025-04-23 07:33:18 -04:00
Fea
0c50852251
fix: Use stabilized ClipboardEvent ( #3849 )
2025-04-23 07:27:24 -04:00
Nikolai Morin
50cb6005a8
chore(examples): complete the migration to Tailwind 4 ( #3861 )
...
The tailwind_csr example was not working yet with version 4, and the
tailwind_actix example still had the no-longer-needed config file.
This also brings the three tailwind examples back in sync, mostly. I
don't know why the axum example has a packages.json and
packages-lock.json file, to be honest.
2025-04-23 07:26:56 -04:00
Sathish
b725291ce9
chore: forward lint attributes used with #[component] macro ( #3864 )
...
* Forward lint attributes used with #[component] macro
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-23 07:26:26 -04:00
Greg Johnston
ed6d45d92d
Merge pull request #3870 from leptos-rs/3851
...
Error boundary fixes
2025-04-23 07:25:41 -04:00
Greg Johnston
73b5587738
fix: correctly insert out-of-order stream chunks when Ok
2025-04-21 13:12:30 -04:00
Greg Johnston
68813a5918
fix: clear old errors when going from error state to error state ( closes #3850 )
2025-04-21 12:10:47 -04:00
Greg Johnston
8f6a96341e
fix: wait for any inner Suspense before rendering ErrorBoundary ( closes #3851 )
2025-04-21 09:29:33 -04:00
Greg Johnston
046d5286c3
fix: correctly flush synchronous parts of SSR stream when appending another StreamBuilder
2025-04-21 09:28:14 -04:00
Greg Johnston
b45f982feb
fix: close Actix websocket stream when browser disconnects ( closes #3865 ) ( #3866 )
2025-04-19 16:47:09 -04:00
Greg Johnston
2b50ddc0db
v0.8.0-rc2
2025-04-18 08:43:16 -04:00
Saber Haj Rabiee
c743f0641c
chore: make the doc a comment and remove allow dead_code
2025-04-17 06:45:40 -07:00
Saber Haj Rabiee
078c252e2e
fix: make websocket result ser/de private
2025-04-17 03:38:04 -07:00
martin frances
410aedbba8
chore: ran cargo outdated. ( #3722 )
...
* chore: ran cargo outdated fixed issues.
In bumping the rand crate, calls to thread_rng() becomes rng().
* backed out changes to rand.
2025-04-16 16:42:01 -07:00
Saber Haj Rabiee
00e474599f
fix: reactive_graph keymap impl and clippy warnings ( #3843 )
2025-04-16 16:39:07 -07:00
Greg Johnston
8f38559aa2
chore(nightly): update proc-macro span file name method name ( #3852 )
2025-04-16 16:35:59 -07:00
Greg Johnston
3934c8b162
Update issue templates
2025-04-16 09:15:10 -04:00
Saber Haj Rabiee
de3a558203
fix: make de/serialize_result functions public
2025-04-15 09:24:43 -07:00
Saber Haj Rabiee
4d20105760
fix: server_fn_axum example
2025-04-15 09:23:32 -07:00
Saber Haj Rabiee
b95e827b8b
fix: clippy warnings
2025-04-15 08:31:42 -07:00
Saber Haj Rabiee
30c445a419
fix: send/receive websocket data
2025-04-15 07:43:47 -07:00
Saber Haj Rabiee
6d5ab73594
chore: easing Display bound on FromServerFnError, #3811 follow-up
2025-04-14 23:52:02 -07:00
Greg Johnston
e0bf5ec480
fix: don't try to move keyed elements within the DOM if they're not yet mounted ( closes #3844 ) ( #3846 )
2025-04-14 20:06:31 -04:00
Greg Johnston
28d9b3676d
fix: correctly decode base64-encoded error messages stored in URL ( #3842 )
2025-04-13 13:28:58 -04:00
Greg Johnston
bb47916ebe
fix: call additional_context after providing other server context in all cases ( #3841 )
2025-04-12 20:29:43 -04:00
Greg Johnston
cf843a8349
v0.8.0-rc1
2025-04-11 12:03:17 -04:00
Saber Haj Rabiee
7637e586d5
feat: enhancing server_fn errors ( #3811 )
...
* feat: enhancing server_fn errors
* fix: `server_fn` `not_result.stderr` line numbers
* fix: example server_fns_axum
* fix: not need to force ser/de traits
* fix(docs): deserialize error comment
* fix: remove unneeded traits bounds
2025-04-10 14:04:16 -07:00
Mykyta
ba7bfd8bac
feat: allow using different error types for req/resp with WebSockets, closes #3724 ( #3766 )
...
* feat: allow using different error types for request/response with WebSocket
* [autofix.ci] apply automated fixes
* chore: clean up merge issues
* chore: fix custom client example
* we can't use nightly features on stable
* update flake inputs
* include gcc and glib to flake dev shell
* update expected stderr outputs server_fn/tests/invalid
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2025-04-09 10:03:47 -07:00
Saber Haj Rabiee
8bc4fd4198
Introducing cargo all-features clippy|nextest part of build process ( #3767 )
...
* fix: intoducing cargo all-features clippy
* fix: change check to clippy for better diagnostics
* chore: build is redundant
* fix: lint task
* feat: speed up tests by 2x with cargo-nextest
* fix: re-add flags
* fix: router example build process
* fix: correct clippy arguments
* fix: adapt examples makefile to new tools
* fix(CI): add cargo-all-features part of CI dep
* fix: just warn if there is no tests
* fix(CI): add clippy and rustfmt components
* fix: nextest in examples
* fix: clippy should not run on empty set of features in examples
(quickfix)
* fix: pin cargo-all-features installation to a branch
* fix: nextest --no-tests=warn?
* fix: do not use built-in cargo-make workflows
* fix: remove --all-targets
* fix: do not run tests in parallel in certain examples
* fix: disable nextest for examples
* fix: properly override the make task
* chore: run tests with no-deps
* fix: hackernews_islands_axum
* fix(CI): properly use --no-deps
* fix(CI): --no-deps is not supported in tests
* fix(CI): run doctests separately due to stable rust limitation in nextest
* fix(examples): makefile lint recursion
* fix(CI): run tests correctly
* fix: remove unused clear in test makefile
* fix: --no-deps positional arg in clippy
* fix: run doctests for all-features
* fix: running cargo-all-features over doctests
* fix: improve playwright makefile
2025-04-07 08:57:01 -07:00
Alexander Krivács Schrøder
3254d38d2d
Revert "Remove getrandom ( #3589 )" ( #3830 )
...
Restores `getrandom` dependency to avoid compilation error when
compiling for WASM with the `nonce` feature.
2025-04-07 08:42:13 -07:00
Greg Johnston
b4abac2614
chore: missing Copy/Clone impls for MappedSignal ( #3827 )
2025-04-06 19:24:21 -04:00
Greg Johnston
767147f4ab
Merge pull request #3802 from sabify/any-spawner-race
...
fix: prevent race condition in executor initialization + docs, optimization and tests
2025-04-06 15:39:34 -04:00
Greg Johnston
9128545388
fix: do not match static segment with last character missing before slash ( closes #3817 ) ( #3823 )
2025-04-05 21:58:50 -04:00
Greg Johnston
b8810ba42f
fix: correctly establish root ownership for static site generation ( closes #3822 ) ( #3824 )
2025-04-05 19:50:28 -04:00
Saber Haj Rabiee
6006c33307
Revert "fix: more atomic orderings"
...
This reverts commit 02f4cfe437 .
2025-04-03 09:11:14 -07:00
Saber Haj Rabiee
e113c79fb8
Revert "fix: preserve the ordering of read/write operations on atomic variables"
...
This reverts commit 2ea0381bb5 .
2025-04-03 09:10:20 -07:00
尹吉峰
bdc73594ea
change: pass reference to key for Selector::selected ( #3694 )
2025-04-02 21:43:13 -04:00
Pico Bolero
a55e82afe3
chore: migrate Axum example from Tailwind 3 to Tailwind 4 ( #3804 )
...
documentation e.g., input.css and output.css.
Uses @tailwindcss/cli tool to build the output.css
Removes no longer needed tailwind.config.js as that configuration can be
embedded in input.css.
Removes src/style.css as it only included tailwind 3 configurations that
are no longer needed.
2025-04-02 20:58:36 -04:00
Greg Johnston
300d301c11
Merge pull request #3755 from ifiokjr/feat/support_aliased_results_in_server_fn
...
feat: support aliased `Result` return types for `server_fn`
2025-04-02 20:56:29 -04:00
Greg Johnston
98ee336d0c
fix: remove SendOption from public API of actions ( #3812 )
2025-04-02 13:03:21 -04:00
mahdi739
f102b2f43b
fix: Move several Into* trait impls for store fields out of stable module for wider use ( #3807 )
...
* Move several Into* trait impls for store fields out of stable module for wider use
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-02 09:29:23 -04:00
Greg Johnston
47aebf3e22
fix: allow custom status codes or redirects for route fallbacks ( #3808 )
2025-04-01 19:25:59 -04:00
jasper
7d3a9da577
chore: add track_caller to store field methods ( #3805 )
2025-03-30 16:13:44 -04:00
Saber Haj Rabiee
6d90e05c13
fix: do not expose any_spawner::Executor in prelude to encourage local
...
spawn/spawn_local* implementations
2025-03-30 03:41:48 -07:00
Saber Haj Rabiee
5d0fd5b693
fix: four more spawns usage
2025-03-30 01:52:18 -07:00
Saber Haj Rabiee
d665719b27
fix: no global spawn for wasm executor
2025-03-30 00:28:33 -07:00
Saber Haj Rabiee
ae373b5a52
fix: revert back tick implementation to respect global executor
2025-03-29 23:19:45 -07:00
Saber Haj Rabiee
02f4cfe437
fix: more atomic orderings
2025-03-29 23:19:45 -07:00
Saber Haj Rabiee
40710adfd5
fix: glib test
2025-03-29 23:19:45 -07:00
Saber Haj Rabiee
d0f26ac64b
chore: use futures_lite yield_now in glib test
2025-03-29 23:19:45 -07:00
Saber Haj Rabiee
9d2ac0a18f
fix: improving tick logic in any_spawner
2025-03-29 23:19:45 -07:00
Saber Haj Rabiee
ab0832ad68
fix: correctly using executator tick instead of timer
2025-03-29 23:19:45 -07:00
Saber Haj Rabiee
2ea0381bb5
fix: preserve the ordering of read/write operations on atomic variables
2025-03-29 23:19:38 -07:00
Saber Haj Rabiee
94acdc24c7
fix: wasm-bindgen unused tests warnings
2025-03-29 23:17:35 -07:00
Saber Haj Rabiee
c175357e69
fix: lib docs
2025-03-29 23:17:35 -07:00
Saber Haj Rabiee
ef86a50c68
fix: wasm in spawn_local condition
2025-03-29 23:17:35 -07:00
Saber Haj Rabiee
e8e0808684
fix: run tests sequentially for glib
2025-03-29 23:17:35 -07:00
Saber Haj Rabiee
4973cc9eff
fix: prevent race condition in executor + docs, optimization and tests
2025-03-29 23:17:35 -07:00
Greg Johnston
1a83a78980
Merge pull request #3803 from leptos-rs/store-test-fixes
...
Store test fixes
2025-03-29 14:55:36 -04:00
ChosunOne
4c6c79da40
feat: add support for more HTTP methods in server fn codecs ( #3797 )
2025-03-29 14:55:08 -04:00
Greg Johnston
c204df2ff3
Merge pull request #3785 from sabify/fix-portal-example
...
fix: portal example
2025-03-29 13:56:16 -04:00
zakstucke
0794681011
feat: derive_local for ArcSignal<T, LocalStorage> ( #3798 )
2025-03-29 13:55:11 -04:00
Greg Johnston
45dc1f4690
chore: update Store Option patch tests to reflect correct behavior
2025-03-29 13:45:39 -04:00
Greg Johnston
b80d58039e
fix: prevent sibling over-notification due to #3799 )
2025-03-29 13:20:52 -04:00
Greg Johnston
a7619c63bf
Merge pull request #3793 from leptos-rs/3783
...
Improved handling of `<Title/>`
2025-03-28 15:43:45 -04:00
Greg Johnston
4038438cb4
Merge pull request #3799 from leptos-rs/3790
...
Fix Store notification order for nested keyed fields
2025-03-28 15:43:29 -04:00
Greg Johnston
f23335278b
fix: allow repeated class= for all tuples, not only static ones ( closes #3794 ) ( #3801 )
2025-03-28 15:43:13 -04:00
Greg Johnston
7f51a46b1a
fix: correctly notify parent fields when patching
2025-03-27 20:20:04 -04:00
Greg Johnston
a54e3fdb40
fix: notify keyed Store fields from the top down ( closes #3790 )
2025-03-27 20:19:46 -04:00
Greg Johnston
64ba9b9dd4
fix: do not re-create effect when building a new route
2025-03-27 17:21:16 -04:00
Greg Johnston
568a16b880
chore: clippy
2025-03-26 22:07:32 -04:00
autofix-ci[bot]
d9179f0b19
[autofix.ci] apply automated fixes (attempt 2/3)
2025-03-26 20:05:52 +00:00
autofix-ci[bot]
62161c83c5
[autofix.ci] apply automated fixes
2025-03-26 19:58:41 +00:00
Greg Johnston
97f31f1af5
fix: smarter handling of <Title/> ( closes #3783 )
2025-03-26 15:46:55 -04:00
Greg Johnston
aa4dd53890
fix: correct insertion of a list of items when the first one doesn't exist in the DOM
2025-03-26 15:46:37 -04:00
Saber Haj Rabiee
a0c6f2b7ac
fix: there is no way in cargo-make to override external task, so run
...
ordinary test for every examples
2025-03-26 08:25:28 -07:00
Ifiok Jr.
753d02a14c
chore: fix formatting
2025-03-26 15:12:32 +00:00
Ifiok Jr.
ae23364ef8
chore: add comment explaining annotation
2025-03-26 15:12:32 +00:00
Ifiok Jr.
a74713a371
fix: only use diagnostic attribute on versions after 1.78
2025-03-26 15:12:31 +00:00
Ifiok Jr.
72e84f4e38
feat: support aliased Result return types for server_fn
...
- Enhanced error messages for better clarity when server functions do not meet the expected return type requirements.
- Added `trybuild` tests to ensure behaviour is not broken in future releases.
2025-03-26 15:12:31 +00:00
Ifiok Jr.
0a13ebd94d
fix: also include ServerFnErrorErr in prelude
2025-03-26 15:12:30 +00:00
Ifiok Jr.
23c6f548ec
fix: add FromServerFnError to leptos::prelude::*
2025-03-26 15:12:30 +00:00
Saber Haj Rabiee
543063ac24
fix: run cargo test for portal eample (minify tests)
2025-03-26 08:07:43 -07:00
Saber Haj Rabiee
04da08f82d
fix: portal example makefile to run cargo test
2025-03-25 23:45:14 -07:00
Saber Haj Rabiee
c8ee4b3e05
fix: portal minify test
2025-03-25 23:42:09 -07:00
Saber Haj Rabiee
999a09d064
fix: quoting strings in portal example
2025-03-25 23:27:29 -07:00
Saber Haj Rabiee
9a32ae7bd5
fix: write simple minifier for portal tests
2025-03-25 23:12:19 -07:00
zakstucke
a96ef29d9e
feat: re-export the codee crate to make custom encodings for resources easier ( #3761 )
2025-03-25 21:40:48 -04:00
Saber Haj Rabiee
0553c2af30
fix: signal CI to install chromedriver
2025-03-25 12:58:14 -07:00
Saber Haj Rabiee
668b7b4adb
fix: limit opt-level to test
2025-03-25 12:57:51 -07:00
Saber Haj Rabiee
0a90def2da
fix: portal example too many locals
2025-03-25 12:32:44 -07:00
Saber Haj Rabiee
d095879ef2
fix: portal example
2025-03-25 12:16:19 -07:00
Saber Haj Rabiee
2508b016d5
fix(CI): run only the exact examples on the only examples change ( #3782 )
...
* fix(CI): run only the exact examples on the only examples change
* chore: format html (retrigger ci)
* fix: missing the right field
* fix(CI): add missing output key
* fix(CI): properly set matrix directory for test-only-examples
* fix(CI): missing bracket token
* fix(CI): do not run semver check on examples only tests
* fix(CI): semver logic
2025-03-25 09:38:25 -07:00
Saber Haj Rabiee
bf35298708
fix: router example build process ( #3779 )
...
* fix: router example build process
* fix: a working router example
2025-03-24 23:53:45 -07:00
Greg Johnston
1a1e436cff
fix: correctly handle optional parameters in ParentRoute ( #3784 )
2025-03-24 20:15:31 -04:00
Greg Johnston
b4731e61c6
Merge pull request #3781 from leptos-rs/partialeq-sendoption
...
Tweaks to `MaybeSendWrapperOption<_>`
2025-03-24 20:12:06 -04:00
autofix-ci[bot]
5bdc68a2f2
[autofix.ci] apply automated fixes
2025-03-24 21:56:27 +00:00
Greg Johnston
0a6cd9e33f
update example
2025-03-24 17:40:52 -04:00
Greg Johnston
eca8e3cc72
chore: update tests
2025-03-23 20:33:51 -04:00
Greg Johnston
e0856eee33
chore: remove duplicate implementation due to merge
2025-03-23 20:20:30 -04:00
Greg Johnston
514cf62bf6
docs: add some more documentation to SendOption
2025-03-23 20:20:12 -04:00
Greg Johnston
26522666d5
chore: rename MaybeSendWrapperOption to SendOption
2025-03-23 20:19:30 -04:00
Greg Johnston
dcb3f202cd
fix: correctly handle == and similar traits for MaybeSendWrapperOption
2025-03-23 20:14:43 -04:00
Greg Johnston
b032c15a84
Merge pull request #3762 from leptos-rs/reduce-local-signals
...
Reduce use local signals for `Action::new_local` and similar primitives
2025-03-23 15:55:02 -04:00
Saber Haj Rabiee
f24e804985
fix(CI): toolchain will be determined and test against by CI ( #3778 )
...
* fix(CI): toolchain will be determined and test against by CI
* chore: formatting examples
* fix: clippy
2025-03-23 10:10:52 -07:00
Alexander Krivács Schrøder
2c1194a71a
docs: correct docs for default value for hash_files ( closes #3774 ) ( #3775 )
...
Resolves #3774
2025-03-23 09:08:20 -04:00
Greg Johnston
fcdc9a07e4
Merge pull request #3777 from sabify/fix-ci-examples-logic
...
fix(CI): conditional executions of only changed examples
2025-03-23 09:07:16 -04:00
Greg Johnston
3d5b0127c2
Merge pull request #3776 from sabify/remove-ci-cache
...
fix(CI): remove caching
2025-03-23 09:06:59 -04:00
Saber Haj Rabiee
1cbbcda48b
fix(CI): conditional executions of only changed examples
2025-03-23 01:42:53 -07:00
Saber Haj Rabiee
d9b998ed0c
fix(CI): add was32 target in rust-toolchain setup
2025-03-23 01:12:46 -07:00
Saber Haj Rabiee
79f0482325
fix(CI): install trunk with bininstall
2025-03-23 01:12:13 -07:00
Saber Haj Rabiee
78d70fc400
fix(CI): caching may not be needed
2025-03-23 01:11:27 -07:00
Saber Haj Rabiee
2a011dd89c
fix(CI): install deno only if needed, #3768 follow-up ( #3773 )
2025-03-23 00:04:07 -07:00
Saber Haj Rabiee
bc7c59d880
fix: clippy errors ( #3772 )
...
* fix: use map instead of if else
* fix: needless lifetime
2025-03-22 23:44:49 -07:00
Greg Johnston
a5d158765f
fix: support IntoFragment for single element ( closes #3757 ) ( #3759 )
2025-03-22 19:55:16 -04:00
Saber Haj Rabiee
999c8be6a0
fix(CI): install deps only if needed, speeds up CI ( #3768 )
2025-03-22 15:30:53 -07:00
Greg Johnston
5cfb16c79f
feat: consolidate sync/unsync Action APIs
2025-03-22 15:24:10 -04:00
Greg Johnston
fd95f11dff
Revert "fix: use signals rather than Action::new_local() ( closes #3746 ) ( #3749 )"
...
This reverts commit 2658ae8b40 .
2025-03-22 15:24:10 -04:00
Greg Johnston
2d8336ac91
feat: consolidate sync/unsync Action APIs
2025-03-22 15:24:10 -04:00
Saber Haj Rabiee
bb0c352f75
fix: remove duplicate semver ( #3764 )
2025-03-22 11:50:43 -07:00
Saber Haj Rabiee
b6eddca2c1
fix(CI): optimize CI workflow ( #3758 )
...
* chore: optimize CI
* chore: fomratting makefile to retrigger ci
* fix: run tests against both stable and nightly toolchains
* chore: simplify workflow
* fix(CI): remove unused inputs
* fix(CI): correctly indicating erased mode
* fix(CI): replace input with the name
* fix(CI): fixed logic of running cargo cmake on workspace on each example
and memeber!
* fix(CI): organized, simplified and unified CI jobs
* chore: change CI name
* fix(CI): keyword
* fix(CI): wait for dependent jobs
2025-03-22 09:48:54 -07:00
Saber Haj Rabiee
57272926ad
fix: properly feature gating ui macro tests ( Closes #3742 ) ( #3756 )
...
* fix: properly feature gating ui macro tests (Closes #3742 )
* fix: wrongly gated main in test and added more gates
* docs: formatting
2025-03-22 09:48:08 -07:00
Greg Johnston
e903c297a9
chore: add SignalSetter to prelude ( closes #3547 ) ( #3753 )
2025-03-21 16:58:00 -04:00
Nicolas Cura
b6e6588c8d
fix: make trailing comma optional for either!() macro ( #3736 )
2025-03-21 16:39:52 -04:00
Greg Johnston
713abb3072
chore: ensure WASM target is installed for examples with provided rust-toolchain.toml ( closes #3717 ) ( #3752 )
2025-03-21 16:38:35 -04:00
Greg Johnston
fce202db39
Merge pull request #3529 from leptos-rs/leptos_0.8
...
Leptos 0.8
2025-03-21 16:18:55 -04:00
Greg Johnston
1fe39bf7c8
Merge remote-tracking branch 'origin' into leptos_0.8
2025-03-21 16:18:01 -04:00
Jérôme MEVEL
fb5fdfc429
docs: in Effect::watch, refer to 'dependency_fn' and 'handler' in doc ( #3731 )
2025-03-21 16:01:56 -04:00
Alexander Krivács Schrøder
c738c5d81b
feat: switch extract() helper to use ServerFnErrorErr ( closes #3745 ) ( #3750 )
...
* feat: switch `extract()` helper to use `ServerFnErrorErr`
This provides much better compatibility with server functions using
custom errors while still working as before with server functions using
`ServerFnError`
* style: apply autofix diff
2025-03-21 16:01:12 -04:00
Greg Johnston
2658ae8b40
fix: use signals rather than Action::new_local() ( closes #3746 ) ( #3749 )
2025-03-21 15:51:44 -04:00
Saber Haj Rabiee
a0d75fda03
chore: no need to filter out "nightly" feature as of #3735 ( #3747 )
...
* chore: no need to filter out "nightly" feature as of #3735
* fix: enable hot-reload only if in all debug mode, nightly feature and
nightly rustc
* fix: do not build/test against nightly feature alone
* fix: don not test against nightly feature alone
* fix: add trace-components to denylist
2025-03-21 10:16:16 -07:00
Saber Haj Rabiee
716c770a45
fix(CI): sermver job name ( #3748 )
2025-03-21 06:42:42 -07:00
Saber Haj Rabiee
a2d268606c
fix(CI): cleanup directory no matter of results ( #3743 )
2025-03-20 17:53:25 -07:00
zakstucke
90fc727d60
ArcLocalResource fix ( #3740 )
2025-03-20 16:20:05 -07:00
zakstucke
aae827923c
ArcLocalResource fix (0.8) ( #3741 )
2025-03-20 16:19:32 -07:00
Saber Haj Rabiee
52c770c7da
fix(CI): free-up disk, properly gate nightly feature and pre-install deps ( #3735 )
...
* fix(CI): pre-install tailwind and sass
* chore: retrigger CI
* fix(CI): properly set `erased_mode` in examples
* fix(CI): workflow logic install deps locally
* chore(CI): organized tailwind and sass versions
* fix: properly ignore nightly features on stable rustc
* fix(CI): typo
* fix: missing cfg attr
* fix: properly gate nightly module in `reactive_graph``
* fix: complete `rustc_nightly` cfg gate
* fix(CI): making even more space for CI workers
* fix: missing one more rustc_nightly gated feature
* fix: maximize the speed of cargo-all-features by limiting combinations to 2
2025-03-20 14:28:07 -07:00
Saber Haj Rabiee
9210636266
fix(CI): cancel in-group inflight and pending jobs on new pushes in CI ( #3739 )
2025-03-20 13:02:17 -07:00
Saber Haj Rabiee
012616c4d8
fix(CI): switch to stable in semver for most compatibility ( #3737 )
2025-03-20 13:01:45 -07:00
Evan Almloff
6b9520f1a9
More flexible server fn macro api ( #3725 )
...
* Split up the server function expansion into multiple functions
* Use LitStr instead of Literal
* Refactor out more of the expansion
* Fix the parse example
* Expose some of the parsed server function arguments and body fields
* mark ServerFnBody as non_exhaustive
* [autofix.ci] apply automated fixes
* Fix server function paths
* rename from impl
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-20 09:55:38 -07:00
benwis
9052804ab4
v0.7.8
2025-03-20 08:21:11 -07:00
benwis
e95c903e85
v0.7.7
2025-03-19 18:19:37 -07:00
Greg Johnston
2faae43d5f
v0.8.0-beta
2025-03-19 21:02:10 -04:00
Nicolas Cura
6760c87e83
Merge pull request #3727 from NCura/patch-1
...
Fix typo
2025-03-19 21:02:10 -04:00
bimoadityar
8a179e6f45
examples: update example tailwind input css to v4 ( #3702 )
2025-03-19 21:01:03 -04:00
Greg Johnston
e765f99016
fix: matching optional params after an initial static param ( closes #3730 ) ( #3732 )
2025-03-19 20:59:41 -04:00
autofix-ci[bot]
e19e42c650
[autofix.ci] apply automated fixes
2025-03-19 23:42:02 +00:00
zakstucke
fb4be49ebf
feat: remove SendWrapper from the external interface of LocalResource ( #3715 )
2025-03-19 19:26:14 -04:00
Nicolas Cura
30548eca31
Merge pull request #3727 from NCura/patch-1
...
Fix typo
2025-03-18 14:30:23 -04:00
Greg Johnston
0b4cbbc17d
Merge remote-tracking branch 'origin' into leptos_0.8
2025-03-16 14:27:23 -04:00
Greg Johnston
dbbeb7c6ef
fix: don't retrigger rendering when only param has changed (closes #3719(
2025-03-16 14:26:23 -04:00
Greg Johnston
36aef2565d
chore: merge issues
2025-03-16 14:25:31 -04:00
Greg Johnston
a2a7eb8a2a
Merge remote-tracking branch 'origin' into leptos_0.8
2025-03-16 14:21:21 -04:00
Zak Stucke
97e22e2506
Extra trait impls for MaybeSendWrapper
2025-03-16 14:20:35 -04:00
autofix-ci[bot]
8bedacb0c7
[autofix.ci] apply automated fixes
2025-03-16 14:20:35 -04:00
Zak Stucke
56b7b9a16a
Remove SendWrapper from the external interface of LocalResource, by internalising a MaybeSendWrapper inside ArcAsyncDerived
2025-03-16 14:20:35 -04:00
Greg Johnston
d04d4c77f9
Merge pull request #3720 from metatoaster/regression_tests_3502
...
test: regression from #3502
2025-03-16 14:16:05 -04:00
Tommy Yu
5c75928b5b
test: avoiding testdriver browser contention
...
- The number of tests have increased sufficiently that the browser test
instances spawned by the driver are choked out on CI.
2025-03-16 22:43:21 +13:00
Tommy Yu
abc5631654
test: regression from #3502
...
- Also as reported in #3719 , which has an actual minimum example.
- The "quicker" test had a reset but that runs into timing issue with
the way this reset is done too soon after resource usage, so leaving
this out and we will just trust the bigger counters.
2025-03-16 22:43:21 +13:00
Tommy Yu
40e5288ac1
fix instrumented use_context
...
- It shouldn't be in on_cleanup, move into it from the component to
avoid BorrowMut error.
2025-03-16 22:43:21 +13:00
Greg Johnston
335934d40e
Merge pull request #3716 from zakstucke/string-opt
...
view!{} macro optimisation: don't wrap string types in closures when passing to ToChildren
2025-03-15 10:56:40 -04:00
Greg Johnston
6ee72f42e2
Merge pull request #3687 from leptos-rs/3671
...
Various issues related to setting signals and context in cleanups
2025-03-15 10:34:53 -04:00
Thomas Versteeg
93af23a970
feat: allow closures for shell parameter in file_and_error_handler* ( #3711 )
2025-03-15 10:24:09 -04:00
Danik Vitek
95e8ae84af
feat(reactive_stores): Replace AsRef bound of StoreFieldIterator blanket impl with Len bound ( #3701 )
2025-03-15 10:23:09 -04:00
Danik Vitek
5cfe7f6b5e
fix: make tuple struct field locator in Patch impl Index instead of usize ( #3700 )
2025-03-15 10:19:41 -04:00
Greg Johnston
0404efd5c3
fix: ensure that store subfield mutations notify from the root down ( closes #3704 ) ( #3714 )
2025-03-15 10:04:52 -04:00
Zak Stucke
93173c1400
view!} macro optimisation: don't wrap string types in closures when passing to ToChildren
2025-03-15 03:17:20 +00:00
Tommy Yu
cd2904f6a6
chore: prep common base to share example with 0.8
2025-03-15 14:35:55 +13:00
Greg Johnston
6b453845f9
fix: allow NodeRef to work with AttributeInterceptor ( closes #3697 )
2025-03-13 21:38:28 -04:00
zakstucke
111b84ce3b
feat: allow LocalResource sync methods to be used outside Suspense ( #3708 )
2025-03-13 21:36:51 -04:00
zakstucke
5633148047
feat: allow LocalResource sync methods to be used outside Suspense ( #3708 )
2025-03-13 09:28:00 -04:00
autofix-ci[bot]
4edb012de3
[autofix.ci] apply automated fixes
2025-03-13 01:16:55 +00:00
Greg Johnston
b2bea2e6b7
fix: support for websockets under default features
2025-03-12 21:06:52 -04:00
Greg Johnston
acbd6378a8
chore: bump version for 0.8
2025-03-12 20:29:46 -04:00
Greg Johnston
b7462aab10
fix: broken type inference for Action::new_unsync ( closes #3328 ) ( #3705 )
2025-03-12 19:12:46 -04:00
Greg Johnston
7593540774
Merge remote-tracking branch 'origin' into leptos_0.8
2025-03-12 16:16:10 -04:00
Greg Johnston
ed915f8e06
Merge pull request #3656 from ealmloff/websockets
...
Add websocket support for server functions
2025-03-12 16:13:41 -04:00
Greg Johnston
f65d87d566
chore: allow dead code in example
2025-03-10 21:07:41 -04:00
Greg Johnston
5034539411
chore: update server_fns_axum example
2025-03-10 21:06:36 -04:00
Greg Johnston
bc48aa4228
chore: reexport Bytes to make it easier to implement Client
2025-03-10 21:06:26 -04:00
Greg Johnston
d2c81fe955
change: enable url and json by default on server_fn
2025-03-10 16:02:50 -04:00
Greg Johnston
28eb96831a
chore: fix up doctests on server_fn crate
2025-03-10 15:57:59 -04:00
Greg Johnston
330920eae2
chore: clippy
2025-03-10 10:14:46 -04:00
Greg Johnston
a94bc0a6da
fix: only store a weak reference to an Owner in the current thread (see #3671 )
2025-03-10 10:14:46 -04:00
Greg Johnston
f85e01f4d6
fix: do not panic unnecessarily in try_ methods on Arena ( closes #3671 )
2025-03-10 10:14:46 -04:00
autofix-ci[bot]
599c87c88a
[autofix.ci] apply automated fixes
2025-03-10 14:03:07 +00:00
Evan Almloff
3ca98279e1
forward server fn visibility
2025-03-10 08:52:32 -05:00
mahdi739
a730bffe13
fix: Ensure reactive functions passed to TextProp are kept reactive ( closes : #3689 ) ( #3690 )
2025-03-09 19:40:28 -04:00
Greg Johnston
d0bf843821
Merge pull request #3692 from QuartzLibrary/immediate-effect
...
`ImmediateEffect` follow up
2025-03-09 13:50:26 -04:00
QuartzLibrary
7250bc312e
docs: clarify need for ThreadId
2025-03-09 11:49:23 +00:00
QuartzLibrary
0e8242f94c
feat: simplify ImmediateEffect
2025-03-08 18:40:52 +00:00
QuartzLibrary
439b41f0e8
test: parallel ImmediateEffect r/w access
2025-03-08 18:35:16 +00:00
Evan Almloff
18570e970c
Fix clippy
2025-03-07 17:19:24 -06:00
autofix-ci[bot]
787bf385d3
[autofix.ci] apply automated fixes
2025-03-07 23:18:19 +00:00
Evan Almloff
b6d2808671
Document the protocol trait and implementations
2025-03-07 17:12:49 -06:00
Evan Almloff
2e4d94b6c6
Add encoding suffix to the encoding types and revert renaming the post encodings
2025-03-07 17:12:49 -06:00
autofix-ci[bot]
66f9c8c999
[autofix.ci] apply automated fixes
2025-03-07 21:26:39 +00:00
Greg Johnston
352080d91a
fix: don't use ws feature of Axum on JS-fetch/no-default platform
2025-03-07 16:19:11 -05:00
Greg Johnston
1e579614a5
chore: remove unused import
2025-03-07 15:55:28 -05:00
Greg Johnston
a4e47d4086
Merge pull request #3650 from QuartzLibrary/immediate-effect
...
`ImmediateEffect`
2025-03-07 15:18:50 -05:00
Greg Johnston
3164721fdb
fix: untrack in NodeRef::on_load() to avoid re-triggering it if you read something reactively ( closes #3684 ) ( #3686 )
2025-03-07 12:07:46 -05:00
Evan Almloff
fee4bccb32
Create post type aliases for encodings
2025-03-07 08:40:08 -06:00
mahdi739
4ba9f67440
feat: implement IntoClass for store fields ( #3670 )
...
* Implement `IntoClass` for store fields
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-07 08:22:59 -05:00
Saber Haj Rabiee
2242ad1847
fix: semver and feature handy script for update nightly ( #3674 )
2025-03-07 08:21:21 -05:00
Greg Johnston
131b18bddb
Merge pull request #3677 from sabify/fix-enum-stack
...
fix: enum stack size
2025-03-07 08:20:20 -05:00
Greg Johnston
5e9d6e2dfd
fix: point bind:group to correct location ( closes #3678 ) ( #3680 )
2025-03-07 08:04:53 -05:00
Saber Haj Rabiee
d76e5bb4ea
fix: moved value
2025-03-05 21:21:29 -08:00
Saber Haj Rabiee
f752e32ae3
fix: clippy on large enum variant ( https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant )
2025-03-05 21:10:30 -08:00
Saber Haj Rabiee
a9197102a6
fix: clippy warning on match usage
2025-03-05 21:08:10 -08:00
Saber Haj Rabiee
58f1bf95e1
fix: clippy clone_on_copy ( https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy )
2025-03-05 21:07:37 -08:00
autofix-ci[bot]
d84ab6d9bf
[autofix.ci] apply automated fixes (attempt 2/3)
2025-03-05 16:23:48 +00:00
autofix-ci[bot]
f069d4478e
[autofix.ci] apply automated fixes
2025-03-05 15:20:59 +00:00
Evan Almloff
65b5d55d62
deny missing docs
2025-03-05 09:01:22 -06:00
Evan Almloff
860ad7a221
return an error when the sever doesn't support spawning tasks
2025-03-05 09:00:26 -06:00
Evan Almloff
901e038aa0
update form integration
2025-03-05 08:53:54 -06:00
Evan Almloff
f49f0965bc
remove default actix feature
2025-03-05 08:51:31 -06:00
Evan Almloff
bb62d08d3f
implement actix integration
2025-03-05 08:47:06 -06:00
Greg Johnston
bfe04593fd
Merge pull request #3658 from mahdi739/impl-several-into-traits-for-store-fields-0.8
...
Implement several into traits for store fields (0.8)
2025-03-04 08:54:02 -05:00
Greg Johnston
38a3aae28e
Merge branch 'main' into immediate-effect
2025-03-03 21:02:43 -05:00
martin frances
5eaaff045f
chore(clippy): replace mem::replace with Option::replace ( #3668 )
2025-03-03 18:01:19 -05:00
autofix-ci[bot]
5b484eaec4
[autofix.ci] apply automated fixes (attempt 3/3)
2025-03-03 22:02:22 +00:00
autofix-ci[bot]
e9384e3286
[autofix.ci] apply automated fixes
2025-03-03 21:42:06 +00:00
autofix-ci[bot]
5149ad54db
[autofix.ci] apply automated fixes (attempt 2/3)
2025-03-03 21:36:44 +00:00
autofix-ci[bot]
4d9ec54ad1
[autofix.ci] apply automated fixes
2025-03-03 21:22:46 +00:00
Evan Almloff
a1cd7ae9a1
implement reqwest websocket integration
2025-03-03 14:58:37 -06:00
autofix-ci[bot]
083f9c663f
[autofix.ci] apply automated fixes
2025-03-03 14:02:22 +00:00
Greg Johnston
63c9549120
fix: ensure cleanups run for all replaced nested routes ( closes #3665 ) ( #3666 )
2025-03-03 08:19:05 -05:00
Greg Johnston
6232f6482a
fix: param segments should not match an empty string that contains only / separator ( closes #3527 ) ( #3662 )
2025-03-01 12:05:17 -05:00
Greg Johnston
825e89f25c
fix: do not double-insert hash character in URLs ( closes #3647 ) ( #3661 )
2025-03-01 12:05:05 -05:00
Greg Johnston
3dbb251853
fix: tweak bounds on For for backwards-compat ( #3663 )
2025-03-01 11:50:09 -05:00
zakstucke
98e00fcb3b
Erased mode in CI ( #3640 )
...
* Erased mode in CI
* Trigger CI
* Rename dev_mode erased_mode plus add to more matrices
* nested routes in separate component fix
* Fix lint
* Small fixes
* Fixes
* proc-macro rustflags cross-compilation workaround with internal erasure feature for leptos_macro
* Re-trigger CI
* fix unrelated doc CI and remove unneeded IntoAttribute trait
* Fix StaticVec rebuild() fn
* Conflict fixes
* Maybe fix
* Bump example toolchain
2025-03-01 07:43:13 -08:00
martin frances
5da4c438d9
chore: examples/server_fns_axum - Bumped various packages (not axum). ( #3655 )
...
tower-http
tower
thiserror
strum
notify
axum has breaking changes and so will addressed in a separate PR.
2025-02-28 14:30:03 -05:00
mahdi739
80ed74c075
chore: implement Debug for ArcField and Field ( #3660 )
2025-02-28 14:29:35 -05:00
Greg Johnston
cdee2a9476
feat: "islands router" for client-side navigations when in islands mode ( #3502 )
2025-02-28 14:01:33 -05:00
autofix-ci[bot]
c97ab9a72c
[autofix.ci] apply automated fixes
2025-02-28 15:27:34 +00:00
Evan Almloff
4fc8972f2b
make the into websocket function async
2025-02-28 09:26:37 -06:00
QuartzLibrary
79e9340a9b
refactor: improve naming and docs after changes
2025-02-27 23:26:36 +00:00
QuartzLibrary
41d01cedb2
fix: parallel execution in ImmediateEffect
2025-02-27 23:10:08 +00:00
Evan Almloff
b800c009c7
Integrate the websocket protocol with the server function macro
2025-02-27 16:31:06 -06:00
QuartzLibrary
374a020d84
feat: do not store user state in ImmediateEffect
2025-02-27 22:17:06 +00:00
QuartzLibrary
83fcf8663c
feat: make ImmediateEffect more robust
...
The goal here is to make the behavior under recursion better defined.
2025-02-27 22:12:55 +00:00
Greg Johnston
e7a73595de
chore: remove unnecessary Debug bound
2025-02-27 17:00:00 -05:00
autofix-ci[bot]
a9a988e0e1
[autofix.ci] apply automated fixes
2025-02-27 14:46:56 +00:00
Mahdi
db10d961df
Implement Render, RenderHtml, AttributeValue for store fields
2025-02-27 17:44:07 +03:30
Mahdi
fb608158cb
Implement IntoSplitSignal for AtKeyed, AtIndex and DerefedField
2025-02-27 17:16:51 +03:30
Mahdi
1a472ebad1
Implement InnerHtmlValue for store fields
2025-02-27 17:09:34 +03:30
Mahdi
2d1b66a5c6
Implement IntoProperty for store fields
2025-02-27 17:00:33 +03:30
Mahdi
c524b0aefc
rename style_store_field macro to style_reactive
2025-02-27 16:55:37 +03:30
Mahdi
e4c977911c
Implement IntoStyle and IntoStyleValue for store fields
2025-02-27 16:41:53 +03:30
autofix-ci[bot]
f488d4b5b7
[autofix.ci] apply automated fixes
2025-02-26 19:58:25 +00:00
Evan Almloff
d4cfd0e2cb
Move content type to a separate trait
2025-02-26 13:56:59 -06:00
autofix-ci[bot]
a4b0d3408c
[autofix.ci] apply automated fixes
2025-02-26 15:44:01 +00:00
Evan Almloff
2037bf12cb
Merge branch 'leptos_0.8' into websockets
2025-02-26 09:40:58 -06:00
Evan Almloff
2747a496fc
fix formatting
2025-02-26 09:40:22 -06:00
Evan Almloff
c286812116
move the server request and response into a separate trait
2025-02-26 09:36:02 -06:00
Greg Johnston
1e0a9ef189
fix: avoid hydration issues with HashedStylesheet ( closes #3633 ) ( #3654 )
2025-02-26 09:18:23 -05:00
TERRORW0LF
1363b941bc
feat: .map() and .and_then() for OnceResource and LocalResource ( #3652 )
2025-02-26 09:16:50 -05:00
Evan Almloff
7479010f84
unified http protocol for non-websocket sever functions
2025-02-25 16:20:33 -06:00
QuartzLibrary
f7a1a2cab2
feat: introduce ImmediateEffect
2025-02-25 21:45:28 +00:00
QuartzLibrary
92b82688a6
fix: relax bounds on OrPoisoned blanket impls
2025-02-25 20:59:47 +00:00
Evan Almloff
9b9983af79
expose encoding types
2025-02-25 08:36:04 -06:00
Greg Johnston
04e79a0dc4
chore: clean up fetch example a bit
2025-02-25 08:06:47 -05:00
Greg Johnston
f64951126e
chore: merge issues
2025-02-25 07:42:39 -05:00
Greg Johnston
0a29071779
Merge remote-tracking branch 'origin' into leptos_0.8
2025-02-25 07:39:43 -05:00
Greg Johnston
efcb6f6d21
feat: support IntoSplitSignal for (Signal<T>, SignalSetter<T>) ( closes #3634 ) ( #3643 )
2025-02-25 07:32:37 -05:00
Greg Johnston
42988b1bc1
chore: fix Axum test setup ( #3651 )
2025-02-25 07:22:12 -05:00
Evan Almloff
6904eec207
remove into/from request/response bounds on server fn
2025-02-24 13:05:37 -06:00
Evan Almloff
7eb8ca702d
switch most encodings into the new system
2025-02-24 12:00:02 -06:00
QuartzLibrary
c75397ea75
chore: small refactor
2025-02-23 17:27:40 +00:00
Greg Johnston
848fd724dd
Merge pull request #3644 from leptos-rs/nightly-ci-update
2025-02-22 15:19:44 -05:00
Greg Johnston
5bc254d49f
chore: better way of not running whole doc tests
2025-02-22 14:29:25 -05:00
Greg Johnston
885f4a1654
chore: ignore type complexity lint
2025-02-22 08:39:00 -05:00
Greg Johnston
ddd243d07a
chore: better way of not running whole doc tests
2025-02-22 08:38:39 -05:00
Greg Johnston
362c300eac
chore: clippy doc comment indentation
2025-02-22 08:28:26 -05:00
Greg Johnston
284a724e5f
chore(ci): update pinned nightly version
2025-02-22 07:35:09 -05:00
Evan Almloff
1a7b40b507
implement gloo websockets
2025-02-21 15:48:41 -06:00
Evan Almloff
73dd677843
switch to async fn for get implementation
2025-02-20 17:02:19 -06:00
Evan Almloff
131f414fdc
move run client into the protocol trait
2025-02-20 17:01:51 -06:00
Evan Almloff
c3ed874d4d
Create websocket protocol trait
2025-02-19 14:49:57 -06:00
benwis
f003e50446
Update throw_error to v0.3
2025-02-19 08:08:21 -08:00
Greg Johnston
ea29685c92
change: remove unused Result alias ( #3543 )
2025-02-19 07:22:20 -08:00
Greg Johnston
6ecc681cdd
fix: allow decoding already-decoded URI components ( closes #3606 ) ( #3628 )
...
* fix: allow decoding already-decoded URI components (closes #3606 )
* clippy
2025-02-19 06:04:18 -08:00
zakstucke
49e44a2ec2
Erased routing, codegen opts ( #3623 )
2025-02-18 12:39:30 -08:00
Greg Johnston
7c34b4a4a5
fix: only render meta tags when rendered, not when created ( closes #3629 ) ( #3630 )
2025-02-18 09:06:51 -05:00
Greg Johnston
7157958822
feat: support Option<_> in style: ( closes #3568 ) ( #3618 )
2025-02-15 16:47:21 -05:00
martin frances
37cf25fba5
serde_json is common to ( #3610 )
...
integrations/actix
leptos/server
oco
server_fn
This is a defensive PR - Putting the crate definition into the root
workspcace makes it less likely to get difficult to trace version
slip bugs.
This does not help where sede_json is optional so care manual review
is required.
2025-02-15 10:24:07 -08:00
Greg Johnston
f975b8d33b
fix: hydration of () ( #3615 )
2025-02-15 13:23:09 -05:00
zakstucke
d37450d12f
Internally erase html elements ( #3614 )
2025-02-15 09:58:43 -08:00
Greg Johnston
4804dac32d
chore: update either_of minimum version in workspace ( #3612 )
2025-02-15 08:19:05 -05:00
martin frances
a9f27d6128
chore: update syntax in README example ( #3611 )
2025-02-15 08:18:48 -05:00
Greg Johnston
04cb036a7d
fix: reorder pause check in new_isomorphic ( #3613 )
2025-02-15 08:18:23 -05:00
jasper
1d3784ed7b
feat: impl Into<Signal> for store subfields ( #3579 )
2025-02-14 17:14:49 -05:00
Greg Johnston
8cc1a34c00
feat: allow pausing and resuming effects ( #3599 )
2025-02-14 14:48:27 -05:00
mahdi739
68f4d46c5f
feat: add invert to OptionStoreExt ( #3534 )
2025-02-14 13:52:38 -05:00
martin frances
590728e47e
projects/bevy3d_ui: Bevy - Bugfix, clippy and crate bump ( #3603 )
...
The bugfix is related to access to a signal
"
bevy3d_ui-b20a0a6a298e7144.js:2637 At src/routes/demo1.rs:24:23, you access a
reactive_graph::signal::read::ReadSignal<bevy3d_ui::demos::bevydemo1::scene::Scene>
(defined at src/routes/demo1.rs:19:39) outside a reactive tracking context.
This might mean your app is not responding to changes in signal values in the way you expect.
"
The solution is to use .get_untracked() inside an "effect" block.
Lots of small clippy fixes.
Also here are the crates that have been bumped
-wasm-bindgen = "0.2.92"
-wasm-bindgen-test = "0.3.42"
-web-sys = "0.3.69"
+wasm-bindgen = "0.2.100"
+wasm-bindgen-test = "0.3.50"
+web-sys = "0.3.77"
2025-02-13 15:37:23 -08:00
martin frances
e84b527743
Minor: Bump tokio to 1.43. ( #3600 )
2025-02-12 23:14:00 -08:00
martin frances
96b125d54f
Remove getrandom ( #3589 )
...
* Resolved this warning see while running cargo outdated
warning: Feature js of package getrandom has been obsolete in version 0.3.1
Now using the feature "wasm_js"
* the crate "getrandom" needs special configuration.
* getrandom_backend - a more generic config.
* Removed the crate getrandom
2025-02-12 23:13:27 -08:00
martin frances
16d66362f8
Minor: "wasm-bindgen" - Moved the crate definition up to the root workspace ( #3588 )
...
* Minor: "wasm-bindgen" - Moved the crate definition up to the root workspace
This synchronizes the version number amongst all sub-projects.
[Where the definition is "optional" manual adjustment is still required]
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-12 12:25:22 -08:00
martin frances
e27801a2c2
Minor: Bumped version of convert_case to 0.7 ( #3590 )
2025-02-12 12:17:36 -08:00
martin frances
b81f71997b
Minor: Bump itertools to "0.14.0" ( #3593 )
...
The crate is used by "leptos_macro","reactive_stores" and "tachys"
So the definition of itertools can be centralized up into the root workspace
2025-02-12 12:16:47 -08:00
martin frances
2a11325749
Minor: leptos_config - Bump the "config" crate to version 0.15.8 ( #3594 )
2025-02-12 12:15:57 -08:00
martin frances
5604f3e979
projects/bevy3d_ui: Bevy migration ( #3597 )
...
-bevy = "0.14.1"
+bevy = "0.15.2"
<https://bevyengine.org/learn/migration-guides/0-14-to-0-15/ >
2025-02-12 12:14:33 -08:00
martin frances
3a9a0891a3
projects/bevy3d_ui Migrate to leptos 0.7.7 ( #3596 )
...
* projects/bevy3d_ui Migrate to leptos 0.7.7
* Minor: projects/bevy3d_ui - Better Meta.
2025-02-12 12:13:32 -08:00
Greg Johnston
a39add50c0
fix: occasional use-after-disposed panic in Suspense ( #3595 )
2025-02-12 14:59:44 -05:00
Greg Johnston
2a2675dd36
fix: remove extra placeholder in Vec of text nodes ( closes #3583 ) ( #3592 )
2025-02-12 10:45:56 -05:00
Greg Johnston
7be6a9da86
v0.7.7
2025-02-11 20:29:31 -05:00
Greg Johnston
c51e07b5a4
v0.7.6 (#3586 )
2025-02-11 20:23:57 -05:00
jasper
b17a4c92c7
fix: allow non static lifetimes in component macro ( #3571 )
2025-02-10 20:51:15 -05:00
Alexis Fontaine
03f9c6cb6d
fix: add <fieldset> attributes ( #3581 )
2025-02-10 15:19:00 -08:00
zakstucke
6ad300c592
Binary size wins ( #3566 )
...
* Random binary size opts
* [autofix.ci] apply automated fixes
* Stop autofixer removing an import
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-10 15:18:26 -08:00
zakstucke
b4e683d969
RenderHtml::into_owned ( #3580 )
2025-02-10 12:53:33 -08:00
Greg Johnston
c2289b23a7
fix: Actix stream error handling with 0.8 error types ( #3574 )
2025-02-10 08:32:44 -05:00
Greg Johnston
9e8b8886da
feat: add :capture flag for events to handle them during capture phase ( closes #3457 ) ( #3575 )
2025-02-10 08:26:00 -05:00
Greg Johnston
299acd25f3
implement AddAnyAttr for AnyView ( #3562 )
2025-02-09 20:46:41 -05:00
Danik Vitek
6a6b3dee15
fix(reactive_stores_macro): store attribute signature error message ( #3567 )
2025-02-09 14:09:43 -05:00
Alexis Fontaine
5d71913523
Handle erase_components on Either<A, B> ( #3572 )
2025-02-09 10:50:20 -08:00
mahdi739
706617ab0a
fix: panic at fewer places in stores ( #3551 )
2025-02-07 14:45:12 -05:00
mahdi739
cd64bb9d67
fix: return empty set of keys instead of panicking when the KeyedSubfield is disposed ( #3550 )
2025-02-07 14:43:33 -05:00
Greg Johnston
f881c1877d
fix: do not hold lock on arena when dispatching Action ( #3561 )
2025-02-07 14:26:58 -05:00
Greg Johnston
8783f6a478
fix: don't use InertElement for style: etc. ( closes #3554 ) ( #3558 )
2025-02-06 21:26:15 -05:00
Greg Johnston
2add714c65
chore(ci): cargo install --locked for cargo-leptos installation ( #3559 )
2025-02-06 21:22:37 -05:00
Alexis Fontaine
88b1b2d882
feat: implement Attribute for Either<A, B> ( #3556 )
2025-02-06 21:21:53 -05:00
zakstucke
9d3a743d33
Fix ci ( #3557 )
2025-02-06 16:17:31 -08:00
zakstucke
287fc47163
"Update axum paths to 0.8 syntax" ( #3555 )
...
* Update axum paths to 0.8 syntax
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-06 16:17:12 -08:00
zakstucke
8f74a6d8a0
AddAnyAttr static ( #3553 )
2025-02-06 14:00:25 -08:00
Greg Johnston
c6de7c714e
fix: emit syntax errors in components rather than swallowing them ( closes #3535 ) ( #3538 )
2025-02-01 15:29:40 -05:00
starmaker
597175a54b
Fixing closing brace ( #3539 )
...
Most likely confglict merge artefact
2025-02-01 09:40:03 -08:00
Greg Johnston
6154199850
fix: attribute type erasure nightly ( closes #3536 ) ( #3537 )
2025-02-01 11:32:32 -05:00
Chris
ede25b9e3d
fix: remove Default impl for LeptosOptions and ConfFile ( #3522 )
...
* fix: remove `Default` impl for `LeptosOptions` and `ConfFile`
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-01 09:41:44 -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
Greg Johnston
8f636e354a
change: allow IntoFuture for Suspend::new() ( closes #3509 ) ( #3532 )
2025-01-31 14:25:35 -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
Greg Johnston
7da64f22c4
Merge branch 'main' into leptos_0.8
2025-01-30 21:32:58 -05:00
Greg Johnston
0073ae7d8a
chore: update version numbers preparing for 0.8.0-alpha
2025-01-30 21:29:54 -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
8465716a19
Fix formatting
2025-01-26 09:51:22 -08:00
zakstucke
0e24b2e63f
AddAnyAttr working with erase_components ( #3518 )
...
* AddAnyAttr working with erase_components
* CI fixes
2025-01-26 09:51:22 -08:00
Danik Vitek
c64d205984
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-26 09:51:22 -08:00
Greg Johnston
f17cb98eb0
chore: update workspace dependency versions to latest ( #3506 )
2025-01-26 09:51:22 -08:00
Danik Vitek
30f3e82664
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-26 09:51:22 -08:00
starmaker
152d5a5c92
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-26 09:51:22 -08:00
Sam Jude
669e1ba7fa
hexagonal architecture ( #3342 )
...
Co-authored-by: Sam <@>
2025-01-26 09:51:22 -08:00
dcsturman
2ad6a086f9
Enhanced docs for reactive_stores ( #3508 )
...
Added docs on shadow traits, Option, Enum, Vec, and Box usage with Store.
2025-01-26 09:51:22 -08:00
Greg Johnston
32e58d6b66
fix: including node_ref after {..} on arbitrary components ( #3503 )
2025-01-26 09:51:22 -08:00
Greg Johnston
a107443104
chore(ci): add CI for leptos_0.8 branch ( #3500 )
2025-01-26 09:51:22 -08:00
Greg Johnston
c859b07901
feat: #[lazy] macros to support lazy loading and code splitting ( #3477 )
2025-01-26 09:51:22 -08:00
Greg Johnston
a9868bea2b
chore: restore reactivity warning at top level of components ( closes #3354 ) ( #3499 )
2025-01-26 09:51:22 -08:00
Greg Johnston
7183c2b993
fix: correctly handle ErrorBoundary through reactive views ( closes #3487 ) ( #3492 )
2025-01-26 09:51:22 -08:00
Greg Johnston
7a03621db1
feat: implement unboxing support for recursive store nodes ( closes #3491 ) ( #3493 )
2025-01-26 09:51:22 -08: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
Spencer Ferris
2b589fa61f
feat: Add more options for generating server fn routes ( #3438 )
...
* feat: Allow disabling server fn hash and customizing the default prefix
Allow configuring the default prefix for server function API routes. This is useful to
override the default prefix (`/api`) for all server functions without needing to manually
specify via `#[server(prefix = "...")]` on every server function.
Also, allow disabling appending the server functions' hashes to the end of their API names.
This is useful when an app's client side needs a stable server API. For example, shipping
the CSR WASM binary in a Tauri app. Tauri app releases are dependent on each platform's
distribution method (e.g., the Apple App Store or the Google Play Store), which typically
are much slower than the frequency at which a website can be updated. In addition, it's
common for users to not have the latest app version installed. In these cases, the CSR WASM
app would need to be able to continue calling the backend server function API, so the API
path needs to be consistent and not have a hash appended.
* Mark public structs as `#[non_exhaustive]` and add doc comments
* Minor refactor to pull the fn hash logic out of the `path` statement
* feat: Use module path in prefix for server fn API route
Allow including the module path of the server function in the API route. This
is an alternative strategy to prevent duplicate server function API routes
(the default strategy is to add a hash to the end of the route). Each element
of the module path will be separated by a `/`. For example, a server function
with a fully qualified name of `parent:🧒 :server_fn` would have an API
route of `/api/parent/child/server_fn` (possibly with a different prefix and
a hash suffix depending on the values of the other server fn configs).
* Fix `enable_hash` if statement
* Add missing import
2025-01-24 20:11:38 -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
Saber Haj Rabiee
35e6f17930
chore: upgrade axum to v0.8 ( #3439 )
2025-01-17 13:38:37 -05:00
Greg Johnston
d1513a4a0b
feat(breaking): allow make PossibleRouteMatch dyn-safe ( #3421 )
2025-01-17 13:33:00 -05:00
Mario Carbajal
aa27b9e474
feat: impl Dispose for Callback types and add try_run to the Callable trait ( #3371 )
...
* impl Dispose for Callback types and add try_run to the Callable trait
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-17 13:32:04 -05:00
Ryo Hirayama
cfe925d58f
feat: allow any type that implements FromServerFnError as a replacement of the ServerFnError in server_fn ( #3274 )
2025-01-17 13:30:12 -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
Greg Johnston
6e4dac91bf
perf: optimize and simplify island walk
2024-12-31 09:02:36 -05:00
Greg Johnston
6493b0b359
fix: a more substantial island context system that restores ownership properly
2024-12-30 19:13:55 -05:00
Greg Johnston
d58042b7ba
fix: establish hydration status via ownership and context
2024-12-30 16:49:43 -05:00
Georg Vienna
7a5b27ad20
feat: allow prop destructuring via new #[prop(name = ...)] ( #3382 )
2024-12-27 16:57:34 -05:00
Spencer Ferris
78d0dbdfa2
fix: provide custom state in file_and_error_handler ( #3408 )
...
The `file_and_error_handler` provided by leptos_axum does not provide
the app's custom state in the context. This means that when the fallback
handler tries to render the app, the app will not be able to access the
custom state (and will panic if it uses `expect_context`).
The handle defined by `file_and_error_handler` has access to the custom
state from Axum, so we can pass the custom state from Axum into the
Leptos handler using the `additional_context` parameter of
`handle_response_inner`.
2024-12-27 13:44:39 -05:00
Greg Johnston
1c30a4c131
fix: getrandom needs js feature (used when nonce feature is active) ( closes #3409 ) ( #3410 )
2024-12-26 07:29:53 -05:00
Greg Johnston
b91429d4f0
fix: correctly track updates to keyed fields in keyed iterator ( closes #3401 ) ( #3403 )
2024-12-24 08:14:14 -05:00
Alexis Fontaine
6663fddf76
fix: enable console feature of web-sys ( #3406 )
2024-12-24 08:14:01 -05:00
Greg Johnston
28af33d511
v0.7.2
2024-12-21 14:09:01 -05:00
Greg Johnston
5a3413d3b3
fix: correct hydration position for static text nodes in nightly ( closes #3395 ) ( #3396 )
2024-12-21 14:02:38 -05:00
Saber Haj Rabiee
702d2e247b
fix(ci): add missing glib for semver checks ( #3393 )
2024-12-21 09:07:07 -05:00
Greg Johnston
71f698f322
fix: correct span for let: syntax ( closes #3387 ) ( #3391 )
2024-12-20 15:35:48 -05:00
Michael Scofield
8d4776bf5f
feat: add a From<ArcStore<T>> for Store<T, S> ( #3389 )
2024-12-20 13:02:48 -05:00
Oliver
65798e430f
docs: showcase let syntax in for_loop ( closes #3059 ) ( #3383 )
...
* docs: showcase let syntax in for_loop
* fix: doctests on for_loop
---------
Co-authored-by: Oliver Nordh <oliver.nordh@proton.me >
2024-12-20 13:00:46 -05:00
Greg Johnston
d46d1a4fab
Merge pull request #3376 from sabify/fix-ci
...
fix(ci): missing glib in ci
2024-12-20 12:59:45 -05:00
Alyx Mote
f9533ab75b
Update elements.rs ( #3379 )
...
fix: add missing `popovertarget` and `popovertargetaction` attributes for `<button>`
2024-12-17 19:26:04 -05:00
Saber Haj Rabiee
d08f8822c0
fix(ci): add missing glib for autofix ci
2024-12-16 23:35:05 -08:00
Saber Haj Rabiee
7357839efb
fix(ci): missing glib in ci
2024-12-16 23:34:33 -08:00
Greg Johnston
1b8ad58114
chore: update lockfile
2024-12-16 20:57:56 -05:00
Greg Johnston
ef72f1ce96
v0.7.1
2024-12-16 20:52:00 -05:00
Gary Coady
6a5bfe9a5d
feat: impl IntoSplitSignal for Field ( closes #3362 ) ( #3364 )
2024-12-16 20:48:13 -05:00
stefnotch
1661fe2412
feat: add signal.into_inner() ( #3343 )
2024-12-16 20:47:25 -05:00
Greg Johnston
2324853155
chore: reenable cargo-semver-checks on PRs ( #3375 )
2024-12-16 19:48:52 -05:00
Greg Johnston
28a3859365
fix: rebuilding of InertElement ( closes #3368 ) ( #3370 )
2024-12-16 19:23:15 -05:00
Greg Johnston
6b50179189
docs: clarify Signal::derive() behavior ( #3351 )
2024-12-16 09:22:30 -05:00
Paul Hansen
0bb825f6bd
feat: AttributeInterceptor component to allow passing attributes to other elements ( #3340 )
2024-12-16 09:18:10 -05:00
Greg Johnston
a6aa111122
fix: only mark memos Check if they aren't already Dirty ( closes #3339 ) ( #3356 )
2024-12-16 09:10:20 -05:00
Marcus Whybrow
753cfe8e44
chore: implement PatchField for usize ( #3346 )
2024-12-16 09:09:50 -05:00
zakstucke
bc9c3add87
feat: accessing context by reference (with_context and update_context) ( #3279 )
2024-12-16 09:09:22 -05:00
Michael Scofield
d0bb45dbc4
chore: update leptos_meta feature docs ( #3350 )
2024-12-16 08:33:24 -05:00
zakstucke
2a4b80cf22
feat: opt-in locations in release mode with --cfg locations ( #3281 )
2024-12-16 08:32:57 -05:00
redforks
881734b43a
chore: impl Clone trait for TypedChildrenFn ( #3349 )
2024-12-16 08:32:17 -05:00
bicarlsen
68fdc8d9c4
docs: typo fix in ToChildren::to_children docs. ( #3352 )
2024-12-14 10:58:49 -05:00
sutantodadang
03ed805137
implemented actix multipart ( #3361 )
2024-12-14 10:58:29 -05:00
Greg Johnston
5d4603e988
fix: don't try to hydrate inside <noscript> ( closes #3360 ) ( #3363 )
2024-12-14 10:57:51 -05:00
Greg Johnston
e65969cfcd
fix: nested keyed fields in stores ( closes #3338 ) ( #3344 )
2024-12-11 20:03:41 -05:00
Greg Johnston
e1e90b8595
Merge pull request #3341 from FreezyLemon/fix-some-doc-typos
...
Fix a doc typo and one broken intra-doc link
2024-12-10 16:27:30 -05:00
bicarlsen
71a136c7af
feat: increase number of branch arms for either! macro ( #3337 )
2024-12-10 16:26:41 -05:00
Greg Johnston
49366be2a5
feat: add scroll prop to <A/> component to control scrolling behavior ( closes #2666 ) ( #3333 )
2024-12-10 16:26:11 -05:00
FreezyLemon
6f5bdcc675
Fix rustdoc link to ArenaItem on Sandboxed::new
2024-12-09 23:01:27 +01:00
FreezyLemon
726a99441f
Fix typo in Signal/ArcSignal
2024-12-09 22:49:07 +01:00
Greg Johnston
775bea46d9
fix: correctly mount/unmount hydrated static text nodes in nightly mode ( closes #3334 ) ( #3336 )
2024-12-08 12:39:16 -05:00
Greg Johnston
2aa9827a1f
fix: correctly support !Send Actix APIs in server functions ( #3326 )
...
* fix: correctly support `!Send` Actix APIs in server functions
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-07 15:41:32 -05:00
Greg Johnston
be3c1811fc
fix: correctly swap Vec<_> in the DOM ( closes #3321 ) ( #3324 )
...
* fix: correctly swap `Vec<_>` in the DOM (closes #3321 )
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-05 21:08:05 -05:00
Greg Johnston
8df4f3c71d
publish 0.1.1 to include either! macro
2024-12-04 18:53:18 -05:00
dependabot[bot]
3028a9acd0
chore(deps): bump rustls in the cargo group across 1 directory ( #3289 )
...
Bumps the cargo group with 1 update in the / directory: [rustls](https://github.com/rustls/rustls ).
Updates `rustls` from 0.23.16 to 0.23.18
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.16...v/0.23.18 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: indirect
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 15:21:55 -08:00
dependabot[bot]
4b167fb809
chore(deps): bump hyper from 1.5.0 to 1.5.1 ( #3265 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 15:21:42 -08:00
dependabot[bot]
46ae8ef9b2
chore(deps): bump rkyv from 0.8.8 to 0.8.9 ( #3290 )
...
Bumps [rkyv](https://github.com/rkyv/rkyv ) from 0.8.8 to 0.8.9.
- [Release notes](https://github.com/rkyv/rkyv/releases )
- [Commits](https://github.com/rkyv/rkyv/commits )
---
updated-dependencies:
- dependency-name: rkyv
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 15:21:26 -08:00
benwis
21f26e7a6b
Remove dependa
2024-12-03 09:00:34 -08:00
dependabot[bot]
204648d388
chore(deps): bump wasm-bindgen from 0.2.95 to 0.2.97 ( #3317 )
...
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.95 to 0.2.97.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.95...0.2.97 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben Wishovich <benwis@users.noreply.github.com >
2024-12-03 08:54:32 -08:00
dependabot[bot]
a04bca55a2
chore(deps): bump tracing from 0.1.40 to 0.1.41 ( #3294 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.40 to 0.1.41.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.40...tracing-0.1.41 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben Wishovich <benwis@users.noreply.github.com >
2024-12-03 08:50:46 -08:00
dependabot[bot]
1fec678174
chore(deps): bump url from 2.5.3 to 2.5.4 ( #3291 )
...
Bumps [url](https://github.com/servo/rust-url ) from 2.5.3 to 2.5.4.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.5.3...v2.5.4 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 08:49:04 -08:00
dependabot[bot]
4dbb8d1a42
chore(deps): bump bytes from 1.8.0 to 1.9.0 ( #3297 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: bytes
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 08:48:33 -08:00
dependabot[bot]
fc2c52eb04
chore(deps): bump js-sys from 0.3.72 to 0.3.74 ( #3306 )
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.72 to 0.3.74.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 08:48:03 -08:00
dependabot[bot]
1ae35ce5b3
chore(deps): bump wasm-bindgen-futures from 0.4.45 to 0.4.47 ( #3318 )
...
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) from 0.4.45 to 0.4.47.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: wasm-bindgen-futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 08:47:49 -08:00
dependabot[bot]
8edb11f324
chore(deps): bump postcard from 1.0.10 to 1.1.1 ( #3319 )
...
Bumps [postcard](https://github.com/jamesmunns/postcard ) from 1.0.10 to 1.1.1.
- [Release notes](https://github.com/jamesmunns/postcard/releases )
- [Changelog](https://github.com/jamesmunns/postcard/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jamesmunns/postcard/compare/v1.0.10...postcard/v1.1.1 )
---
updated-dependencies:
- dependency-name: postcard
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 08:47:36 -08:00
mahdi739
5a01a7f2ed
chore: fix typo ( #3320 )
2024-12-03 08:47:25 -08:00
Greg Johnston
f252460d02
fix: wait for blocking resources before sending subsequent chunks ( close #3280 ) ( #3282 )
2024-12-02 16:44:36 -08:00
rjmac
6331b488e4
Remove the Send requirement on a local Action's future ( fixes #3309 ) ( #3310 )
...
Co-authored-by: Robert Macomber <robertm@mox>
2024-12-02 09:19:42 -08:00
Gabriel Lopes Veiga
fcba8b3b17
fix: prevent multiple location headers on redirect ( #3298 ) ( #3311 )
2024-12-01 18:54:35 -08:00
Greg Johnston
d665dd4b89
v0.7.0
2024-11-30 12:09:41 -05:00
Greg Johnston
be740b38ee
feat: add NodeRef::on_load() and writeable NodeRef ( #3305 )
2024-11-30 11:55:13 -05:00
Rakshith Ravi
d2803c938c
chore: remove pre-release message from README ( #3075 )
2024-11-30 11:48:50 -05:00
Greg Johnston
f29224415a
fix: sort tuple-syntax class and style in addition to colon-syntax ( closes #3296 ) ( #3303 )
2024-11-29 19:28:11 -05:00
Greg Johnston
292772c4d6
fix: allow a deprecated wasm-bindgen struct
2024-11-29 15:50:57 -05:00
benwis
5947aa299e
Release rc3
2024-11-28 11:28:20 -08:00
Greg Johnston
6098836cf7
docs: improve line location of hydration error message when using view macro ( #3293 )
2024-11-27 14:36:31 -05:00
Niklas Eicker
2dfa61ff6a
docs: fix help message for island macro ( #3287 )
2024-11-24 14:45:10 -05:00
Darwin Boersma
4f39b0b0ef
Version any_spawner alongside other crates, reexport CustomExecutor ( #3284 )
...
* rc2 version any_spawner
Signed-off-by: Darwin Boersma <darwin@sadlark.com >
* reexport full any_spawner crate
Signed-off-by: Darwin Boersma <darwin@sadlark.com >
---------
Signed-off-by: Darwin Boersma <darwin@sadlark.com >
2024-11-23 14:49:43 -08:00
dependabot[bot]
980595f1f0
chore(deps): bump proc-macro2 from 1.0.91 to 1.0.92 ( #3276 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.91 to 1.0.92.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.91...1.0.92 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-23 08:29:52 -05:00
Greg Johnston
14eb707e82
rc2
2024-11-22 15:27:00 -05:00
Greg Johnston
3de0414ed5
docs: adds more helpful text for hydration errors ( closes #3267 ) ( #3275 )
2024-11-22 15:10:37 -05:00
Greg Johnston
75cae91661
chore: expose some internals of routing to make wrappers easier ( #3232 )
2024-11-22 15:10:23 -05:00
Greg Johnston
8b258b0d26
fix: notify Suspense on subsequent reloads ( closes #3277 ) ( #3278 )
2024-11-22 14:55:24 -05:00
dependabot[bot]
84bdd6b568
chore(deps): bump serde_json from 1.0.132 to 1.0.133 ( #3261 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.132 to 1.0.133.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.132...v1.0.133 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 19:24:47 -05:00
dependabot[bot]
809023a2ad
chore(deps): bump attribute-derive from 0.10.2 to 0.10.3 ( #3260 )
...
Bumps [attribute-derive](https://github.com/ModProg/attribute-derive ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/ModProg/attribute-derive/releases )
- [Changelog](https://github.com/ModProg/attribute-derive/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ModProg/attribute-derive/commits )
---
updated-dependencies:
- dependency-name: attribute-derive
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 19:24:39 -05:00
dependabot[bot]
1477ae2cfb
chore(deps): bump axum from 0.7.8 to 0.7.9 ( #3259 )
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.7.8 to 0.7.9.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.7.8...axum-v0.7.9 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 19:24:31 -05:00
dependabot[bot]
26995f8efd
chore(deps): bump tower-http from 0.6.1 to 0.6.2 ( #3266 )
...
Bumps [tower-http](https://github.com/tower-rs/tower-http ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/tower-rs/tower-http/releases )
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.6.1...tower-http-0.6.2 )
---
updated-dependencies:
- dependency-name: tower-http
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 19:24:23 -05:00
dependabot[bot]
3c174b26a5
chore(deps): bump syn from 2.0.87 to 2.0.89 ( #3272 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.87 to 2.0.89.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.87...2.0.89 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 19:24:13 -05:00
dependabot[bot]
0c7e77800a
chore(deps): bump proc-macro2 from 1.0.89 to 1.0.91 ( #3273 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.89 to 1.0.91.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.89...1.0.91 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 19:24:04 -05:00
Greg Johnston
fee2421047
chore: fix broken links, etc. in docs ( #3269 )
2024-11-21 19:23:55 -05:00
Ari Seyhun
89f26f6e9b
feat: add fallback prop to ProtectedRoute and ProtectedParentRoute ( #3264 )
2024-11-19 22:32:45 -08:00
Silver
e76b22bec8
Remove unused shell() function definition ( #3254 )
2024-11-19 12:17:45 -08:00
Greg Johnston
cff277b3db
fix: add Write implementatations for Field<T> and ArcField<T> ( closes #3257 ) ( #3262 )
2024-11-19 10:04:40 -05:00
Ari Seyhun
0258ac6df4
feat(reactive_stores): add map_untracked to OptionStoreExt ( #3245 )
2024-11-18 09:41:04 -05:00
Greg Johnston
36132a5823
Merge pull request #3249 from metatoaster/pr3213_e2e_tests
...
test: aria-current end-to-end tests (#3213 )
2024-11-17 15:50:13 -05:00
autofix-ci[bot]
6f35f8d197
[autofix.ci] apply automated fixes
2024-11-17 01:51:40 +00:00
Tommy Yu
3973c4f420
test: aria-current end-to-end tests ( #3213 )
2024-11-17 14:40:47 +13:00
benwis
7f2237b91e
Remove hash.txt from tracking, update dependencies in tests
2024-11-16 11:19:11 -08:00
Tommy Yu
aa6cd08387
test: fixtures for testing aria-current ( #3202 )
2024-11-16 11:11:54 -08:00
dependabot[bot]
15fc7dd7be
chore(deps): bump thiserror from 2.0.0 to 2.0.3 ( #3231 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 2.0.0 to 2.0.3.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.0...2.0.3 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-16 11:07:00 -08:00
dependabot[bot]
eac979e309
chore(deps): bump serde from 1.0.214 to 1.0.215 ( #3236 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.214 to 1.0.215.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-16 11:06:49 -08:00
dependabot[bot]
f7ac7be32b
chore(deps): bump glib from 0.20.5 to 0.20.6 ( #3237 )
...
Bumps [glib](https://github.com/gtk-rs/gtk-rs-core ) from 0.20.5 to 0.20.6.
- [Release notes](https://github.com/gtk-rs/gtk-rs-core/releases )
- [Changelog](https://github.com/gtk-rs/gtk-rs-core/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gtk-rs/gtk-rs-core/compare/0.20.5...0.20.6 )
---
updated-dependencies:
- dependency-name: glib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-16 11:06:39 -08:00
dependabot[bot]
2462a1dc92
chore(deps): bump axum from 0.7.7 to 0.7.8 ( #3246 )
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.7.7 to 0.7.8.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.7.7...axum-v0.7.8 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-16 11:06:30 -08:00
Greg Johnston
2c6d790cdb
change: rename from experimental-islands to islands ( #3247 )
...
* change: rename from `experimental-islands` to `islands`
* update examples
2024-11-16 11:06:18 -08:00
Kalin Staykov
1c26261fd7
fix: migration syntax and insert query ( #2597 )
2024-11-13 09:37:19 -08:00
Saber Haj Rabiee
c2b239dba2
fix: run autofix.ci on pull requests only ( #3238 )
2024-11-12 14:16:34 -08:00
Saber Haj Rabiee
d4044cd5a1
feat: add autofix.ci to address formatting issues and possible clippy fixes ( #3235 )
...
* feat: add `autofix.ci` to address formatting issues and possible clippy
fixes
* fix: initial run of `autofix.ci` script to prevent PR pollution at first
run
* fix: typo and indent issue in `autofix.yml`
* fix: run `autofix.ci` over members with no features
2024-11-12 10:54:14 -08:00
Greg Johnston
43912f4fd0
chore: fmt
2024-11-12 09:05:36 -05:00
Greg Johnston
a5293f0b79
chore: add missing docs for 0.7 ( #3203 )
2024-11-11 19:58:38 -05:00
Niklas Eicker
998eefb8c5
chore: add tests for converting path segments into paths ( #3229 )
2024-11-10 20:04:04 -05:00
Greg Johnston
63f3508818
fix: don't generate additional / for empty static segments in static routes ( closes #3224 , #3226 ) ( #3228 )
2024-11-10 20:03:03 -05:00
Niklas Eicker
24308bb0eb
feat: support browsers without startViewTransition ( #3227 )
2024-11-10 16:34:12 -05:00
Paul Hansen
f804a69f2f
chore: fix deprecated parameters js warning ( #3219 )
2024-11-10 14:52:10 -05:00
dependabot[bot]
b596af45f0
chore(deps): bump tempfile from 3.13.0 to 3.14.0 ( #3212 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.13.0 to 3.14.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.13.0...v3.14.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-10 14:51:44 -05:00
Greg Johnston
5206755124
chore: add docs for stores ( #3216 )
2024-11-10 14:51:25 -05:00
Greg Johnston
53a55a1ef2
fix: support all ___: attributes on components ( #3218 )
2024-11-10 14:51:11 -05:00
Niklas Eicker
0f74332d38
chore: remove obsolete build_static_routes ( #3223 )
2024-11-10 14:51:00 -05:00
Greg Johnston
bb0dff6af5
fix: support complex punctuated attribute keys in attr: syntax ( closes #3221 ) ( #3214 )
2024-11-08 17:01:27 -05:00
Greg Johnston
d204ac6d5e
fix: ensure that aria-current is set correctly ( closes #3196 ) ( #3213 )
2024-11-08 16:19:03 -05:00
Greg Johnston
b0ad85e624
chore: clarify GTK example status in README ( closes #3215 )
2024-11-08 16:18:51 -05:00
Greg Johnston
0eebe9e289
fix: only register async work with transition if it isn't already done ( closes #3197 ) ( #3209 )
2024-11-08 09:04:52 -05:00
Greg Johnston
2abbdb6594
fix: complete navigation after rendering fallback ( closes #3199 ) ( #3208 )
2024-11-08 09:04:40 -05:00
dependabot[bot]
8f8f3e23e4
chore(deps): bump tokio from 1.41.0 to 1.41.1 ( #3207 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.41.0 to 1.41.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.41.0...tokio-1.41.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-07 19:16:59 -05:00
Saber Haj Rabiee
aab952357e
Dependabot, Attemp #2 ( #3204 )
...
* fix: remove examples and benchmarks from dependabot search path
* chore: update/upgrade deps to prevent dependabot PR pollution at first
run
* fix: increase number of pull requests from dependabot as the workspace
is pretty big
* fix: revert rkyv version as it was unexpectedly downgraded
* fix: tower in example
2024-11-07 10:55:57 -08:00
Saber Haj Rabiee
f1ebf77fa6
fix: make free space for ci workflows before running them ( #3206 )
2024-11-07 10:55:42 -08:00
Darwin Boersma
5cc2f3858d
Add futures-executor feature for any_spawner ( #3195 )
...
Signed-off-by: Darwin Boersma <darwin@sadlark.com >
2024-11-05 10:11:34 -08:00
Tommy Yu
8252655959
Updated tests for #3182 ( #3194 )
...
* fix: ensure we check memos the first time a dependency uses them, even if the dependency always runs on its first run (closes #3181 )
* Correct expected counter values down due to #3182
- As #3182 fixed the issue where superfluous resource fetches happened
when hydration happened inside a nested component, the expected values
for the counters are down to where they actually are supposed to be.
---------
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2024-11-04 18:12:54 -08:00
Saber Haj Rabiee
14e47e87ba
chore: add Cargo.lock ( closes #2881 ) ( #3192 )
2024-11-04 16:21:35 -05:00
Greg Johnston
4a8cfad7c5
chore(ci): suppress warnings about unused code in example tests ( #3193 )
2024-11-04 13:08:50 -05:00
Louis Dispa
d9f52dad76
feat: implement rendering traits for fixed-size arrays ( #3174 )
2024-11-04 12:26:43 -05:00
Greg Johnston
3a8508df6c
rc1
2024-11-03 20:19:57 -05:00
Daniëlle Huisman
865c6df483
wasm-bindgen 0.2.95 (#3186 )
2024-11-03 20:19:21 -05:00
Greg Johnston
c1d7f0f8d1
fix: exclude excluded server fn paths instead of unregistering them ( closes #3150 , #3175 ) ( #3176 )
2024-11-03 20:02:11 -05:00
zakstucke
8c2dd73b70
chore: expose internals of SerializedDataId and SsrSharedContext to allow creating custom hydration contexts ( #3145 )
2024-11-03 19:55:59 -05:00
Greg Johnston
d5894555cc
fix: allow !Send errors in Actix extract() ( #3189 )
2024-11-03 19:53:24 -05:00
Enzo Nocera
2ef1723607
Makes the wasm32-wasip1/2 target a first-class citizen for Leptos's Server-Side ( #3063 )
...
* feat: WIP wasi integrations crate
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* feat(server_fn): add generic types
This commit adds `From` implementations for the
`Req` and `Res` types using abstraction that are deemed
"platform-agnostic".
Indeed, both the `http` and `bytes` crates contains types
that allows us to represent HTTP Request and Response,
while being capable to target unconventional platforms
(they even have `no-std` support). This allows the
server_fn functions to target new platforms,
for example, the `wasm32-wasip*` targets.
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore(server_fn): generic types cleanup
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* feat(integrations/wasi): make WASI a first-class citizen of leptos server-side
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* WIP: chore(any_spawner): make the futures::Executor runable
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* fix(server_fn): include `generic` in axum.
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore(any_spawner): some clippy suggestions
I ran clippy in really annoying mode since I am still
learning Rust and I want to write clean idiomatic code.
I took suggestions that I thought made sense, if any
maintainers think those are *too much*, I can relax
those changes:
* Use `core` instead of `std` to ease migration to `no_std`
(https://rust-lang.github.io/rust-clippy/master/index.html#/std_instead_of_core )
* Add documentation on exported types and statics
* Bring some types in, with `use`
* Add `#[non_exhaustive]` on types we are not sure we
won't extend (https://rust-lang.github.io/rust-clippy/master/index.html#exhaustive_enums )
* Add `#[inline]` to help the compiler when doing
cross-crate compilation and Link-Time optimization
is not enabled. (https://rust-lang.github.io/rust-clippy/master/index.html#/missing_inline_in_public_items )
* Use generic types instead of anonymous `impl` params
so callers can use the `::<>` turbofish syntax (https://rust-lang.github.io/rust-clippy/master/index.html#/impl_trait_in_params )
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore(leptos_wasi): fine-tune linter and clean-up
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* feat(leptos_wasi): better handling of server fn with form
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore: cargo fmt
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore: remove custom clippy
Remove clippy crate rules since it
seems to make tests fails in tests.
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore: use `wasi` crate
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore: revert changes to any_spawner
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore: simpler crate features + cleanup
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* feat(any_spawner): add local custom executor
This commit adds a single-thread "local"
custom executor, which is useful for environments
like `wasm32` targets.
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* feat(leptos_wasi): async runtime
This commit adds a single-threaded
async runtime for `wasm32-wasip*`
targets.
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* feat(leptos_wasi): error handling
This commit adds error types for the users
to implement better error handling.
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore: migrate integration off-tree
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore(ci): fix formatting
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore: remove ref to leptos_wasi in Cargo.toml
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore(ci): fix fmt
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore(ci): remove explicit into_inter()
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
* chore(ci): make generic mutually exclusive with other options
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
---------
Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu >
2024-11-02 09:44:50 -07:00
Greg Johnston
13f7387d45
fix: Oco equality check ( closes #3178 ) ( #3180 )
2024-11-01 14:55:49 -04:00
Greg Johnston
0a13f7c08c
chore: reexport unescape ( closes #3177 ) ( #3179 )
2024-11-01 14:55:37 -04:00
Greg Johnston
7c83904aea
Merge pull request #3173 from leptos-rs/store-tweaks
...
Store tweaks
2024-10-30 20:33:10 -04:00
Greg Johnston
6e13ff9787
feat: impl Into<Field<T>> for Store<T> ( closes #3102 )
2024-10-28 20:28:09 -04:00
Greg Johnston
234d138f03
chore: remove log
2024-10-28 20:17:23 -04:00
Greg Johnston
97110cd5ac
chore: remove Then
2024-10-28 20:17:23 -04:00
Greg Johnston
5acc1b1a5a
chore: rename .iter() to .iter_unkeyed() for clarity
2024-10-28 20:16:54 -04:00
Nicolas Cura
f3987246cb
docs: remove duplicated "calls" word ( #3171 )
2024-10-28 20:04:33 -04:00
Greg Johnston
e5149fb348
fix: correctly track inner subfields on Field ( closes #3169 ) ( #3170 )
2024-10-28 20:04:16 -04:00
Greg Johnston
d67ff03568
chore: fix leptos_dom reexports ( closes #3166 ) ( #3168 )
2024-10-27 21:12:41 -04:00
Greg Johnston
1dbca3005d
Merge pull request #3163 from leptos-rs/undep-mp
...
chores
2024-10-25 17:47:14 -04:00
Greg Johnston
af61be0c72
fix: correctly reset classes when using Option<T> ( #3164 )
2024-10-25 17:47:00 -04:00
Johannes Heuel
76facf9539
feat: improve tailwind config to also catch dynamic classes ( #3143 )
2024-10-25 14:06:19 -04:00
Tommy Yu
0e73d18d7b
ci: regression tests for double suspense/double resource fetch ( #3103 )
...
* test: first cut of the instrumented suspense_tests
- Based on initial concepts developed for reproducing #2937 and others,
streamlined and instrumented for e2e testing and refined for inclusion
as a standalone module to be plugged into some other App.
* First cut of the fixtures and tests
* Actually make it work properly
- Instead of using examples, just feed it the table because examples
will rerun the whole scenario from scratch, which isn't what we are
trying to test here.
- Provide a basic example with item listing to show how this will work.
* Use ticketing system to disambiguate CSR calls
- Keep all SSR calls on ticket 0 as a means to disambiguate them from
CSR calls. For the mean time the focus of tests isn't on that
behavior but this may be modified when suitable.
* Update the baseline fixtures
- Given the new understanding, the scenerios all being the baseline
tests they are now moved into one file.
- Have the checks against all calls at once for better diff output,
and reword the new scenerios into more idomatic gherkin.
- Streamline the steps and provide additional ones that will help with
feature definitions.
* Translate the reproduction steps into Gherkin
* Comment out logging to avoid output interference.
* Be able to reset CSR counters everywhere
- Done by providing a button directly on the top level component with
the navigation footer. This will be useful for the next test.
* Test showing difference between hydrate and CSR
- Specifically, under hydrated load, resources that shouldn't need
refetching gets refetched, while CSR does not show this issue.
2024-10-25 14:05:42 -04:00
Greg Johnston
d306a15f86
fix: avoid deadlocking if can't take Memo write lock ( closes #3158 ) ( #3160 )
2024-10-25 13:57:44 -04:00
Greg Johnston
bf95648dc9
chore: clippy doc comment length
2024-10-25 13:56:02 -04:00
Greg Johnston
00edfc0e0a
chore: undeprecate MaybeProp
2024-10-25 13:49:19 -04:00
zakstucke
396327b667
feat: Option<T> read-like traits & deprecate MaybeSignal ( #3098 )
2024-10-25 13:41:26 -04:00
zakstucke
a437289f81
feat: impl IntoStyle for Option<impl IntoStyle & Oco ( #3119 )
2024-10-25 13:31:07 -04:00
zakstucke
58e7897db6
fix: From<> impls between ArcLocalResource and LocalResource ( #3144 )
2024-10-25 13:30:18 -04:00
Greg Johnston
1be1f41fba
fix: restore array syntax for setting multiple classes dynamically ( closes #3151 ) ( #3152 )
2024-10-23 20:10:04 -04:00
Greg Johnston
7b8cd90a6e
0.7.0-rc0
2024-10-21 21:16:20 -04:00
Greg Johnston
d0ef7b904d
feat: add OptionalParamSegment ( closes #2896 ) ( #3140 )
2024-10-21 21:15:14 -04:00
Greg Johnston
7904e0c395
fix: unregister server functions whose paths are in excluded routes ( closes #2735 ) ( #3138 )
2024-10-21 09:14:36 -04:00
Greg Johnston
7b4c470155
perf: type erasure in router ( #3107 )
2024-10-20 20:07:14 -04:00
Greg Johnston
98eccc9eb8
perf: make LeptosOptions lighter-weight to clone ( closes #3036 ) ( #3136 )
2024-10-20 20:05:29 -04:00
Greg Johnston
70d06e2716
feat: Action::clear() to clear action value ( closes #2364 ) ( #3135 )
2024-10-20 16:29:05 -04:00
PenguinWithATie
67c3bf2478
chore: add tachys::view::fragment::Fragment to prelude ( #3125 )
2024-10-20 14:15:15 -04:00
Corvus
f3aaae857a
feat: allow axum to serve precompressed files ( #3133 )
2024-10-19 20:47:35 -04:00
Greg Johnston
d727e53dd6
chore(ci): reduce tachys feature set combinations ( #3131 )
2024-10-19 20:45:49 -04:00
zakstucke
e4543ab5df
feat: new nostrip: prop prefix to pass Option<T> directly when prop(optional) ( #3105 )
2024-10-19 15:41:51 -04:00
Greg Johnston
1ca0f4430c
feat: use View Transition API for router animations ( #3112 )
2024-10-19 15:41:20 -04:00
Joaquim Pedro França Simão
b59fa11853
feat: add two-way data binding support for stores ( #3115 )
2024-10-19 15:39:45 -04:00
Greg Johnston
e55f08e017
feat: expose use_matched() ( closes #3124 ) ( #3126 )
2024-10-18 16:12:41 -04:00
zakstucke
fa1939e5b2
chore: From<ArcResource> for ArcResource and AsyncDerived ( #3121 )
2024-10-18 16:12:11 -04:00
zakstucke
8b2f0eaf44
fix: do not warn when reading resources in effect outside Suspense ( #3118 )
2024-10-18 15:24:09 -04:00
Chris
b118d69281
fix: remove unused Params attribute params ( #3123 )
...
See 1966 for original PR on older version
2024-10-18 15:20:45 -04:00
stefnotch
ee66f6c395
Add support for user-supplied executors ( #3091 )
2024-10-16 06:24:07 -07:00
Greg Johnston
eba08ad592
fix: don't render empty string as a space in unescaped elements ( closes #3120 ) ( #3122 )
2024-10-15 18:57:09 -04:00
Greg Johnston
4833b4e287
fix: avoid double-polling synchronously-available Suspend ( closes #3113 ) ( #3114 )
2024-10-15 08:49:40 -04:00
Greg Johnston
9d1be64e4d
chore: publish stores ( #3110 )
2024-10-14 10:18:38 -04:00
benwis
d6e6cd3be0
v0.7.0gamma3
2024-10-14 05:01:19 -07:00
stefnotch
70476f9277
feat: add support for async-executor from smol-rs ( #3090 )
2024-10-14 07:57:19 -04:00
zakstucke
d8ddfc26e9
perf: use the Track trait for the Signal wrapper. ( #3076 )
2024-10-12 20:29:03 -04:00
stefnotch
c8acc3e8bd
fix: correctly support local pools for futures-executor ( #3089 )
2024-10-12 20:13:50 -04:00
zakstucke
547442243b
impl IntoClass for Option<impl IntoClass> ( #3104 )
2024-10-12 05:03:53 -07:00
Greg Johnston
6e58266f54
feat: support set_is_routing/RoutingProgress for nested routes ( #3101 )
2024-10-11 19:05:33 -04:00
Greg Johnston
f0cd0fb41d
feat: condense Router/Routes base prop into one ( #3100 )
2024-10-11 14:06:11 -04:00
Daniil Polyakov
7585faf57e
fix: use full path to Result in Params derive ( #3096 )
2024-10-10 15:20:38 -04:00
zakstucke
da7f6a34e8
chore: expose AnyView in prelude ( #3099 )
2024-10-10 15:20:24 -04:00
Greg Johnston
4f7fa41262
fix: don't on WASM server targets unless you actually try to generate static routes ( closes #3094 ) ( #3097 )
2024-10-10 15:20:04 -04:00
Greg Johnston
4becfa39ca
correct version number
2024-10-10 09:13:39 -04:00
Greg Johnston
f8388b122d
fix: avoid reentering lock when initializing nested keyed store fields ( closes #3086 ) ( #3087 )
2024-10-10 08:53:28 -04:00
Greg Johnston
f57a57b92b
feat: restore AnimatedShow for 0.7 ( #3084 )
2024-10-10 08:53:05 -04:00
vsuryamurthy
f0bcbd9cfe
remove unused dependencies leptos_axum and leptos_router ( #2960 )
...
* remove unused dependencies leptos_axum and leptos_router
* cargo fmt
* Restore http::Uri under default feature
* use axum re-exported headers instead of http directly
---------
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2024-10-10 04:29:11 -07:00
Greg Johnston
115477ef1d
chore: remove unused code from leptos package ( #3085 )
2024-10-10 04:23:37 -07:00
Greg Johnston
832b9cb321
chore: pin wasm-bindgen to 0.2.93 to fix example builds ( #3088 )
2024-10-09 22:56:05 -04:00
Greg Johnston
b0150ceeec
fix: missing Copy/Clone implementations for OnceResource ( #3080 )
2024-10-09 19:33:33 -04:00
dependabot[bot]
af8df34360
chore(deps): bump denoland/setup-deno from 1 to 2 ( #3081 )
...
Bumps [denoland/setup-deno](https://github.com/denoland/setup-deno ) from 1 to 2.
- [Release notes](https://github.com/denoland/setup-deno/releases )
- [Commits](https://github.com/denoland/setup-deno/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: denoland/setup-deno
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-09 18:50:31 -04:00
Greg Johnston
b2e6185b22
fix: don't escape script/style/textarea in InertHtml ( closes #3078 ) ( #3079 )
2024-10-09 10:07:40 -04:00
Greg Johnston
d2bfb3080b
Merge pull request #3077 from leptos-rs/router-fixes
...
Router fixes
2024-10-09 07:33:24 -04:00
Greg Johnston
72ebd17042
fix: only set browser URL if it matches current router URL (closes #2979(
2024-10-08 22:12:18 -04:00
Greg Johnston
e2f0b4deeb
fix: prevent simultaneous \query_signal\ writes from canceling each other ( closes #2369 )
2024-10-08 22:12:02 -04:00
Greg Johnston
57c07e9aec
feat: enable faster compile times with RUSTFLAGS="--cfg erase_components ( #2905 )
2024-10-08 17:03:40 -04:00
Greg Johnston
0835066bc0
chore: re-add regression tests from #2639 ( #3073 )
2024-10-08 17:02:18 -04:00
webmstk
656e83fe24
docs: fix comment for set_interval helper ( #3074 )
2024-10-08 13:30:17 -04:00
Greg Johnston
ad0252ecfd
fix: inconsistencies in check for latest version in actions ( #3070 )
2024-10-07 21:02:02 -04:00
Greg Johnston
77f05c6f4e
fix: add HEAD support for Actix in leptos_routes ( closes #2885 ) ( #3069 )
2024-10-07 21:01:46 -04:00
zakstucke
a4ea491dc0
feat: add Read/ReadUntracked/Track for Signal/MaybeSignal/MaybeProp ( #3031 )
2024-10-07 19:55:07 -04:00
Greg Johnston
3c89b9c930
feat: add an optimized OnceResource and use it to rebuild Await ( #3064 )
2024-10-06 20:47:22 -04:00
Greg Johnston
93d7ba0d5f
fix: add SVG <use> ( closes #3065 ) ( #3067 )
2024-10-06 20:47:06 -04:00
Greg Johnston
e188993800
fix: remove unnecessary Send/Sync bounds on LocalResource ( #3061 )
2024-10-04 16:16:24 -04:00
Greg Johnston
c1dc8c7629
Merge pull request #3062 from leptos-rs/into-render
...
feat: add `IntoRender` for rendering custom data
2024-10-04 14:43:55 -04:00
Greg Johnston
ab9de1b8c0
chore: remove unused variable
2024-10-04 13:56:38 -04:00
Greg Johnston
b39985d9b8
fix: only use IntoAttributeValue for parts of view that are actually attribute values
2024-10-04 13:38:09 -04:00
Greg Johnston
5e8e93001d
docs: IntoRender and IntoAttributeValue
2024-10-04 13:25:57 -04:00
Greg Johnston
a4ed0cbe5b
feat: add IntoAttributeValue for rendering arbitrary attribute values
2024-10-04 13:24:39 -04:00
Greg Johnston
422fe9f43b
feat: add IntoRender for rendering arbitrary types
2024-10-04 13:13:23 -04:00
kczimm
36df36e16c
feat: allow ParamsMap to support multiple values per key ( closes #2882 ) ( #2966 )
...
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2024-10-03 18:35:50 -04:00
Chris
95fc79034b
chore: dead router::router module from 0.6 ( #2943 )
2024-10-02 19:35:49 -04:00
Greg Johnston
7403e4084f
Merge pull request #3040 from mahdi739/double-ended-iterator-for-stores
...
Double-ended-iterator-for-stores
2024-10-02 19:19:40 -04:00
jk
8feee5e5d7
Migrate rkyv 0.8.x ( #3054 )
2024-10-02 10:03:20 -07:00
Greg Johnston
e6da266b4f
Merge pull request #3050 from leptos-rs/2086
...
Module restructuring and docs cleanup
2024-10-01 21:23:47 -04:00
Greg Johnston
0798e0812d
fix: unused import in example
2024-10-01 21:23:22 -04:00
Greg Johnston
03514e68be
chore: fix test import
2024-10-01 20:43:46 -04:00
Greg Johnston
4092368581
chore: remove unused import
2024-10-01 20:43:37 -04:00
Greg Johnston
dcc7865989
fix: remove r# from raw attribute names in InertHtml ( closes #3049 ) ( #3058 )
2024-10-01 20:18:29 -04:00
Greg Johnston
896f7de8e1
fix: update import of spawn_local in test examples
2024-10-01 20:06:04 -04:00
Greg Johnston
29b2d3024a
fix: update import of tick in test examples
2024-10-01 20:05:22 -04:00
Greg Johnston
c47893ad60
fix: <textarea> does not parse its children as HTML, like <script> and <style> ( #3052 )
2024-10-01 19:39:10 -04:00
Greg Johnston
0d4f3b51e9
fix: import of reactive_graph in integrations
2024-10-01 19:38:55 -04:00
Greg Johnston
2431b19cdf
chore: reexport reactive_graph as leptos::reactive
2024-10-01 19:36:20 -04:00
Greg Johnston
4801e1ec6d
chore: hide unwrap_signal from docs
2024-10-01 19:36:20 -04:00
Greg Johnston
e206b93ba5
chore: inline docs for reexported crates
2024-10-01 19:36:20 -04:00
Greg Johnston
f0675446d8
chore: reexport reactive_graph as leptos::reactive
2024-10-01 19:36:20 -04:00
Greg Johnston
2ac7eaad15
chore: add missing docs for tick
2024-10-01 19:36:20 -04:00
Greg Johnston
8a040fda69
chore: rename Writeable to Write for consistency
2024-10-01 19:36:20 -04:00
Greg Johnston
2f5c966cf4
chore: reexport untrack from leptos::prelude but not from reactive_graph
2024-10-01 19:36:20 -04:00
Greg Johnston
45e2629f0e
chore: remove reexport of tachys in leptos::prelude
2024-10-01 19:36:20 -04:00
Greg Johnston
517566d085
change: rename spawn module to task
2024-10-01 19:35:45 -04:00
Greg Johnston
6df8657700
fix: escape text nodes and attributes in InertHtml ( closes #3056 ) ( #3057 )
2024-10-01 19:19:21 -04:00
Georg Vienna
2a4063a259
projects: port session_auth_axum ( #2970 )
2024-10-01 09:40:57 -07:00
Marc-Stefan Cassola
013ec4a09d
Two-way data binding ( #2977 )
...
* added two-way data binding to dom elements
* added two-way data binding to radio groups
* moved bind into reactive_graph mod
* chore: use `::leptos` absolute path in macro
* chore: move `Group` into the reactive module, as that's the only place it has meaning
* feat: use new `bind:` syntax
* chore: update for non-generic rendering
* chore: ignore this test
---------
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2024-10-01 09:39:45 -07:00
Greg Johnston
d10fec08e2
Merge pull request #3037 from leptos-rs/rename-island-router
...
change: rename island-router feature so people don't use it
2024-09-30 20:55:08 -04:00
Greg Johnston
94f4328586
example: add README that actually explains this example
2024-09-30 20:08:39 -04:00
Greg Johnston
2b70961110
change: rename island-router feature so people don't use it
2024-09-30 20:08:24 -04:00
Greg Johnston
699c54e16c
-gamma prerelease
2024-09-30 14:16:38 -04:00
Greg Johnston
1217ef4d8e
beta7
2024-09-30 14:16:01 -04:00
Sean Aye
9aba3efbe4
chore: remove unnecessary trait bounds ( #3046 )
2024-09-29 17:26:31 -04:00
SleeplessOne1917
1b48a2f8d5
Replace proc-macro-error with proc-macro-error2 ( #3044 )
2024-09-28 18:03:28 -07:00
Greg Johnston
31cb766206
docs: restore warning when reading resource outside Suspense ( closes #3038 ) ( #3041 )
2024-09-28 13:10:30 -04:00
Mahdi
4c3bcaa68d
implement DoubleEndedIterator for StoreFieldKeyedIter
2024-09-28 17:15:43 +03:30
Mahdi
fe060617d2
implement DoubleEndedIterator for StoreFieldIter
2024-09-28 17:14:45 +03:30
Greg Johnston
de28a317f0
fix: do not emit HTML comments inside script/style, and do not try to hydrate them ( closes #3033 ) ( #3034 )
2024-09-27 12:33:51 -04:00
Greg Johnston
d29433b98d
fix: more robust arena sandboxing ( closes #2995 ) ( #3026 )
2024-09-26 19:48:04 -04:00
Greg Johnston
f2582b6ac9
fix: properly scope Suspend rebuilds within ownership tree ( closes #3024 ) ( #3030 )
2024-09-26 18:19:36 -04:00
zakstucke
67845be161
feat: read and write for StoredValue ( #3027 )
2024-09-26 15:46:09 -04:00
Greg Johnston
2bf1f46b88
fix: add correct namespaces for SVG and MathML elements ( closes #3021 ) ( #3025 )
2024-09-25 19:42:42 -04:00
VincentBerthier
70ae3a0abb
fix: island hydration warning message ( #3023 )
2024-09-25 15:38:04 -04:00
Greg Johnston
96e2b5cba1
fix: abort Suspend on cleanup, to avoid using disposed items ( closes #3012 ) ( #3019 )
2024-09-24 21:45:39 -04:00
Greg Johnston
ef27a198d9
fix: correct Owner restoration in FlatRoutes ( closes #3014 ) ( #3018 )
2024-09-24 21:45:30 -04:00
Greg Johnston
47299926bb
fix: suppress resource loading during route generation ( closes #3013 ) ( #3017 )
2024-09-24 21:45:22 -04:00
Greg Johnston
bdc2285658
change: remove generic rendering ( #3015 )
2024-09-24 17:01:57 -04:00
zakstucke
9d4ce6e526
Fix custom root when not using islands. ( #3016 )
2024-09-24 11:42:54 -07:00
Greg Johnston
3d2cdc21a1
beta6
2024-09-23 08:57:44 -04:00
Greg Johnston
93d939aef8
Merge pull request #3009 from leptos-rs/stores-patch
...
Stores patching
2024-09-22 21:45:10 -04:00
Greg Johnston
fb04750607
example: add example of patching fields
2024-09-22 19:52:48 -04:00
Greg Johnston
a080496e7e
fix: notify correctly when patching stores
2024-09-22 19:51:50 -04:00
Greg Johnston
9fc1002167
perf: do not notify keyed iterator when only an inner field has changed
2024-09-22 19:50:30 -04:00
Greg Johnston
bc5c766530
fix: notify stores when modifying parent, without notifying siblings
2024-09-22 19:33:14 -04:00
Greg Johnston
17821f863a
fix: restructure StoredValue so that nested calls do not deadlock ( closes #2968 ) ( #3004 )
2024-09-22 19:21:49 -04:00
Baptiste
1ca4f34ef3
fix: optional props with islands ( #3005 )
2024-09-21 18:13:58 -04:00
Greg Johnston
8f0a1554b1
Merge pull request #3000 from leptos-rs/add-attr-any-view
...
Doing chores
2024-09-21 08:51:32 -04:00
Greg Johnston
38d4f26d03
fix: snip infinite type recursion
2024-09-21 07:51:27 -04:00
Greg Johnston
2b04c2710d
Merge pull request #3002 from leptos-rs/fix-stores
...
Fix stores
2024-09-21 07:37:54 -04:00
Greg Johnston
a4937a1236
fix: correctly triggering parents vs siblings
2024-09-20 21:25:42 -04:00
Greg Johnston
f6f2c39686
chore: remove UntrackedWriter
2024-09-20 20:47:46 -04:00
Greg Johnston
d7eacf1ab5
chore: remove unused DocumentFragment mounting code
2024-09-20 20:41:51 -04:00
Greg Johnston
d1a4bbe28e
chore: fix adding attr todo for static types
2024-09-20 20:41:51 -04:00
Greg Johnston
412ecd6b1b
chore: remove dead iterator wrapper code
2024-09-20 20:41:51 -04:00
Greg Johnston
9bc0152121
chore: clean up todos in template SSR code
2024-09-20 20:41:51 -04:00
Greg Johnston
4b05cada8f
chore: remove dead code for rendering guards
2024-09-20 20:41:51 -04:00
Greg Johnston
a818862704
chore: tidy up todos on EitherKeepAlive
2024-09-20 20:41:51 -04:00
Greg Johnston
173487debc
fix: add add_any_attr() for AnyView<R>
2024-09-20 20:41:51 -04:00
Greg Johnston
449d96cc9a
feat: add wrapper to support add_any_attr() fixes
2024-09-20 20:41:51 -04:00
Greg Johnston
f9bf6a95ed
Merge pull request #3001 from leptos-rs/ci
...
Fix CI
2024-09-20 20:40:53 -04:00
Greg Johnston
5bf6c94bb2
chore: remove some testing combinations
2024-09-20 20:11:44 -04:00
Greg Johnston
e1ce94a28d
fix: rationalize reactive_stores tests
2024-09-20 18:25:40 -04:00
Greg Johnston
2a62dcf27e
chore: fix unused import
2024-09-20 18:18:11 -04:00
Greg Johnston
3094766c5c
chore: allow unused methods
2024-09-20 18:08:09 -04:00
Greg Johnston
a52804595d
chore: allow unused methods
2024-09-20 17:35:43 -04:00
Greg Johnston
e72f12d32b
chore: clean up tests
2024-09-20 17:31:11 -04:00
Greg Johnston
e70083708a
chore: fix dependencies
2024-09-20 16:39:21 -04:00
Greg Johnston
cbc4caef19
chore: fix testing
2024-09-20 16:36:40 -04:00
Greg Johnston
fbeee4dbf5
chore: cargo fmt
2024-09-20 16:31:07 -04:00
Greg Johnston
d13f7e5438
chore: remove unused import
2024-09-20 16:02:41 -04:00
Greg Johnston
7b543bd31c
chore: fix syn features
2024-09-20 15:57:54 -04:00
Greg Johnston
1743724420
chore: AsRef/AsMut
2024-09-20 15:46:15 -04:00
Greg Johnston
73e0add670
chore: cargo fmt
2024-09-20 15:44:19 -04:00
Greg Johnston
4f5eb444bc
chore: remove print
2024-09-20 15:43:46 -04:00
Greg Johnston
7de98823fb
chore: clippy and missing GTK implementations
2024-09-20 15:38:15 -04:00
Georg Vienna
6d930573fc
feat: add either macro ( #2900 )
2024-09-20 08:17:40 -07:00
Saber Haj Rabiee
3317002ff5
fix: improve CI workflow ( #2838 )
...
* fix: improve CI workflow
* fix: add missing `Makefile.toml` to workspace crates
(reactive_stores and reactive_stores_macro)
* fix: remove trailing slash in workflow names
* fix: add gtk example and improve excluding example's logic
* fix: install gtk example deps
2024-09-20 08:08:28 -07:00
martin frances
99403d0167
MSRV Bump to 1.80.0, drop crate lazy_static and use std::sync::LazyLock. ( #2767 )
2024-09-19 21:40:33 -07:00
Greg Johnston
23ce022c60
Merge pull request #2997 from leptos-rs/2971
...
Changes related to stack overflows
2024-09-19 17:20:45 -04:00
Greg Johnston
96e1fd0fb8
fix: turn off InertHtml for SVG/MathML ( closes #2998 ) ( #2999 )
2024-09-19 17:20:30 -04:00
Greg Johnston
f28dac1093
chore: remove unused debug info from HtmlElement
2024-09-19 15:38:52 -04:00
Greg Johnston
ff28544fb2
feat: add BoxedView wrapper
2024-09-19 15:38:52 -04:00
Deep Gaurav
27765b417c
fix: static generation should wait for file writes before resolving ( #2994 )
2024-09-19 15:36:54 -04:00
Greg Johnston
b0d8d4ee26
fix: properly trigger Suspense when Suspend is called again ( #2993 )
2024-09-18 21:35:37 -04:00
Greg Johnston
c4b1176a6a
fix: drop lock on current URL before rendering, in case of redirect ( closes #2990 ) ( #2992 )
2024-09-18 21:27:18 -04:00
Greg Johnston
fd133dd79a
chore: re-export untrack
2024-09-18 20:25:35 -04:00
Greg Johnston
9c2477a4cf
Revert "chore: re-export untrack ( #2991 )"
...
This reverts commit f3b6d1f351 .
2024-09-18 20:25:03 -04:00
Greg Johnston
f3b6d1f351
chore: re-export untrack ( #2991 )
2024-09-18 19:51:20 -04:00
Greg Johnston
5af7b54c9c
perf: optimize inert HTML elements ( #2989 )
2024-09-18 19:42:07 -04:00
Baptiste
ba9604101d
fix: correct lifetimes for PartialPathMatch ( #2981 )
2024-09-16 21:59:49 -04:00
Greg Johnston
e136c1fc44
Merge pull request #2986 from leptos-rs/2957
...
fix: get Suspend and ErrorBoundary working together correctly
2024-09-16 21:58:49 -04:00
Greg Johnston
c581b3293e
Merge pull request #2985 from leptos-rs/2982
...
fix: sort attributes so `class` and `style` always run before `class:` and `style:` (closes #2982 )
2024-09-16 21:58:38 -04:00
Greg Johnston
cc7f861637
fix: add missing Debug and DefinedAt impls for Resource/ArcResource ( closes #2983 ) ( #2984 )
2024-09-16 21:58:23 -04:00
Greg Johnston
642d6fc72b
fix: stable hashes across different client and server builds for islands ( closes #2978 ) ( #2980 )
2024-09-16 21:58:09 -04:00
Kajetan Welc
e69c7f4ae0
feat( #2946 ): add #[store(skip)] for #[derive(Store)] ( #2975 )
2024-09-16 21:57:57 -04:00
Greg Johnston
9ca36d4763
chore: remove deprecated function in doctest example
2024-09-16 21:34:04 -04:00
Greg Johnston
8dc600ca02
fix: do not sort class and style that are after spread marker
2024-09-16 21:33:46 -04:00
Greg Johnston
b621ead607
fix: forward subscribers for already-resolved Suspend during client-side build
2024-09-16 21:10:02 -04:00
Greg Johnston
66cf21f650
fix: Ok => Err transition with Suspend ( closes #2957 )
2024-09-16 21:02:30 -04:00
Greg Johnston
f3dcdc057d
fix: sort attributes so class and style always run before class: and style: ( closes #2982 )
2024-09-16 20:26:51 -04:00
Greg Johnston
2bdacf636e
Merge pull request #2974 from leptos-rs/more-stores
...
Improve efficiency of keyed stores
2024-09-14 21:49:27 -04:00
Greg Johnston
fc06980c60
feat: directly implement IntoIterator on keyed fields
2024-09-14 21:22:16 -04:00
Greg Johnston
550a3a4e6d
perf: use FxHashMap for sets of keys
2024-09-14 21:20:09 -04:00
Greg Johnston
3310e7766b
perf: only rebuild keys when we've touched the list itself, not when we edit a row
2024-09-14 18:33:59 -04:00
Greg Johnston
5ab865e89d
example: fix so we remove by ID, not by id-as-index
2024-09-14 18:33:36 -04:00
Greg Johnston
f0c60f6ef6
Merge pull request #2871 from leptos-rs/more-stores
...
(draft) More work on stores
2024-09-14 17:34:13 -04:00
Greg Johnston
f3f685c923
chore: clean up Trigger <> Notify rename
2024-09-14 17:00:47 -04:00
Greg Johnston
3646bf31b0
example: only show date if in scheduling mode
2024-09-14 17:00:31 -04:00
Greg Johnston
b39895fa2d
feat: remove outdated entries and recycle their keys
2024-09-14 17:00:11 -04:00
Greg Johnston
1fce8931ab
fix: do not match incomplete static segments ( closes #2916 ) ( #2973 )
2024-09-14 16:20:45 -04:00
Greg Johnston
6166f6edbd
fix: ensure that we retain the correct sandoxed arena when spawning Futures ( #2965 )
2024-09-14 09:10:01 -04:00
Greg Johnston
dc9fbb0585
Merge branch 'main' into more-stores
2024-09-13 17:31:54 -04:00
Greg Johnston
d7b2f9d05b
feat: keyed store fields, with keyed iteration
2024-09-13 17:21:09 -04:00
Greg Johnston
69c4090d32
example: update stores example to show enum matching
2024-09-13 12:12:05 -04:00
Greg Johnston
fff5fa3459
feat: add support for named and unnamed enum fields in Stores
2024-09-13 11:11:31 -04:00
Greg Johnston
e92b80c71e
fix: tracking ArcStore should track, not trigger, its root trigger
2024-09-13 10:54:07 -04:00
Greg Johnston
8bb04ef248
chore: remove dead code
2024-09-13 10:53:27 -04:00
luoxiaozero
d7881ccfb5
fix: allow component to use span prop when tracing feature is enabled ( #2969 )
2024-09-13 09:35:59 -04:00
Álvaro Mondéjar Rubio
96a1f80daf
tests: fix Effect doctests not being executed, and test-related issues ( #2886 )
2024-09-12 16:43:32 -04:00
Greg Johnston
a083b57260
fix: do not panic in automatic Track implementation if source is disposed ( #2964 )
2024-09-12 09:22:46 -04:00
Chris
4fa6660a3f
doc: router::{Wildcard, Static, Param}Segment ( #2949 )
2024-09-11 21:02:02 -04:00
Baptiste
43f2ad7043
chore: add #[track_caller] to to_any_source ( #2963 )
2024-09-11 20:01:06 -04:00
Greg Johnston
2bf04072ea
Merge pull request #2959 from leptos-rs/2956
...
fix: do not retrigger parent effect when Suspend's resources resolve (closes #2956 )
2024-09-10 14:08:32 -04:00
Greg Johnston
efc6fc017d
fix: forward subscribers for already-resolved Suspend during hydration
2024-09-10 06:59:47 -04:00
Greg Johnston
6cb10401df
chore(ci): update list of core crates
2024-09-09 21:20:14 -04:00
Greg Johnston
346efd66f5
chore: remove unused cancellation logic for now
2024-09-09 21:19:55 -04:00
Greg Johnston
7c0889e873
fix: do not retrigger parent effect when Suspend's resources resolve ( closes #2956 )
2024-09-09 18:10:48 -04:00
Greg Johnston
bb40576bd5
Merge pull request #2955 from leptos-rs/fix-refetch
...
Fix refetch
2024-09-09 07:33:01 -04:00
Greg Johnston
6baf20275f
fix: Resource::refetch()
2024-09-08 21:41:44 -04:00
Greg Johnston
5a57d48913
beta5
2024-09-08 19:40:32 -04:00
jk
73f0207a7d
feat: add a copyable Trigger type ( closes #2901 ) ( #2939 )
2024-09-08 19:39:40 -04:00
Greg Johnston
4e4fb8ab10
chore(examples): SsrMode is no longer clone ( #2954 )
2024-09-08 19:39:15 -04:00
Greg Johnston
b9cccc6b91
fix: revert change, making writes to children notify parents
2024-09-08 13:58:45 -04:00
Greg Johnston
d42163d888
fix: tracking a subfield should track its parents, as changing these can change it
2024-09-08 13:56:32 -04:00
Greg Johnston
2db3e4f4d8
chore: move Option tests into option module
2024-09-08 13:56:32 -04:00
Greg Johnston
45380a258a
feat: add support for simple enums in stores
2024-09-08 13:56:32 -04:00
Greg Johnston
40292d0896
feat: add mapping over Option store fields
2024-09-08 13:56:32 -04:00
Greg Johnston
e8be9e31ff
fix/change: do not trigger every parent when writing to a store subfield
2024-09-08 13:56:32 -04:00
Greg Johnston
3d0fdb1ab0
feat: add mapped unwrap for Option store fields
2024-09-08 13:56:32 -04:00
Tommy Yu
4dea1195e2
examples: include axum_js_ssr for discussion of integrating JS libraries ( #2878 )
2024-09-08 13:42:14 -04:00
Greg Johnston
92ea39ddac
feat: version Resources to avoid race conditions ( #2950 )
2024-09-08 13:27:55 -04:00
Matt Kane
05e08166c4
chore: update suspense_test example to use Resource::map ( #2877 )
2024-09-07 20:56:30 -04:00
Greg Johnston
827cc0bdfa
fix: ensure Resource always tracks its source, and does not double-run ( #2948 )
2024-09-07 18:57:31 -04:00
Greg Johnston
57bd343f4a
fix: remove Owner from thread-local when it is ordinarily dropped, to ensure cleanup ( closes #2942 ) ( #2944 )
2024-09-07 07:01:54 -04:00
Azriel Hoh
4a76aead68
Switch to proc-macro-error2 to address unmaintained security advisory. ( #2934 )
2024-09-06 17:24:03 -04:00
Greg Johnston
48c2148589
fix: untrack in the async block of a Resource ( closes #2937 ) ( #2941 )
2024-09-06 17:23:40 -04:00
Greg Johnston
32bea69c28
fix: implement dry_resolve on Suspend so that resources created inside a Suspend are registered ( closes #2917 ) ( #2940 )
2024-09-06 14:49:37 -04:00
Greg Johnston
f3c57f8bce
Merge pull request #2929 from leptos-rs/relative-flat
...
feat: correctly support relative routing for `FlatRoutes`
2024-09-05 09:13:07 -04:00
Greg Johnston
000896b2f7
fix: allow clone: syntax on components ( closes #2903 ) ( #2928 )
2024-09-04 20:44:37 -04:00
Greg Johnston
88004e5042
feat: correctly support relative routing for FlatRoutes
2024-09-04 20:43:59 -04:00
Greg Johnston
6001a93475
fix: correctly set ownership on view of ProtectedParentRoute ( closes #2897 ) ( #2927 )
...
* fix: correctly set ownership on view of ProtectedParentRoute (closes #2897 )
* chore: clippy false positive
2024-09-04 20:42:10 -04:00
Greg Johnston
4784b2ddab
chore: remove dead code
2024-09-04 20:20:49 -04:00
Chris Biscardi
32b4cd008f
Enable CDN support for assets ( #2925 )
...
* Enable CDN support for assets
This enables setting a root for a url, especially relating to generated .wasm, .js, and .css files.
This allows using a CDN for static assets.
* fix lint
2024-09-04 15:05:51 -07:00
Greg Johnston
823f8b51be
Merge pull request #2924 from leptos-rs/2915
2024-09-04 11:15:11 -04:00
Greg Johnston
209743d6bc
fix: ensure unique names for islands ( closes #2915 )
2024-09-04 08:53:03 -04:00
Greg Johnston
b93a88accc
Merge pull request #2921 from leptos-rs/2920
2024-09-03 21:03:29 -04:00
Greg Johnston
dc2314d5e2
fix: ensure that LocalResource never creates a SendWrapper on the server
2024-09-03 20:40:12 -04:00
Greg Johnston
33aa676854
fix: ensure stability of hydration IDs on client and server, when using partial hydration ( closes #2920 )
2024-09-03 19:53:21 -04:00
Greg Johnston
4a3b3ffb8a
fix: allow > 26 children for element children as well as top-level fragments ( #2918 )
2024-09-03 14:53:38 -04:00
Greg Johnston
ee5cbf1891
fix/change: remove replace and state props from <A/>, and add them via spreading instead ( #2912 )
2024-09-03 14:25:25 -04:00
mrvillage
8fcf3544a8
fix: trim spaces in file hashes ( closes #2908 ) ( #2913 )
2024-09-03 08:51:03 -04:00
Greg Johnston
2b8e987cb8
fix: check whether we're on the server before adding window event listener ( closes #2891 ) ( #2910 )
2024-09-02 09:11:07 -04:00
Greg Johnston
998165148b
fix: automatically break children into tuples of a size the trait system can handle ( closes #2863 ) ( #2909 )
2024-09-02 08:01:41 -04:00
Greg Johnston
c80eff1098
Merge pull request #2898 from leptos-rs/min-serialization
...
fix: only serialize Resources if we're in a part of the tree that needs hydration
2024-09-02 07:11:12 -04:00
Greg Johnston
cd8f2c2153
fix: correctly provide parent outlets when rebuilding from fewer to more nested routes ( closes #2904 ) ( #2906 )
2024-09-02 07:08:15 -04:00
Greg Johnston
cb0abff2d5
fix: only serialize resource data if we're in a part of the tree being hydrated (i.e., in full hydration or in an island)
2024-08-31 16:18:06 -04:00
Greg Johnston
3b1b2e2dcc
fix version for publish
2024-08-31 11:59:05 -04:00
Greg Johnston
7831e4ad05
next beta release
2024-08-31 11:59:05 -04:00
Greg Johnston
e7bb859cd9
feat: add support for static routing and incremental static regeneration ( #2875 )
2024-08-31 10:33:12 -04:00
Rakshith Ravi
9fc26e609c
feat: allow for documentation and other attributes to fields in server fn ( #2876 )
2024-08-31 09:35:08 -04:00
mrvillage
4f1ee65e6c
Add hash files support to 0.7 ( #2894 )
...
* Add support for JS and WASM file name hashing
* Add `<HashedStylesheet />`
* Update `<HashedStylesheet />`
* Whoops
* Fix formatting
* My IDE is just refusing to work apparently
* I hate my IDE
* Don't run the doctest
* Just remove the example, I don't know enough about doctest for this
2024-08-30 14:29:59 -07:00
Greg Johnston
ceff827a77
Merge pull request #2884 from leptos-rs/rstml-0.12
...
update to rstml and improve recoverability in attributes
2024-08-28 07:46:08 -04:00
Álvaro Mondéjar Rubio
a7db918775
docs: update main documentation of leptos crate ( #2853 )
2024-08-28 07:44:29 -04:00
Baptiste
be20ecd366
fix: implement Copy and Clone for HtmlElement without needing Rndr to be Clone/copy ( #2889 )
2024-08-28 07:25:51 -04:00
Greg Johnston
5790d8ad12
fix: derive various traits on Dom to make it easier to derive traits on structs that take a generic Renderer
2024-08-28 07:25:08 -04:00
luoxiaozero
7dc58e248c
fix: compile attr:aria-* syntax ( #2887 )
2024-08-27 09:00:13 -07:00
Greg Johnston
7b03e63b23
docs: add note about curly braces
2024-08-26 21:00:45 -04:00
Greg Johnston
55fd7c6421
chore: clippy
2024-08-26 20:57:02 -04:00
Greg Johnston
ba1ea4c2bb
do not error on unbraced
2024-08-26 20:56:23 -04:00
blorbb
6a4fc96835
rstml 0.12 and enforce braces in attribute values
2024-08-26 20:55:12 -04:00
Marc-Stefan Cassola
58476bb98e
feat: variadic From for callbacks ( #2873 )
2024-08-26 20:47:11 -04:00
Oliver
88d4f14541
added attributes to source element ( #2883 )
...
Co-authored-by: Oliver Nordh <oliver.nordh@proton.me >
2024-08-26 19:27:01 -04:00
niklass-l
6bba233ba7
Add support for postcard codec in server_fn ( #2879 )
...
* Add support for postcard codec
* Add postcard feature set exclusions
* Add postcard server fn encoding example
2024-08-26 13:58:23 -07:00
Greg Johnston
1d99764740
Merge pull request #2870 from leptos-rs/dependabot/github_actions/tj-actions/changed-files-45
...
chore(deps): bump tj-actions/changed-files from 44 to 45
2024-08-23 17:36:21 -04:00
Álvaro Mondéjar Rubio
53cc479c14
chore: set tracing as feature for all crates ( #2843 )
2024-08-23 17:34:05 -04:00
Greg Johnston
d3707d9b88
Merge pull request #2865 from mkane0814/feat/add-map-and-then-for-resource
...
feat: add Resouce::map and Resouce::and_then
2024-08-23 17:30:57 -04:00
Marc-Stefan Cassola
1df4076fd2
updated codee version ( #2874 )
2024-08-23 13:50:55 -07:00
dependabot[bot]
28337bb6c9
chore(deps): bump tj-actions/changed-files from 44 to 45
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 44 to 45.
- [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/v44...v45 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-21 18:22:38 +00:00
Greg Johnston
c5dea52e69
chore: restore Playwright tests for counters example ( #2864 )
2024-08-20 13:38:22 -04:00
Greg Johnston
d5096ff2e6
feat: allow including a view from an external file ( closes #2182 ) ( #2862 )
2024-08-20 09:00:40 -04:00
Matt Kane
84734f1110
feat: add ArcResource::and_then
2024-08-20 07:41:55 -05:00
Matt Kane
7094308287
feat: add Resource::and_then
2024-08-20 00:06:56 -05:00
Matt Kane
3b88c8ccd2
feat: add Resource::map
2024-08-19 23:38:36 -05:00
Greg Johnston
b932bd5e04
Merge pull request #2859 from leptos-rs/2743
...
Add `Resource::refetch()` and `Resource::update()`
2024-08-19 07:23:41 -04:00
Greg Johnston
a0638b786c
feat: allow mutating AsyncDerived and therefore Resources ( closes #2743 )
2024-08-18 17:31:06 -04:00
Greg Johnston
1033133d3a
feat: add Resource::refetch()
2024-08-18 17:05:06 -04:00
Matt Kane
ba40560ad7
added ToHref impl for Rc<str> ( #2857 )
2024-08-18 16:52:42 -04:00
Tomer Hanochi
78dc8b4410
fix: make any_spawner optional and dependent on the reactive_graph feature ( #2858 )
2024-08-18 16:32:20 -04:00
Greg Johnston
c6bf525270
chore: version bump for tachys and meta bug
2024-08-18 16:25:53 -04:00
Chris
fcdfd617f5
fix: redundant spans ( #2836 )
...
Per https://docs.rs/quote/latest/quote/macro.quote.html#hygiene
regarding token hygiene.
> Any interpolated tokens preserve the Span information provided by their
> `ToTokens` implementation.
In many instances, the procedural macros are spanning tokens with their
own span redundantly.
2024-08-16 20:25:56 -04:00
Álvaro Mondéjar Rubio
d9c8d4ff66
fix: #[component] macro attributes propagation ( #2835 )
2024-08-16 20:21:46 -04:00
Chris
621f112f4c
docs: leptos_router_macro::path ( #2841 )
2024-08-16 20:19:38 -04:00
Greg Johnston
cfe2341dec
fix: when in browser, resolve relative links relative to current origin ( closes #2806 ) ( #2846 )
2024-08-16 20:18:59 -04:00
Greg Johnston
5ed2cc9596
docs: provide an error when you try to create identically-named attributes ( closes #1692 ) ( #2849 )
2024-08-16 20:18:43 -04:00
Greg Johnston
47b07b0143
fix: support navigating to other origins with use_navigate ( #2847 )
2024-08-16 20:18:28 -04:00
Greg Johnston
0793d56648
Merge pull request #2851 from leptos-rs/2850
...
Fix nested routing/related issues
2024-08-16 20:17:42 -04:00
Greg Johnston
2dde9738b2
fix: unmount meta tags when state is dropped, because parents won't unmount them ( closes #2832 )
2024-08-16 17:51:37 -04:00
Greg Johnston
1b276e1e02
Revert "fix: run unmount logic for element children ( closes #2832 ) ( #2834 )"
...
This reverts commit 951f4a73ee .
2024-08-16 17:43:55 -04:00
Greg Johnston
9771619b0d
tests: add regression test for #2569 ( #2848 )
2024-08-16 16:53:00 -04:00
Greg Johnston
382a36406c
chore: add crate info to router macro
2024-08-14 20:51:29 -04:00
Greg Johnston
a898d3f2f7
beta2 release
2024-08-14 20:13:14 -04:00
Greg Johnston
951f4a73ee
fix: run unmount logic for element children ( closes #2832 ) ( #2834 )
2024-08-14 19:59:54 -04:00
Greg Johnston
2a26a648ba
examples: fix/update GTK example, and remove web parallels ( #2839 )
2024-08-14 19:47:33 -04:00
Saber Haj Rabiee
66d7cb5d12
feat: add memo! macro ( closes #2708 ) ( #2826 )
2024-08-14 06:14:17 -07:00
Chris
aa49ad760b
feat: StoredValue::default ( #2818 )
2024-08-13 21:20:10 -04:00
Álvaro Mondéjar Rubio
3469e9335c
Provide several deprecated functions ( #2831 )
2024-08-13 21:19:52 -04:00
benwis
62408d9202
Run cargo fmt
2024-08-13 17:10:58 -07:00
Saber Haj Rabiee
db1c15f4e4
fix: fix web-sys warnings in server_fn ( #2828 )
...
* fix: fix web-sys warnings in server_fn
* fix: update web-sys to 0.3.70
* fix: web-sys clipboard api in 0.3.70
2024-08-13 15:46:34 -07:00
Álvaro Mondéjar Rubio
3f751551a8
feat: provide deprecated create_memo ( #2825 )
2024-08-13 15:43:17 -07:00
Álvaro Mondéjar Rubio
2470036f57
feat: provide deprecated create_rw_signal ( #2824 )
2024-08-13 15:42:47 -07:00
Saber Haj Rabiee
e01dfbf497
fix: update to wasm-bindgen 0.2.93 ( #2827 )
2024-08-13 15:21:57 -07:00
Saber Haj Rabiee
49c1661f92
fix: exclude projects from workspace ( #2819 )
2024-08-13 14:51:59 -07:00
Chris
b9dfd9a5ae
docs: StoredValue methods and examples for 0.7 ( #2817 )
2024-08-13 14:38:07 -07:00
Saber Haj Rabiee
17a150b3bf
fix: increase MSRV to 1.76 ( #2829 )
2024-08-13 14:31:22 -07:00
Rakshith Ravi
c860f524ad
Add 0.7 warning to README ( #2823 )
2024-08-13 10:42:13 -04:00
mahmoud-eltahawy
20af4928b2
chore: use workspace edition for examples and crates ( #2816 )
2024-08-12 19:25:47 -04:00
Greg Johnston
7b62ad44d2
feat: restore hot reloading for 0.7 ( #2775 )
2024-08-12 16:11:30 -04:00
Greg Johnston
5657abc07d
Merge pull request #2809 from leptos-rs/callback
...
Callback changes
2024-08-12 16:11:10 -04:00
Greg Johnston
9fc351ceac
chore: remove unused import
2024-08-12 08:09:12 -04:00
Greg Johnston
893d47f1c5
feat: add missing server fn redirect hook to router ( #2815 )
2024-08-12 08:07:45 -04:00
Greg Johnston
3c2a2304e4
change: rename Callable::call() to Callable::run() to avoid warnings about name collision with Fn()
2024-08-12 07:48:22 -04:00
Greg Johnston
3de4b7b982
fix: impl Copy for UnsyncCallback
2024-08-12 07:45:29 -04:00
Greg Johnston
36957cb569
change: impl From<F: Fn> for all callbacks, rather than implement Fn traits on them in nightly ( closes #2041 , #2142 )
2024-08-12 07:45:28 -04:00
Greg Johnston
27dbadb7d2
fix: allow generic parameters for directive functions ( closes #2808 ) ( #2812 )
2024-08-11 20:37:57 -04:00
Greg Johnston
84590b98ed
Merge pull request #2814 from leptos-rs/2719
...
Provide parent route params to children
2024-08-11 18:36:15 -04:00
Greg Johnston
0222182286
fix: provide parent params to children ( closes #2719 )
2024-08-11 17:20:25 -04:00
Greg Johnston
7ed4d08dab
feat: From<ArcRwSignal<_>> for ArcMemo<_>
2024-08-11 17:19:35 -04:00
Greg Johnston
4fa2e58551
fix: properly resolve nested relative routes with multiple parents ( closes #2720 ) ( #2797 )
2024-08-11 13:21:22 -04:00
Greg Johnston
5fe58369f5
fix: only implement global attributes on HtmlElement, not on all renderable types, to improve autocomplete ( #2811 )
2024-08-11 13:21:08 -04:00
Tommy Yu
10860ebb1e
doc: more details on how redirect works ( closes #2789 ) ( #2796 )
2024-08-11 07:11:05 -04:00
Greg Johnston
887eb99cf6
chore: cargo fmt
2024-08-10 20:31:28 -04:00
Tommy Yu
9f99571b28
fix: a more robust aria-current="page" algorithm for A ( #2770 )
2024-08-10 20:31:10 -04:00
Saber Haj Rabiee
b3e2040ec9
chore: upgrade dependencies ( #2765 )
2024-08-10 20:01:41 -04:00
Greg Johnston
693861434c
Merge pull request #2799 from leptos-rs/2798
...
fix: ProtectedRoute calling view multiple times during server rendering
2024-08-09 10:27:10 -04:00
Greg Johnston
d1248d3faf
fix: hydration for attributes with Option<_> ( closes #2793 ) ( #2794 )
2024-08-08 14:11:26 -04:00
Greg Johnston
f1fae63064
fix: only run Suspense on the condition in ProtectedRoute ( closes #2798 )
2024-08-08 13:57:58 -04:00
Greg Johnston
f7053ac960
feat: add Unsuspend as a way to opt out of Suspense in a section of the tree
2024-08-08 13:56:02 -04:00
Greg Johnston
8670365594
fix: support complex struct form submits without JS ( closes #2790 ) ( #2792 )
2024-08-07 11:10:59 -04:00
Alicia Garcia-Raboso
e0cc6fd7b9
fix: correctly report whether a stored_value is disposed ( #2791 )
2024-08-07 09:19:01 -04:00
Greg Johnston
84457b45ff
fix: introduce more intuitive/useful behavior for new_with_initial ( closes #2787 ) ( #2788 )
2024-08-07 09:14:22 -04:00
Greg Johnston
8c959d3e24
fix: correctly dispose of original RouteContext, allowing Owner to be dropped ( closes #2785 ) ( #2786 )
2024-08-07 09:14:10 -04:00
Greg Johnston
288da232ac
Merge pull request #2782 from leptos-rs/dependabot/github_actions/pnpm/action-setup-4
...
chore(deps): bump pnpm/action-setup from 3 to 4
2024-08-06 10:26:01 -04:00
Greg Johnston
ef52e8620b
Merge pull request #2781 from leptos-rs/dependabot/github_actions/tj-actions/changed-files-44
...
chore(deps): bump tj-actions/changed-files from 41 to 44
2024-08-06 10:25:51 -04:00
Greg Johnston
a8c5ce2722
chore(ci): temporarily disable semver checks while main branch is itself a breaking change ( #2783 )
2024-08-06 09:51:21 -04:00
dependabot[bot]
a40ba9a39e
chore(deps): bump pnpm/action-setup from 3 to 4
...
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup ) from 3 to 4.
- [Release notes](https://github.com/pnpm/action-setup/releases )
- [Commits](https://github.com/pnpm/action-setup/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: pnpm/action-setup
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-06 01:32:44 +00:00
dependabot[bot]
83a110fb85
chore(deps): bump tj-actions/changed-files from 41 to 44
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 41 to 44.
- [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/v41...v44 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-06 01:32:42 +00:00
Saber Haj Rabiee
5deedf721e
feat: add dependabot to get dep's update alerts and PRs automatically ( #2768 )
2024-08-05 21:23:45 -04:00
Álvaro Mondéjar Rubio
0ae67cf122
chore: clean up examples ( #2779 )
2024-08-05 21:23:17 -04:00
martin frances
97e0222061
chore: cargo outdated, bump rustc-hash to version 2.0.0, no additional fixup needed. ( #2778 )
2024-08-05 20:53:16 -04:00
luoxiaozero
a7aedee4fd
feat: adds ForEnumerate component that gives reactive access to current index in list ( #2773 )
2024-08-05 20:52:18 -04:00
Corvus
f180941b7b
feat: complete img and video attributes set ( #2774 )
2024-08-05 20:38:20 -04:00
Marc-Stefan Cassola
83cb3cb764
feat: allow effect functions without parameters ( #2776 )
2024-08-05 20:36:47 -04:00
Corvus
f174688974
feat: provide deprecated create_node_ref ( #2777 )
2024-08-05 20:33:58 -04:00
Greg Johnston
1f4c410f78
Merge pull request #2607 from leptos-rs/leptos_0.7
...
(draft) Leptos 0.7
2024-08-04 11:45:22 -04:00
Corvus
3dbedfc871
feat: reintroduce custom events ( #2762 )
2024-08-04 08:21:10 -04:00
luoxiaozero
026152d20e
fix: correctly rebuild reactive attributes to avoid stale signals ( #2763 )
2024-08-04 08:16:02 -04:00
luoxiaozero
c70009243a
fix: allow svg elements to use inner_html ( #2764 )
2024-08-04 08:14:22 -04:00
Greg Johnston
dcdad73476
chore: fmt
2024-08-03 21:55:07 -04:00
Corvus
42a8e49e1a
feat: provide deprecated watch function ( #2761 )
2024-08-03 21:24:46 -04:00
Greg Johnston
9ba894764e
chore: fmt
2024-08-03 11:52:21 -04:00
Greg Johnston
1d97494e19
fix: update syntax now that dispatch returns something
2024-08-03 11:52:09 -04:00
Greg Johnston
982bfd8011
feat: allow aborting dispatched actions ( closes #2746 )
2024-08-03 10:59:54 -04:00
Greg Johnston
a0ad927097
fix: generated tests should not use old APIs
2024-08-03 10:48:11 -04:00
Greg Johnston
4845459511
chore: update tests
2024-08-03 10:11:29 -04:00
Greg Johnston
54e4205541
chore: update tests
2024-08-02 11:16:35 -04:00
Greg Johnston
25f0186098
chore: update tests
2024-08-02 10:29:48 -04:00
Greg Johnston
00fb8f29d3
fix: do not pass SendWrappers through Suspense ( closes #2756 )
2024-08-02 10:27:35 -04:00
Greg Johnston
82ea4eb7ce
chore: fix ssr tests
2024-08-02 09:40:18 -04:00
Greg Johnston
34382c0c23
chore: fix ssr tests
2024-08-02 09:24:51 -04:00
Greg Johnston
605e4b1eec
chore: update examples and doctests
2024-08-02 09:07:23 -04:00
Greg Johnston
71ca02a432
chore: clippy
2024-08-01 22:25:16 -04:00
Greg Johnston
ac751dd0d3
chore(ci): update nightly
2024-08-01 21:28:19 -04:00
Greg Johnston
114df8797c
chore: clippy
2024-08-01 21:25:35 -04:00
Greg Johnston
35b457aa82
chore: update examples and doctests
2024-08-01 20:59:39 -04:00
Greg Johnston
c43b71d3fa
chore: update examples and doctests
2024-08-01 20:45:40 -04:00
Greg Johnston
5ad17d6b6c
fix: correct thread-local behavior for Effects ( closes #2754 )
2024-08-01 19:43:10 -04:00
Greg Johnston
805be42f7a
chore: fix doctest
2024-08-01 19:43:10 -04:00
Greg Johnston
bb63a1521e
chore: update tests and doctests
2024-08-01 19:43:10 -04:00
Greg Johnston
05cd1bc6f0
chore: proper feature gating for imports
2024-08-01 19:43:10 -04:00
Greg Johnston
84ac64284c
chore: update tests and doctests
2024-08-01 19:43:10 -04:00
Greg Johnston
8beb988ecc
chore: update tests and doctests
2024-08-01 19:43:10 -04:00
Greg Johnston
05999069b7
feat: add create_slice functions
2024-08-01 19:43:10 -04:00
Greg Johnston
dbb4c79d9c
chore: remove unused features
2024-08-01 19:43:10 -04:00
Greg Johnston
d1d6126259
chore: add makefile for CI
2024-08-01 19:43:10 -04:00
Greg Johnston
0e979a0767
chore: remove dead code from leptos_dom (now found in tachys)
2024-08-01 19:43:10 -04:00
Greg Johnston
3a4ad07a91
chore: remove unused dependencies
2024-08-01 19:43:10 -04:00
Greg Johnston
f2f35cd785
chore: fix imports in tests
2024-08-01 19:43:10 -04:00
Greg Johnston
c953432659
chore: fmt
2024-08-01 19:43:10 -04:00
Greg Johnston
27f2e60d16
chore: clean up unused imports in tests
2024-08-01 19:43:10 -04:00
Greg Johnston
9330cf23b1
fix: set default storage type for SignalTypes
2024-08-01 19:43:10 -04:00
Greg Johnston
04f5207457
fix: be ready to complete navigation immediately
2024-08-01 19:43:09 -04:00
Greg Johnston
c88409a333
fix: update reactive views for new requirements
2024-08-01 19:43:09 -04:00
Greg Johnston
a2d3d9431c
feat: support memos with !Send values
2024-08-01 19:43:09 -04:00
Greg Johnston
213365e4e9
chore: clippy
2024-08-01 19:43:09 -04:00
Greg Johnston
ab3e94dafa
chore: clippy
2024-08-01 19:43:09 -04:00
Greg Johnston
3e05b5bcb4
feat: support class = in view macro
2024-08-01 19:43:09 -04:00
Greg Johnston
632ce0f401
fix merge issues
2024-08-01 19:43:09 -04:00
Greg Johnston
93c893f4b3
fix: use correct Request type in Actix extractor
2024-08-01 19:43:09 -04:00
Greg Johnston
4fa72a94fb
feat: allow reusing the same endpoint for server functions with different HTTP verbs in their input encodings
2024-08-01 19:43:09 -04:00
Greg Johnston
24775fb59b
fix: properly handle islands used in the body of other islands ( closes #2725 )
2024-08-01 19:43:09 -04:00
Greg Johnston
6c749f5e24
fix: provide a hydration context during route generation
2024-08-01 19:43:09 -04:00
Marc-Stefan Cassola
c22f20ac28
feat: add Effect::watch ( #2732 )
2024-08-01 19:43:09 -04:00
Greg Johnston
11011c2bda
fix: correct async resolution for islands ( closes #2734 )
2024-08-01 19:43:09 -04:00
Greg Johnston
a51faea9a9
fix: abort when leaving *this* owner, but don't force it if already complete
2024-08-01 19:43:09 -04:00
Greg Johnston
dcc43e574b
fix: correctly handle Action abort if it has already completed ( closes #2740 )
2024-08-01 19:43:09 -04:00
Greg Johnston
6cc0604497
fix: no longer necessary to 'seal' ErrorBoundary ( closes #2738 )
2024-08-01 19:43:09 -04:00
Chris
8c375534bb
fix: leptos_router_macro::path into public api ( #2737 )
2024-08-01 19:43:09 -04:00
Greg Johnston
f2d6375d93
fix: never resolve LocalResource synchronously ( closes #2736 )
2024-08-01 19:43:09 -04:00
Greg Johnston
5fb80aaa40
fix: cancel action when original owner, not current owner, is cleaned up ( closes #2739 )
2024-08-01 19:43:09 -04:00
Greg Johnston
29b0dca1d8
fix: allow Suspense to remount before rebuilding ( closes #2721 )
2024-08-01 19:43:09 -04:00
Greg Johnston
a6a65ba562
fix: release borrow on shared context when hydrating island ( closes #2733 )
2024-08-01 19:43:09 -04:00
Greg Johnston
260c624461
fix: serializing island props ( closes #2730 )
2024-08-01 19:43:09 -04:00
Greg Johnston
0f50aced26
fix: tracking/notifications for AsyncDerived if they start with initial values, and prevent over-notification ( closes #2716 )
2024-08-01 19:43:09 -04:00
Greg Johnston
1aa2752842
fix: if island is not entry point, update hydration cursor correctly to include island node ( closes #2724 )
2024-08-01 19:43:09 -04:00
Greg Johnston
b92bfa4ea7
docs: suppress warning about wrong client-side mode after initial call, for things like Portal ( closes #2725 )
2024-08-01 19:43:09 -04:00
Greg Johnston
30cf1167f2
fix: correct re-exports for islands with props ( closes #2723 )
2024-08-01 19:43:09 -04:00
Greg Johnston
1c05389707
fix: prevent LocalResource from spawning a local task on the server, when it should only run on the client ( closes #2717 )
2024-08-01 19:43:09 -04:00
Greg Johnston
1534dd5261
fix: CSR <ErrorBoundary/>
2024-08-01 19:43:09 -04:00
Greg Johnston
8b9685e01d
fix: throw_error version
2024-08-01 19:43:09 -04:00
Greg Johnston
d9b590b8e0
fix: unique IDs and correct hydration for <ErrorBoundary/> ( closes #2704 )
2024-08-01 19:43:09 -04:00
Greg Johnston
25bfc27544
fix: set <Title/> text and formatter in context during client-side rendering ( closes #2715 )
2024-08-01 19:43:09 -04:00
Greg Johnston
89bbdc58af
feat: patch reactive stores in place, only notifying on changed fields
2024-08-01 19:43:09 -04:00
Greg Johnston
4fb00e29d6
chore: remove unused imports
2024-08-01 19:43:09 -04:00
Greg Johnston
54401c6f69
beta version
2024-08-01 19:43:09 -04:00
Greg Johnston
6a705e2a21
chore: clippy
2024-08-01 19:43:09 -04:00
Greg Johnston
43421c56d5
example: use a local signal for the input
2024-08-01 19:43:09 -04:00
Greg Johnston
4c4d3dcfa3
feat: mark branches in AnyView
2024-08-01 19:43:09 -04:00
Greg Johnston
55053da00c
chore: clippy
2024-08-01 19:43:09 -04:00
Greg Johnston
be83b5f27e
chore: remove unused imports
2024-08-01 19:43:09 -04:00
Greg Johnston
a4ce79769a
fix: improve type inference for the default threadsafe signal case
2024-08-01 19:43:09 -04:00
Greg Johnston
e3f64188c2
chore: clippy
2024-08-01 19:43:09 -04:00
Greg Johnston
f7abe727d9
fix: add missing imports
2024-08-01 19:43:09 -04:00
Greg Johnston
eb29d84169
docs: fix cfg for docsrs
2024-08-01 19:43:09 -04:00
Greg Johnston
200047a8bc
chore: remove unnecessary default generics
2024-08-01 19:43:09 -04:00
Greg Johnston
634ac1c4a3
chore: clippy and fmt
2024-08-01 19:43:09 -04:00
Saber Haj Rabiee
efe832e39a
fix: hackernews_js_fetch example for leptos_0.7 ( #2678 )
2024-08-01 19:43:09 -04:00
Greg Johnston
1f2b13a976
feat: allow !Send signals
2024-08-01 19:42:51 -04:00
Greg Johnston
d4ec5e187b
fix: rename nightly feature for const generic &'static str ( d0c11bf6e3\#diff-7b65e42e2b87910c94950caf7f0687fda2f9f98f311099404f5c4afb4a36e50c)
2024-08-01 19:42:51 -04:00
Greg Johnston
4fe7fe725f
chore: remove pub field in Suspend so that Suspend::new() must be used
2024-08-01 19:42:51 -04:00
Greg Johnston
a1ca8549a1
chore: fmt
2024-08-01 19:42:51 -04:00
Greg Johnston
e7a8067f9b
fix: only create Future once initially, and poll it twice, rather than creating it twice
2024-08-01 19:42:51 -04:00
Greg Johnston
6be090079f
chore: fmt
2024-08-01 19:42:51 -04:00
Greg Johnston
8635887ca7
feat: optional branch-marking in HTML to support initial work on client-side islands routing
2024-08-01 19:42:51 -04:00
Corvus
e3482b433b
feat: reintroduce queue_microtask ( #2703 )
2024-08-01 19:42:51 -04:00
Greg Johnston
e6c2f8c614
fix: allow one-element tuples for route matching
2024-08-01 19:42:51 -04:00
Greg Johnston
28fcfe4a46
example: use path! macro in router example
2024-08-01 19:42:51 -04:00
Greg Johnston
75336bc265
fix: add HTML global on___ attributes
2024-08-01 19:42:51 -04:00
boyswan
f4f129caaf
feat: add path! macro in router to parse string paths into tuples ( #2694 )
2024-08-01 19:42:51 -04:00
mahmoud-eltahawy
873aec5787
feat: allow using enums for StaticSegment by implementing AsPath ( #2685 )
2024-08-01 19:42:51 -04:00
Greg Johnston
a2385e4c42
fix: set None observer properly in ScopedFuture
2024-08-01 19:42:51 -04:00
Greg Johnston
d24f97b59f
fix: remove unnecessary untrack in Show
2024-08-01 19:42:51 -04:00
Greg Johnston
51f368c5c5
fix: Suspend::new() in router
2024-08-01 19:42:51 -04:00
Greg Johnston
4107203da2
examples: update to Suspend::new()
2024-08-01 19:42:51 -04:00
Greg Johnston
efb699a319
docs: improved warning location
2024-08-01 19:42:51 -04:00
Greg Johnston
93e6456e19
fix: require Suspend::new() to ensure the Future is properly scoped at creation time, not at render time
2024-08-01 19:42:51 -04:00
Greg Johnston
b24ae7a5e3
fix: explicitly untrack the children of <Show/>
2024-08-01 19:42:51 -04:00
Greg Johnston
bf8d2e079c
fix: custom elements should support any attribute names
2024-08-01 19:42:50 -04:00
Greg Johnston
7752ab78e3
fix: custom elements SSR
2024-08-01 19:42:50 -04:00
Greg Johnston
64bc2580ff
docs: add tachys docs
2024-08-01 19:42:50 -04:00
Greg Johnston
ddb596feb5
chore: start with a default sandbox, to avoid panics in tests
2024-08-01 19:42:50 -04:00
Greg Johnston
dac4589194
docs: finish reactive graph docs for 0.7
2024-08-01 19:42:50 -04:00
Greg Johnston
8f0a8e05b4
docs: porting docs from 0.6 to 0.7
2024-08-01 19:42:50 -04:00
Greg Johnston
05d01141c5
chore: remove unused AsyncState
2024-08-01 19:42:50 -04:00
Bruno De Simone
66d6038f2d
add allow too_many_arguments ( #2684 )
2024-08-01 19:42:50 -04:00
Greg Johnston
3b09312e1a
chore: clippy
2024-08-01 19:42:50 -04:00
Greg Johnston
62cb361031
chore: clippy
2024-08-01 19:42:50 -04:00
Greg Johnston
04c67cb8b6
chore: clear warnings
2024-08-01 19:42:50 -04:00
Greg Johnston
efd060c955
feat: Suspend on style: and class:
2024-08-01 19:42:50 -04:00
Greg Johnston
6290c42159
fix: proper building of paths for nested fields
2024-08-01 19:42:50 -04:00
Greg Johnston
0a89f151be
feat: type-erased store Field structs
2024-08-01 19:42:50 -04:00
Greg Johnston
c72c2f4803
fix: allow creating resources inside Suspense
2024-08-01 19:42:50 -04:00
Greg Johnston
c771ab7e71
examples: revert changes to counter
2024-08-01 19:42:50 -04:00
Bruno De Simone
2c4f11b238
remove FromRef implementation from LeptosRoutes axum impl ( #2670 )
2024-08-01 19:42:50 -04:00
luoxiaozero
12a9e06c5e
feat: additional ARIA attributes ( #2677 )
2024-08-01 19:42:50 -04:00
Greg Johnston
3515469835
feat: iteration over reactive store list
2024-08-01 19:42:50 -04:00
Greg Johnston
e5c159f7a5
feat: add arena-allocated/Copy Store
2024-08-01 19:42:50 -04:00
Greg Johnston
6590749956
docs: initial work on porting docs from 0.6 to 0.7
2024-08-01 19:42:50 -04:00
Greg Johnston
db8f5e4899
feat: initial work on reactive stores
2024-08-01 19:42:50 -04:00
Greg Johnston
6ca3639c3e
fix: improved API for unsync actions that doesn't require SendWrapper on input
2024-08-01 19:42:50 -04:00
Greg Johnston
37db7b5d0a
chore: leptosfmt
2024-08-01 19:42:50 -04:00
Greg Johnston
8ac1564b90
fix: properly handle errors in streaming body responses
2024-08-01 19:42:50 -04:00
Greg Johnston
e2721d53bd
fix: invalid p/ul relationship causing hydration issue
2024-08-01 19:42:50 -04:00
Saber Haj Rabiee
e1f3be6416
chore: cargo fmt ( #2672 )
2024-08-01 19:42:50 -04:00
Greg Johnston
9536480739
feat: use codee for shared ser-de codexes with leptos-use (and more possibilities in future)
2024-08-01 19:42:50 -04:00
Greg Johnston
5d3a1752c4
chore: remove unused dependencies
2024-08-01 19:42:50 -04:00
Greg Johnston
4b539b524b
fix: was disposing of Suspense Owner too early
2024-08-01 19:42:50 -04:00
Greg Johnston
67fe4cc540
fix: rebuilding NodeRef
2024-08-01 19:42:50 -04:00
Greg Johnston
fa731d5018
feat: top-level Suspend without Suspense
2024-08-01 19:42:50 -04:00
Greg Johnston
ccf6703274
chore: clippy and clean up unused functions
2024-08-01 19:42:50 -04:00
Greg Johnston
504c958001
docs: update syntax for Html/Body
2024-08-01 19:42:50 -04:00
Greg Johnston
f7b16b726b
feat: correct HTML rendering for spread attributes on <Body/> and <Html/>
2024-08-01 19:42:50 -04:00
Greg Johnston
e9c7b50dfd
feat: attributes on body and html
2024-08-01 19:42:50 -04:00
Greg Johnston
208ab97867
feat: move to a channel-based implementation for meta
2024-08-01 19:42:50 -04:00
Greg Johnston
4a0f173bb5
feat: support Suspend in attributes
2024-08-01 19:42:50 -04:00
Greg Johnston
0cf3113812
feat: local resources with .await
2024-08-01 19:42:50 -04:00
Greg Johnston
87f9fa23d5
chore: cfg warnings
2024-08-01 19:42:50 -04:00
Greg Johnston
746bf8e453
fix: MaybeProp None case
2024-08-01 19:42:50 -04:00
Greg Johnston
8b9bcffbb9
reexport SVG and MathML element types
2024-08-01 19:42:50 -04:00
Greg Johnston
dc80e387e3
router alpha 3
2024-08-01 19:42:50 -04:00
Greg Johnston
2006eca1a0
Form component in 0.7
2024-08-01 19:42:50 -04:00
Greg Johnston
1dae77d6b4
fix: don't break Routes SSR now that it uses Suspend
2024-08-01 19:42:50 -04:00
Alicia Garcia-Raboso
2f58191a56
Implement Default trait for signals with a parameter that also implements Default ( #2662 )
...
Co-authored-by: alicia.garcia.raboso <alicia.garcia.raboso@bbva.com >
2024-08-01 19:42:50 -04:00
Greg Johnston
a68653b385
feat: automatically replace Suspense blocks if they are still waiting to be flushed, without JS (replaces PartiallyBlocked)
2024-08-01 19:42:50 -04:00
Greg Johnston
d7ca969848
blocking resources
2024-08-01 19:42:50 -04:00
Greg Johnston
fd48a61eef
macro alpha 2
2024-08-01 19:42:50 -04:00
Greg Johnston
52a3f84de5
router alpha 2
2024-08-01 19:42:50 -04:00
Luke Naylor
f8283f4674
Add missing 'form' attribute for <mo> ( #2660 )
...
This attribute seems to be missing in the attribute
table on Mozilla Docs, however does appear in the
compatibility table lower down.
This attribute is also frequently used by temml,
a common generator for mathml content.
2024-08-01 19:42:50 -04:00
Greg Johnston
989f2989fa
allow Outlet to be called multiple times
2024-08-01 19:42:50 -04:00
Greg Johnston
33a3708f91
fix: prevent panicking if conditionally rendering Outlet
2024-08-01 19:42:50 -04:00
Greg Johnston
4eea1f046d
remove log
2024-08-01 19:42:50 -04:00
Greg Johnston
8f46288973
fix: ensure correct ownership chain when passing views through Outlet
2024-08-01 19:42:50 -04:00
Greg Johnston
059c8abd2f
chore: clippy
2024-08-01 19:42:50 -04:00
Greg Johnston
6885777c75
support MaybeSignal in view
2024-08-01 19:42:50 -04:00
Kajetan Welc
ddc7abf081
fix: impl Copy for Callback ( #2658 )
2024-08-01 19:42:50 -04:00
Greg Johnston
180511e9bb
fix: update imports and methods
2024-08-01 19:42:50 -04:00
Greg Johnston
381ff8a7b0
fix: trait import
2024-08-01 19:42:50 -04:00
Greg Johnston
3ed1ad7b7f
impl From<T> for (Arc)Signal<T>
2024-08-01 19:42:50 -04:00
Greg Johnston
2ccf5e99a9
Revert "lazy Future construction for AsyncDerived"
...
This reverts commit 9e84e1f57c .
2024-08-01 19:42:50 -04:00
Greg Johnston
055701ebf6
fix: <option> struct generation
2024-08-01 19:42:50 -04:00
Greg Johnston
88af893703
fix: <option> struct generation
2024-08-01 19:42:50 -04:00
Lucas Åström
ce4fe632a2
Destructuring let (0.7) ( #2655 )
...
* Use `let()` syntax for bindings
This lets users use destructuring when binding more complex values, and we also get better IDE support.
* Update rstml
2024-08-01 19:42:50 -04:00
Greg Johnston
c76208aad0
fix: nonexistent feature
2024-08-01 19:42:50 -04:00
Greg Johnston
514c51ca30
fix: rebuilding AnyView
2024-08-01 19:42:50 -04:00
Greg Johnston
7e3781b5dd
support wasm-only
2024-08-01 19:42:50 -04:00
Greg Johnston
97dc3cc2e5
support wasm-only
2024-08-01 19:42:50 -04:00
Greg Johnston
61e51cbe1c
support wasm-only
2024-08-01 19:42:50 -04:00
Greg Johnston
efa6d603f9
any_spawner tick version
2024-08-01 19:42:50 -04:00
Greg Johnston
da045f7358
un-break circular dependency
2024-08-01 19:42:50 -04:00
Greg Johnston
8502745036
chore: update test output
2024-08-01 19:42:50 -04:00
Greg Johnston
0a5e6fd85a
chore: unused import
2024-08-01 19:42:50 -04:00
Greg Johnston
64fc6cd514
restore fallback for compressed version
2024-08-01 19:42:50 -04:00
Greg Johnston
a2d8fde8cf
docs: working on memo docs
2024-08-01 19:42:50 -04:00
Greg Johnston
44eae4c2ed
0.7.0-alpha
2024-08-01 19:42:50 -04:00
Greg Johnston
38d51b01d7
feat: support reactive and asynchronous ProtectedRoute conditions
2024-08-01 19:42:49 -04:00
Greg Johnston
61876dff10
fix: correct For behavior when mounting with siblings, and when clearing
2024-08-01 19:42:49 -04:00
Ben Wishovich
c676cf921d
Make get_configuration sync ( #2647 )
...
* Made get_configuraiton sync
* Update examples
2024-08-01 19:42:49 -04:00
Greg Johnston
fc59cdaf61
examples: update directives tests
2024-08-01 19:42:49 -04:00
Greg Johnston
081f4ec550
chore: cargo fmt
2024-08-01 19:42:49 -04:00
Greg Johnston
598c59b9c2
make RemoveEventHandler a concrete type
2024-08-01 19:42:49 -04:00
Greg Johnston
9de6c5bb4a
feat: add ElementExt to give access to the same view APIs at runtime that we do at compile time
2024-08-01 19:42:49 -04:00
Greg Johnston
f65eaec9ba
feat: add ElementExt to give access to the same view APIs at runtime that we do at compile time
2024-08-01 19:42:49 -04:00
Greg Johnston
95756aa2f7
chore: cargo fmt
2024-08-01 19:42:49 -04:00
Greg Johnston
fd121fd8c1
docs: warn on unused RenderEffect
2024-08-01 19:42:49 -04:00
Greg Johnston
c1877354f0
chore: missing Debug implementations
2024-08-01 19:42:49 -04:00
Greg Johnston
be92dc56aa
chore: suppress unnecessary .into() warning
2024-08-01 19:42:49 -04:00
Greg Johnston
165a593b32
cargo fmt
2024-08-01 19:42:49 -04:00
Greg Johnston
18b33c7606
updated directives example
2024-08-01 19:42:49 -04:00
brofrain
d2ee093132
fix: update HtmlViewState & BodyViewState as well
2024-08-01 19:42:49 -04:00
Kajetan Welc
83e0438527
fix: do not accidentally mount things before meta tags in the <head> when updating the DOM v2
2024-08-01 19:42:49 -04:00
Greg Johnston
095dc78893
remove log
2024-08-01 19:42:49 -04:00
Greg Johnston
3ebea79e05
preliminary work on directives (not useful yet until we have an ElementExt that allows you to do things declaratively from an Element
2024-08-01 19:42:49 -04:00
Greg Johnston
fe7c7c3a99
omit () entirely if it is the only child of an HTML element
2024-08-01 19:42:49 -04:00
Greg Johnston
8b142c72f0
fix: don't override a text node's 'next sibling after text' position if it's in Either, now that they don't have separate marker nodes
2024-08-01 19:42:49 -04:00
Greg Johnston
70655b57b1
fix: do not accidentally mount things before meta tags in the <head> when updating the DOM
2024-08-01 19:42:49 -04:00
Greg Johnston
c6192badfb
fix docs for hydrate_islands
2024-08-01 19:42:49 -04:00
Greg Johnston
5b7f5e3db3
hackernews islands example
2024-08-01 19:42:49 -04:00
Greg Johnston
ae14644806
update static file serving in Axum examples
2024-08-01 19:42:21 -04:00
Greg Johnston
7ca810d8bd
fix islands ci setup
2024-08-01 19:42:21 -04:00
Greg Johnston
04e09d2005
fix: remove extra comment at end of Suspense now that Either no longer requires it
2024-08-01 19:42:21 -04:00
Greg Johnston
2916873985
feat: provide static file handling/fallback directly in integration
2024-08-01 19:42:21 -04:00
Greg Johnston
2a558aa3f0
islands example
2024-08-01 19:42:21 -04:00
Greg Johnston
36d16d9253
remove unused tests and dependencies
2024-08-01 19:42:21 -04:00
Greg Johnston
722fd0f6c2
fix: () in templates
2024-08-01 19:42:21 -04:00
Greg Johnston
a42e371e79
chore: clippy
2024-08-01 19:42:21 -04:00
Greg Johnston
11119144d2
fix js-framework-benchmark for stable
2024-08-01 19:42:21 -04:00
Greg Johnston
a0b158f016
update hackernews_axum to 0.7
2024-08-01 19:42:21 -04:00
Greg Johnston
8dc7338b85
fix ErrorBoundary starting in error state in CSR
2024-08-01 19:42:21 -04:00
Greg Johnston
737949cff6
fix example tests
2024-08-01 19:42:21 -04:00
Greg Johnston
d7e17a2ec9
remove unnecessary logs
2024-08-01 19:42:21 -04:00
Greg Johnston
7c5b7fcbb1
update islands example
2024-08-01 19:42:21 -04:00
Greg Johnston
1182aff410
chore: unused hooks
2024-08-01 19:42:21 -04:00
Greg Johnston
bdcd4cb1cc
regression test for 7094dee150
2024-08-01 19:42:21 -04:00
Greg Johnston
c74a791d9f
fix: signals mark subscribers dirty, but don't say they're always dirty if they haven't changed
2024-08-01 19:42:21 -04:00
Greg Johnston
772a837050
make Routes fallback run lazily
2024-08-01 19:42:21 -04:00
Greg Johnston
92552deb0d
make ErrorBoundary fallback run lazily
2024-08-01 19:42:21 -04:00
Greg Johnston
417d345b83
examples: errors_axum
2024-08-01 19:42:21 -04:00
Greg Johnston
3fb2d49d89
chore(ci): fix examples
2024-08-01 19:42:21 -04:00
Greg Johnston
27feaf4309
enable reactive-graph hydration when hydration is enabled
2024-08-01 19:42:21 -04:00
Greg Johnston
35f489a52e
allow conversion directly from Arc signal types to MaybeSignal
2024-08-01 19:42:21 -04:00
Greg Johnston
ba8bd2bc82
expose Owner::shared_context()
2024-08-01 19:42:21 -04:00
Greg Johnston
76506c03e1
0.7 Provider component
2024-08-01 19:42:21 -04:00
Greg Johnston
4323e30133
fix tests
2024-08-01 19:42:21 -04:00
Greg Johnston
81c0947ce5
fix reactive styles
2024-08-01 19:42:21 -04:00
Greg Johnston
309a3d504a
fix: correctly rebuild reactive attributes to avoid stale signals
2024-08-01 19:42:21 -04:00
Greg Johnston
2a236e043a
type-erase RenderEffeect functions for binary size improvements
2024-08-01 19:42:21 -04:00
luoxiaozero
63f8da2fb5
feat: Attr exposes PhantomData field ( #2641 )
2024-08-01 19:42:21 -04:00
Greg Johnston
c9e32b66bf
chore(ci): remove warnings in tests
2024-08-01 19:42:21 -04:00
Greg Johnston
a32c71539d
feat: 0.7 query signals
2024-08-01 19:42:21 -04:00
Greg Johnston
f7ee0c4764
chore(ci): add Makefiles for smaller packages
2024-08-01 19:42:21 -04:00
Greg Johnston
7034375cdd
chore(ci): only run semver checks if not labeled 'breaking'
2024-08-01 19:42:21 -04:00
Greg Johnston
3c9c5aaf83
chore: clippy
2024-08-01 19:42:21 -04:00
Greg Johnston
ce832cef21
rename from new_serde to new
2024-08-01 19:42:21 -04:00
Greg Johnston
10230d6d65
remove most remaining marker/placeholder elements
2024-08-01 19:42:21 -04:00
Greg Johnston
e4d25608df
add trait impls and encodings for SharedValue
2024-08-01 19:42:21 -04:00
Greg Johnston
bd1601e892
default to SerdeJson encoding for resources, use new_str() for Str encoding
2024-08-01 19:42:21 -04:00
Greg Johnston
602ac60a85
feat: synchronous serialized values with SharedValue
2024-08-01 19:42:21 -04:00
Greg Johnston
9e4c0b86f2
whenever we create a new root Owner, set it as the current owner, which will make it the default owner (e.g., during SSR) instead of None
2024-08-01 19:42:21 -04:00
Greg Johnston
4a80c8b65b
fix: can't memoize JS properties, because they can be set between signal updates by user input
2024-08-01 19:42:21 -04:00
Greg Johnston
f191bb8324
fix: correctly escape style and class attributes
2024-08-01 19:42:21 -04:00
Greg Johnston
1ff1d48e6e
chore: clippy
2024-08-01 19:42:21 -04:00
Greg Johnston
df6a4628c3
don't require spawn_local for actios
2024-08-01 19:42:21 -04:00
Greg Johnston
e28e5ceb1e
catch resource reads inside Signal during Suspense
2024-08-01 19:42:21 -04:00
Greg Johnston
e69f62b939
fix CSS file names
2024-08-01 19:42:21 -04:00
Greg Johnston
2c48b07186
update todo app csr
2024-08-01 19:42:21 -04:00
Greg Johnston
0d867ba016
fix: correctly escape text nodes, except in script/style tags
2024-08-01 19:42:21 -04:00
Greg Johnston
3f83ad7dda
chore: clean up examples for CI
2024-08-01 19:42:21 -04:00
Greg Johnston
50403846c9
fix: provide matched route via context when rebuilding (so <A> works)
2024-08-01 19:42:21 -04:00
Greg Johnston
4ead16e5d3
unused
2024-08-01 19:42:21 -04:00
Greg Johnston
32f77cc42b
refactor insert_before_this to find parent lazily, and use it for rebuilding reactive components by replacing their whole contents
2024-08-01 19:42:21 -04:00
Greg Johnston
d8834a0423
make sure SendWrapper supports Futures
2024-08-01 19:42:21 -04:00
Greg Johnston
0d665c9c05
move several complex examples into projects
2024-08-01 19:42:21 -04:00
Greg Johnston
a03d74494d
update js-framework-benchmark example
2024-08-01 19:42:20 -04:00
Greg Johnston
131c83e28e
fix test text
2024-08-01 19:42:20 -04:00
Greg Johnston
6d93185478
fix: custom Stream implementation for streaming resource data that supports nested data/multiple polled values, rather than taking it all at once at the beginning
2024-08-01 19:42:20 -04:00
Greg Johnston
202abd1d35
suspense_tests: actually wait for other resource in nested case
2024-08-01 19:42:20 -04:00
Greg Johnston
a50c6b0140
can save a lookup here
2024-08-01 19:42:20 -04:00
Greg Johnston
705ea3a3bb
remove unused workspace member
2024-08-01 19:42:20 -04:00
Greg Johnston
cb788758df
update workflows
2024-08-01 19:42:20 -04:00
Greg Johnston
1afdc4fe1e
remove unused leptos_reactive integration
2024-08-01 19:42:20 -04:00
Greg Johnston
3382047857
remove old router files
2024-08-01 19:42:20 -04:00
Greg Johnston
a29ffc8dcb
fix Cargo.toml after merge
2024-08-01 19:42:20 -04:00
Greg Johnston
a18dd6dfd7
re-enable all routes
2024-08-01 19:42:20 -04:00
Greg Johnston
626bcdc9ae
chore: clean up warnings and logging
2024-08-01 19:42:20 -04:00
Greg Johnston
d6dce76725
reverted Fn()/FnMut() change
2024-08-01 19:42:20 -04:00
Greg Johnston
36272a0b1b
Revert "fix: constrain reactive rendering to Fn(), because using dry_resolve() for Suspense requires idempotent render functions so that they can be called once (to register resources) and called a second time to resolve"
...
This reverts commit 7ec5c77ba3e8f45bae04a7661a56741f95125adb.
2024-08-01 19:42:20 -04:00
Greg Johnston
96c956efdf
progress on updating suspense tests
2024-08-01 19:42:20 -04:00
Greg Johnston
29cf1f4814
add server redirects
2024-08-01 19:42:20 -04:00
Greg Johnston
39c3a63787
fix: relative path resolution
2024-08-01 19:42:20 -04:00
Greg Johnston
068865b7de
simplifying todo examples
2024-08-01 19:42:20 -04:00
Greg Johnston
fa8bb15a67
initial work updating suspense tests
2024-08-01 19:42:20 -04:00
Greg Johnston
faa481f2b6
clarify hydrate/csr warning
2024-08-01 19:42:20 -04:00
Greg Johnston
b41d988865
export actions in prelude
2024-08-01 19:42:20 -04:00
Greg Johnston
025c28b489
remove Into<_> by default for setting signals, because it interferes with type inference
2024-08-01 19:42:20 -04:00
Greg Johnston
0c7c7c9b38
add support for unsync actions
2024-08-01 19:42:20 -04:00
Greg Johnston
b109c3e9a3
simplifying and updating server fns example
2024-08-01 19:42:20 -04:00
Greg Johnston
0a559935e7
change name to shell
2024-08-01 19:42:20 -04:00
Greg Johnston
bccc05fec8
update control flow components to new Fn() constraint
2024-08-01 19:42:20 -04:00
Greg Johnston
e0f98dc0fd
fix: constrain reactive rendering to Fn(), because using dry_resolve() for Suspense requires idempotent render functions so that they can be called once (to register resources) and called a second time to resolve
2024-08-01 19:42:20 -04:00
Greg Johnston
5d9bd8f913
add Debug impl
2024-08-01 19:42:20 -04:00
Greg Johnston
0a41ae9a5e
fix: actually concatenate nested routes during route generation
2024-08-01 19:42:20 -04:00
Greg Johnston
fbc6be922d
reorganize Outlet export
2024-08-01 19:42:20 -04:00
Greg Johnston
b5551863fe
examples: porting to 0.7 and cleaning up
2024-08-01 19:42:20 -04:00
Greg Johnston
14b3877293
fix merge
2024-08-01 19:41:56 -04:00
Rakshith Ravi
98ea18009d
Update import statements in examples ( #2625 )
2024-08-01 19:41:56 -04:00
Greg Johnston
d133cff092
examples: use application 404 page
2024-08-01 19:41:56 -04:00
Greg Johnston
48028b476a
chore: cargo fmt
2024-08-01 19:41:56 -04:00
Greg Johnston
404ad50bd3
chore: cargo fmt
2024-08-01 19:41:56 -04:00
Greg Johnston
b89fbe027b
add warnings if correct features not set for browser
2024-08-01 19:41:56 -04:00
Greg Johnston
0ba53afa08
use csr feature so that reactivity runs
2024-08-01 19:41:55 -04:00
Greg Johnston
c384b53a0f
chore: clippy
2024-08-01 19:41:55 -04:00
Greg Johnston
2f53e09bb6
examples: fix input type so tests work, and update text to make the purpose clearer
2024-08-01 19:41:55 -04:00
Greg Johnston
319eefb169
remove leptos_reactive (moved into reactive_graph and leptos_server)
2024-08-01 19:41:55 -04:00
Greg Johnston
949f43d145
fix: Clone for ArcResource and default to SerdeJson for Resource
2024-08-01 19:41:55 -04:00
Greg Johnston
a47759007f
chore: clippy
2024-08-01 19:41:55 -04:00
Greg Johnston
095faf15b1
fix: don't dispose of parent owners before Suspense children have been rendered
2024-08-01 19:41:55 -04:00
Greg Johnston
f9eb562050
warn if trying to use meta on server side without context
2024-08-01 19:41:55 -04:00
Greg Johnston
7f57b88e8d
only run RenderEffects when effects are enabled
2024-08-01 19:41:55 -04:00
Greg Johnston
8a8862be9e
add set_pending to <Transition/>
2024-08-01 19:41:55 -04:00
Greg Johnston
619dc59e1d
simplify FlatRoutes logic by using existing OwnedView infrastructure
2024-08-01 19:41:55 -04:00
Greg Johnston
5f49504137
reexport tick() for testing
2024-08-01 19:41:55 -04:00
Greg Johnston
ca68fa5a3d
fix: ensure that leptos_meta and leptos_router are in SSR mode if using one of the server integrations
2024-08-01 19:41:55 -04:00
Greg Johnston
e6a472b467
examples: update hackernews for SSR support
2024-08-01 19:41:55 -04:00
Greg Johnston
f8da9e30e0
fix: correctly notify multiple subscribers to same AsyncDerived
2024-08-01 19:41:36 -04:00
Greg Johnston
984ede8887
fix: Routes SSR
2024-08-01 19:41:36 -04:00
Greg Johnston
c3656416a2
fix: correct owner for HTML rendering in FlatRoutes
2024-08-01 19:41:36 -04:00
Greg Johnston
7ecfbd9109
testing: provide tick() that can be called anywhere in tests
2024-08-01 19:41:36 -04:00
Greg Johnston
531c39759a
testing: provide tick() that can be called anywhere in tests
2024-08-01 19:41:36 -04:00
Greg Johnston
f5d06577f4
fix portal tests
2024-08-01 19:41:36 -04:00
Greg Johnston
39902d1e66
fix cleanups in render effects
2024-08-01 19:41:36 -04:00
Greg Johnston
7def5f65ed
chore: clippy
2024-08-01 19:41:36 -04:00
Greg Johnston
6b60d48203
update counters_isomorphic
2024-08-01 19:41:36 -04:00
Greg Johnston
9ef51166d3
reexport spawn and spawn_local
2024-08-01 19:41:27 -04:00
Greg Johnston
8da6bbc3be
ReadSignal from stream
2024-08-01 19:41:27 -04:00
Greg Johnston
3c39674622
refactor to allow rendering Resource directly in view
2024-08-01 19:41:27 -04:00
Greg Johnston
914b07491e
removed AnimatedShow example (duplicates the component docs)
2024-08-01 19:41:27 -04:00
Greg Johnston
1d2d11b83d
properly serialize errors
2024-08-01 19:41:27 -04:00
Greg Johnston
07e878adf7
chore: clear warning
2024-08-01 19:41:27 -04:00
Greg Johnston
f32d43ce94
pick up on server action error in both server and client
2024-08-01 19:41:27 -04:00
Greg Johnston
65e3c57ed1
fmt and chores in examples
2024-08-01 19:41:27 -04:00
Greg Johnston
2e40bace88
fix: serialize an empty string into HTML so it still works as a text node
2024-08-01 19:41:27 -04:00
Greg Johnston
b9945e0ce1
fix: make router fallback lazy
2024-08-01 19:41:27 -04:00
Greg Johnston
d7f70214b9
add expect_context
2024-08-01 19:41:27 -04:00
Greg Johnston
adf57f5771
fix attr:class when spreading onto a component
2024-08-01 19:41:27 -04:00
Greg Johnston
bae79e2b2c
add ServerAction error handling for any error type ( closes #2325 )
2024-08-01 19:41:27 -04:00
Greg Johnston
e2b1210461
remove unused import
2024-08-01 19:41:13 -04:00
Greg Johnston
7c24b7482d
clean up example
2024-08-01 19:41:13 -04:00
Greg Johnston
25c66a4624
add CollectView
2024-08-01 19:41:13 -04:00
Greg Johnston
71ddacef8e
Actix todo_app_sqlite
2024-08-01 19:41:13 -04:00
Greg Johnston
338b01bee3
fix: don't drop Owner in FlatRoutes until route has been rendered (thanks @benwis)
2024-08-01 19:41:13 -04:00
Greg Johnston
a36f22e439
fix: make sure all resource reads are registered
2024-08-01 19:41:13 -04:00
Greg Johnston
56977411f2
chore: clippy and unused dependencies in integrations
2024-08-01 19:41:13 -04:00
Greg Johnston
0fc47e3a35
add some tracing and debug info to HTML elements
2024-08-01 19:41:13 -04:00
Greg Johnston
caf797dba0
refactor integrations and add Actix integration
2024-08-01 19:41:13 -04:00
Greg Johnston
2f54d937a1
feat: 0.7 nonce support
2024-08-01 19:41:13 -04:00
Greg Johnston
40c1f38a07
ResponseOptions support
2024-08-01 19:41:13 -04:00
Greg Johnston
402d6297f4
fix counters tests
2024-08-01 19:41:13 -04:00
Greg Johnston
93734a5222
allow .children() on HTML elements
2024-08-01 19:41:13 -04:00
Greg Johnston
770d02d8e6
remove async demo
2024-08-01 19:41:13 -04:00
Greg Johnston
e275862a20
fix: writing to lock that has a read
2024-08-01 19:41:13 -04:00
Greg Johnston
17f1d25d03
allow untracking on write guards to support maybe_update
2024-08-01 19:41:13 -04:00
Greg Johnston
0a99a378aa
feat: allow .write() on all writeable signals
2024-08-01 19:41:13 -04:00
Greg Johnston
14b7073863
feat: add .by_ref() to create a Future from an AsyncDerived (etc.) that takes a reference, rather than cloning
2024-08-01 19:41:12 -04:00
Greg Johnston
4e4deef144
use impl trait in props
2024-08-01 19:41:12 -04:00
Greg Johnston
c360f0ed0d
update wasm-bindgen testing approaches
2024-08-01 19:41:12 -04:00
Greg Johnston
88ab9693db
chore: clearing warnings in examples
2024-08-01 19:41:12 -04:00
Greg Johnston
6dfea0b0a2
additional warnings
2024-08-01 19:41:12 -04:00
Greg Johnston
9fd881603f
cargo fmt
2024-08-01 19:41:12 -04:00
Greg Johnston
9666c9c0c5
chore: clear up... a few warnings
2024-08-01 19:41:12 -04:00
Greg Johnston
9e8b304b8a
update sledgehammer integration
2024-08-01 19:41:12 -04:00
Greg Johnston
064ccce5b1
remove signal function setter Send-only implementation (dead code)
2024-08-01 19:41:12 -04:00
Greg Johnston
2e31177f62
remove signal function call Read implementations (dead code)
2024-08-01 19:41:12 -04:00
Greg Johnston
4215cef04b
remove leptos_reactive dependency
2024-08-01 19:41:12 -04:00
Greg Johnston
de3dd3c296
oco merge issues
2024-08-01 19:41:12 -04:00
Greg Johnston
846ff2fefb
feat: return an async guard from .await rather than cloning the value every time
2024-08-01 19:41:12 -04:00
Greg Johnston
6003212f6e
fix return type in async tests
2024-08-01 19:41:11 -04:00
Greg Johnston
054cff7883
fix tests that run effects
2024-08-01 19:41:11 -04:00
Greg Johnston
ce5738d7c4
feat: return Option from AsyncDerived.get() instead of AsyncState
2024-08-01 19:41:11 -04:00
Greg Johnston
47331b5c8d
example: restore ErrorBoundary
2024-08-01 19:41:11 -04:00
Greg Johnston
a6cee3b1e9
docs for Owner and context
2024-08-01 19:41:11 -04:00
Greg Johnston
43c0e384c4
fix tests
2024-08-01 19:41:11 -04:00
Greg Johnston
db654cbfda
poll AsyncDerived synchronously so that it has the correct value during hydration if it reads from a resource
2024-08-01 19:41:11 -04:00
Greg Johnston
e13b1561d8
correct dirty-checking on AsyncDerived
2024-08-01 19:41:11 -04:00
Greg Johnston
02f76dec35
fix regular suspense if nothing was read synchronously
2024-08-01 19:41:11 -04:00
Greg Johnston
4bd99a41e5
missing dry_resolve on Static
2024-08-01 19:41:11 -04:00
Greg Johnston
85d29a5af5
feat: support *either* .await or reactive reads inside Suspense
2024-08-01 19:41:11 -04:00
Greg Johnston
4d54574f9e
feat: 0.7 slots
2024-08-01 19:41:11 -04:00
Greg Johnston
f6c7ac473a
feat: enhanced spreading syntax
2024-08-01 19:41:11 -04:00
Greg Johnston
747d847183
fix external navigations
2024-08-01 19:41:11 -04:00
Greg Johnston
8dd63a402b
make WindowListenerHandle Send + Sync so it can be remove via on_cleanup
2024-08-01 19:41:11 -04:00
Greg Johnston
694eccbadc
restore ssr/hydration for Routes
2024-08-01 19:41:11 -04:00
Greg Johnston
24f2e71563
get nested Routes working again
2024-08-01 19:41:11 -04:00
Greg Johnston
1766bfedb9
default to Params::get() giving an owned value (which you want in a derived signal), but use reference in the macro
2024-08-01 19:41:11 -04:00
Greg Johnston
242d35cc37
add proper dirty checking on AsyncDerived so it can read from memos properly
2024-08-01 19:41:11 -04:00
Greg Johnston
85b9f87620
make NavigateOptions pub
2024-08-01 19:41:11 -04:00
Greg Johnston
db33bc2e61
feat: owning memo
2024-08-01 19:41:11 -04:00
Greg Johnston
a1329ea044
remove warnings in tests and only run if effects are enabled
2024-08-01 19:41:11 -04:00
Greg Johnston
050bf8f821
fix: prevent memos that have changed from re-triggering the running effect, by setting the Observer during .update_if_necessary()
2024-08-01 19:41:11 -04:00
Greg Johnston
1a68743fcc
feat: add Popover API
2024-08-01 19:41:11 -04:00
Greg Johnston
2925db8676
fix Script children
2024-08-01 19:41:11 -04:00
Greg Johnston
13d5f12d7f
fix hydration of Suspend by including the missing placeholder it expects during hydration
2024-08-01 19:41:11 -04:00
Greg Johnston
3d9c295613
add missing marker comments for Result
2024-08-01 19:41:11 -04:00
Greg Johnston
b2c0068e2c
include marker comments in html len
2024-08-01 19:41:11 -04:00
Greg Johnston
94a3f7c092
unused owner
2024-08-01 19:41:11 -04:00
Greg Johnston
330dcfeb7c
impl From/Into for Signal/ArcSignal
2024-08-01 19:41:11 -04:00
Greg Johnston
f7bbec5f06
add ArcSignal::derive()
2024-08-01 19:41:11 -04:00
Greg Johnston
8815529955
routing progress indicator
2024-08-01 19:41:11 -04:00
Greg Johnston
12db58a7e0
missing min attribute
2024-08-01 19:41:11 -04:00
Greg Johnston
83c9edde26
clean up
2024-08-01 19:41:11 -04:00
Greg Johnston
2037a6966a
remove log
2024-08-01 19:41:11 -04:00
Greg Johnston
4f041f5a5e
relax trait bounds on reactive types where possible
2024-08-01 19:41:11 -04:00
Greg Johnston
6467e067ef
add SignalSetter
2024-08-01 19:41:11 -04:00
Greg Johnston
3814879d80
use transition between navigations
2024-08-01 19:41:11 -04:00
Greg Johnston
5e16ae6a26
add async transitions that wait for any AsyncDerived created/triggered under them before resolving
2024-08-01 19:41:11 -04:00
Greg Johnston
6d474713f6
resolve() on OwnedView
2024-08-01 19:41:11 -04:00
Greg Johnston
0d47399424
restore hydration feature for some of its feature-gating benefits for Resource deserialization
2024-08-01 19:41:11 -04:00
Greg Johnston
ae254836d7
cargo fmt
2024-08-01 19:41:11 -04:00
Greg Johnston
2dd5efc5d0
create separate URL/params signals for each route, to prevent updating them and running side effects while navigating away
2024-08-01 19:41:11 -04:00
Greg Johnston
15eeda9c7a
fmt
2024-08-01 19:41:11 -04:00
Greg Johnston
1a739015e1
distinguish between dirty and check in effects, so that memos and signals both work correctly
2024-08-01 19:41:11 -04:00
Greg Johnston
8385287123
remove unused feature
2024-08-01 19:41:11 -04:00
Greg Johnston
c4aa3ba1ba
updated future impls
2024-08-01 19:41:11 -04:00
Greg Johnston
ce5f2c81ed
check whether ArcAsyncDerived actually needs to run when marked check
2024-08-01 19:41:11 -04:00
Greg Johnston
941689fc5b
add ancestry debugging for owners
2024-08-01 19:41:11 -04:00
Greg Johnston
961bf89a8b
lazy Future construction for AsyncDerived
2024-08-01 19:41:11 -04:00
Greg Johnston
d360cc280f
support Resource in CSR for backward-compat
2024-08-01 19:41:11 -04:00
Greg Johnston
bb7bb8f4c2
allow let: syntax to work
2024-08-01 19:41:11 -04:00
Greg Johnston
b29b8fb5ff
scope Suspense/Transition correctly within ownership tree
2024-08-01 19:41:11 -04:00
Greg Johnston
4ffa3c46b6
upgrading hackernews example
2024-08-01 19:41:10 -04:00
Greg Johnston
32294d6cab
immediately commit URL signal updates
2024-08-01 19:40:57 -04:00
Greg Johnston
46d286755e
reexport A from router::components
2024-08-01 19:40:57 -04:00
Greg Johnston
b936e0352f
add IntoAny to tachys prelude
2024-08-01 19:40:57 -04:00
Greg Johnston
b5bd70ab94
finish support for innerHTML
2024-08-01 19:40:57 -04:00
Greg Johnston
0dd1932b7f
feat: iterating over items in children with ChildrenFragment, ChildrenFragmentFn, ChildrenFragmentMut
2024-08-01 19:40:57 -04:00
Greg Johnston
f5d203f0c9
only warn about non-reactive accesses if effects are enabled
2024-08-01 19:40:57 -04:00
Greg Johnston
1bc0b414e3
only run effects on client
2024-08-01 19:40:57 -04:00
Greg Johnston
d6e19c0a60
resolve() implementation for AnyView
2024-08-01 19:40:57 -04:00
Greg Johnston
fc60d6b2d7
fix deadlock on nested Signals
2024-08-01 19:40:57 -04:00
Greg Johnston
292e7c1f27
fix FlatRouter SSR/hydration after lazy routes
2024-08-01 19:40:57 -04:00
Greg Johnston
1da84db1aa
feat: nested islands with context for 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
535e3e3880
fix: correct Send + Sync bounds for children
2024-08-01 19:40:57 -04:00
Greg Johnston
109244b28b
feat: minimal island support in 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
fd048295a4
docs: full docs and doctests for Action/MultiAction
2024-08-01 19:40:57 -04:00
Greg Johnston
26cf4848db
remove support for rendering guards directly, as they are !Send and holding onto them in State is also a bad idea
2024-08-01 19:40:57 -04:00
Greg Johnston
757a5c73c3
support nightly static values for style:key="value"
2024-08-01 19:40:57 -04:00
Greg Johnston
da496def16
revert to using .get() for function calls
2024-08-01 19:40:57 -04:00
Greg Johnston
3a755bd8c3
fix: only rerun effects if they have dirty ancestors (or it's the first run)
2024-08-01 19:40:57 -04:00
Greg Johnston
e514f7144d
start working on porting over docs and tests and 0.7...
2024-08-01 19:40:57 -04:00
Greg Johnston
b881167b8f
fix meta issue with attributes
2024-08-01 19:40:57 -04:00
Greg Johnston
1e9d345831
fix tracing issue
2024-08-01 19:40:57 -04:00
Greg Johnston
7f7bba6ea3
chore: get tests in a working state
2024-08-01 19:40:57 -04:00
Greg Johnston
015a4b63ec
fix: make Selector Send/Sync
2024-08-01 19:40:57 -04:00
Greg Johnston
dcec7af4f3
docs: runtime warning if you use .track() outside a tracking context
2024-08-01 19:40:57 -04:00
Greg Johnston
5bc97654dc
preliminary tracing for tachys
2024-08-01 19:40:57 -04:00
Greg Johnston
2788d93e96
chore: warnings
2024-08-01 19:40:57 -04:00
Greg Johnston
604043b4d8
examples: router in 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
ab28c80593
fix: passing context through router
2024-08-01 19:40:57 -04:00
Greg Johnston
49da073fed
chore: fix warnings about variable case
2024-08-01 19:40:57 -04:00
Greg Johnston
3629302f88
examples: timer in 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
274e31018b
feat: Portals in 0.7
2024-08-01 19:40:57 -04:00
Greg Johnston
802fcc5c2a
allow either eager or lazy routes
2024-08-01 19:40:57 -04:00
Greg Johnston
da084a2ece
update StoredValue API in callbacks
2024-08-01 19:40:57 -04:00
Greg Johnston
d9f6836933
chore: clippy warnings
2024-08-01 19:40:57 -04:00
Greg Johnston
d8d2fdac5d
smooth out StoredValue APIs
2024-08-01 19:40:57 -04:00
Greg Johnston
9818e7cb68
MaybeSignal and MaybeProp
2024-08-01 19:40:57 -04:00
Marc-Stefan Cassola
986fbe5328
added a few old deprecated functions to help users port ( #2580 )
2024-08-01 19:40:57 -04:00
Greg Johnston
711175a760
implement With(Untracked) for Signal
2024-08-01 19:40:57 -04:00
Greg Johnston
00a536a5dc
don't over-rerender nested router
2024-08-01 19:40:57 -04:00
Greg Johnston
a7b1152910
initial async routing work (to support bundle splitting)
2024-08-01 19:40:57 -04:00
Greg Johnston
cfba7a2797
noop attribute 'spreading' for routers
2024-08-01 19:40:57 -04:00
Greg Johnston
cebe744a84
support arbitrary attributes on components in view
2024-08-01 19:40:57 -04:00
Greg Johnston
e93a34a2c9
full attribute spreading
2024-08-01 19:40:57 -04:00
Greg Johnston
9ec30d71d2
update counter_without_macros imports
2024-08-01 19:40:57 -04:00
Greg Johnston
3c13280bf6
stashing
2024-08-01 19:40:57 -04:00
Greg Johnston
45fd9423f8
give a route to upgrade any attribute into a cloneable one
2024-08-01 19:40:56 -04:00
Greg Johnston
7a92208c4f
work on attribute spreading
2024-08-01 19:40:56 -04:00
Greg Johnston
89b972e3c5
disable AddAnyAttr again now that I remember why it was broken
2024-08-01 19:40:56 -04:00
Greg Johnston
8dac92b251
reenable AnyAttr
2024-08-01 19:40:56 -04:00
Greg Johnston
b24eaedfe9
reorganizing exports and updating examples
2024-08-01 19:40:56 -04:00
Greg Johnston
4336051f78
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
97ce5adb8e
fix reorganized exports
2024-08-01 19:40:56 -04:00
Greg Johnston
20fb5454b0
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
aac607f338
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
738986415d
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
3406446ebd
module restructuring for 0.7
2024-08-01 19:40:56 -04:00
Greg Johnston
21dd7e9c76
let ErrorBoundary own the fallback
2024-08-01 19:40:56 -04:00
Greg Johnston
9bab4da172
make Suspend a transparent wrapper
2024-08-01 19:40:56 -04:00
Greg Johnston
420dccda60
provide params properly in FlatRouter
2024-08-01 19:40:56 -04:00
Greg Johnston
53b22a9b74
clear some warnings
2024-08-01 19:40:56 -04:00
Greg Johnston
e68730d15f
rename TupleBuilder to NextTuple and prep for release
2024-08-01 19:40:56 -04:00
Greg Johnston
11d134c4ba
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
2239f04f6b
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
78e5a7ebc3
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
0148d92f48
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
ab67bea7ec
rename any_error
2024-08-01 19:40:56 -04:00
Greg Johnston
0beef3b2e0
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
81fc7e6ada
remove twiggy file
2024-08-01 19:40:56 -04:00
Greg Johnston
75d6763f4e
move router crates
2024-08-01 19:40:56 -04:00
Greg Johnston
da4d2cf538
comparison demo
2024-08-01 19:40:25 -04:00
Greg Johnston
2470637b0b
SSR optimizations for binary size, and flat router
2024-08-01 19:40:25 -04:00
Greg Johnston
2934c295b5
work on Axum integration and on error boundaries
2024-08-01 19:40:25 -04:00
Greg Johnston
789eef914d
stash
2024-08-01 19:40:25 -04:00
Greg Johnston
782cb93743
feat: add <A>
2024-08-01 19:40:25 -04:00
Greg Johnston
8642c563d8
add use_navigate and Redirect
2024-08-01 19:40:25 -04:00
Greg Johnston
755fbd3866
preliminary use_navigate work
2024-08-01 19:40:25 -04:00
Greg Johnston
d83471e02b
fix fallback => match update
2024-08-01 19:40:25 -04:00
Greg Johnston
2dd2bb5958
add more hooks and primitives to router
2024-08-01 19:40:25 -04:00
Greg Johnston
12f2cec5c7
nested route CSR working
2024-08-01 19:40:25 -04:00
Greg Johnston
a41bf2784f
continuing on nested routes
2024-08-01 19:40:25 -04:00
Greg Johnston
ebdd31cd9f
continuing on nested routes
2024-08-01 19:40:25 -04:00
Greg Johnston
acec3bb313
working on reconfiguring nested routing
2024-08-01 19:40:25 -04:00
Greg Johnston
464f157186
make placeholder-finding code consistent across container types
2024-08-01 19:40:25 -04:00
Greg Johnston
b53e4d8ff8
remove logs
2024-08-01 19:40:25 -04:00
Greg Johnston
cd438e0bcf
fix Transition hydration
2024-08-01 19:40:25 -04:00
Greg Johnston
13da1e743d
remove TryCatch/fallible rendering in favor of better ErrorBoundary model
2024-08-01 19:40:25 -04:00
Greg Johnston
0c9167fd30
finish todo_app_sqlite_axum
2024-08-01 19:40:25 -04:00
Greg Johnston
52da0e43ac
fix Vec hydration
2024-08-01 19:40:25 -04:00
Greg Johnston
dad91f5960
add MultiActionForm
2024-08-01 19:40:25 -04:00
Greg Johnston
72e97047a5
add MultiAction/ServerMultiAction
2024-08-01 19:40:25 -04:00
Greg Johnston
883fd57fe1
stash
2024-08-01 19:40:25 -04:00
Greg Johnston
42b99dd912
ErrorBoundary SSR and serialization of errors to support hydration
2024-08-01 19:40:25 -04:00
Greg Johnston
851e1f73fd
get types working with nested ErrorBoundary/Suspense
2024-08-01 19:40:25 -04:00
Greg Johnston
e11eea1af1
probably as far as I can go with the current SuspenseBoundary approach
2024-08-01 19:40:25 -04:00
Greg Johnston
f508cc4510
fix static types
2024-08-01 19:40:25 -04:00
Greg Johnston
e4f3cf9cca
fix cancellation logic for server fn requests
2024-08-01 19:40:25 -04:00
Greg Johnston
60d883a26c
only subscribe to memo manually if already loaded
2024-08-01 19:40:25 -04:00
Greg Johnston
add3be0ff5
Suspense SSR
2024-08-01 19:40:25 -04:00
Greg Johnston
a01640cafd
updates toward todo_app_sqlite
2024-08-01 19:40:25 -04:00
Greg Johnston
e837e9fded
fix stable examples
2024-08-01 19:40:25 -04:00
Greg Johnston
e0e67360aa
implement rendering traits for signals directly on stable
2024-08-01 19:40:25 -04:00
Greg Johnston
439deea066
suspend!() macro
2024-08-01 19:40:25 -04:00
Greg Johnston
e5f5710f46
add Transition
2024-08-01 19:40:25 -04:00
Greg Johnston
8626db27d7
loosen requirements for Show
2024-08-01 19:40:25 -04:00
Greg Johnston
ec3f0933fe
working on examples
2024-08-01 19:40:25 -04:00
Greg Johnston
b50de3a005
finish TodoMVC example
2024-08-01 19:40:25 -04:00
Greg Johnston
aa878534ad
simplify Suspense: this should still work with hydration
2024-08-01 19:40:25 -04:00
Greg Johnston
603f9f96c4
working model for Suspense with new version
2024-08-01 19:40:25 -04:00
Greg Johnston
f78e675506
probably as far as I can go with the current SuspenseBoundary approach
2024-08-01 19:40:24 -04:00
Greg Johnston
cc2714c03d
fix ErrorBoundary/Suspense
2024-08-01 19:40:24 -04:00
Greg Johnston
c06110128b
feat: ErrorBoundary and Suspense
2024-08-01 19:40:24 -04:00
Greg Johnston
d7c62622ae
feat: ErrorBoundary
2024-08-01 19:40:24 -04:00
Greg Johnston
1edec6c36a
fix Cargo.toml merge issues
2024-08-01 19:40:24 -04:00
Greg Johnston
c5049ca1bb
working on examples
2024-08-01 19:40:24 -04:00
Greg Johnston
f69dbb48ca
styling with CSS
2024-08-01 19:40:24 -04:00
Greg Johnston
5feaf1aea6
example with isomorphic GTK/web design system
2024-08-01 19:40:24 -04:00
Greg Johnston
ec3ab6a355
gtk example
2024-08-01 19:40:24 -04:00
Greg Johnston
100ed7d926
ErrorBoundary component
2024-08-01 19:40:24 -04:00
Greg Johnston
88b93f40f9
Suspense/Transition components
2024-08-01 19:40:24 -04:00
Greg Johnston
b8b77138ea
GTK example for 0.7
2024-08-01 19:40:24 -04:00
Greg Johnston
20c29cab89
add serde-wasm-bindgen encoding for resources
2024-08-01 19:40:24 -04:00
Greg Johnston
54fd74839a
add typed children
2024-08-01 19:40:24 -04:00
Greg Johnston
ea3790d91c
scope Arena to each request
2024-08-01 19:40:24 -04:00
Greg Johnston
f5935c6333
correctly omit HTML-generating code from AnyView
2024-08-01 19:40:24 -04:00
Greg Johnston
c8e5e1b16b
experimental sledgehammer Renderer backend
2024-08-01 19:40:24 -04:00
Greg Johnston
a12c707f3f
fix async context issues, add flat routing
2024-08-01 19:40:24 -04:00
Greg Johnston
6d9906111d
test more dynamic string length work
2024-08-01 19:40:24 -04:00
Greg Johnston
5ea314c998
attribute value escaping
2024-08-01 19:40:24 -04:00
Greg Johnston
2bc04444e1
work related to 0.7 blog port
2024-08-01 19:40:24 -04:00
Greg Johnston
b41fde3ff9
work related to 0.7 blog port
2024-08-01 19:40:24 -04:00
Greg Johnston
c29081b12a
completing work on meta
2024-08-01 19:40:24 -04:00
Greg Johnston
2fefc8b4bf
completing work on meta
2024-08-01 19:40:24 -04:00
Greg Johnston
72b43d1e2b
initial work on meta
2024-08-01 19:40:24 -04:00
Greg Johnston
39607adc94
initial work on meta
2024-08-01 19:40:24 -04:00
Greg Johnston
30c1cd921b
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
abfe3cabd2
fix nested route rebuilding
2024-08-01 19:40:24 -04:00
Greg Johnston
16bd2942db
navigation between nested routes
2024-08-01 19:40:24 -04:00
Greg Johnston
13cccced06
initial stage for working nested route rendering
2024-08-01 19:40:24 -04:00
Greg Johnston
db4c1cb4b3
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
9cdd8cac15
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
84ebdc1b92
get basic routing working
2024-08-01 19:40:24 -04:00
Greg Johnston
9f02cc8cc1
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
c3b9932172
reorganize
2024-08-01 19:40:24 -04:00
Greg Johnston
dbd9951a85
working on nesting routing
2024-08-01 19:40:24 -04:00
Greg Johnston
6eb8b44fff
reorganize
2024-08-01 19:40:24 -04:00
Greg Johnston
4fa31be5dc
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
b46dffb729
abstract interface to walk nested routes and to access views
2024-08-01 19:40:24 -04:00
Greg Johnston
ca54762806
reorganize and clean up
2024-08-01 19:40:24 -04:00
Greg Johnston
f122f9109f
nested route matching
2024-08-01 19:40:24 -04:00
Greg Johnston
f894d6e4f6
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
4cc925c950
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
21e53042e8
work on routing utils
2024-08-01 19:40:24 -04:00
Greg Johnston
4d3fb37b35
nested route matching working
2024-08-01 19:40:24 -04:00
Greg Johnston
d3a21c922d
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
317f90e1e3
use either_of crate
2024-08-01 19:40:24 -04:00
Greg Johnston
26869a78a0
nested routes take 1
2024-08-01 19:40:24 -04:00
Greg Johnston
f46f864f05
split EitherOfX into its own crate
2024-08-01 19:40:24 -04:00
Greg Johnston
b21f1853c6
work on routing
2024-08-01 19:40:24 -04:00
Greg Johnston
1454c5d272
work on routing
2024-08-01 19:40:24 -04:00
Greg Johnston
c1f4616a31
set up routing
2024-08-01 19:40:24 -04:00
Greg Johnston
a3c3478831
clear warning
2024-08-01 19:40:24 -04:00
Greg Johnston
1ca8a9189c
chore: clear warnings
2024-08-01 19:40:24 -04:00
Greg Johnston
9e276a8879
pass on: to components (and lay basis for passing all other attributes)
2024-08-01 19:40:24 -04:00
Greg Johnston
53703f208a
working on AddAttr
2024-08-01 19:40:24 -04:00
Greg Johnston
9a60b21a0a
remove boilerplate: require that Node, Element, etc. types always be Clone + 'static
2024-08-01 19:40:24 -04:00
Greg Johnston
524ed395fa
parent_child example
2024-08-01 19:40:24 -04:00
Greg Johnston
5bc8c4e0d3
use AnyError for all try_ rendering errors, so that they can compose
2024-08-01 19:40:24 -04:00
Greg Johnston
7f7003f7f1
support for guards with class: syntax
2024-08-01 19:40:24 -04:00
Greg Johnston
ddf2ac0cf7
add Borrow implementation to make it easier to abstract over T and Guard<T>
2024-08-01 19:40:24 -04:00
Greg Johnston
992e2bce78
finish error boundary (fix last state transition issue)
2024-08-01 19:40:24 -04:00
Greg Johnston
6c2469ec3a
progress on error boundary that works with nested reactivity
2024-08-01 19:40:24 -04:00
Greg Johnston
a7162d7907
progress on error boundary that works with nested reactivity
2024-08-01 19:40:24 -04:00
Greg Johnston
f584154156
error example
2024-08-01 19:40:24 -04:00
Greg Johnston
13464b10c9
enable event delegation
2024-08-01 19:40:24 -04:00
Greg Johnston
696bf14d13
fix release build
2024-08-01 19:40:24 -04:00
Greg Johnston
be92bab3e5
update TODO.md
2024-08-01 19:40:24 -04:00
Greg Johnston
4bb2bc4797
store effects in reactive system
2024-08-01 19:40:24 -04:00
Greg Johnston
a8adf8eea2
todomvc example
2024-08-01 19:40:24 -04:00
Greg Johnston
1a7da39fb7
work on async demo
2024-08-01 19:40:23 -04:00
Greg Johnston
201adb7406
clone values for Futures
2024-08-01 19:40:23 -04:00
Greg Johnston
4df42cbc60
make guard types more nestable/flexible so that we can implement render traits on any of them
2024-08-01 19:40:23 -04:00
Greg Johnston
44a0a0a93a
work on async demo
2024-08-01 19:40:23 -04:00
Greg Johnston
66e1e6d7a1
work on async demo
2024-08-01 19:40:23 -04:00
Greg Johnston
8252c4a977
feat: create generic any_spawner crate to share between reactive system and renderer
2024-08-01 19:40:23 -04:00
Greg Johnston
6a2eafcbc6
add other methods on Stored
2024-08-01 19:40:23 -04:00
Greg Johnston
b49a13f8c1
work on async demo
2024-08-01 19:40:23 -04:00
Greg Johnston
0d5c67408f
stash: working on jsfb
2024-08-01 19:40:23 -04:00
Greg Johnston
1eddd5a5f1
chore: remove unnecessary log
2024-08-01 19:40:23 -04:00
Greg Johnston
ca1e62c0b9
fix: correct owner for rows of For, correct cleanup of arenas
2024-08-01 19:40:23 -04:00
Greg Johnston
043cd7dc61
fix: close memory leak in tasks waiting on channels
2024-08-01 19:40:23 -04:00
Greg Johnston
68486cfb72
feat: typed event targets
2024-08-01 19:40:23 -04:00
Greg Johnston
eea971b9fe
working on examples
2024-08-01 19:40:23 -04:00
Greg Johnston
d726b56b71
begin migrating to leptos and leptos_dom packages
2024-08-01 19:40:23 -04:00
Greg Johnston
0fddfb4823
stash
2024-08-01 19:40:23 -04:00
Greg Johnston
17732a6e6a
stash
2024-08-01 19:40:23 -04:00
Greg Johnston
c8441f0f00
chore: remove leptos_reactive and add reactive_graph
2024-08-01 19:40:23 -04:00
Greg Johnston
ff4cde0764
feat: improved ergonomics of read guards
2024-08-01 19:40:23 -04:00
Greg Johnston
1d38439bd8
feat: add Readable implementation for all types
2024-08-01 19:40:23 -04:00
Greg Johnston
9ca1cba504
feat: add no_std support in appropriate crates
2024-08-01 19:40:23 -04:00
Greg Johnston
63dacdcc95
feat: tachys
2024-08-01 19:40:23 -04:00
Greg Johnston
61f5294f67
feat: add Fn traits
2024-08-01 19:40:23 -04:00
Greg Johnston
0149632a4c
docs: note re: execution order (see #2261 and #2262 )
2024-08-01 19:40:23 -04:00
Greg Johnston
96384ed116
feat: modular SharedContext for hydration
2024-08-01 19:40:23 -04:00
Greg Johnston
f56023bb25
chore: split OrPoisoned trait into its own crate for reuse
2024-08-01 19:40:23 -04:00
Greg Johnston
6bb5d58369
feat: modular, trait-based, Send/Sync reactive system
2024-08-01 19:40:23 -04:00
Saber Haj Rabiee
d50012f8d4
chore: update gloo-net and reqwest to http 1.0 ( closes #2688 ) (leptos 0.6) ( #2751 )
2024-08-01 19:39:54 -04:00
Greg Johnston
c9d4ea9307
Merge pull request #2755 from leptos-rs/nightly-july24
...
chore(ci): update nightly
2024-08-01 15:30:22 -04:00
Greg Johnston
77c74bccbb
chore: cargo fmt
2024-08-01 14:53:24 -04:00
Greg Johnston
528d1eae65
chore(ci): update nightly
2024-08-01 14:48:52 -04:00
martin frances
5809c8f699
As of rust1.80: cargo clippy now reports doc indentation issues. ( #2728 )
2024-07-30 09:25:53 -07:00
renshuncui
b9c620d4cd
chore: fix some comments ( #2712 )
...
Signed-off-by: renshuncui <renshun@111.com >
2024-07-29 09:30:50 -04:00
Greg Johnston
8c9dfd9c9d
fix: untrack children in Portal to avoid re-triggering it accidentally ( closes #2693 ) ( #2713 )
2024-07-29 09:29:18 -04:00
Greg Johnston
8848eb8b87
0.6.13
2024-07-24 08:00:11 -04:00
Ar4ys
7e75801f7c
fix: move lint rules outside of quote_spanned ( closes #2527 ) ( #2709 )
2024-07-24 07:54:46 -04:00
Dreo
0763a81cf1
fix: remove unnecessary 'static lifetime from argument in function Style::as_value_string() ( #2683 )
2024-07-12 11:53:48 -04:00
Dreo
3d37f08539
add impl IntoStyle for Style ( #2682 )
2024-07-12 11:13:29 -04:00
Oleg Shatov
b3db094618
chore: remove cfg-related warnings ( #2654 )
2024-07-03 06:49:32 -04:00
Oleg Shatov
0c817d51fe
fix: accurately update number of pending action dispatches ( closes #2652 ) ( #2653 )
2024-07-03 06:48:02 -04:00
Chris
fb5d8513ff
docs: generate link to definition ( #2656 )
2024-07-03 06:46:02 -04:00
David Karrick
c53fc67d38
feat: Add Compression to Hacker News w/ Islands Example ( #2613 )
...
* Add task for cargo leptos w/ precompression
* Update makefile
* Update deps
* Serve precompressed assets
Code was taken from https://github.com/leptos-rs/cargo-leptos/pull/165#issuecomment-1647843037
Co-authored-by: Sebastian Dobe <sebastiandobe@mailbox.org >
* Dynamically compress html
* Update README
* Refactor: Format for ci
* Refactor: Replace use of format!
* Chore: Remove old build file
* Feat: Hash files
This will prevent users from using an old cached file after updates are made
* Fix: Prevent chicken & egg problem with target/site
* Refactor: Use normal cargo-leptos
---------
Co-authored-by: Sebastian Dobe <sebastiandobe@mailbox.org >
2024-06-28 15:01:05 -04:00
Greg Johnston
ff0c8252b0
fix: do not unescape / and other route characters when following a link ( #2651 )
2024-06-28 14:29:05 -04:00
Evan Almloff
551f9b0a04
feat: add a StreamingJson encoding ( #2623 )
2024-06-28 11:49:26 -04:00
Greg Johnston
44cd3272f9
Merge pull request #2639 from Giovanni-Tably/dispose-fix
...
fix: ensure everything is disposed of consistently
2024-06-28 11:30:31 -04:00
Vasily Zorin
73a9797ef9
book_ru: SUMMARY.md ( #2648 )
...
* book_ru: SUMMARY.md
* book_ru: SUMMARY.md
* book_ru: SUMMARY.md
2024-06-27 06:46:36 -07:00
Spencer Ferris
57a00a33a3
docs: Add docs for ToChildren ( #2643 )
...
* docs: Add docs for `ToChildren`
As discussed in https://github.com/leptos-rs/leptos/discussions/2640 ,
the `ToChildren` trait is useful to consumers who want to use the
builder syntax. However, because it is currently annotated with
`#[docs(hidden)]`, it's not visible in docs and also not included in
Jetbrains's auto-complete.
Add a doc comment for the `ToChildren` trait, including doc tests that
demonstrate how to use the trait and how it compares to directly
creating children.
* docs: Fix incorrect examples in `ToChildren` docs
Some examples were added to `ToChildren` that don't compile. This
wasn't caught earlier because no errors were seen in the IDE when
writing the examples. The issue was correctly caught by CI, however.
2024-06-26 14:57:40 -07:00
Adrian
5f445cdfbf
Translating titles of sections in SUMMARY ( #2542 )
2024-06-26 14:56:59 -07:00
Hamir Mahal
c9d0ef5033
chore: simplify string interpolation ( #2626 )
2024-06-21 07:51:38 -04:00
Giovanni
af85623a22
test: add regression tests
2024-06-20 19:37:08 +01:00
Giovanni
40ecc2bd78
fix: dispose of watch effect normally
2024-06-20 15:36:03 +01:00
Giovanni
41a18a1218
fix: clean up recursively in dispose_node
2024-06-20 15:26:55 +01:00
Giovanni
739d1b2e3e
refactor: split a couple of functions
2024-06-20 15:26:37 +01:00
Giovanni
9e6996a59f
fix: untrack around all on_cleanups
2024-06-20 15:26:37 +01:00
Giovanni
cca3f1f42d
refactor: rename cleanup_property -> dispose_property
...
The property and its node are removed entirely, so it's more aligned with `dispose_node` than `cleanup_node`.
2024-06-20 15:26:37 +01:00
Greg Johnston
80bbb20089
Merge pull request #2631 from leptos-rs/2610
...
fix `rkyv` feature interaction with Axum integration
2024-06-14 15:10:26 -04:00
Greg Johnston
33e7ed83cc
fix: specify correct serialization trait in server fn handler ( closes #2610 )
2024-06-14 14:20:50 -04:00
Greg Johnston
dcaa1df63d
fix: derive rkyv traits on ServerFnError
2024-06-14 14:19:54 -04:00
Oto Petřík
8606f3d928
fix: try_with should not panic on disposed resources ( closes #2620 ) ( #2621 )
2024-06-12 20:19:44 -04:00
Thomas Versteeg
32e6ac7bb7
docs: remove duplicated code block in example of For ( #2622 )
2024-06-12 20:11:57 -04:00
ARSON
b22f3bb3bd
fix: extract dyn_bindings impl into DynBindings trait ( #2619 )
2024-06-12 09:07:56 -04:00
Greg Johnston
00a42daa63
Merge pull request #2611 from leptos-rs/failing-ci
...
Fix failing CI
2024-06-02 15:39:58 -04:00
Greg Johnston
ec19c59850
chore: update hackernews_js_fetch example to latest versions of leptos and axum
2024-06-02 15:39:01 -04:00
Greg Johnston
b06097d085
chore(ci): fix wasm-pack installation
2024-06-02 15:38:22 -04:00
Greg Johnston
a59561f796
chore: clippy
2024-06-02 15:37:54 -04:00
Greg Johnston
96b448805d
v0.6.12
2024-06-02 14:08:08 -04:00
Luxalpa
2ef27cb0bb
fix: URL encoding issue ( closes #2602 ) ( #2601 )
2024-06-02 14:06:41 -04:00
SleeplessOne1917
21a6551ce6
feat: allow slice! macro to index tuples ( #2598 )
...
* Allow slice! macro to index tuples
* Undo changes to component tests
---------
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2024-05-29 09:07:41 -04:00
Mingwei Samuel
2f4fd87c05
feat: #[component] now handles impl Trait by converting to generic type params, fix #2274 ( #2599 )
...
Book needs to be updated to remove this line:
35c380ffc8/src/view/03_components.md (L233)
2024-05-29 09:06:52 -04:00
Hecatron
13ad1b235d
projects: example using the bevy 3d game engine and leptos ( #2577 )
...
* feat: Added example using the bevy 3d game engine and leptos
* fix: moved example to projects
* workspace fix
2024-05-27 15:55:27 -04:00
David Pitoniak
a2c7e23d54
docs: grammar typo for MultiActon doc comment ( #2589 )
2024-05-11 15:05:35 -04:00
Greg Johnston
9e65f71db4
fix: only issue NodeRef warning in debug mode (necessary to compile in --release) ( #2587 )
2024-05-11 15:05:17 -04:00
Luxalpa
7f4a2926c1
fix: StoredValue and Resource borrowMut error during dispose ( #2583 )
2024-05-11 15:04:57 -04:00
Hecatron
7c5203db19
examples: counter with DWARF debugging (breakpoints and sourcemap) ( #2563 )
...
* feat: Added initial dwarf debug counter example
* fix: update to readme and launch.json, task.json
* fix: fix tasks.json for debugging
* fix: added Trunk.toml to fix the port
* fix: moved example to projects
2024-05-11 15:02:33 -04:00
Greg Johnston
3760ced0ec
fix: allow temporaries as props ( closes #2541 ) ( #2582 )
2024-05-08 19:35:57 -04:00
Greg Johnston
f3f3a053ba
fix: don't insert empty child for comment/doctype ( closes #2549 ) ( #2581 )
2024-05-08 07:19:57 -04:00
Antoine Büsch
6a8e4bb453
Fix empty_docs warnings in #[component] macro ( #2574 )
2024-05-06 22:09:19 -04:00
Luxalpa
20f4323e50
feat: allow customize derives for serverfn input struct ( #2545 )
2024-05-06 08:54:29 -04:00
martin frances
47bcee0ef4
docs: improve NodeRef warning ( #2414 ) ( #2467 )
2024-05-06 08:51:32 -04:00
SleeplessOne1917
ac3b95d35a
examples: use trunk's built-in way of handling tailwind ( #2557 )
...
* Use trunk built-in way of handling tailwind
* Remove package manager from package.json
2024-05-06 08:49:07 -04:00
Greg Johnston
a314a4fcd9
docs: clarify the purpose of local resources ( #2543 )
2024-05-06 08:48:29 -04:00
Sam Judelson
b2a77f06b9
projects: OpenAPI Utopia ( #2556 )
2024-05-06 08:48:09 -04:00
Sam Judelson
9741c41356
projects: added an index to projects README ( #2555 )
...
The Index gives a high level overview of the projects
2024-05-06 08:47:13 -04:00
Joey McKenzie
4e4a770600
projects: add sitemap demo project ( #2553 )
2024-05-06 08:46:49 -04:00
martin frances
289c02fdac
Minor: examples/server_fns_axum FileWatcher logs errors to the console. ( #2547 )
...
* Minor: examples/server_fns_axum FileWatcher logs errors to the console.
The cause is an assumption that the directory
./watched_files/
exits.
* chore: Now using .gitkeep to preserve directory structure.
2024-05-06 08:45:27 -04:00
itowlson
123d95c34c
Update leptos-spin-macro reference ( #2570 )
...
Signed-off-by: itowlson <ivan.towlson@fermyon.com >
2024-05-02 15:25:22 -07:00
Greg Johnston
da9711a743
docs: add caveats for ProtectedRoute ( #2558 )
2024-05-01 07:06:54 -04:00
Greg Johnston
9353316947
chore: create README for projects directory
2024-04-19 10:39:58 -04:00
Sam Judelson
2960dada4a
docs: add projects directory with 4 projects ( #2500 )
2024-04-17 19:30:31 -04:00
kryesh
c1ebaf9d04
feat: add create_query_signal_with_options to leptos_router ( #2517 )
2024-04-17 19:23:33 -04:00
bicarlsen
9a7dbd50eb
feat: ability to use multiple classes in view macro using array syntax. ( #2532 )
2024-04-17 19:04:33 -04:00
Ethan Niser
410225c4d1
docs: remove unnecessary type parameter and trait bound in component macro 'bad' example ( #2520 )
2024-04-17 18:53:18 -04:00
ARSON
8b1c0a7013
feat: spread component attrs ( #2534 )
...
* add `dyn_bindings` builder method to component
* Revert "add `dyn_bindings` builder method to component"
This reverts commit cdd5e0f682 .
* add `dyn_bindings` builder method to component
2024-04-17 14:05:00 -07:00
0e4ef622
6e819737cd
fix: make TextProp's IntoView and IntoAttribute impls reactive ( #2518 )
2024-04-17 14:02:52 -07:00
Adrian
c4560b7e76
Adding Russian book branch ( #2516 )
2024-04-17 13:22:32 -07:00
Greg Johnston
0d20f6aca8
chore: publish Oco separately as oco_ref crate so that it can be used elsewhere ( #2536 )
2024-04-16 20:25:34 -04:00
martin frances
158b0bd294
chore(ci): bump trunk-action to 0.5. ( #2533 )
2024-04-16 19:19:01 -04:00
Ben Wishovich
c8186eea13
Add id to ActionForm and MultiActionForm ( #2535 )
2024-04-16 14:52:51 -07:00
Greg Johnston
6141e73436
Merge pull request #2531 from leptos-rs/2523
...
fix: do not submit `<ActionForm>` on `formmethod="dialog"` submission (closes #2523 )
2024-04-15 19:52:06 -04:00
Greg Johnston
03a56f8795
chore(ci): latest nightly
2024-04-15 18:33:06 -04:00
Greg Johnston
fe06c6b91b
fix: do not submit <ActionForm> on formmethod="dialog" submission ( closes #2523 )
2024-04-15 16:49:02 -04:00
martin frances
9a51fb17fc
Minor: Bumped serde_qs to 0.13. ( #2512 )
2024-04-14 14:39:44 -07:00
Sam Judelson
35a8ca1f39
Add beginner tip to ErrorBoundary ( #2385 )
...
* Add beginner tip to ErrorBoundary
This might seem simple, but the nuances of types and traits confuse many people learning the language.
* edit
* Update error_boundary.rs
* edits
* ignore error block
2024-04-14 14:38:08 -07:00
Ben Wishovich
1ff0a7176d
Update spin_sdk to spin v3 ( #2525 )
...
* Update spin_sdk to spin v3
* Add id to Body
2024-04-14 14:34:38 -07:00
Greg Johnston
e29d31e686
0.6.11
2024-04-10 09:33:22 -04:00
Greg Johnston
e68f1bbad5
fix: stable Router IDs ( closes #2514 ) ( #2515 )
2024-04-10 09:31:34 -04:00
Greg Johnston
454a4f4ccb
Merge pull request #2511 from leptos-rs/simplify-stable
...
Simplify stable syntax in examples
2024-04-09 15:30:51 -04:00
Greg Johnston
85a91af7c6
examples: simplify stable syntax for using signals in view
2024-04-09 14:45:19 -04:00
Greg Johnston
871d2c1b9f
feat: directly implement IntoView on resources on stable
2024-04-09 14:45:01 -04:00
Greg Johnston
f0c1061161
chore(ci): remove nightly feature on counter_isomorphic ( #2510 )
2024-04-09 13:18:37 -04:00
Greg Johnston
d74af819a0
fix: invalid Location header when using leptos_actix::redirect() without JS/WASM ( #2507 )
2024-04-08 20:10:09 -04:00
Ar4ys
36b2f919dd
feat: signifiantly improved error reporting in view macro ( #2289 )
...
* Added name span to .build in component_to_tokens
* Added #[allow(unreachable_code)] to leptos::component_view inside component_to_tokens
* Added span to name reference in component_to_tokens
* Added span to leptos::component_props_builder in component_to_tokens
* Added span to props in component_to_tokens
* Added span to "on" method in events component_to_tokens
* Added spans in directive_call_from_attribute_node
* Added spans in fragment_to_tokens and it's ssr version
* Added span to props in slot_to_tokens
* Added span to the whole slot quote
* Changed slots's name span to last slot node
* Added span to the slot vec
* Added #[allow(unreachable_code)] to `.into()` in slot_to_tokens
* Added span to `.build()` in slot_to_tokens
* Added span for the whole component
* Added span to "clone:" directive
* Added span to ".children()"
* Removed unused "_span" param from fragment_to_tokens and fragment_to_tokens_ssr
* Removed unnecessary parenthesis around values in `attribute_to_tokens`
* Removed unnecessary curly braces around value in `spread_attrs`
* Removed unnecessary parenthesis around children in `element_to_tokens`
* Added catch-all span to element_to_tokens
* Formatted `quote!` according to official guidelines
* Updated view/snapshots in leptos_macro
* Added span to spread props in element_to_tokens_ssr
* Removed unnecessary curly braces in element_to_token_ssr
* Updated view/snapshots in leptos_macro
* Added view macro tests to leptos_macro
* Fixed clippy warnings in view macro output
* Updated view snapshots in tests
* Fixed expected_one_let_bind_got_none test in leptos_macro
* Removed snapshot tests in leptos_macro/tests/ui/view
---------
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2024-04-08 08:14:33 -04:00
Greg Johnston
ab1c4ca7a6
chore(ci): run all examples under stable and fix remaining linting issue ( #2503 )
2024-04-05 16:09:23 -04:00
mahmoud-eltahawy
a1a989011a
chore(ci): move all examples to run on stable ( #2501 )
2024-04-05 14:57:48 -04:00
Greg Johnston
43178b56dc
chore(ci): move example CI over to stable ( #2502 )
2024-04-05 14:55:31 -04:00
Lukas Potthast
119c9ea23f
feat: allow spreading of both attributes and event handlers ( #2432 )
2024-04-05 14:30:34 -04:00
Yann Dirson
fc537c14c4
feat: implement IntoView for Rc<str> ( #2462 )
...
With-help-from: Greg Johnston <greg.johnston@gmail.com >
Signed-off-by: Yann Dirson <ydirson@free.fr >
2024-04-05 09:58:35 -04:00
mahmoud-eltahawy
15f8bdd4dc
stable todo_app_sqlite_axum example ( #2493 )
2024-04-04 20:12:45 -07:00
Sam Judelson
ca07d29db5
stable examples change ( #2497 )
2024-04-04 20:11:28 -07:00
Adrian
a82af6110f
ex: counter_url_query; to stable ( #2499 )
2024-04-04 20:09:55 -07:00
Joseph Cruz
03ac6903f2
ci(examples/error-boundary): use stable syntax ( #2496 )
2024-04-04 20:08:50 -07:00
Joseph Cruz
e5af1456a6
fix(ci): false leptos changes detected ( #2491 )
2024-04-04 20:06:09 -07:00
mahmoud-eltahawy
8686d5aabb
stable todomvc example ( #2489 )
2024-04-02 13:38:07 -07:00
Greg Johnston
c750f57ddc
v0.6.10
2024-04-02 09:39:53 -04:00
Joseph Cruz
cc1f6f0a94
chore(ci): run semver checks on push ( #2483 )
2024-04-01 20:38:28 -04:00
Greg Johnston
a9034a92b0
fix: handle directives properly in SSR mode ( closes #2488 ) ( #2477 )
2024-04-01 17:29:30 -04:00
zakstucke
9f1c09e131
feat: add View::on support for CoreComponent::{DynChild, Each} ( #2422 )
2024-04-01 17:09:05 -04:00
Greg Johnston
b79037b96f
fix: correctly handle empty view! {} in hot-reloading code ( closes #2421 ) ( #2478 )
2024-04-01 16:23:29 -04:00
Greg Johnston
41f3c46830
chore: bump nightly version in examples ( #2479 )
2024-04-01 15:16:53 -04:00
Greg Johnston
bfac4cba2a
chore: cargo fmt
2024-03-31 14:12:33 -04:00
Paolo Barbolini
3e18edb8f9
chore: add repository field to server_fn_macro ( #2474 )
2024-03-31 14:10:47 -04:00
Joseph Cruz
e926ff24a6
ci: disable semver checks ( #2471 )
2024-03-30 20:05:20 +00:00
Gunnar Raßmann
d528cbd828
Fix: Environment variables do not overwrite Config.toml options ( #2433 )
...
* Fix environment variable parsing
* Fix failing tests
dfgdfgfd
dsf
* Add new test
2024-03-30 00:02:52 +00:00
Alex Lazar
642504f2ba
Remove panic for axum ResponseOptions ( #2468 )
2024-03-29 07:37:12 +00:00
zakstucke
fd2817de26
Allow CDN_PKG_PATH at runtime as well as current build time, preferring it when available. ( #2466 )
2024-03-28 08:30:54 +00:00
Bart Toersche
73b8c7872e
Fix: Small fix for location hash/fragment ( #2464 )
2024-03-27 06:45:29 +00:00
martin frances
f3d19ca744
Minor: Ran cargo clippy --fix ( #2461 )
...
Manually reviewed the changes. All look like reasonable nudges.
A summary :-
In one place removed a redundant call to .clone().
In two places, now using clone_from() which clippy says
**MAY** be an optimisation.
2024-03-23 18:27:31 -07:00
boyswan
0abcc348ca
Persist parent span context within resource fetchers ( #2456 )
2024-03-22 15:51:50 -07:00
Joseph Cruz
572ae5bbdf
test(ci): check semver ( #2450 )
...
* test(ci): check semver
* chore: simulate change
* fix(ci): add checkout
* fix(ci): version typo
* chore: remove simulated change
2024-03-22 15:51:13 -07:00
martin frances
0b70949118
Bumped base64 to 0.22. ( #2457 )
2024-03-22 15:07:04 -07:00
martin frances
5819014ccc
Chore(ci) bumping tj-actions/changed-files to version 43. ( #2454 )
2024-03-22 07:23:57 -04:00
Joseph Cruz
630fd4570d
fix(ci): trunk command not found ( #2453 )
...
* chore: simulate change
* chore: remove print trunk version
* Revert "chore: remove print trunk version"
This reverts commit c203a83b44 .
* chore(ci): use jetli/trunk-action
* chore: remove simulated change
2024-03-22 07:23:48 -04:00
Ratul
d1560f9e1f
Added missing link for #[server] macro ( #2437 )
...
* Added missing link for #[server] macro
Added missing link for #[server] macro
* Removed spurious entry
2024-03-20 14:24:54 -07:00
martin frances
841d7a690a
chore: examples/tailwind_axum bumped tailwindcss to 3.4.2. ( #2443 )
2024-03-19 09:40:24 -07:00
sify21
104c09f3bf
register server_fn first to allow for wildcard Route path ( #2435 )
...
It's normal to have a `NotFound` page with a wildcard path like this
```
<Routes>
...
<Route path="*any" view=NotFound>
</Routes>
```
In `ssr` mode, most servers do a `first match win` approach, so we
should register server functions before view routes, or else a wildcard
route would block all api requests.
https://discord.com/channels/1031524867910148188/1218508054442545185
Signed-off-by: 司芳源 <sify21@163.com >
2024-03-19 09:37:42 -07:00
Joseph Cruz
ac75999c9f
chore(ci): upgrade actions to node 20 ( #2444 )
...
* chore(ci): install jq with apt
* chore(ci): install trunk with cargo
* chore(ci): replace toolchain action
* chore(ci): upgrade pnpm cache action
* chore: simulate change
* fix(ci): pnpm cache action typo
* chore: remove simulated change
2024-03-19 09:36:30 -07:00
Richard Laughlin
7ef186f642
For the session_auth_axum example, move the passhash into a separate ( #2446 )
...
non-serializable struct.
This prevents it from being returned in the
get_user() API, and prevents it from being unintentionally returned on any
new API the end-user may create on top of this example code.
2024-03-19 09:35:53 -07:00
Joseph Cruz
fda4dba237
build(examples): clean more output ( #2420 )
...
* chore(examples): update workspace members
* build(examples): clean e2e crates
* build(examples): clean pkg directories
* chore: remove simulated change comment
* chore: add simulated change
* chore: remove simulated change
2024-03-18 11:58:37 -04:00
Roland Fredenhagen
4e578e335b
chore: update attribute-derive ( #2438 )
2024-03-18 11:39:34 -04:00
Joseph Cruz
97fd8ff6c4
fix(ci): leptos examples fail with bindgen schema error ( #2428 )
2024-03-13 22:33:54 -04:00
battmdpkq
4faf3fa894
chore: fix types in some comments ( #2413 )
...
Signed-off-by: battmdpkq <cmaker@163.com >
2024-03-09 07:38:25 -05:00
Greg Johnston
480d741749
chore: update to gloo-net 0.5 ( closes #2411 ) ( #2416 )
2024-03-08 15:22:12 -05:00
Álvaro Mondéjar
7928f61401
chore: add lint to disallow prints to stdout ( #2404 )
2024-03-08 13:18:37 -05:00
Giovanni
2b4f5e0f58
docs: runtime error if setting the same event listener 2x rather than silent failure ( #2383 )
...
Delegated event listeners do not support adding more than one event listener of the same type. This can cause confusion if two listeners are added, as one is silently dropped.
2024-03-07 16:49:23 -05:00
Giovanni
943a992570
fix: re-throw errors in delegated event listeners ( #2382 )
2024-03-07 16:48:21 -05:00
ARSON
372a241d78
feat: allow #[prop(attrs)] on slots ( #2396 )
2024-03-04 17:34:21 -08:00
Chris Biscardi
c06f6bede2
fix: remove erroneous debug println!()s in islands ( #2402 )
2024-03-04 06:56:18 -05:00
benwis
3e93a686f4
Fix and release deps
2024-03-03 17:04:34 -08:00
benwis
34cdff4cb3
Update deps in one crate to 0.6.8
2024-03-03 17:02:50 -08:00
John Lewis
530087d77d
Add MessagePack codec ( #2371 )
...
* feat: added messagepack codec
* fix: deserialize msgpack from bytes, not string
2024-03-03 13:54:23 -08:00
martin frances
4bb43f6207
examples/todomvc - Rename Todos::new() Todos::default(). ( #2390 )
2024-03-03 13:48:40 -08:00
benwis
9e2fb62857
0.6.8
2024-03-02 18:01:10 -08:00
Ben Wishovich
1da2fff706
Fix missed stuff ( #2398 )
2024-03-02 17:57:20 -08:00
Greg Johnston
9fd2987447
fix: correctly reset hydration status in islands mode Suspense ( closes #2332 ) ( #2393 )
2024-03-02 11:57:35 -05:00
zroug
7996f835d0
fix: remove unnecessary trait bound PartialEq from create_owning_memo ( #2394 )
2024-03-02 07:27:22 -05:00
Greg Johnston
d72b12524e
Merge pull request #2395 from leptos-rs/int-ax-doc
2024-03-01 20:08:18 -05:00
Greg Johnston
8e79c5be5c
fix: ignore as with other doctests for now
2024-03-01 18:39:55 -05:00
Greg Johnston
de25658c36
Merge pull request #2392 from paul-hansen/fix-ci
...
fix(ci): "needless borrow" error and example never exiting
2024-03-01 18:37:48 -05:00
Paul Hansen
e2e35a9659
fix(ci) Wait a bit longer for server to start
...
It took longer than I thought in Github and barely worked, giving it a
bit more of a buffer.
2024-03-01 15:47:59 -06:00
Paul Hansen
bf1ba589c5
fix(ci): Another attempt to fix hanging example
2024-03-01 15:41:22 -06:00
Sam Judelson
f70ebc1289
docs: add note on how to get ResponseOptions ( #2380 )
2024-03-01 10:47:02 -05:00
Paul Hansen
3cab09e015
fix(ci): error_boundary example never exiting
2024-03-01 09:21:58 -06:00
Paul Hansen
b431315f7c
fix(ci): "needless borrow" error
2024-03-01 09:21:58 -06:00
Baptiste
5b40881e77
fix: specify path to wasm_bindgen in island macro ( #2387 )
2024-03-01 10:15:19 -05:00
benwis
59d3cce3be
0.6.7
2024-02-29 13:38:09 -08:00
Paul Hansen
6a83161368
chore: add MSRV ( #2360 )
2024-02-28 07:19:09 -05:00
Marc-Stefan Cassola
4b00c16cb9
added hashes generated from cargo-leptos ( #2373 )
...
* added hashes generated from cargo-leptos
* Added config option to disable frontend file name hash
2024-02-27 16:28:27 -08:00
haslersn
6d6019b956
fix: do not strip query in redirect hook when using client-side navigation ( #2376 )
2024-02-27 09:06:48 -08:00
Sam Judelson
3540291065
docs: Resource::read() in doc examples with Resource::get() ( #2372 )
2024-02-26 21:37:29 -05:00
zoomiti
4809cf473e
feat: provide leptos_router::Method via context ( #1808 ) ( #2315 )
2024-02-26 21:25:53 -05:00
Tadas Dailyda
aa977001c1
feat: add support for trailing slashes ( closes #2154 ) ( #2217 )
2024-02-26 20:56:44 -05:00
Greg Johnston
c16189f095
Merge pull request #2362 from leptos-rs/remove-deprecation
...
chore(ci): fix failing CI by removing deprecation note
2024-02-24 13:05:02 -05:00
Greg Johnston
d0a013c248
chore(ci): omit a few feature flag in CI
2024-02-24 11:55:36 -05:00
Greg Johnston
531ea74e33
chore: cargo fmt in leptos_macro
2024-02-24 07:12:46 -05:00
Greg Johnston
545e87e540
chore(ci): fix failing CI by removing deprecation note
2024-02-24 07:07:31 -05:00
Joseph Cruz
2ca30a0b2d
ci(examples): build hackernews_js_fetch with deno ( #2344 )
...
* ci(examples): refactor process management
* ci(examples): build hackernews_js_fetch with deno
* ci(workflows): detect hackernews_js_fetch change
* chore(web-report): report deno usage
* chore(web-report): ignore gtk example
* ci(todo_app_sqlite): simulate change
* ci(workflows): install deno
* ci(todo_app_sqlite): remove simulated change
2024-02-23 13:40:44 -05:00
zoomiti
753bf1ed54
Fix Broken Doc links and Deprecate FromUtf8Error in oco.rs ( #2318 )
...
* fix: deprecate `FromUtf8Error` in `oco.rs`
* chore: fix broken doc links (#859 )
* chore: fix broken doc link to server attribute macro
* cargo fmt
2024-02-21 19:24:40 -08:00
Sam Judelson
37c6387fea
finish doc sentence ( #2348 )
2024-02-21 19:21:57 -08:00
Janu (Janeshwar) Cambrelen
0a73487152
feat(leptos-axum): propagate trace context to server functions ( #2340 )
2024-02-21 19:21:00 -08:00
Sam Judelson
747aba0d7f
add comment specifying edgecase of server function prefixes ( #2345 )
2024-02-20 18:17:20 -08:00
Sam Judelson
04cf47d5da
Update suspense_component.rs documentation to use .get() instead of .read() ( #2346 )
2024-02-20 18:16:03 -08:00
rjmac
47abe00993
fix: don't leak canceled timeouts ( #2331 )
...
Instead of using `Closure::once_into_js`, this uses `into_js_value`,
which uses weak references to clean up the closure when Javascript no
longer has need of it.
It would be nice to make this (and the similar interval function) drop
the callback promptly when cancelled, but I don't think that's
possible while keeping the handles Copy.
Fixes #2330
Co-authored-by: Robert Macomber <robertm@mox>
2024-02-19 21:17:26 -05:00
eliza
aa3700ffb9
feat: add impl_from argument to #[server] proc_macro ( #2335 )
...
* Add `impl_into` argument
* Add `impl_into` argument
* Revert unneeded changes
* Address review comments
Rename `impl_into` back to be `impl_from`
Rework docstring
* Fix typo in docstring
2024-02-19 21:16:46 -05:00
Aphek
0770b87cb7
feat: Add owning memos to allow memos that re-use the previous value ( #2139 )
2024-02-19 21:16:19 -05:00
benwis
330ebdb018
v0.6.6
2024-02-19 13:48:32 -08:00
benwis
c3179d88cf
Moved leptos-spin-macro dep to released version
2024-02-19 12:54:43 -08:00
Sahaj
ffcf3c2952
example: fix href path in tailwind_csr example ( #2328 )
2024-02-17 13:10:07 -05:00
haslersn
001ca5148e
fix: handle cross-origin redirects in server function redirect hook ( #2329 )
...
In client-side navigation we now handle redirects returned from
server functions by resolving the location against the current
origin as a base. The base is only relevant if the location
doesn't already include an origin. This fixes cross-origin
redirects.
Note: in order to handle redirects in the same way as the browser
would handle them, we need to use the server function's URL
(typically `<origin>/api/something`) as a base. I leave this as
a TODO for a future leptos version, because it probably
requires changing the signature of the `server_fn` redirect hook.
In order to not be affected by a future breaking change, users
should already start making sure that their redirect locations
either include an origin or at least start with a single slash
(e.g. `Location: /foo`).
2024-02-17 13:09:39 -05:00
Greg Johnston
1e000afa78
examples: fix CSS file name in tailwind_axum ( #2324 )
2024-02-17 12:56:03 -05:00
Greg Johnston
0f7b8841b2
chore(ci): reduce set of tested features to prevent running out of disk space in server_fn ( #2320 )
2024-02-16 20:26:26 -05:00
Greg Johnston
7dc0441f6c
docs: log error on failing to convert form to ServerFn type, in addition to setting action value ( #2319 )
2024-02-16 17:11:14 -05:00
Joseph Cruz
0a321a1bd7
docs(examples): update docs ( #2313 )
...
* docs(examples): fix metadata typo
* docs(examples): update first step about using cargo make
2024-02-16 13:32:01 -05:00
Greg Johnston
88742952f0
fix: Transition in hydrate mode that isn't initially created ( closes #2279 ) ( #2314 )
2024-02-16 08:16:09 -05:00
martin frances
8a4b972e0b
chore: bump config to 0.14 ( #2302 )
2024-02-15 20:24:12 -05:00
zoomiti
95bd9cc544
feat: use CDN_PKG_PATH at build time to set alternate base URL for JS/WASM bundles ( #2281 ) ( #2283 )
2024-02-15 20:21:47 -05:00
Marc-Stefan Cassola
23bc892a24
fix: #[server] macro error type detection ( #2298 )
...
In most cases when you return `Result<..., ServerFnError<E>>` this worked but when you tried
`Result<..., leptos::ServerFnError<E>>` then it didn't.
2024-02-15 20:20:41 -05:00
Esteban Borai
830fba794e
docs: add missing provide_meta_context() in example ( #2311 )
...
Otherwise user gets:
```
use_head() is being called without a MetaContext being provided. We'll automatically create and provide one, but if this is being called in a child route it may cause bugs. To be safe, you should provide_meta_context() somewhere in the root of the app.
```
2024-02-15 20:19:07 -05:00
martin frances
98633c8700
chore(ci): update node version for GitHub Actions ( #2303 )
2024-02-15 20:17:12 -05:00
David Rebbe
b0f5c39711
example: replace yanked version of session_auth_axum crate ( #2310 )
2024-02-15 20:16:26 -05:00
Greg Johnston
b54aa7f3f5
Merge pull request #2294 from agilarity/add-cargo-make-leptos
2024-02-15 18:52:37 -05:00
Sam Judelson
e33ee7ec99
pub export server is either from leptos_macro or leptos_spin_macro depending on if spin feature is enabled. ( #2280 )
...
* leptos spin server macro
* leptos spin
* git chng
* based on the fermyon official git for when that works
2024-02-15 14:37:19 -08:00
Joseph Cruz
cd70b2f52b
fix(ci): should exclude cargo-make
2024-02-11 20:40:20 -05:00
Joseph Cruz
c75842ed0c
ci(hackernews_islands_axum): build with cargo leptos
2024-02-11 15:40:32 -05:00
Joseph Cruz
4ad228bf47
docs(test-report): add leptos ci warning
2024-02-11 15:40:32 -05:00
Joseph Cruz
bbe7115360
docs(test-report): mention options
2024-02-11 15:40:32 -05:00
Greg Johnston
0658a550b0
fix(examples): align crate name and output name ( closes #2206 ) ( #2291 )
2024-02-10 15:47:25 -05:00