Commit Graph

2317 Commits

Author SHA1 Message Date
Greg Johnston 6ac55266f8 `v0.4.0` 2023-06-29 15:45:21 -04:00
Joseph Cruz 33c83c3e62
fix(counters_stable): intermittent closed target errors (#1240) (#1243) 2023-06-29 07:19:42 -04:00
Greg Johnston 171adcd09e
docs: update README re: nightly on 0.3 2023-06-27 15:48:04 -04:00
Greg Johnston 13f7cb9a9a
fix: add missing attribute-escaping logic in `leptos_meta` and `class` attributes in SSR (closes #1238) (#1241) 2023-06-27 11:53:23 -04:00
Greg Johnston ee7dbafc85
change: migrate to `nightly` and `csr` features rather than `stable` and `default-features = false` (#1227) 2023-06-26 21:12:14 -04:00
Joseph Cruz f5cfe4e8a2
test(counters_stable): add playwright tests (#1235) 2023-06-26 21:11:09 -04:00
Greg Johnston c3e45d19d7
docs: typo (#1237) 2023-06-26 10:05:16 -04:00
Greg Johnston 966100c2d6
feat: add an `anyhow`-like `Result` type for easier error handling (#1228) 2023-06-25 15:18:00 -04:00
Greg Johnston bce1dea11b
fix: make `<Transition/>` transparent like `<Suspense/>` to avoid `Scope` issues (closes #1231) (#1232) 2023-06-24 17:07:07 -04:00
Greg Johnston c55067ab7c
feat: improved error handling and version tracking for pending actions/`<ActionForm/>` (closes #1205) (#1225) 2023-06-23 11:10:59 -04:00
Greg Johnston 9da4084561
fix: nested Suspense/Transition with cascading resources (#1214) 2023-06-21 16:39:58 -04:00
jquesada2016 1d7235d4ca
fix: in `<For/>`, `removed` not being cleared when setting a diff to clear, causing panic (#1220) 2023-06-21 15:19:12 -04:00
Greg Johnston 2cb8171105
docs: document `<ErrorBoundary/>`/`<Suspense/>` relationship (#1210) 2023-06-21 11:17:20 -04:00
Lukas Potthast bbc7799b7c
fix: memo with_untracked (#1213) 2023-06-21 10:13:18 -04:00
Joseph Cruz a9cbcce8b2
fix(examples/tailwind): host system is missing dependencies to run browsers (#1216) 2023-06-21 08:07:20 -04:00
Greg Johnston 3531ca64bb
examples: update `leptos-tailwind-axum` to use main branch (#1218) 2023-06-21 08:06:52 -04:00
Ty Larrabee e402b85dd6
docs: a few grammar fixes, removal of ref to ComponentProps (#1217) 2023-06-20 21:00:28 -04:00
Greg Johnston 8ae5cf0ccf
fix: don't re-mount identical child in `DynChild` (#1211) 2023-06-19 17:04:08 -04:00
Tristan Guichaoua 5c34c3fc77
docs: fix typo in "working with signals" (#1208) 2023-06-19 10:36:18 -04:00
Greg Johnston 3a570dc0d9
docs: this was causing a Google search indexing issue... 2023-06-18 09:10:01 -04:00
Joseph Cruz 3c6748b30d
build(examples): generate workspace members variable (#1201)
* build(examples): add gen members task

* build(examples): include members variable
2023-06-17 18:19:01 -04:00
Cherry 24945f67bf
docs: add note to docs on how to fix failing builds which rebuild-std (#1200)
Fixes #1199
2023-06-17 16:51:57 -04:00
Joseph Cruz edddab1e51
ci(examples): automatically keep the list of example projects current (#1198) 2023-06-17 16:51:31 -04:00
Greg Johnston acfc86d2a4
fix: SVG `<use>` in SSR (#1203) 2023-06-17 16:47:39 -04:00
Greg Johnston 651868dec9
fix: animations on multiple back navigations (closes #1088) (#1204) 2023-06-17 16:47:19 -04:00
Joseph Cruz 18bc03e660
ci(examples): split check example and improve workflows (#1191) 2023-06-15 21:44:37 -04:00
jquesada2016 5f0013e482
fix: reorder `<For />` `apply_diff` steps (#1196) 2023-06-15 20:37:17 -04:00
martin frances 10c0a2de65
chore: cleared clippy warnings (#1190)
The change in indentation makes the PR hard to review

so I will discuss the change in conversational language

Two "if"'s checks were merged into one "if"

this

-        if let Some(expr) = node.value() {
-            if let syn::Expr::Tuple(tuple) = expr {

becomes

+        if let Some(Tuple(tuple)) = node.value() {
2023-06-15 20:11:50 -04:00
Karim Lalani b24be2566d
docs: renamed function names in 13-actions chapter of book to reduce confusion (#1175) 2023-06-15 20:09:46 -04:00
Greg Johnston 77439b5db5
fix: setting `set_pending` now that `<Transition/>` body doesn't re-render (#1193) 2023-06-15 20:09:22 -04:00
Greg Johnston 23594a43ea
fix: allow `FnOnce` extractors (#1192) 2023-06-15 20:09:13 -04:00
hchockarprasad 601db7aa86
fix: handle nested data in serde_qs deserialization correctly (#1183) 2023-06-15 10:15:10 -04:00
Joseph Cruz d15ba11104
fix(examples/js-framework-benchmark): error: cannot find macro template in this scope (#1182) (#1189) 2023-06-15 08:19:38 -04:00
Joseph Cruz d45d92433f
ci(examples): include all example projects (#1188) 2023-06-14 15:16:14 -04:00
jquesada2016 97127a90c6
fix: new `<For/>` bug when clearing which ignores further additions (#1181) 2023-06-14 13:56:56 -04:00
martin frances 55bb63edea
chore: updated `cached` 0.43.0 to 0.44.0 (#1187) 2023-06-14 11:07:24 -04:00
martin frances 15a4e54435
chore: criterion was outdated version 0.4.0 becomes 0.5.1. (#1184) 2023-06-14 11:06:50 -04:00
Joseph Cruz 3a522aef5d
ci(examples): split jobs and verify changed examples (#1155) 2023-06-13 21:29:54 -04:00
Greg Johnston a98885a123
fix: `<ErrorBoundary/>` IDs with new hydration key system (#1180) 2023-06-13 18:38:23 -04:00
Greg Johnston 2b7923261b
docs: fix failing doctests from server fn docs (#1179) 2023-06-13 17:49:16 -04:00
Greg Johnston b043f829a6
docs: clarify available server fn encodings (#1178) 2023-06-13 16:01:45 -04:00
jquesada2016 f415f7b146
fix: removes in new `<For/>` causing panics in some circumstances (#1173) 2023-06-13 15:43:02 -04:00
martin frances 4e4e6864dd
chore: clear virtual-workspace resolver warnings since Rust 1.70 (#1174)
This patch just clears the warnings listed below and ensures we get the benefits of a better package manger function.

```console
warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
```console
2023-06-13 14:54:39 -04:00
Nova b0a23be07b
fix: replace ouroboros with self_cell (#1171) 2023-06-12 07:27:52 -04:00
devriesp f602cd7b5e
docs: typos (#1172) 2023-06-12 07:26:54 -04:00
martin frances 6fac92cb62
perf: removed duplicate calls to .collect() and .into_iter() in `leptos_actix` (#1133) 2023-06-11 21:54:24 -04:00
jquesada2016 b6d9060152
feat: improved `<For/>` algorithm (#1146)
Rewrites the algorithm behind the `<For/>` component to create a more robust keyed list implementation, with the potential for future additional optimizations related to grouping moved ranges.

Closes #533.
2023-06-11 10:20:14 -04:00
Greg Johnston bb10b32200
feat: register server functions automatically (#1154) 2023-06-11 09:09:21 -04:00
funlennysub e0be2fa4ba
feat: add additional support for generics in components (closes #949 + #1023) (#1109) 2023-06-10 16:44:27 -04:00
Greg Johnston 97d2829941
feat: clone <Suspense/> children instead of calling again (closes #398) (#1157) 2023-06-10 15:48:40 -04:00