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
Greg Johnston
4648fb2cfc
Update README.md
2024-01-25 20:34:15 -05:00
Saber Haj Rabiee
817ec045f7
chore: fix import of quote::quote
( #2227 )
2024-01-25 17:48:41 -05:00
Greg Johnston
ca3806e6bc
v0.6.0-rc1
2024-01-24 21:35:14 -05:00
Greg Johnston
936c2077c3
Merge pull request #2222 from leptos-rs/2221
...
fix: `.refetch()` should not include any tracked reads
2024-01-24 20:44:51 -05:00
Greg Johnston
b3b18875c6
chore: allow unknown lints
2024-01-24 19:43:28 -05:00
Greg Johnston
5cbab48713
chore: avoid possible false positive in cargo check
2024-01-24 19:38:16 -05:00
Greg Johnston
5a8880dd2e
fix: correctly track in the effect that creates the resource
2024-01-24 16:18:45 -05:00
Greg Johnston
ea6c957f3d
fix: .refetch()
should not track any reads ( closes #2221 )
2024-01-23 11:08:50 -05:00
Greg Johnston
694e5f1cb3
fix: cast to correct type on Memo::try_with_untracked
2024-01-23 11:08:33 -05:00
Greg Johnston
fce2c727ab
feat: add support for custom encodings to #[server]
macro ( #2216 ) ( closes #2210 )
2024-01-21 16:14:02 -05:00
Greg Johnston
7d1ce45a57
chore: minimize features activated with leptos_axum
's default feature ( #1846 ) ( #2213 )
...
- `leptos_axum` default feature:
- remove `tokio/full`, `axum/macros`
- add `tokio/fs`, `tokio/sync`
- example `leptos-tailwind-axum`:
- enable `tokio`'s `rt-multi-thread` and `macros` features
- example `ssr_modes_axum`:
- enable `tokio`'s `rt-multi-thread` and `macros` features
Co-authored-by: Paul Nettleton <paulnett7@hotmail.com>
2024-01-21 15:22:46 -05:00
Niklas Eicker
997b99081b
change: for static routes, remove .static
and provide additional context for static_params closures ( #2207 )
2024-01-21 13:33:05 -05:00