Greg Johnston
d7dfb33153
fix(examples): broken favicons in hackernews examples ( closes #3890 )
2025-04-27 15:30:00 -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