Greg Johnston
11f8453f7c
fix: use shell for SSR, and do not create a second <head>
2024-07-12 11:32:10 -04:00
Saber Haj Rabiee
d0f2069f1c
chore: leptosfmt
2024-07-11 06:56:25 -07:00
Saber Haj Rabiee
54481223bf
fix: hackernews_js_fetch example
2024-07-11 00:48:09 -07:00
Greg Johnston
6ac6fc6a12
feat: iteration over reactive store list
2024-07-10 22:04:45 -04:00
Greg Johnston
a09cb02b31
feat: add arena-allocated/Copy Store
2024-07-10 21:03:48 -04:00
Greg Johnston
1f9ec1b979
docs: initial work on porting docs from 0.6 to 0.7
2024-07-10 20:47:24 -04:00
Greg Johnston
6c72aaf444
feat: initial work on reactive stores
2024-07-10 20:34:50 -04:00
Greg Johnston
899feb0575
fix: improved API for unsync actions that doesn't require SendWrapper on input
2024-07-10 19:33:40 -04:00
Greg Johnston
b0c1bf46af
chore: leptosfmt
2024-07-10 19:21:59 -04:00
Greg Johnston
ec4958959c
fix: properly handle errors in streaming body responses
2024-07-10 09:11:39 -04:00
Greg Johnston
174a5a1769
fix: invalid p/ul relationship causing hydration issue
2024-07-10 09:11:39 -04:00
Saber Haj Rabiee
ae68435fb6
chore: cargo fmt ( #2672 )
2024-07-09 08:51:01 -04:00
Greg Johnston
e507945cd1
feat: use codee for shared ser-de codexes with leptos-use (and more possibilities in future)
2024-07-08 21:31:51 -04:00
Greg Johnston
8f6620d06a
chore: remove unused dependencies
2024-07-08 19:53:29 -04:00
Greg Johnston
23f433efa4
fix: was disposing of Suspense Owner too early
2024-07-08 19:47:09 -04:00
Greg Johnston
d9502a94c1
fix: rebuilding NodeRef
2024-07-08 19:13:53 -04:00
Greg Johnston
ae0dc13ce7
feat: top-level Suspend without Suspense
2024-07-06 17:46:26 -04:00
Greg Johnston
22b1132340
chore: clippy and clean up unused functions
2024-07-06 12:56:29 -04:00
Greg Johnston
cb7656599e
docs: update syntax for Html/Body
2024-07-06 12:51:39 -04:00
Greg Johnston
f40d0c1334
feat: correct HTML rendering for spread attributes on <Body/> and <Html/>
2024-07-06 12:49:16 -04:00
Greg Johnston
8a878eaaa4
feat: attributes on body and html
2024-07-06 09:39:54 -04:00
Greg Johnston
f70702c6c4
feat: move to a channel-based implementation for meta
2024-07-06 08:16:48 -04:00
Greg Johnston
e2d41f91fa
feat: support Suspend in attributes
2024-07-06 07:41:07 -04:00
Greg Johnston
dc21e4ff53
feat: local resources with .await
2024-07-04 15:39:42 -04:00
Greg Johnston
d5aecbe705
chore: cfg warnings
2024-07-04 11:42:06 -04:00
Greg Johnston
032faec5bc
fix: MaybeProp None case
2024-07-03 21:01:04 -04:00
Greg Johnston
443fca495d
reexport SVG and MathML element types
2024-07-03 21:01:04 -04:00
Greg Johnston
c5f0f4a6ed
router alpha 3
2024-07-03 21:01:04 -04:00
Greg Johnston
64cdfbd2a8
Form component in 0.7
2024-07-03 21:01:04 -04:00
Greg Johnston
698d7f6f1b
fix: don't break Routes SSR now that it uses Suspend
2024-07-03 21:01:04 -04:00
Alicia Garcia-Raboso
8789ed0882
Implement Default trait for signals with a parameter that also implements Default ( #2662 )
...
Co-authored-by: alicia.garcia.raboso <alicia.garcia.raboso@bbva.com >
2024-07-03 21:01:04 -04:00
Greg Johnston
fd5a6bebd3
feat: automatically replace Suspense blocks if they are still waiting to be flushed, without JS (replaces PartiallyBlocked)
2024-07-03 21:01:04 -04:00
Greg Johnston
0a081fafe3
blocking resources
2024-07-03 21:01:04 -04:00
Greg Johnston
f8711611b0
macro alpha 2
2024-07-03 21:01:04 -04:00
Greg Johnston
f508f30be9
router alpha 2
2024-07-03 21:01:04 -04:00
Luke Naylor
52261415cd
Add missing 'form' attribute for <mo> ( #2660 )
...
This attribute seems to be missing in the attribute
table on Mozilla Docs, however does appear in the
compatibility table lower down.
This attribute is also frequently used by temml,
a common generator for mathml content.
2024-07-03 21:01:04 -04:00
Greg Johnston
65b270307d
allow Outlet to be called multiple times
2024-07-03 21:01:04 -04:00
Greg Johnston
f2db13da10
fix: prevent panicking if conditionally rendering Outlet
2024-07-03 21:01:03 -04:00
Greg Johnston
1d90b11e81
remove log
2024-07-03 21:01:03 -04:00
Greg Johnston
f0048e4d45
fix: ensure correct ownership chain when passing views through Outlet
2024-07-03 21:01:03 -04:00
Greg Johnston
5c211cf1ce
chore: clippy
2024-07-03 21:01:03 -04:00
Greg Johnston
aed4d49537
support MaybeSignal in view
2024-07-03 21:01:03 -04:00
Kajetan Welc
fa15a00288
fix: impl Copy for Callback ( #2658 )
2024-07-03 21:01:03 -04:00
Greg Johnston
40b383a0f7
fix: update imports and methods
2024-07-03 21:01:03 -04:00
Greg Johnston
cd289ef811
fix: trait import
2024-07-03 21:01:03 -04:00
Greg Johnston
76dcb823d8
impl From<T> for (Arc)Signal<T>
2024-07-03 21:01:03 -04:00
Greg Johnston
88c9742e6c
Revert "lazy Future construction for AsyncDerived"
...
This reverts commit 9e84e1f57c .
2024-07-03 21:01:03 -04:00
Greg Johnston
edc86bbb43
fix: <option> struct generation
2024-07-03 21:01:03 -04:00
Greg Johnston
3fc0a6ff32
fix: <option> struct generation
2024-07-03 21:01:03 -04:00
Lucas Åström
3797a4167a
Destructuring let (0.7) ( #2655 )
...
* Use `let()` syntax for bindings
This lets users use destructuring when binding more complex values, and we also get better IDE support.
* Update rstml
2024-07-03 21:01:03 -04:00
Greg Johnston
5ffcfc4079
fix: nonexistent feature
2024-07-03 21:01:03 -04:00
Greg Johnston
87f5d95bc3
fix: rebuilding AnyView
2024-07-03 21:01:03 -04:00
Greg Johnston
0597cda70a
support wasm-only
2024-07-03 21:01:02 -04:00
Greg Johnston
a2f6ebf3a6
support wasm-only
2024-07-03 21:00:50 -04:00
Greg Johnston
0be5628038
support wasm-only
2024-07-03 21:00:50 -04:00
Greg Johnston
52434ada9d
any_spawner tick version
2024-07-03 21:00:50 -04:00
Greg Johnston
ae0b09419d
un-break circular dependency
2024-07-03 21:00:50 -04:00
Greg Johnston
2f93b6d147
chore: update test output
2024-07-03 21:00:50 -04:00
Greg Johnston
4cf7dd0e0c
chore: unused import
2024-07-03 21:00:50 -04:00
Greg Johnston
2402688493
restore fallback for compressed version
2024-07-03 21:00:50 -04:00
Greg Johnston
36726e9dfc
docs: working on memo docs
2024-07-03 21:00:50 -04:00
Greg Johnston
ab886a1258
0.7.0-alpha
2024-07-03 21:00:50 -04:00
Greg Johnston
2d51311362
feat: support reactive and asynchronous ProtectedRoute conditions
2024-07-03 21:00:50 -04:00
Greg Johnston
9262b512e0
fix: correct For behavior when mounting with siblings, and when clearing
2024-07-03 21:00:50 -04:00
Ben Wishovich
28b38329a3
Make get_configuration sync ( #2647 )
...
* Made get_configuraiton sync
* Update examples
2024-07-03 21:00:50 -04:00
Greg Johnston
0567aeb5b8
examples: update directives tests
2024-07-03 21:00:50 -04:00
Greg Johnston
f9cd5ca159
chore: cargo fmt
2024-07-03 21:00:50 -04:00
Greg Johnston
9b72efb9c4
make RemoveEventHandler a concrete type
2024-07-03 21:00:50 -04:00
Greg Johnston
61ee451e19
feat: add ElementExt to give access to the same view APIs at runtime that we do at compile time
2024-07-03 21:00:50 -04:00
Greg Johnston
50d4eb2f50
feat: add ElementExt to give access to the same view APIs at runtime that we do at compile time
2024-07-03 21:00:50 -04:00
Greg Johnston
72aa8a6598
chore: cargo fmt
2024-07-03 21:00:50 -04:00
Greg Johnston
06fe32e90b
chore: cargo fmt
2024-07-03 21:00:50 -04:00
Greg Johnston
75184a4638
docs: warn on unused RenderEffect
2024-07-03 21:00:50 -04:00
Greg Johnston
29e5396912
chore: missing Debug implementations
2024-07-03 21:00:50 -04:00
Greg Johnston
b8df56afa1
chore: suppress unnecessary .into() warning
2024-07-03 21:00:50 -04:00
Greg Johnston
7d4b7d2ce8
cargo fmt
2024-07-03 21:00:49 -04:00
Greg Johnston
d132c8e338
updated directives example
2024-07-03 21:00:49 -04:00
brofrain
6bf6fb6923
fix: update HtmlViewState & BodyViewState as well
2024-07-03 21:00:49 -04:00
Kajetan Welc
1bda454441
fix: do not accidentally mount things before meta tags in the <head> when updating the DOM v2
2024-07-03 21:00:49 -04:00
Greg Johnston
9aca55f14f
remove log
2024-07-03 21:00:49 -04:00
Greg Johnston
f1a007bf15
preliminary work on directives (not useful yet until we have an ElementExt that allows you to do things declaratively from an Element
2024-07-03 21:00:49 -04:00
Greg Johnston
d83c2acded
omit () entirely if it is the only child of an HTML element
2024-07-03 21:00:49 -04:00
Greg Johnston
f984197070
fix: don't override a text node's 'next sibling after text' position if it's in Either, now that they don't have separate marker nodes
2024-07-03 21:00:49 -04:00
Greg Johnston
c8491cc709
fix: do not accidentally mount things before meta tags in the <head> when updating the DOM
2024-07-03 21:00:49 -04:00
Greg Johnston
222aed6d11
fix docs for hydrate_islands
2024-07-03 21:00:49 -04:00
Greg Johnston
7d37c60bae
hackernews islands example
2024-07-03 21:00:49 -04:00
Greg Johnston
fea3fdb387
update static file serving in Axum examples
2024-07-03 21:00:49 -04:00
Greg Johnston
d57f484502
fix islands ci setup
2024-07-03 21:00:49 -04:00
Greg Johnston
62bd6a244e
fix: remove extra comment at end of Suspense now that Either no longer requires it
2024-07-03 21:00:49 -04:00
Greg Johnston
fe147f0c4d
feat: provide static file handling/fallback directly in integration
2024-07-03 21:00:49 -04:00
Greg Johnston
3e0d4e4876
islands example
2024-07-03 21:00:49 -04:00
Greg Johnston
9eda75525a
remove unused tests and dependencies
2024-07-03 21:00:49 -04:00
Greg Johnston
de1864867b
fix: () in templates
2024-07-03 21:00:49 -04:00
Greg Johnston
116d8f072b
chore: clippy
2024-07-03 21:00:49 -04:00
Greg Johnston
6097e3cc57
fix js-framework-benchmark for stable
2024-07-03 21:00:49 -04:00
Greg Johnston
59c18d945a
update hackernews_axum to 0.7
2024-07-03 21:00:49 -04:00
Greg Johnston
0b750e17b5
fix ErrorBoundary starting in error state in CSR
2024-07-03 21:00:49 -04:00
Greg Johnston
dd6f1f4660
fix example tests
2024-07-03 21:00:49 -04:00
Greg Johnston
de07282b0a
remove unnecessary logs
2024-07-03 21:00:49 -04:00
Greg Johnston
f6046fa8a7
update islands example
2024-07-03 21:00:49 -04:00
Greg Johnston
d945e27d72
chore: unused hooks
2024-07-03 21:00:49 -04:00
Greg Johnston
74a2486944
regression test for 7094dee150
2024-07-03 21:00:49 -04:00
Greg Johnston
142a7d64f9
fix: signals mark subscribers dirty, but don't say they're always dirty if they haven't changed
2024-07-03 21:00:49 -04:00
Greg Johnston
f87ce51ff9
make Routes fallback run lazily
2024-07-03 21:00:49 -04:00
Greg Johnston
5f979635a3
make ErrorBoundary fallback run lazily
2024-07-03 21:00:49 -04:00
Greg Johnston
f648bc2e85
examples: errors_axum
2024-07-03 21:00:49 -04:00
Greg Johnston
bcc75d46c0
chore(ci): fix examples
2024-07-03 21:00:49 -04:00
Greg Johnston
2e0d70765b
enable reactive-graph hydration when hydration is enabled
2024-07-03 21:00:49 -04:00
Greg Johnston
24f6b6afb5
allow conversion directly from Arc signal types to MaybeSignal
2024-07-03 21:00:49 -04:00
Greg Johnston
ca0b2e6b4d
expose Owner::shared_context()
2024-07-03 21:00:49 -04:00
Greg Johnston
4eb8c2a5b1
0.7 Provider component
2024-07-03 21:00:49 -04:00
Greg Johnston
a18de6eb4f
fix tests
2024-07-03 21:00:49 -04:00
Greg Johnston
bf8844f040
fix reactive styles
2024-07-03 21:00:49 -04:00
Greg Johnston
da9553cc7a
fix: correctly rebuild reactive attributes to avoid stale signals
2024-07-03 21:00:49 -04:00
Greg Johnston
5e3d4ac37a
type-erase RenderEffeect functions for binary size improvements
2024-07-03 21:00:49 -04:00
luoxiaozero
4366bc156d
feat: Attr exposes PhantomData field ( #2641 )
2024-07-03 21:00:49 -04:00
Greg Johnston
23bbba0ef8
chore(ci): remove warnings in tests
2024-07-03 21:00:49 -04:00
Greg Johnston
35f86535d0
feat: 0.7 query signals
2024-07-03 21:00:49 -04:00
Greg Johnston
1ca8e082c3
chore(ci): add Makefiles for smaller packages
2024-07-03 21:00:49 -04:00
Greg Johnston
b20542e22d
chore(ci): only run semver checks if not labeled 'breaking'
2024-07-03 21:00:49 -04:00
Greg Johnston
abfff8f98d
chore: clippy
2024-07-03 21:00:49 -04:00
Greg Johnston
46c89a5862
rename from new_serde to new
2024-07-03 21:00:49 -04:00
Greg Johnston
32518e46df
remove most remaining marker/placeholder elements
2024-07-03 21:00:49 -04:00
Greg Johnston
639f801c79
add trait impls and encodings for SharedValue
2024-07-03 21:00:49 -04:00
Greg Johnston
924358d829
default to SerdeJson encoding for resources, use new_str() for Str encoding
2024-07-03 21:00:49 -04:00
Greg Johnston
91e7266103
feat: synchronous serialized values with SharedValue
2024-07-03 21:00:49 -04:00
Greg Johnston
347611ebec
whenever we create a new root Owner, set it as the current owner, which will make it the default owner (e.g., during SSR) instead of None
2024-07-03 21:00:49 -04:00
Greg Johnston
424c3a7209
fix: can't memoize JS properties, because they can be set between signal updates by user input
2024-07-03 21:00:49 -04:00
Greg Johnston
4c078e8eb0
fix: correctly escape style and class attributes
2024-07-03 21:00:49 -04:00
Greg Johnston
0ed1420076
chore: clippy
2024-07-03 21:00:49 -04:00
Greg Johnston
5221675946
don't require spawn_local for actios
2024-07-03 21:00:49 -04:00
Greg Johnston
50d4d08b9b
catch resource reads inside Signal during Suspense
2024-07-03 21:00:49 -04:00
Greg Johnston
b51215af8f
fix CSS file names
2024-07-03 21:00:49 -04:00
Greg Johnston
e37f3ee756
update todo app csr
2024-07-03 21:00:49 -04:00
Greg Johnston
9c949f6d9a
fix: correctly escape text nodes, except in script/style tags
2024-07-03 21:00:49 -04:00
Greg Johnston
59d3a9853f
chore: clean up examples for CI
2024-07-03 21:00:49 -04:00
Greg Johnston
4df0a6c7e9
fix: provide matched route via context when rebuilding (so <A> works)
2024-07-03 21:00:49 -04:00
Greg Johnston
4560f5e31c
unused
2024-07-03 21:00:49 -04:00
Greg Johnston
0887ada9a9
refactor insert_before_this to find parent lazily, and use it for rebuilding reactive components by replacing their whole contents
2024-07-03 21:00:49 -04:00
Greg Johnston
cddbd24eff
make sure SendWrapper supports Futures
2024-07-03 21:00:49 -04:00
Greg Johnston
19db6d9388
move several complex examples into projects
2024-07-03 21:00:49 -04:00
Greg Johnston
466cc39411
update js-framework-benchmark example
2024-07-03 21:00:48 -04:00
Greg Johnston
5b39f7d27f
fix test text
2024-07-03 21:00:48 -04:00
Greg Johnston
ab18371c32
fix: custom Stream implementation for streaming resource data that supports nested data/multiple polled values, rather than taking it all at once at the beginning
2024-07-03 21:00:48 -04:00
Greg Johnston
9d818d7796
suspense_tests: actually wait for other resource in nested case
2024-07-03 21:00:48 -04:00
Greg Johnston
5316066612
can save a lookup here
2024-07-03 21:00:48 -04:00
Greg Johnston
10af7b81cc
remove unused workspace member
2024-07-03 21:00:48 -04:00
Greg Johnston
51b261d202
update workflows
2024-07-03 21:00:48 -04:00
Greg Johnston
b5e0c2b150
remove unused leptos_reactive integration
2024-07-03 21:00:48 -04:00
Greg Johnston
e322fb1b33
remove old router files
2024-07-03 21:00:48 -04:00
Greg Johnston
24c7fd954e
fix Cargo.toml after merge
2024-07-03 21:00:42 -04:00
Greg Johnston
a303814d84
re-enable all routes
2024-07-03 21:00:42 -04:00
Greg Johnston
75d1b14e59
chore: clean up warnings and logging
2024-07-03 21:00:42 -04:00
Greg Johnston
3a7dbafda3
reverted Fn()/FnMut() change
2024-07-03 21:00:41 -04:00
Greg Johnston
3271bcda4e
Revert "fix: constrain reactive rendering to Fn(), because using dry_resolve() for Suspense requires idempotent render functions so that they can be called once (to register resources) and called a second time to resolve"
...
This reverts commit 7ec5c77ba3e8f45bae04a7661a56741f95125adb.
2024-07-03 21:00:41 -04:00
Greg Johnston
36e4eca909
progress on updating suspense tests
2024-07-03 21:00:41 -04:00
Greg Johnston
23d1579d23
add server redirects
2024-07-03 21:00:41 -04:00
Greg Johnston
474fba0ab5
fix: relative path resolution
2024-07-03 21:00:41 -04:00
Greg Johnston
8725a329d2
simplifying todo examples
2024-07-03 21:00:41 -04:00
Greg Johnston
ffa0883b48
initial work updating suspense tests
2024-07-03 21:00:41 -04:00
Greg Johnston
b6ed91b81b
clarify hydrate/csr warning
2024-07-03 21:00:41 -04:00
Greg Johnston
fdb298f254
export actions in prelude
2024-07-03 21:00:41 -04:00
Greg Johnston
93d0b3fa26
remove Into<_> by default for setting signals, because it interferes with type inference
2024-07-03 21:00:41 -04:00
Greg Johnston
ab57926d8f
add support for unsync actions
2024-07-03 21:00:41 -04:00
Greg Johnston
6eeb22f1f0
simplifying and updating server fns example
2024-07-03 21:00:41 -04:00
Greg Johnston
648d96f316
change name to shell
2024-07-03 21:00:41 -04:00
Greg Johnston
a60e5235d7
update control flow components to new Fn() constraint
2024-07-03 21:00:41 -04:00
Greg Johnston
76deab365e
fix: constrain reactive rendering to Fn(), because using dry_resolve() for Suspense requires idempotent render functions so that they can be called once (to register resources) and called a second time to resolve
2024-07-03 21:00:41 -04:00
Greg Johnston
b4948745c7
add Debug impl
2024-07-03 21:00:41 -04:00
Greg Johnston
059df60373
fix: actually concatenate nested routes during route generation
2024-07-03 21:00:41 -04:00
Greg Johnston
5f464298b3
reorganize Outlet export
2024-07-03 21:00:41 -04:00
Greg Johnston
9c304d8d75
examples: porting to 0.7 and cleaning up
2024-07-03 21:00:41 -04:00
Greg Johnston
ca909becc1
fix merge
2024-07-03 21:00:41 -04:00
Rakshith Ravi
f231503baf
Update import statements in examples ( #2625 )
2024-07-03 21:00:41 -04:00
Greg Johnston
d1d6238d9b
examples: use application 404 page
2024-07-03 21:00:41 -04:00
Greg Johnston
0543b05738
chore: cargo fmt
2024-07-03 21:00:41 -04:00
Greg Johnston
1a09f1f54a
chore: cargo fmt
2024-07-03 21:00:41 -04:00
Greg Johnston
3201cacca1
add warnings if correct features not set for browser
2024-07-03 21:00:41 -04:00
Greg Johnston
454d179cf9
use csr feature so that reactivity runs
2024-07-03 21:00:41 -04:00
Greg Johnston
8c73455eeb
chore: clippy
2024-07-03 21:00:41 -04:00
Greg Johnston
e8c5a69412
examples: fix input type so tests work, and update text to make the purpose clearer
2024-07-03 21:00:41 -04:00
Greg Johnston
6088da7342
remove leptos_reactive (moved into reactive_graph and leptos_server)
2024-07-03 21:00:41 -04:00
Greg Johnston
ea76a0f74e
fix: Clone for ArcResource and default to SerdeJson for Resource
2024-07-03 21:00:31 -04:00
Greg Johnston
5e43d37601
chore: clippy
2024-07-03 21:00:31 -04:00
Greg Johnston
d70ef1178e
fix: don't dispose of parent owners before Suspense children have been rendered
2024-07-03 21:00:31 -04:00
Greg Johnston
30556af5f6
warn if trying to use meta on server side without context
2024-07-03 21:00:31 -04:00
Greg Johnston
9255ad1840
only run RenderEffects when effects are enabled
2024-07-03 21:00:31 -04:00
Greg Johnston
e53d139fc1
add set_pending to <Transition/>
2024-07-03 21:00:31 -04:00
Greg Johnston
07f1eed36a
simplify FlatRoutes logic by using existing OwnedView infrastructure
2024-07-03 21:00:31 -04:00
Greg Johnston
02587781ac
reexport tick() for testing
2024-07-03 21:00:31 -04:00
Greg Johnston
d32d6d8fe8
fix: ensure that leptos_meta and leptos_router are in SSR mode if using one of the server integrations
2024-07-03 21:00:31 -04:00
Greg Johnston
c10a3d251d
examples: update hackernews for SSR support
2024-07-03 21:00:31 -04:00
Greg Johnston
8550b54be6
fix: correctly notify multiple subscribers to same AsyncDerived
2024-07-03 21:00:31 -04:00
Greg Johnston
becc1075ab
fix: Routes SSR
2024-07-03 21:00:31 -04:00
Greg Johnston
6b5467d451
fix: correct owner for HTML rendering in FlatRoutes
2024-07-03 21:00:31 -04:00
Greg Johnston
3375dbdcbc
testing: provide tick() that can be called anywhere in tests
2024-07-03 21:00:30 -04:00
Greg Johnston
4842ef28e0
testing: provide tick() that can be called anywhere in tests
2024-07-03 21:00:30 -04:00
Greg Johnston
8945fc8724
fix portal tests
2024-07-03 21:00:30 -04:00
Greg Johnston
bee37de5c9
fix cleanups in render effects
2024-07-03 21:00:30 -04:00
Greg Johnston
b192136a4b
chore: clippy
2024-07-03 21:00:30 -04:00
Greg Johnston
907b9df06e
update counters_isomorphic
2024-07-03 21:00:30 -04:00
Greg Johnston
b6a62ab4d9
reexport spawn and spawn_local
2024-07-03 21:00:30 -04:00
Greg Johnston
e36fce4351
ReadSignal from stream
2024-07-03 21:00:30 -04:00
Greg Johnston
76ec0b78c2
refactor to allow rendering Resource directly in view
2024-07-03 21:00:30 -04:00
Greg Johnston
bec33e255d
removed AnimatedShow example (duplicates the component docs)
2024-07-03 21:00:30 -04:00
Greg Johnston
cdcfcf6a0e
properly serialize errors
2024-07-03 21:00:30 -04:00
Greg Johnston
422de7c8af
chore: clear warning
2024-07-03 21:00:30 -04:00
Greg Johnston
662bd4fd78
pick up on server action error in both server and client
2024-07-03 21:00:30 -04:00
Greg Johnston
a4b4e2b3ac
fmt and chores in examples
2024-07-03 21:00:30 -04:00
Greg Johnston
4e84a78307
fix: serialize an empty string into HTML so it still works as a text node
2024-07-03 21:00:30 -04:00
Greg Johnston
012535a2d7
fix: make router fallback lazy
2024-07-03 21:00:30 -04:00
Greg Johnston
43c953c4b9
add expect_context
2024-07-03 21:00:30 -04:00
Greg Johnston
143973960c
fix attr:class when spreading onto a component
2024-07-03 21:00:30 -04:00
Greg Johnston
8a0f43affe
add ServerAction error handling for any error type ( closes #2325 )
2024-07-03 21:00:30 -04:00
Greg Johnston
b55a19a533
remove unused import
2024-07-03 21:00:30 -04:00
Greg Johnston
21cdadf461
clean up example
2024-07-03 21:00:30 -04:00
Greg Johnston
d95e59a685
add CollectView
2024-07-03 21:00:30 -04:00
Greg Johnston
28468a0bae
Actix todo_app_sqlite
2024-07-03 21:00:30 -04:00
Greg Johnston
b183bb981c
fix: don't drop Owner in FlatRoutes until route has been rendered (thanks @benwis)
2024-07-03 21:00:30 -04:00
Greg Johnston
ee5e4bc5c0
fix: make sure all resource reads are registered
2024-07-03 21:00:30 -04:00
Greg Johnston
581d5d0469
chore: clippy and unused dependencies in integrations
2024-07-03 21:00:30 -04:00
Greg Johnston
d2bb6d5062
add some tracing and debug info to HTML elements
2024-07-03 21:00:30 -04:00
Greg Johnston
8a419705d8
refactor integrations and add Actix integration
2024-07-03 21:00:30 -04:00
Greg Johnston
0a7b025534
feat: 0.7 nonce support
2024-07-03 20:59:48 -04:00
Greg Johnston
060338e643
ResponseOptions support
2024-07-03 20:59:48 -04:00
Greg Johnston
8dee986164
fix counters tests
2024-07-03 20:59:48 -04:00
Greg Johnston
05166d2cb7
allow .children() on HTML elements
2024-07-03 20:59:48 -04:00
Greg Johnston
40d8cfb04b
remove async demo
2024-07-03 20:59:48 -04:00
Greg Johnston
53fbe76761
fix: writing to lock that has a read
2024-07-03 20:59:48 -04:00
Greg Johnston
c3d8d1e828
allow untracking on write guards to support maybe_update
2024-07-03 20:59:48 -04:00
Greg Johnston
4636192fa3
feat: allow .write() on all writeable signals
2024-07-03 20:59:48 -04:00
Greg Johnston
02705dec31
feat: add .by_ref() to create a Future from an AsyncDerived (etc.) that takes a reference, rather than cloning
2024-07-03 20:59:48 -04:00
Greg Johnston
dc09faf7eb
use impl trait in props
2024-07-03 20:59:48 -04:00
Greg Johnston
402eb95221
update wasm-bindgen testing approaches
2024-07-03 20:59:48 -04:00
Greg Johnston
d92b430fbf
chore: clearing warnings in examples
2024-07-03 20:59:48 -04:00
Greg Johnston
030d06521e
additional warnings
2024-07-03 20:59:48 -04:00
Greg Johnston
c8f2ef375b
cargo fmt
2024-07-03 20:59:48 -04:00
Greg Johnston
8ed8b5605b
chore: clear up... a few warnings
2024-07-03 20:59:48 -04:00
Greg Johnston
7c526cfa52
update sledgehammer integration
2024-07-03 20:59:48 -04:00
Greg Johnston
5e20b8fcca
remove signal function setter Send-only implementation (dead code)
2024-07-03 20:59:48 -04:00
Greg Johnston
6b3ccdf2f4
remove signal function call Read implementations (dead code)
2024-07-03 20:59:48 -04:00
Greg Johnston
d7a321aa69
remove leptos_reactive dependency
2024-07-03 20:59:48 -04:00
Greg Johnston
abfa2d02fe
oco merge issues
2024-07-03 20:59:48 -04:00
Greg Johnston
7b8edda5ae
feat: return an async guard from .await rather than cloning the value every time
2024-07-03 20:59:48 -04:00
Greg Johnston
967bf2fdfc
fix return type in async tests
2024-07-03 20:59:48 -04:00
Greg Johnston
274ac2ba34
fix tests that run effects
2024-07-03 20:59:48 -04:00
Greg Johnston
3b10fb54c6
feat: return Option from AsyncDerived.get() instead of AsyncState
2024-07-03 20:59:48 -04:00
Greg Johnston
1274c0890e
example: restore ErrorBoundary
2024-07-03 20:59:48 -04:00
Greg Johnston
b05bbb5499
docs for Owner and context
2024-07-03 20:59:48 -04:00
Greg Johnston
77bce6d440
fix tests
2024-07-03 20:59:48 -04:00
Greg Johnston
4f01c4f61e
poll AsyncDerived synchronously so that it has the correct value during hydration if it reads from a resource
2024-07-03 20:59:48 -04:00
Greg Johnston
0812f8d850
correct dirty-checking on AsyncDerived
2024-07-03 20:59:48 -04:00
Greg Johnston
059968ca58
fix regular suspense if nothing was read synchronously
2024-07-03 20:59:48 -04:00
Greg Johnston
b67229ca78
missing dry_resolve on Static
2024-07-03 20:59:48 -04:00
Greg Johnston
d59f234d88
feat: support *either* .await or reactive reads inside Suspense
2024-07-03 20:59:48 -04:00
Greg Johnston
1e2815b0a0
feat: 0.7 slots
2024-07-03 20:59:48 -04:00
Greg Johnston
4ae8a6d54c
feat: enhanced spreading syntax
2024-07-03 20:59:48 -04:00
Greg Johnston
3c3e97e8b9
fix external navigations
2024-07-03 20:59:48 -04:00
Greg Johnston
83be4167d8
make WindowListenerHandle Send + Sync so it can be remove via on_cleanup
2024-07-03 20:59:48 -04:00
Greg Johnston
691b44baa1
restore ssr/hydration for Routes
2024-07-03 20:59:48 -04:00
Greg Johnston
c58f05e129
get nested Routes working again
2024-07-03 20:59:48 -04:00
Greg Johnston
ddfa4dd76f
default to Params::get() giving an owned value (which you want in a derived signal), but use reference in the macro
2024-07-03 20:59:48 -04:00
Greg Johnston
1dd8175aa4
add proper dirty checking on AsyncDerived so it can read from memos properly
2024-07-03 20:59:48 -04:00
Greg Johnston
18c5e4c804
make NavigateOptions pub
2024-07-03 20:59:48 -04:00
Greg Johnston
65a30910b1
feat: owning memo
2024-07-03 20:59:48 -04:00
Greg Johnston
f0b6995f50
remove warnings in tests and only run if effects are enabled
2024-07-03 20:59:48 -04:00
Greg Johnston
ffce98f928
fix: prevent memos that have changed from re-triggering the running effect, by setting the Observer during .update_if_necessary()
2024-07-03 20:59:48 -04:00
Greg Johnston
3b71be89ca
feat: add Popover API
2024-07-03 20:59:47 -04:00
Greg Johnston
941ea12420
fix Script children
2024-07-03 20:59:47 -04:00
Greg Johnston
e44504f8ba
fix hydration of Suspend by including the missing placeholder it expects during hydration
2024-07-03 20:59:47 -04:00
Greg Johnston
9924f8fef7
add missing marker comments for Result
2024-07-03 20:59:47 -04:00
Greg Johnston
cb2f66a955
include marker comments in html len
2024-07-03 20:59:47 -04:00
Greg Johnston
c43379cb68
unused owner
2024-07-03 20:59:47 -04:00
Greg Johnston
71e34935e5
impl From/Into for Signal/ArcSignal
2024-07-03 20:59:47 -04:00
Greg Johnston
ab9a1d8b0a
add ArcSignal::derive()
2024-07-03 20:59:47 -04:00
Greg Johnston
05db18e2b8
routing progress indicator
2024-07-03 20:59:47 -04:00
Greg Johnston
b530b46064
missing min attribute
2024-07-03 20:59:47 -04:00
Greg Johnston
ebeec2c3bd
clean up
2024-07-03 20:59:47 -04:00
Greg Johnston
a4304876bf
remove log
2024-07-03 20:59:47 -04:00
Greg Johnston
38ca7137e0
relax trait bounds on reactive types where possible
2024-07-03 20:59:47 -04:00
Greg Johnston
9b6108dae7
add SignalSetter
2024-07-03 20:59:47 -04:00
Greg Johnston
6092971f7c
use transition between navigations
2024-07-03 20:59:47 -04:00
Greg Johnston
80e5274a88
add async transitions that wait for any AsyncDerived created/triggered under them before resolving
2024-07-03 20:59:47 -04:00
Greg Johnston
0d705c3318
resolve() on OwnedView
2024-07-03 20:59:47 -04:00
Greg Johnston
1c3b157293
restore hydration feature for some of its feature-gating benefits for Resource deserialization
2024-07-03 20:59:47 -04:00
Greg Johnston
ff950daa6e
cargo fmt
2024-07-03 20:59:47 -04:00
Greg Johnston
af1cb9fca1
create separate URL/params signals for each route, to prevent updating them and running side effects while navigating away
2024-07-03 20:59:47 -04:00
Greg Johnston
d82e43f526
fmt
2024-07-03 20:59:47 -04:00
Greg Johnston
b95b8ea43d
distinguish between dirty and check in effects, so that memos and signals both work correctly
2024-07-03 20:59:47 -04:00
Greg Johnston
077dd85964
remove unused feature
2024-07-03 20:59:47 -04:00
Greg Johnston
f24af45e19
updated future impls
2024-07-03 20:59:47 -04:00
Greg Johnston
ce2390d6d0
check whether ArcAsyncDerived actually needs to run when marked check
2024-07-03 20:59:47 -04:00
Greg Johnston
a82a72400d
add ancestry debugging for owners
2024-07-03 20:59:47 -04:00
Greg Johnston
e37ca85bdd
lazy Future construction for AsyncDerived
2024-07-03 20:59:47 -04:00
Greg Johnston
de138b397c
support Resource in CSR for backward-compat
2024-07-03 20:59:47 -04:00
Greg Johnston
28ae64bc06
allow let: syntax to work
2024-07-03 20:59:47 -04:00
Greg Johnston
95b4cd3841
scope Suspense/Transition correctly within ownership tree
2024-07-03 20:59:47 -04:00
Greg Johnston
6f7522381c
upgrading hackernews example
2024-07-03 20:59:47 -04:00
Greg Johnston
d6997bddc5
immediately commit URL signal updates
2024-07-03 20:59:47 -04:00
Greg Johnston
7de95ff99f
reexport A from router::components
2024-07-03 20:59:47 -04:00
Greg Johnston
fa28d56928
add IntoAny to tachys prelude
2024-07-03 20:59:47 -04:00
Greg Johnston
3f2cdf77a3
finish support for innerHTML
2024-07-03 20:59:47 -04:00
Greg Johnston
f8500f416f
feat: iterating over items in children with ChildrenFragment, ChildrenFragmentFn, ChildrenFragmentMut
2024-07-03 20:59:47 -04:00
Greg Johnston
2f81a81c06
only warn about non-reactive accesses if effects are enabled
2024-07-03 20:59:47 -04:00
Greg Johnston
ffb8e8bea3
only run effects on client
2024-07-03 20:59:47 -04:00
Greg Johnston
6f158a8974
resolve() implementation for AnyView
2024-07-03 20:59:47 -04:00
Greg Johnston
2cc1ec9b3c
fix deadlock on nested Signals
2024-07-03 20:59:47 -04:00
Greg Johnston
dbed68e5ba
fix FlatRouter SSR/hydration after lazy routes
2024-07-03 20:59:47 -04:00
Greg Johnston
1a1d2e1c07
feat: nested islands with context for 0.7
2024-07-03 20:59:47 -04:00
Greg Johnston
b3871dea75
fix: correct Send + Sync bounds for children
2024-07-03 20:59:47 -04:00
Greg Johnston
eba4711fa7
feat: minimal island support in 0.7
2024-07-03 20:59:47 -04:00
Greg Johnston
e8273348db
docs: full docs and doctests for Action/MultiAction
2024-07-03 20:59:47 -04:00
Greg Johnston
af051aa72a
remove support for rendering guards directly, as they are !Send and holding onto them in State is also a bad idea
2024-07-03 20:59:47 -04:00
Greg Johnston
e9ec7412fa
support nightly static values for style:key="value"
2024-07-03 20:59:47 -04:00
Greg Johnston
e5757c56b7
revert to using .get() for function calls
2024-07-03 20:59:47 -04:00
Greg Johnston
031d78cd5a
fix: only rerun effects if they have dirty ancestors (or it's the first run)
2024-07-03 20:59:47 -04:00
Greg Johnston
a0ba356cc1
start working on porting over docs and tests and 0.7...
2024-07-03 20:59:47 -04:00
Greg Johnston
adf6a8e368
fix meta issue with attributes
2024-07-03 20:59:47 -04:00
Greg Johnston
6eed4e8253
fix tracing issue
2024-07-03 20:59:47 -04:00
Greg Johnston
88d311a0c5
chore: get tests in a working state
2024-07-03 20:59:47 -04:00
Greg Johnston
0d7db85e9e
fix: make Selector Send/Sync
2024-07-03 20:59:47 -04:00
Greg Johnston
2f77fb1892
docs: runtime warning if you use .track() outside a tracking context
2024-07-03 20:59:47 -04:00
Greg Johnston
a66662397c
preliminary tracing for tachys
2024-07-03 20:59:47 -04:00
Greg Johnston
105e2c7686
chore: warnings
2024-07-03 20:59:47 -04:00
Greg Johnston
324bebcf50
examples: router in 0.7
2024-07-03 20:59:47 -04:00
Greg Johnston
e553ad3a68
fix: passing context through router
2024-07-03 20:59:47 -04:00
Greg Johnston
b7ecac308f
chore: fix warnings about variable case
2024-07-03 20:59:47 -04:00
Greg Johnston
79ebd416a3
examples: timer in 0.7
2024-07-03 20:59:47 -04:00
Greg Johnston
4e2b9b1878
feat: Portals in 0.7
2024-07-03 20:59:47 -04:00
Greg Johnston
c1a6f2f479
allow either eager or lazy routes
2024-07-03 20:59:47 -04:00
Greg Johnston
fb855cb07f
update StoredValue API in callbacks
2024-07-03 20:59:47 -04:00
Greg Johnston
1850231c92
chore: clippy warnings
2024-07-03 20:59:47 -04:00
Greg Johnston
55c7b84a00
smooth out StoredValue APIs
2024-07-03 20:59:47 -04:00
Greg Johnston
4e2646513f
MaybeSignal and MaybeProp
2024-07-03 20:59:47 -04:00
Marc-Stefan Cassola
9a75edd34c
added a few old deprecated functions to help users port ( #2580 )
2024-07-03 20:59:47 -04:00
Greg Johnston
81afa8d0c8
implement With(Untracked) for Signal
2024-07-03 20:59:47 -04:00
Greg Johnston
d3919d3568
don't over-rerender nested router
2024-07-03 20:59:47 -04:00
Greg Johnston
5b23fddd02
initial async routing work (to support bundle splitting)
2024-07-03 20:59:47 -04:00
Greg Johnston
8de1f86db3
noop attribute 'spreading' for routers
2024-07-03 20:59:46 -04:00
Greg Johnston
97901bfedb
support arbitrary attributes on components in view
2024-07-03 20:59:46 -04:00
Greg Johnston
f6eb7fa8b6
full attribute spreading
2024-07-03 20:59:46 -04:00
Greg Johnston
36ccc3d834
update counter_without_macros imports
2024-07-03 20:59:46 -04:00
Greg Johnston
82ba7195c8
stashing
2024-07-03 20:59:46 -04:00
Greg Johnston
5f7cdb1091
give a route to upgrade any attribute into a cloneable one
2024-07-03 20:59:46 -04:00
Greg Johnston
e3a0f59f4a
work on attribute spreading
2024-07-03 20:59:46 -04:00
Greg Johnston
b77e127588
disable AddAnyAttr again now that I remember why it was broken
2024-07-03 20:59:46 -04:00
Greg Johnston
c0d51ede3d
reenable AnyAttr
2024-07-03 20:59:46 -04:00
Greg Johnston
49b2b5047e
reorganizing exports and updating examples
2024-07-03 20:59:46 -04:00
Greg Johnston
058d357e59
prep for preview release
2024-07-03 20:59:46 -04:00
Greg Johnston
6b0a47ae8a
fix reorganized exports
2024-07-03 20:59:46 -04:00
Greg Johnston
49de4bc671
prep for preview release
2024-07-03 20:59:46 -04:00
Greg Johnston
2033ce251e
prep for preview release
2024-07-03 20:59:46 -04:00
Greg Johnston
c37a4e02a6
prep for preview release
2024-07-03 20:59:46 -04:00
Greg Johnston
39357bf9a7
module restructuring for 0.7
2024-07-03 20:59:46 -04:00
Greg Johnston
5ead1ec3df
let ErrorBoundary own the fallback
2024-07-03 20:59:46 -04:00
Greg Johnston
1826586d03
make Suspend a transparent wrapper
2024-07-03 20:59:46 -04:00
Greg Johnston
ad29695eac
provide params properly in FlatRouter
2024-07-03 20:59:46 -04:00
Greg Johnston
76a12a9bf4
clear some warnings
2024-07-03 20:59:46 -04:00
Greg Johnston
8ce815f210
rename TupleBuilder to NextTuple and prep for release
2024-07-03 20:59:46 -04:00
Greg Johnston
e9a05f095e
prep for preview release
2024-07-03 20:59:46 -04:00
Greg Johnston
c114df5ebb
prep for preview release
2024-07-03 20:59:46 -04:00
Greg Johnston
17977d8fb7
prep for preview release
2024-07-03 20:59:46 -04:00
Greg Johnston
455cbc07a6
prep for preview release
2024-07-03 20:59:46 -04:00
Greg Johnston
272b6da00c
rename any_error
2024-07-03 20:59:46 -04:00
Greg Johnston
09cc5df975
prep for preview release
2024-07-03 20:59:46 -04:00
Greg Johnston
106aaaf412
remove twiggy file
2024-07-03 20:59:46 -04:00
Greg Johnston
521172ef5f
move router crates
2024-07-03 20:59:46 -04:00
Greg Johnston
51d0ed4735
comparison demo
2024-07-03 20:59:33 -04:00
Greg Johnston
05bd7a6276
SSR optimizations for binary size, and flat router
2024-07-03 20:59:33 -04:00
Greg Johnston
7f911ac26a
work on Axum integration and on error boundaries
2024-07-03 20:57:51 -04:00
Greg Johnston
3d0810bb5e
stash
2024-07-03 20:57:51 -04:00
Greg Johnston
49f1fce64d
feat: add <A>
2024-07-03 20:57:51 -04:00
Greg Johnston
86377d208d
add use_navigate and Redirect
2024-07-03 20:57:51 -04:00
Greg Johnston
d07bcb1bb4
preliminary use_navigate work
2024-07-03 20:57:51 -04:00
Greg Johnston
9389195e6b
fix fallback => match update
2024-07-03 20:57:51 -04:00
Greg Johnston
b98ba8e2fa
add more hooks and primitives to router
2024-07-03 20:57:51 -04:00
Greg Johnston
005766495c
nested route CSR working
2024-07-03 20:57:51 -04:00
Greg Johnston
1cb9a82239
continuing on nested routes
2024-07-03 20:57:51 -04:00
Greg Johnston
fcdc5f8b9e
continuing on nested routes
2024-07-03 20:57:51 -04:00
Greg Johnston
aa624fccc7
working on reconfiguring nested routing
2024-07-03 20:57:51 -04:00
Greg Johnston
d742179c2f
make placeholder-finding code consistent across container types
2024-07-03 20:57:51 -04:00
Greg Johnston
470f7f15fe
remove logs
2024-07-03 20:57:51 -04:00
Greg Johnston
4f45b1032e
fix Transition hydration
2024-07-03 20:57:51 -04:00
Greg Johnston
5f3623574d
remove TryCatch/fallible rendering in favor of better ErrorBoundary model
2024-07-03 20:57:51 -04:00
Greg Johnston
fbde9eaefa
finish todo_app_sqlite_axum
2024-07-03 20:57:51 -04:00
Greg Johnston
83067627db
fix Vec hydration
2024-07-03 20:57:51 -04:00
Greg Johnston
53d51e03ff
add MultiActionForm
2024-07-03 20:57:51 -04:00
Greg Johnston
0205d715c2
add MultiAction/ServerMultiAction
2024-07-03 20:57:51 -04:00
Greg Johnston
05b7e83778
stash
2024-07-03 20:57:51 -04:00
Greg Johnston
4d0339ee05
ErrorBoundary SSR and serialization of errors to support hydration
2024-07-03 20:57:51 -04:00
Greg Johnston
fba207df08
get types working with nested ErrorBoundary/Suspense
2024-07-03 20:57:51 -04:00
Greg Johnston
a16367215c
probably as far as I can go with the current SuspenseBoundary approach
2024-07-03 20:57:51 -04:00
Greg Johnston
376b90d60b
fix static types
2024-07-03 20:57:51 -04:00
Greg Johnston
20b0894b9f
fix cancellation logic for server fn requests
2024-07-03 20:57:51 -04:00
Greg Johnston
c197131b6b
only subscribe to memo manually if already loaded
2024-07-03 20:57:51 -04:00
Greg Johnston
1ea18bb3eb
Suspense SSR
2024-07-03 20:57:51 -04:00
Greg Johnston
62decfde51
updates toward todo_app_sqlite
2024-07-03 20:57:51 -04:00
Greg Johnston
8f3ecd84b2
fix stable examples
2024-07-03 20:57:51 -04:00
Greg Johnston
6b1f6563d2
implement rendering traits for signals directly on stable
2024-07-03 20:57:51 -04:00
Greg Johnston
b5bfa41400
suspend!() macro
2024-07-03 20:57:51 -04:00
Greg Johnston
018f347673
add Transition
2024-07-03 20:57:51 -04:00
Greg Johnston
ab35ea7d21
loosen requirements for Show
2024-07-03 20:57:51 -04:00
Greg Johnston
cb0a0292d5
working on examples
2024-07-03 20:57:51 -04:00
Greg Johnston
351e42e885
finish TodoMVC example
2024-07-03 20:57:51 -04:00
Greg Johnston
3a89396ccc
simplify Suspense: this should still work with hydration
2024-07-03 20:57:51 -04:00
Greg Johnston
32183692c0
working model for Suspense with new version
2024-07-03 20:57:51 -04:00
Greg Johnston
4cf95432b7
probably as far as I can go with the current SuspenseBoundary approach
2024-07-03 20:57:51 -04:00
Greg Johnston
b24e52773f
fix ErrorBoundary/Suspense
2024-07-03 20:57:51 -04:00
Greg Johnston
3bcf7c7355
feat: ErrorBoundary and Suspense
2024-07-03 20:57:51 -04:00
Greg Johnston
be971d018a
feat: ErrorBoundary
2024-07-03 20:57:51 -04:00
Greg Johnston
1f391d08c0
fix Cargo.toml merge issues
2024-07-03 20:57:51 -04:00
Greg Johnston
8682487650
working on examples
2024-07-03 20:57:50 -04:00
Greg Johnston
3c062e5b3e
styling with CSS
2024-07-03 20:57:50 -04:00
Greg Johnston
6117cfa849
example with isomorphic GTK/web design system
2024-07-03 20:57:50 -04:00
Greg Johnston
7344618160
gtk example
2024-07-03 20:57:50 -04:00
Greg Johnston
83696c14da
ErrorBoundary component
2024-07-03 20:57:50 -04:00
Greg Johnston
eacaaaec90
Suspense/Transition components
2024-07-03 20:57:50 -04:00
Greg Johnston
c51e8f3569
GTK example for 0.7
2024-07-03 20:57:50 -04:00
Greg Johnston
64fc1b8bd1
add serde-wasm-bindgen encoding for resources
2024-07-03 20:57:50 -04:00
Greg Johnston
1b4ae08943
add typed children
2024-07-03 20:57:50 -04:00
Greg Johnston
eff6aa2459
scope Arena to each request
2024-07-03 20:57:50 -04:00
Greg Johnston
8e6c2e50b4
correctly omit HTML-generating code from AnyView
2024-07-03 20:57:50 -04:00
Greg Johnston
dd9aa9e4cd
experimental sledgehammer Renderer backend
2024-07-03 20:57:50 -04:00
Greg Johnston
47e11acf80
fix async context issues, add flat routing
2024-07-03 20:57:50 -04:00
Greg Johnston
3bed48abaa
test more dynamic string length work
2024-07-03 20:57:50 -04:00
Greg Johnston
a72221de2a
attribute value escaping
2024-07-03 20:57:50 -04:00
Greg Johnston
0243a705fa
work related to 0.7 blog port
2024-07-03 20:57:50 -04:00
Greg Johnston
abaab492c0
work related to 0.7 blog port
2024-07-03 20:57:22 -04:00
Greg Johnston
935bdd2d61
completing work on meta
2024-07-03 20:57:09 -04:00
Greg Johnston
c5679b9a2a
completing work on meta
2024-07-03 20:57:09 -04:00
Greg Johnston
d2ef1c833e
initial work on meta
2024-07-03 20:57:09 -04:00
Greg Johnston
e357ca5d02
initial work on meta
2024-07-03 20:57:09 -04:00
Greg Johnston
e913ad7439
stash
2024-07-03 20:56:37 -04:00
Greg Johnston
6b57437514
fix nested route rebuilding
2024-07-03 20:56:37 -04:00
Greg Johnston
19c965bb35
navigation between nested routes
2024-07-03 20:56:37 -04:00
Greg Johnston
657d0057f2
initial stage for working nested route rendering
2024-07-03 20:56:37 -04:00
Greg Johnston
45f5a4ea39
stash
2024-07-03 20:56:37 -04:00
Greg Johnston
feeab73833
stash
2024-07-03 20:56:37 -04:00
Greg Johnston
10c142a655
get basic routing working
2024-07-03 20:56:37 -04:00
Greg Johnston
d97e72d2f4
stash
2024-07-03 20:56:37 -04:00
Greg Johnston
3952fa4952
reorganize
2024-07-03 20:56:37 -04:00
Greg Johnston
87772466d1
working on nesting routing
2024-07-03 20:56:37 -04:00
Greg Johnston
8479fddf92
reorganize
2024-07-03 20:56:37 -04:00
Greg Johnston
8b738d3a2a
stash
2024-07-03 20:56:37 -04:00
Greg Johnston
df7f83165b
abstract interface to walk nested routes and to access views
2024-07-03 20:56:37 -04:00
Greg Johnston
f54b4f3d1e
reorganize and clean up
2024-07-03 20:56:37 -04:00
Greg Johnston
21a8bd31c7
nested route matching
2024-07-03 20:56:37 -04:00
Greg Johnston
02e9e48d89
stash
2024-07-03 20:56:37 -04:00
Greg Johnston
e0a1b7a813
stash
2024-07-03 20:56:37 -04:00
Greg Johnston
748c600e59
work on routing utils
2024-07-03 20:56:37 -04:00
Greg Johnston
26cacbd379
nested route matching working
2024-07-03 20:56:37 -04:00
Greg Johnston
36df86b3b7
stash
2024-07-03 20:56:37 -04:00
Greg Johnston
57fd178afb
use either_of crate
2024-07-03 20:56:37 -04:00
Greg Johnston
ce559e1e22
nested routes take 1
2024-07-03 20:56:37 -04:00
Greg Johnston
ff51f064d4
split EitherOfX into its own crate
2024-07-03 20:56:37 -04:00
Greg Johnston
3379462633
work on routing
2024-07-03 20:56:37 -04:00
Greg Johnston
3e3359bea1
work on routing
2024-07-03 20:56:37 -04:00
Greg Johnston
0702b02011
set up routing
2024-07-03 20:56:37 -04:00
Greg Johnston
5af8ca4202
clear warning
2024-07-03 20:56:37 -04:00
Greg Johnston
17e822c14b
chore: clear warnings
2024-07-03 20:56:37 -04:00
Greg Johnston
3db9e627db
pass on: to components (and lay basis for passing all other attributes)
2024-07-03 20:56:37 -04:00
Greg Johnston
1cb0c6c5c8
working on AddAttr
2024-07-03 20:56:37 -04:00
Greg Johnston
de81d9d92f
remove boilerplate: require that Node, Element, etc. types always be Clone + 'static
2024-07-03 20:56:37 -04:00
Greg Johnston
6a107cfa23
parent_child example
2024-07-03 20:56:37 -04:00
Greg Johnston
93d00ae968
use AnyError for all try_ rendering errors, so that they can compose
2024-07-03 20:56:37 -04:00
Greg Johnston
cd322144f7
support for guards with class: syntax
2024-07-03 20:56:37 -04:00
Greg Johnston
d89025e347
add Borrow implementation to make it easier to abstract over T and Guard<T>
2024-07-03 20:56:37 -04:00
Greg Johnston
ebc7bcd469
finish error boundary (fix last state transition issue)
2024-07-03 20:56:37 -04:00
Greg Johnston
597dc6c625
progress on error boundary that works with nested reactivity
2024-07-03 20:56:37 -04:00
Greg Johnston
45daa770fe
progress on error boundary that works with nested reactivity
2024-07-03 20:56:37 -04:00
Greg Johnston
16b282da9e
error example
2024-07-03 20:56:37 -04:00
Greg Johnston
dccf5a010d
enable event delegation
2024-07-03 20:56:37 -04:00
Greg Johnston
5cdfdf52bd
fix release build
2024-07-03 20:56:37 -04:00
Greg Johnston
9fc3b8b52b
update TODO.md
2024-07-03 20:56:37 -04:00
Greg Johnston
d4555671e1
store effects in reactive system
2024-07-03 20:56:37 -04:00
Greg Johnston
c83a3b537c
todomvc example
2024-07-03 20:56:37 -04:00
Greg Johnston
d09d6acbf1
work on async demo
2024-07-03 20:56:37 -04:00
Greg Johnston
9d93c451a6
clone values for Futures
2024-07-03 20:56:36 -04:00
Greg Johnston
ca298ea3d8
make guard types more nestable/flexible so that we can implement render traits on any of them
2024-07-03 20:56:36 -04:00
Greg Johnston
0339392658
work on async demo
2024-07-03 20:56:36 -04:00
Greg Johnston
ae36060ebe
work on async demo
2024-07-03 20:56:36 -04:00
Greg Johnston
46a839bf43
feat: create generic any_spawner crate to share between reactive system and renderer
2024-07-03 20:56:36 -04:00
Greg Johnston
c274518c18
add other methods on Stored
2024-07-03 20:56:36 -04:00
Greg Johnston
b204f569eb
work on async demo
2024-07-03 20:56:36 -04:00
Greg Johnston
a3286fd9b6
stash: working on jsfb
2024-07-03 20:56:36 -04:00
Greg Johnston
9fd5a646f1
chore: remove unnecessary log
2024-07-03 20:56:36 -04:00
Greg Johnston
65b2042682
fix: correct owner for rows of For, correct cleanup of arenas
2024-07-03 20:56:36 -04:00
Greg Johnston
c57347edd7
fix: close memory leak in tasks waiting on channels
2024-07-03 20:56:36 -04:00
Greg Johnston
8f7db58b7c
feat: typed event targets
2024-07-03 20:56:36 -04:00
Greg Johnston
bae1312f06
working on examples
2024-07-03 20:56:36 -04:00
Greg Johnston
5e9a69a9ca
begin migrating to leptos and leptos_dom packages
2024-07-03 20:56:36 -04:00
Greg Johnston
bcfe54b1ca
stash
2024-07-03 20:55:53 -04:00
Greg Johnston
2a2a3d1461
stash
2024-07-03 20:55:53 -04:00
Greg Johnston
b70c4da854
chore: remove leptos_reactive and add reactive_graph
2024-07-03 20:55:53 -04:00
Greg Johnston
0436a82c65
feat: improved ergonomics of read guards
2024-07-03 20:55:53 -04:00
Greg Johnston
6260ca49b0
feat: add Readable implementation for all types
2024-07-03 20:55:52 -04:00
Greg Johnston
d045ad335d
feat: add no_std support in appropriate crates
2024-07-03 20:55:52 -04:00
Greg Johnston
3bb34b2358
feat: tachys
2024-07-03 20:55:52 -04:00
Greg Johnston
27b2eca74c
feat: add Fn traits
2024-07-03 20:55:52 -04:00
Greg Johnston
1a525fe9e7
docs: note re: execution order (see #2261 and #2262 )
2024-07-03 20:55:52 -04:00
Greg Johnston
6f24d29bcf
feat: modular SharedContext for hydration
2024-07-03 20:55:52 -04:00
Greg Johnston
d2f88f004d
chore: split OrPoisoned trait into its own crate for reuse
2024-07-03 20:55:52 -04:00
Greg Johnston
33f0720be1
feat: modular, trait-based, Send/Sync reactive system
2024-07-03 20:55:52 -04:00
Oleg Shatov
b3db094618
chore: remove cfg-related warnings ( #2654 )
2024-07-03 06:49:32 -04:00
Oleg Shatov
0c817d51fe
fix: accurately update number of pending action dispatches ( closes #2652 ) ( #2653 )
2024-07-03 06:48:02 -04:00
Chris
fb5d8513ff
docs: generate link to definition ( #2656 )
2024-07-03 06:46:02 -04:00
David Karrick
c53fc67d38
feat: Add Compression to Hacker News w/ Islands Example ( #2613 )
...
* Add task for cargo leptos w/ precompression
* Update makefile
* Update deps
* Serve precompressed assets
Code was taken from https://github.com/leptos-rs/cargo-leptos/pull/165#issuecomment-1647843037
Co-authored-by: Sebastian Dobe <sebastiandobe@mailbox.org >
* Dynamically compress html
* Update README
* Refactor: Format for ci
* Refactor: Replace use of format!
* Chore: Remove old build file
* Feat: Hash files
This will prevent users from using an old cached file after updates are made
* Fix: Prevent chicken & egg problem with target/site
* Refactor: Use normal cargo-leptos
---------
Co-authored-by: Sebastian Dobe <sebastiandobe@mailbox.org >
2024-06-28 15:01:05 -04:00
Greg Johnston
ff0c8252b0
fix: do not unescape / and other route characters when following a link ( #2651 )
2024-06-28 14:29:05 -04:00
Evan Almloff
551f9b0a04
feat: add a StreamingJson encoding ( #2623 )
2024-06-28 11:49:26 -04:00
Greg Johnston
44cd3272f9
Merge pull request #2639 from Giovanni-Tably/dispose-fix
...
fix: ensure everything is disposed of consistently
2024-06-28 11:30:31 -04:00
Vasily Zorin
73a9797ef9
book_ru: SUMMARY.md ( #2648 )
...
* book_ru: SUMMARY.md
* book_ru: SUMMARY.md
* book_ru: SUMMARY.md
2024-06-27 06:46:36 -07:00
Spencer Ferris
57a00a33a3
docs: Add docs for ToChildren ( #2643 )
...
* docs: Add docs for `ToChildren`
As discussed in https://github.com/leptos-rs/leptos/discussions/2640 ,
the `ToChildren` trait is useful to consumers who want to use the
builder syntax. However, because it is currently annotated with
`#[docs(hidden)]`, it's not visible in docs and also not included in
Jetbrains's auto-complete.
Add a doc comment for the `ToChildren` trait, including doc tests that
demonstrate how to use the trait and how it compares to directly
creating children.
* docs: Fix incorrect examples in `ToChildren` docs
Some examples were added to `ToChildren` that don't compile. This
wasn't caught earlier because no errors were seen in the IDE when
writing the examples. The issue was correctly caught by CI, however.
2024-06-26 14:57:40 -07:00
Adrian
5f445cdfbf
Translating titles of sections in SUMMARY ( #2542 )
2024-06-26 14:56:59 -07:00
Hamir Mahal
c9d0ef5033
chore: simplify string interpolation ( #2626 )
2024-06-21 07:51:38 -04:00
Giovanni
af85623a22
test: add regression tests
2024-06-20 19:37:08 +01:00
Giovanni
40ecc2bd78
fix: dispose of watch effect normally
2024-06-20 15:36:03 +01:00
Giovanni
41a18a1218
fix: clean up recursively in dispose_node
2024-06-20 15:26:55 +01:00
Giovanni
739d1b2e3e
refactor: split a couple of functions
2024-06-20 15:26:37 +01:00
Giovanni
9e6996a59f
fix: untrack around all on_cleanups
2024-06-20 15:26:37 +01:00
Giovanni
cca3f1f42d
refactor: rename cleanup_property -> dispose_property
...
The property and its node are removed entirely, so it's more aligned with `dispose_node` than `cleanup_node`.
2024-06-20 15:26:37 +01:00
Greg Johnston
80bbb20089
Merge pull request #2631 from leptos-rs/2610
...
fix `rkyv` feature interaction with Axum integration
2024-06-14 15:10:26 -04:00
Greg Johnston
33e7ed83cc
fix: specify correct serialization trait in server fn handler ( closes #2610 )
2024-06-14 14:20:50 -04:00
Greg Johnston
dcaa1df63d
fix: derive rkyv traits on ServerFnError
2024-06-14 14:19:54 -04:00
Oto Petřík
8606f3d928
fix: try_with should not panic on disposed resources ( closes #2620 ) ( #2621 )
2024-06-12 20:19:44 -04:00
Thomas Versteeg
32e6ac7bb7
docs: remove duplicated code block in example of For ( #2622 )
2024-06-12 20:11:57 -04:00
ARSON
b22f3bb3bd
fix: extract dyn_bindings impl into DynBindings trait ( #2619 )
2024-06-12 09:07:56 -04:00
Greg Johnston
00a42daa63
Merge pull request #2611 from leptos-rs/failing-ci
...
Fix failing CI
2024-06-02 15:39:58 -04:00
Greg Johnston
ec19c59850
chore: update hackernews_js_fetch example to latest versions of leptos and axum
2024-06-02 15:39:01 -04:00
Greg Johnston
b06097d085
chore(ci): fix wasm-pack installation
2024-06-02 15:38:22 -04:00
Greg Johnston
a59561f796
chore: clippy
2024-06-02 15:37:54 -04:00
Greg Johnston
96b448805d
v0.6.12
2024-06-02 14:08:08 -04:00
Luxalpa
2ef27cb0bb
fix: URL encoding issue ( closes #2602 ) ( #2601 )
2024-06-02 14:06:41 -04:00
SleeplessOne1917
21a6551ce6
feat: allow slice! macro to index tuples ( #2598 )
...
* Allow slice! macro to index tuples
* Undo changes to component tests
---------
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2024-05-29 09:07:41 -04:00
Mingwei Samuel
2f4fd87c05
feat: #[component] now handles impl Trait by converting to generic type params, fix #2274 ( #2599 )
...
Book needs to be updated to remove this line:
35c380ffc8/src/view/03_components.md (L233)
2024-05-29 09:06:52 -04:00
Hecatron
13ad1b235d
projects: example using the bevy 3d game engine and leptos ( #2577 )
...
* feat: Added example using the bevy 3d game engine and leptos
* fix: moved example to projects
* workspace fix
2024-05-27 15:55:27 -04:00
David Pitoniak
a2c7e23d54
docs: grammar typo for MultiActon doc comment ( #2589 )
2024-05-11 15:05:35 -04:00
Greg Johnston
9e65f71db4
fix: only issue NodeRef warning in debug mode (necessary to compile in --release) ( #2587 )
2024-05-11 15:05:17 -04:00
Luxalpa
7f4a2926c1
fix: StoredValue and Resource borrowMut error during dispose ( #2583 )
2024-05-11 15:04:57 -04:00
Hecatron
7c5203db19
examples: counter with DWARF debugging (breakpoints and sourcemap) ( #2563 )
...
* feat: Added initial dwarf debug counter example
* fix: update to readme and launch.json, task.json
* fix: fix tasks.json for debugging
* fix: added Trunk.toml to fix the port
* fix: moved example to projects
2024-05-11 15:02:33 -04:00
Greg Johnston
3760ced0ec
fix: allow temporaries as props ( closes #2541 ) ( #2582 )
2024-05-08 19:35:57 -04:00
Greg Johnston
f3f3a053ba
fix: don't insert empty child for comment/doctype ( closes #2549 ) ( #2581 )
2024-05-08 07:19:57 -04:00
Antoine Büsch
6a8e4bb453
Fix empty_docs warnings in #[component] macro ( #2574 )
2024-05-06 22:09:19 -04:00
Luxalpa
20f4323e50
feat: allow customize derives for serverfn input struct ( #2545 )
2024-05-06 08:54:29 -04:00
martin frances
47bcee0ef4
docs: improve NodeRef warning ( #2414 ) ( #2467 )
2024-05-06 08:51:32 -04:00
SleeplessOne1917
ac3b95d35a
examples: use trunk's built-in way of handling tailwind ( #2557 )
...
* Use trunk built-in way of handling tailwind
* Remove package manager from package.json
2024-05-06 08:49:07 -04:00
Greg Johnston
a314a4fcd9
docs: clarify the purpose of local resources ( #2543 )
2024-05-06 08:48:29 -04:00
Sam Judelson
b2a77f06b9
projects: OpenAPI Utopia ( #2556 )
2024-05-06 08:48:09 -04:00
Sam Judelson
9741c41356
projects: added an index to projects README ( #2555 )
...
The Index gives a high level overview of the projects
2024-05-06 08:47:13 -04:00
Joey McKenzie
4e4a770600
projects: add sitemap demo project ( #2553 )
2024-05-06 08:46:49 -04:00
martin frances
289c02fdac
Minor: examples/server_fns_axum FileWatcher logs errors to the console. ( #2547 )
...
* Minor: examples/server_fns_axum FileWatcher logs errors to the console.
The cause is an assumption that the directory
./watched_files/
exits.
* chore: Now using .gitkeep to preserve directory structure.
2024-05-06 08:45:27 -04:00
itowlson
123d95c34c
Update leptos-spin-macro reference ( #2570 )
...
Signed-off-by: itowlson <ivan.towlson@fermyon.com >
2024-05-02 15:25:22 -07:00
Greg Johnston
da9711a743
docs: add caveats for ProtectedRoute ( #2558 )
2024-05-01 07:06:54 -04:00
Greg Johnston
9353316947
chore: create README for projects directory
2024-04-19 10:39:58 -04:00
Sam Judelson
2960dada4a
docs: add projects directory with 4 projects ( #2500 )
2024-04-17 19:30:31 -04:00
kryesh
c1ebaf9d04
feat: add create_query_signal_with_options to leptos_router ( #2517 )
2024-04-17 19:23:33 -04:00
bicarlsen
9a7dbd50eb
feat: ability to use multiple classes in view macro using array syntax. ( #2532 )
2024-04-17 19:04:33 -04:00
Ethan Niser
410225c4d1
docs: remove unnecessary type parameter and trait bound in component macro 'bad' example ( #2520 )
2024-04-17 18:53:18 -04:00
ARSON
8b1c0a7013
feat: spread component attrs ( #2534 )
...
* add `dyn_bindings` builder method to component
* Revert "add `dyn_bindings` builder method to component"
This reverts commit cdd5e0f682 .
* add `dyn_bindings` builder method to component
2024-04-17 14:05:00 -07:00
0e4ef622
6e819737cd
fix: make TextProp's IntoView and IntoAttribute impls reactive ( #2518 )
2024-04-17 14:02:52 -07:00
Adrian
c4560b7e76
Adding Russian book branch ( #2516 )
2024-04-17 13:22:32 -07:00
Greg Johnston
0d20f6aca8
chore: publish Oco separately as oco_ref crate so that it can be used elsewhere ( #2536 )
2024-04-16 20:25:34 -04:00
martin frances
158b0bd294
chore(ci): bump trunk-action to 0.5. ( #2533 )
2024-04-16 19:19:01 -04:00
Ben Wishovich
c8186eea13
Add id to ActionForm and MultiActionForm ( #2535 )
2024-04-16 14:52:51 -07:00
Greg Johnston
6141e73436
Merge pull request #2531 from leptos-rs/2523
...
fix: do not submit `<ActionForm>` on `formmethod="dialog"` submission (closes #2523 )
2024-04-15 19:52:06 -04:00
Greg Johnston
03a56f8795
chore(ci): latest nightly
2024-04-15 18:33:06 -04:00
Greg Johnston
fe06c6b91b
fix: do not submit <ActionForm> on formmethod="dialog" submission ( closes #2523 )
2024-04-15 16:49:02 -04:00
martin frances
9a51fb17fc
Minor: Bumped serde_qs to 0.13. ( #2512 )
2024-04-14 14:39:44 -07:00
Sam Judelson
35a8ca1f39
Add beginner tip to ErrorBoundary ( #2385 )
...
* Add beginner tip to ErrorBoundary
This might seem simple, but the nuances of types and traits confuse many people learning the language.
* edit
* Update error_boundary.rs
* edits
* ignore error block
2024-04-14 14:38:08 -07:00
Ben Wishovich
1ff0a7176d
Update spin_sdk to spin v3 ( #2525 )
...
* Update spin_sdk to spin v3
* Add id to Body
2024-04-14 14:34:38 -07:00
Greg Johnston
e29d31e686
0.6.11
2024-04-10 09:33:22 -04:00
Greg Johnston
e68f1bbad5
fix: stable Router IDs ( closes #2514 ) ( #2515 )
2024-04-10 09:31:34 -04:00
Greg Johnston
454a4f4ccb
Merge pull request #2511 from leptos-rs/simplify-stable
...
Simplify stable syntax in examples
2024-04-09 15:30:51 -04:00
Greg Johnston
85a91af7c6
examples: simplify stable syntax for using signals in view
2024-04-09 14:45:19 -04:00
Greg Johnston
871d2c1b9f
feat: directly implement IntoView on resources on stable
2024-04-09 14:45:01 -04:00
Greg Johnston
f0c1061161
chore(ci): remove nightly feature on counter_isomorphic ( #2510 )
2024-04-09 13:18:37 -04:00
Greg Johnston
d74af819a0
fix: invalid Location header when using leptos_actix::redirect() without JS/WASM ( #2507 )
2024-04-08 20:10:09 -04:00
Ar4ys
36b2f919dd
feat: signifiantly improved error reporting in view macro ( #2289 )
...
* Added name span to .build in component_to_tokens
* Added #[allow(unreachable_code)] to leptos::component_view inside component_to_tokens
* Added span to name reference in component_to_tokens
* Added span to leptos::component_props_builder in component_to_tokens
* Added span to props in component_to_tokens
* Added span to "on" method in events component_to_tokens
* Added spans in directive_call_from_attribute_node
* Added spans in fragment_to_tokens and it's ssr version
* Added span to props in slot_to_tokens
* Added span to the whole slot quote
* Changed slots's name span to last slot node
* Added span to the slot vec
* Added #[allow(unreachable_code)] to `.into()` in slot_to_tokens
* Added span to `.build()` in slot_to_tokens
* Added span for the whole component
* Added span to "clone:" directive
* Added span to ".children()"
* Removed unused "_span" param from fragment_to_tokens and fragment_to_tokens_ssr
* Removed unnecessary parenthesis around values in `attribute_to_tokens`
* Removed unnecessary curly braces around value in `spread_attrs`
* Removed unnecessary parenthesis around children in `element_to_tokens`
* Added catch-all span to element_to_tokens
* Formatted `quote!` according to official guidelines
* Updated view/snapshots in leptos_macro
* Added span to spread props in element_to_tokens_ssr
* Removed unnecessary curly braces in element_to_token_ssr
* Updated view/snapshots in leptos_macro
* Added view macro tests to leptos_macro
* Fixed clippy warnings in view macro output
* Updated view snapshots in tests
* Fixed expected_one_let_bind_got_none test in leptos_macro
* Removed snapshot tests in leptos_macro/tests/ui/view
---------
Co-authored-by: Greg Johnston <greg.johnston@gmail.com >
2024-04-08 08:14:33 -04:00
Greg Johnston
ab1c4ca7a6
chore(ci): run all examples under stable and fix remaining linting issue ( #2503 )
2024-04-05 16:09:23 -04:00
mahmoud-eltahawy
a1a989011a
chore(ci): move all examples to run on stable ( #2501 )
2024-04-05 14:57:48 -04:00
Greg Johnston
43178b56dc
chore(ci): move example CI over to stable ( #2502 )
2024-04-05 14:55:31 -04:00
Lukas Potthast
119c9ea23f
feat: allow spreading of both attributes and event handlers ( #2432 )
2024-04-05 14:30:34 -04:00
Yann Dirson
fc537c14c4
feat: implement IntoView for Rc<str> ( #2462 )
...
With-help-from: Greg Johnston <greg.johnston@gmail.com >
Signed-off-by: Yann Dirson <ydirson@free.fr >
2024-04-05 09:58:35 -04:00
mahmoud-eltahawy
15f8bdd4dc
stable todo_app_sqlite_axum example ( #2493 )
2024-04-04 20:12:45 -07:00
Sam Judelson
ca07d29db5
stable examples change ( #2497 )
2024-04-04 20:11:28 -07:00
Adrian
a82af6110f
ex: counter_url_query; to stable ( #2499 )
2024-04-04 20:09:55 -07:00
Joseph Cruz
03ac6903f2
ci(examples/error-boundary): use stable syntax ( #2496 )
2024-04-04 20:08:50 -07:00
Joseph Cruz
e5af1456a6
fix(ci): false leptos changes detected ( #2491 )
2024-04-04 20:06:09 -07:00
mahmoud-eltahawy
8686d5aabb
stable todomvc example ( #2489 )
2024-04-02 13:38:07 -07:00
Greg Johnston
c750f57ddc
v0.6.10
2024-04-02 09:39:53 -04:00
Joseph Cruz
cc1f6f0a94
chore(ci): run semver checks on push ( #2483 )
2024-04-01 20:38:28 -04:00
Greg Johnston
a9034a92b0
fix: handle directives properly in SSR mode ( closes #2488 ) ( #2477 )
2024-04-01 17:29:30 -04:00
zakstucke
9f1c09e131
feat: add View::on support for CoreComponent::{DynChild, Each} ( #2422 )
2024-04-01 17:09:05 -04:00
Greg Johnston
b79037b96f
fix: correctly handle empty view! {} in hot-reloading code ( closes #2421 ) ( #2478 )
2024-04-01 16:23:29 -04:00
Greg Johnston
41f3c46830
chore: bump nightly version in examples ( #2479 )
2024-04-01 15:16:53 -04:00
Greg Johnston
bfac4cba2a
chore: cargo fmt
2024-03-31 14:12:33 -04:00
Paolo Barbolini
3e18edb8f9
chore: add repository field to server_fn_macro ( #2474 )
2024-03-31 14:10:47 -04:00
Joseph Cruz
e926ff24a6
ci: disable semver checks ( #2471 )
2024-03-30 20:05:20 +00:00
Gunnar Raßmann
d528cbd828
Fix: Environment variables do not overwrite Config.toml options ( #2433 )
...
* Fix environment variable parsing
* Fix failing tests
dfgdfgfd
dsf
* Add new test
2024-03-30 00:02:52 +00:00
Alex Lazar
642504f2ba
Remove panic for axum ResponseOptions ( #2468 )
2024-03-29 07:37:12 +00:00
zakstucke
fd2817de26
Allow CDN_PKG_PATH at runtime as well as current build time, preferring it when available. ( #2466 )
2024-03-28 08:30:54 +00:00
Bart Toersche
73b8c7872e
Fix: Small fix for location hash/fragment ( #2464 )
2024-03-27 06:45:29 +00:00
martin frances
f3d19ca744
Minor: Ran cargo clippy --fix ( #2461 )
...
Manually reviewed the changes. All look like reasonable nudges.
A summary :-
In one place removed a redundant call to .clone().
In two places, now using clone_from() which clippy says
**MAY** be an optimisation.
2024-03-23 18:27:31 -07:00
boyswan
0abcc348ca
Persist parent span context within resource fetchers ( #2456 )
2024-03-22 15:51:50 -07:00
Joseph Cruz
572ae5bbdf
test(ci): check semver ( #2450 )
...
* test(ci): check semver
* chore: simulate change
* fix(ci): add checkout
* fix(ci): version typo
* chore: remove simulated change
2024-03-22 15:51:13 -07:00
martin frances
0b70949118
Bumped base64 to 0.22. ( #2457 )
2024-03-22 15:07:04 -07:00
martin frances
5819014ccc
Chore(ci) bumping tj-actions/changed-files to version 43. ( #2454 )
2024-03-22 07:23:57 -04:00
Joseph Cruz
630fd4570d
fix(ci): trunk command not found ( #2453 )
...
* chore: simulate change
* chore: remove print trunk version
* Revert "chore: remove print trunk version"
This reverts commit c203a83b44 .
* chore(ci): use jetli/trunk-action
* chore: remove simulated change
2024-03-22 07:23:48 -04:00
Ratul
d1560f9e1f
Added missing link for #[server] macro ( #2437 )
...
* Added missing link for #[server] macro
Added missing link for #[server] macro
* Removed spurious entry
2024-03-20 14:24:54 -07:00
martin frances
841d7a690a
chore: examples/tailwind_axum bumped tailwindcss to 3.4.2. ( #2443 )
2024-03-19 09:40:24 -07:00
sify21
104c09f3bf
register server_fn first to allow for wildcard Route path ( #2435 )
...
It's normal to have a `NotFound` page with a wildcard path like this
```
<Routes>
...
<Route path="*any" view=NotFound>
</Routes>
```
In `ssr` mode, most servers do a `first match win` approach, so we
should register server functions before view routes, or else a wildcard
route would block all api requests.
https://discord.com/channels/1031524867910148188/1218508054442545185
Signed-off-by: 司芳源 <sify21@163.com >
2024-03-19 09:37:42 -07:00
Joseph Cruz
ac75999c9f
chore(ci): upgrade actions to node 20 ( #2444 )
...
* chore(ci): install jq with apt
* chore(ci): install trunk with cargo
* chore(ci): replace toolchain action
* chore(ci): upgrade pnpm cache action
* chore: simulate change
* fix(ci): pnpm cache action typo
* chore: remove simulated change
2024-03-19 09:36:30 -07:00
Richard Laughlin
7ef186f642
For the session_auth_axum example, move the passhash into a separate ( #2446 )
...
non-serializable struct.
This prevents it from being returned in the
get_user() API, and prevents it from being unintentionally returned on any
new API the end-user may create on top of this example code.
2024-03-19 09:35:53 -07:00
Joseph Cruz
fda4dba237
build(examples): clean more output ( #2420 )
...
* chore(examples): update workspace members
* build(examples): clean e2e crates
* build(examples): clean pkg directories
* chore: remove simulated change comment
* chore: add simulated change
* chore: remove simulated change
2024-03-18 11:58:37 -04:00
Roland Fredenhagen
4e578e335b
chore: update attribute-derive ( #2438 )
2024-03-18 11:39:34 -04:00
Joseph Cruz
97fd8ff6c4
fix(ci): leptos examples fail with bindgen schema error ( #2428 )
2024-03-13 22:33:54 -04:00
battmdpkq
4faf3fa894
chore: fix types in some comments ( #2413 )
...
Signed-off-by: battmdpkq <cmaker@163.com >
2024-03-09 07:38:25 -05:00
Greg Johnston
480d741749
chore: update to gloo-net 0.5 ( closes #2411 ) ( #2416 )
2024-03-08 15:22:12 -05:00
Álvaro Mondéjar
7928f61401
chore: add lint to disallow prints to stdout ( #2404 )
2024-03-08 13:18:37 -05:00
Giovanni
2b4f5e0f58
docs: runtime error if setting the same event listener 2x rather than silent failure ( #2383 )
...
Delegated event listeners do not support adding more than one event listener of the same type. This can cause confusion if two listeners are added, as one is silently dropped.
2024-03-07 16:49:23 -05:00
Giovanni
943a992570
fix: re-throw errors in delegated event listeners ( #2382 )
2024-03-07 16:48:21 -05:00
ARSON
372a241d78
feat: allow #[prop(attrs)] on slots ( #2396 )
2024-03-04 17:34:21 -08:00
Chris Biscardi
c06f6bede2
fix: remove erroneous debug println!()s in islands ( #2402 )
2024-03-04 06:56:18 -05:00
benwis
3e93a686f4
Fix and release deps
2024-03-03 17:04:34 -08:00
benwis
34cdff4cb3
Update deps in one crate to 0.6.8
2024-03-03 17:02:50 -08:00
John Lewis
530087d77d
Add MessagePack codec ( #2371 )
...
* feat: added messagepack codec
* fix: deserialize msgpack from bytes, not string
2024-03-03 13:54:23 -08:00
martin frances
4bb43f6207
examples/todomvc - Rename Todos::new() Todos::default(). ( #2390 )
2024-03-03 13:48:40 -08:00
benwis
9e2fb62857
0.6.8
2024-03-02 18:01:10 -08:00
Ben Wishovich
1da2fff706
Fix missed stuff ( #2398 )
2024-03-02 17:57:20 -08:00
Greg Johnston
9fd2987447
fix: correctly reset hydration status in islands mode Suspense ( closes #2332 ) ( #2393 )
2024-03-02 11:57:35 -05:00
zroug
7996f835d0
fix: remove unnecessary trait bound PartialEq from create_owning_memo ( #2394 )
2024-03-02 07:27:22 -05:00
Greg Johnston
d72b12524e
Merge pull request #2395 from leptos-rs/int-ax-doc
2024-03-01 20:08:18 -05:00
Greg Johnston
8e79c5be5c
fix: ignore as with other doctests for now
2024-03-01 18:39:55 -05:00
Greg Johnston
de25658c36
Merge pull request #2392 from paul-hansen/fix-ci
...
fix(ci): "needless borrow" error and example never exiting
2024-03-01 18:37:48 -05:00
Paul Hansen
e2e35a9659
fix(ci) Wait a bit longer for server to start
...
It took longer than I thought in Github and barely worked, giving it a
bit more of a buffer.
2024-03-01 15:47:59 -06:00
Paul Hansen
bf1ba589c5
fix(ci): Another attempt to fix hanging example
2024-03-01 15:41:22 -06:00
Sam Judelson
f70ebc1289
docs: add note on how to get ResponseOptions ( #2380 )
2024-03-01 10:47:02 -05:00
Paul Hansen
3cab09e015
fix(ci): error_boundary example never exiting
2024-03-01 09:21:58 -06:00
Paul Hansen
b431315f7c
fix(ci): "needless borrow" error
2024-03-01 09:21:58 -06:00
Baptiste
5b40881e77
fix: specify path to wasm_bindgen in island macro ( #2387 )
2024-03-01 10:15:19 -05:00
benwis
59d3cce3be
0.6.7
2024-02-29 13:38:09 -08:00
Paul Hansen
6a83161368
chore: add MSRV ( #2360 )
2024-02-28 07:19:09 -05:00
Marc-Stefan Cassola
4b00c16cb9
added hashes generated from cargo-leptos ( #2373 )
...
* added hashes generated from cargo-leptos
* Added config option to disable frontend file name hash
2024-02-27 16:28:27 -08:00
haslersn
6d6019b956
fix: do not strip query in redirect hook when using client-side navigation ( #2376 )
2024-02-27 09:06:48 -08:00
Sam Judelson
3540291065
docs: Resource::read() in doc examples with Resource::get() ( #2372 )
2024-02-26 21:37:29 -05:00
zoomiti
4809cf473e
feat: provide leptos_router::Method via context ( #1808 ) ( #2315 )
2024-02-26 21:25:53 -05:00
Tadas Dailyda
aa977001c1
feat: add support for trailing slashes ( closes #2154 ) ( #2217 )
2024-02-26 20:56:44 -05:00
Greg Johnston
c16189f095
Merge pull request #2362 from leptos-rs/remove-deprecation
...
chore(ci): fix failing CI by removing deprecation note
2024-02-24 13:05:02 -05:00
Greg Johnston
d0a013c248
chore(ci): omit a few feature flag in CI
2024-02-24 11:55:36 -05:00
Greg Johnston
531ea74e33
chore: cargo fmt in leptos_macro
2024-02-24 07:12:46 -05:00
Greg Johnston
545e87e540
chore(ci): fix failing CI by removing deprecation note
2024-02-24 07:07:31 -05:00
Joseph Cruz
2ca30a0b2d
ci(examples): build hackernews_js_fetch with deno ( #2344 )
...
* ci(examples): refactor process management
* ci(examples): build hackernews_js_fetch with deno
* ci(workflows): detect hackernews_js_fetch change
* chore(web-report): report deno usage
* chore(web-report): ignore gtk example
* ci(todo_app_sqlite): simulate change
* ci(workflows): install deno
* ci(todo_app_sqlite): remove simulated change
2024-02-23 13:40:44 -05:00
zoomiti
753bf1ed54
Fix Broken Doc links and Deprecate FromUtf8Error in oco.rs ( #2318 )
...
* fix: deprecate `FromUtf8Error` in `oco.rs`
* chore: fix broken doc links (#859 )
* chore: fix broken doc link to server attribute macro
* cargo fmt
2024-02-21 19:24:40 -08:00
Sam Judelson
37c6387fea
finish doc sentence ( #2348 )
2024-02-21 19:21:57 -08:00
Janu (Janeshwar) Cambrelen
0a73487152
feat(leptos-axum): propagate trace context to server functions ( #2340 )
2024-02-21 19:21:00 -08:00
Sam Judelson
747aba0d7f
add comment specifying edgecase of server function prefixes ( #2345 )
2024-02-20 18:17:20 -08:00
Sam Judelson
04cf47d5da
Update suspense_component.rs documentation to use .get() instead of .read() ( #2346 )
2024-02-20 18:16:03 -08:00
rjmac
47abe00993
fix: don't leak canceled timeouts ( #2331 )
...
Instead of using `Closure::once_into_js`, this uses `into_js_value`,
which uses weak references to clean up the closure when Javascript no
longer has need of it.
It would be nice to make this (and the similar interval function) drop
the callback promptly when cancelled, but I don't think that's
possible while keeping the handles Copy.
Fixes #2330
Co-authored-by: Robert Macomber <robertm@mox>
2024-02-19 21:17:26 -05:00
eliza
aa3700ffb9
feat: add impl_from argument to #[server] proc_macro ( #2335 )
...
* Add `impl_into` argument
* Add `impl_into` argument
* Revert unneeded changes
* Address review comments
Rename `impl_into` back to be `impl_from`
Rework docstring
* Fix typo in docstring
2024-02-19 21:16:46 -05:00
Aphek
0770b87cb7
feat: Add owning memos to allow memos that re-use the previous value ( #2139 )
2024-02-19 21:16:19 -05:00
benwis
330ebdb018
v0.6.6
2024-02-19 13:48:32 -08:00
benwis
c3179d88cf
Moved leptos-spin-macro dep to released version
2024-02-19 12:54:43 -08:00
Sahaj
ffcf3c2952
example: fix href path in tailwind_csr example ( #2328 )
2024-02-17 13:10:07 -05:00
haslersn
001ca5148e
fix: handle cross-origin redirects in server function redirect hook ( #2329 )
...
In client-side navigation we now handle redirects returned from
server functions by resolving the location against the current
origin as a base. The base is only relevant if the location
doesn't already include an origin. This fixes cross-origin
redirects.
Note: in order to handle redirects in the same way as the browser
would handle them, we need to use the server function's URL
(typically `<origin>/api/something`) as a base. I leave this as
a TODO for a future leptos version, because it probably
requires changing the signature of the `server_fn` redirect hook.
In order to not be affected by a future breaking change, users
should already start making sure that their redirect locations
either include an origin or at least start with a single slash
(e.g. `Location: /foo`).
2024-02-17 13:09:39 -05:00
Greg Johnston
1e000afa78
examples: fix CSS file name in tailwind_axum ( #2324 )
2024-02-17 12:56:03 -05:00
Greg Johnston
0f7b8841b2
chore(ci): reduce set of tested features to prevent running out of disk space in server_fn ( #2320 )
2024-02-16 20:26:26 -05:00
Greg Johnston
7dc0441f6c
docs: log error on failing to convert form to ServerFn type, in addition to setting action value ( #2319 )
2024-02-16 17:11:14 -05:00
Joseph Cruz
0a321a1bd7
docs(examples): update docs ( #2313 )
...
* docs(examples): fix metadata typo
* docs(examples): update first step about using cargo make
2024-02-16 13:32:01 -05:00
Greg Johnston
88742952f0
fix: Transition in hydrate mode that isn't initially created ( closes #2279 ) ( #2314 )
2024-02-16 08:16:09 -05:00
martin frances
8a4b972e0b
chore: bump config to 0.14 ( #2302 )
2024-02-15 20:24:12 -05:00
zoomiti
95bd9cc544
feat: use CDN_PKG_PATH at build time to set alternate base URL for JS/WASM bundles ( #2281 ) ( #2283 )
2024-02-15 20:21:47 -05:00
Marc-Stefan Cassola
23bc892a24
fix: #[server] macro error type detection ( #2298 )
...
In most cases when you return `Result<..., ServerFnError<E>>` this worked but when you tried
`Result<..., leptos::ServerFnError<E>>` then it didn't.
2024-02-15 20:20:41 -05:00
Esteban Borai
830fba794e
docs: add missing provide_meta_context() in example ( #2311 )
...
Otherwise user gets:
```
use_head() is being called without a MetaContext being provided. We'll automatically create and provide one, but if this is being called in a child route it may cause bugs. To be safe, you should provide_meta_context() somewhere in the root of the app.
```
2024-02-15 20:19:07 -05:00
martin frances
98633c8700
chore(ci): update node version for GitHub Actions ( #2303 )
2024-02-15 20:17:12 -05:00
David Rebbe
b0f5c39711
example: replace yanked version of session_auth_axum crate ( #2310 )
2024-02-15 20:16:26 -05:00
Greg Johnston
b54aa7f3f5
Merge pull request #2294 from agilarity/add-cargo-make-leptos
2024-02-15 18:52:37 -05:00
Sam Judelson
e33ee7ec99
pub export server is either from leptos_macro or leptos_spin_macro depending on if spin feature is enabled. ( #2280 )
...
* leptos spin server macro
* leptos spin
* git chng
* based on the fermyon official git for when that works
2024-02-15 14:37:19 -08:00
Joseph Cruz
cd70b2f52b
fix(ci): should exclude cargo-make
2024-02-11 20:40:20 -05:00
Joseph Cruz
c75842ed0c
ci(hackernews_islands_axum): build with cargo leptos
2024-02-11 15:40:32 -05:00
Joseph Cruz
4ad228bf47
docs(test-report): add leptos ci warning
2024-02-11 15:40:32 -05:00
Joseph Cruz
bbe7115360
docs(test-report): mention options
2024-02-11 15:40:32 -05:00
Greg Johnston
0658a550b0
fix(examples): align crate name and output name ( closes #2206 ) ( #2291 )
2024-02-10 15:47:25 -05:00
Joseph Cruz
4222c832b1
fix(ci): empty directory vector error ( #2288 )
...
* fix(ci): empty directory vector error
* chore(ci): simulate example change
* chore(ci): remove simulated example change
2024-02-10 10:02:21 -08:00
Greg Johnston
dfddbd6bf9
docs: give a warning when you try to .dispatch() an action immediately ( closes #2225 ) ( #2286 )
2024-02-09 20:55:10 -05:00
Greg Johnston
8a77691cb5
Merge pull request #2285 from leptos-rs/fix-issues
...
Fix remaining CI issues
2024-02-09 19:29:01 -05:00
Greg Johnston
1dbe8b2d4b
fix: correct feature name for server-fn-macro crate (broken in #2270 )
2024-02-09 17:18:44 -05:00
Greg Johnston
fe64f0d332
examples: fix counter_isomorphic (broken in #2244 ) and fix additional warnings
2024-02-09 17:12:31 -05:00
Joseph Cruz
c00207aa46
fix(test-report) should show all cargo-make leptos configuration ( #2282 )
...
* refactor(test-report): extract script
* refactor(test-report): extract functions
* refactor(test-report): split option to tasks
* chore(test-report): highlight examples without tags
* fix(test-report): show all cargo-make leptos configuration
* docs(test-report): update keys
* chore(test-report): include all crates in report
2024-02-09 16:31:46 -05:00
Joseph Cruz
65b7603192
fix(ci): address clippy issue ( #2278 )
...
* fix(ci): address clippy issue
* fix(ci): add missing nightly specifications
* fix(ci): set all nightly references
* chore(ci): do not lint example crates
2024-02-09 16:30:11 -05:00
haslersn
d4bdc36062
fix: add key/value pair from submit button when parsing form event ( #2268 )
2024-02-07 11:09:01 -05:00
Sam Judelson
1b55227d10
fix: remove unnecessary default features on axum in server_fns to support running Axum in a WASM environment ( #2270 )
2024-02-07 11:08:48 -05:00
Saikat Das
a903e19eb2
chore: fix typo ( #2267 )
2024-02-06 17:55:35 -05:00
blorbb
38bf73947f
fix: make directive .into() calls consistent ( #2249 )
2024-02-05 08:52:12 -05:00
Greg Johnston
e4b89ba243
Merge pull request #2262 from leptos-rs/2261
...
fix: guarantee execution order of effects (closes #2261 )
2024-02-05 08:51:23 -05:00
Greg Johnston
701e3077fb
chore: cargo fmt
2024-02-05 06:38:02 -05:00
Greg Johnston
aec4d680aa
fix: guarantee execution order of effects ( closes #2261 )
2024-02-05 06:35:57 -05:00
Steffen
06721c5fcd
examples: fix typos in examples ( #2260 )
2024-02-05 05:20:53 -05:00
SleeplessOne1917
1ddb39e9bd
docs: typo in actix integrations docs ( #2258 )
...
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com >
2024-02-04 20:57:51 -05:00
Chris
15d4ca0638
feat(axum): provide state to server fn context ( #2257 )
...
Note that this is a minimal implementation and will __not__ allow the
user to `expect_state` if they have external calls to rendering their
app (i.e. using `render_app_to_*` directly).
2024-02-04 19:26:21 -05:00
zoomiti
85c3755f6d
fix: bug with percent decoding of url params ( #2251 )
2024-02-04 19:24:02 -05:00
Sam Judelson
66ea072bc0
docs: a note to HtmlElement<El> about Deref ( #2218 )
2024-02-04 15:34:39 -05:00
Joris Hartog
b0b3c21285
docs: fix broken link in leptos_router ( #2256 )
2024-02-04 15:29:34 -05:00
Greg Johnston
56088a9ead
fix: error rather than panicking if unable to send response in Axum integration ( #2241 )
...
* fix: error rather than panicking if unable to send response in Axum integration
2024-02-03 19:18:41 -05:00
martin frances
69d25d9c63
examples/hackernews: Add a "Suspense" wrapper. ( #2253 )
...
This warning appears in the browser's console log.
```
hackernews.js:933 At src/routes/stories.rs:39:17, you are reading a resource in `hydrate` mode outside a <Suspense/> or <Transition/>. This can cause hydration mismatch errors and loses out on a significant performance optimization. To fix this issue, you can either:
1. Wrap the place where you read the resource in a <Suspense/> or <Transition/> component, or
2. Switch to using create_local_resource(), which will wait to load the resource until the app is hydrated on the client side. (This will have worse performance in most cases.)
```
2024-02-03 14:24:46 -08:00
martin frances
5029b8f315
Chore: Minor, ran ``cargo fmt`` ( #2254 )
2024-02-03 14:24:12 -08:00
martin frances
0cba7bc22b
example/counter_isomorphic Removed console warning. ( #2244 )
...
This warning is seen in the browsers console window.
```
counter_isomorphic.js:1068 At src/counters.rs:138:17, you are reading a resource in `hydrate` mode outside a <Suspense/> or <Transition/>. This can cause hydration mismatch errors and loses out on a significant performance optimization. To fix this issue, you can either:
1. Wrap the place where you read the resource in a <Suspense/> or <Transition/> component, or
2. Switch to using create_local_resource(), which will wait to load the resource until the app is hydrated on the client side. (This will have worse performance in most cases.)
```
Two derived signals "value" and "error_msg" need to be wrapped in a <Suspense> block.
"value" falls back to just the initial text.
"error" uses the default fallback.
2024-02-01 16:50:15 -08:00
Michael Kadziela
fb97c50886
Update rkyv example button text to accurately reflect what it does ( #2250 )
2024-02-01 16:49:29 -08:00
Greg Johnston
f1bc734dcf
0.6.5
2024-01-31 19:40:41 -05:00
Greg Johnston
f71b4aae69
feat: easily create custom server fn clients ( #2247 )
2024-01-31 09:15:30 -05:00
Greg Johnston
a834c03974
fix: bug with Actix redirects ( #2246 )
2024-01-31 09:14:40 -05:00
Greg Johnston
595013579c
0.6.4
2024-01-30 09:17:52 -05:00
Greg Johnston
8b1bd1ae9e
Merge pull request #2240 from leptos-rs/err-serialization
...
fix: serialization error during SSR on ServerFnError
2024-01-29 16:32:55 -05:00
Greg Johnston
6ef1531059
example: file upload with streaming progress bar ( #2242 )
2024-01-29 15:20:19 -05:00
Greg Johnston
9f1406250e
chore: update deprecated .remove() method on IndexSet
2024-01-29 11:32:15 -05:00
Greg Johnston
1f6a892291
fix: serialization error during SSR on ServerFnError
2024-01-29 10:36:08 -05:00
Greg Johnston
0ff1e279a2
fix: correctly track source in create_local_resource ( #2238 )
2024-01-28 10:09:03 -08:00
Chris
c6096cc2a0
chore: define edtion = "2021" in rustfmt.toml ( #2235 )
2024-01-27 16:04:25 -08:00
Greg Johnston
8a2ae7fc7c
\v0.6.3\
2024-01-26 21:00:21 -05:00
Greg Johnston
9de34b74cf
0.6.2
2024-01-26 18:07:04 -05:00
Greg Johnston
1b5961edaa
fix: fix type inference on extract() functions ( #2233 )
2024-01-26 17:54:42 -05:00
Greg Johnston
26d1aee9ad
Update README.md framework comparisons ( #2232 )
2024-01-26 17:01:26 -05:00
benwis
2bf09384df
0.6.1
...
Signed-off-by: benwis <ben@celcyon.com >
2024-01-26 12:32:14 -08:00
benwis
ac12e1a411
0.6.0
...
Signed-off-by: benwis <ben@celcyon.com >
2024-01-26 11:54:07 -08:00
Greg Johnston
b367b68a43
fix: use #[server(default)] to pass use default values for a field ( #2231 )
2024-01-26 14:46:31 -05:00
Greg Johnston
1f9dad421f
fix: allow paths to ServerFnError type ( #2230 )
2024-01-26 11:32:43 -08:00