jk
8feee5e5d7
Migrate rkyv 0.8.x ( #3054 )
2024-10-02 10:03:20 -07:00
niklass-l
6bba233ba7
Add support for postcard codec in server_fn ( #2879 )
...
* Add support for postcard codec
* Add postcard feature set exclusions
* Add postcard server fn encoding example
2024-08-26 13:58:23 -07:00
Saber Haj Rabiee
db1c15f4e4
fix: fix web-sys
warnings in server_fn
( #2828 )
...
* fix: fix web-sys warnings in server_fn
* fix: update web-sys to 0.3.70
* fix: web-sys clipboard api in 0.3.70
2024-08-13 15:46:34 -07:00
Saber Haj Rabiee
e01dfbf497
fix: update to wasm-bindgen 0.2.93 ( #2827 )
2024-08-13 15:21:57 -07:00
mahmoud-eltahawy
20af4928b2
chore: use workspace edition for examples and crates ( #2816 )
2024-08-12 19:25:47 -04:00
Saber Haj Rabiee
b3e2040ec9
chore: upgrade dependencies ( #2765 )
2024-08-10 20:01:41 -04:00
Greg Johnston
8670365594
fix: support complex struct form submits without JS ( closes #2790 ) ( #2792 )
2024-08-07 11:10:59 -04:00
Greg Johnston
4fa72a94fb
feat: allow reusing the same endpoint for server functions with different HTTP verbs in their input encodings
2024-08-01 19:43:09 -04:00
Greg Johnston
8ac1564b90
fix: properly handle errors in streaming body responses
2024-08-01 19:42:50 -04:00
Greg Johnston
9666c9c0c5
chore: clear up... a few warnings
2024-08-01 19:41:12 -04:00
Greg Johnston
ab67bea7ec
rename any_error
2024-08-01 19:40:56 -04:00
Greg Johnston
0beef3b2e0
prep for preview release
2024-08-01 19:40:56 -04:00
Greg Johnston
e4f3cf9cca
fix cancellation logic for server fn requests
2024-08-01 19:40:25 -04:00
Greg Johnston
100ed7d926
ErrorBoundary component
2024-08-01 19:40:24 -04:00
Greg Johnston
2bc04444e1
work related to 0.7 blog port
2024-08-01 19:40:24 -04:00
Greg Johnston
b41fde3ff9
work related to 0.7 blog port
2024-08-01 19:40:24 -04:00
Saber Haj Rabiee
d50012f8d4
chore: update gloo-net and reqwest to http 1.0 ( closes #2688 ) (leptos 0.6) ( #2751 )
2024-08-01 19:39:54 -04:00
renshuncui
b9c620d4cd
chore: fix some comments ( #2712 )
...
Signed-off-by: renshuncui <renshun@111.com>
2024-07-29 09:30:50 -04:00
Chris
fb5d8513ff
docs: generate link to definition ( #2656 )
2024-07-03 06:46:02 -04:00
Evan Almloff
551f9b0a04
feat: add a StreamingJson encoding ( #2623 )
2024-06-28 11:49:26 -04:00
Hamir Mahal
c9d0ef5033
chore: simplify string interpolation ( #2626 )
2024-06-21 07:51:38 -04:00
Greg Johnston
dcaa1df63d
fix: derive rkyv traits on ServerFnError
2024-06-14 14:19:54 -04:00
Luxalpa
20f4323e50
feat: allow customize derives for serverfn input struct ( #2545 )
2024-05-06 08:54:29 -04:00
Greg Johnston
41f3c46830
chore: bump nightly version in examples ( #2479 )
2024-04-01 15:16:53 -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
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
Paul Hansen
6a83161368
chore: add MSRV ( #2360 )
2024-02-28 07:19:09 -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
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
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
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
Greg Johnston
f71b4aae69
feat: easily create custom server fn clients ( #2247 )
2024-01-31 09:15:30 -05:00
Greg Johnston
1f6a892291
fix: serialization error during SSR on ServerFnError
2024-01-29 10:36:08 -05:00
Greg Johnston
9de34b74cf
0.6.2
2024-01-26 18:07:04 -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
ca3806e6bc
v0.6.0-rc1
2024-01-24 21:35:14 -05:00
Greg Johnston
c88bfbe0a0
tweak sets of features for CI
2024-01-20 14:18:25 -05:00
Greg Johnston
b4a1d90327
clean up for CI
2024-01-20 12:32:51 -05:00
Greg Johnston
2092c40bc7
missing derives
2024-01-19 18:21:57 -05:00
Greg Johnston
f19def9541
clippy
2024-01-19 16:55:16 -05:00
Greg Johnston
ddda785045
fix multipart support
2024-01-19 16:52:41 -05:00
Greg Johnston
46e7abf9ba
allow custom req/res/client types
2024-01-19 15:48:14 -05:00
Greg Johnston
2a9e502893
fix rkyv deserialization
2024-01-19 15:03:21 -05:00
Greg Johnston
a519859a66
Revert "use &[u8]
instead of Bytes
for requests"
...
This reverts commit e179db1d42
.
2024-01-19 14:37:03 -05:00
Greg Johnston
25120c0e9f
fix streaming requests and clarify in docs
2024-01-19 14:17:26 -05:00
Greg Johnston
f9cd8539e4
add missing PartialEq/Eq implementations on ServerFnError ( closes #2198 )
2024-01-19 14:17:26 -05:00
Greg Johnston
14072457d0
clean up docs ( closes #2197 )
2024-01-19 14:17:26 -05:00
Greg Johnston
e179db1d42
use &[u8]
instead of Bytes
for requests
2024-01-19 14:17:26 -05:00