Commit graph

578 commits

Author SHA1 Message Date
Maccesch
4d42f7234a use_websocket now uses codecs 2024-07-01 02:29:27 +01:00
Maccesch
a8de6a96dd refactored codecs and implemented msgpack and bincode as binary codecs. prost is now a binary codec as well and base64 is available as an adapter. 2024-06-07 02:19:07 +02:00
Maccesch
ae019b4734 fixed websocket auto reconnect not working.
Also added ReconnetLimit enum to allow for infinite reconnects.

Fixes #115
2024-06-06 22:30:49 +02:00
Marc-Stefan Cassola
e839499a92
Merge pull request #117 from SleeplessOne1917/use-cookie-typo
Fix typo in use_cookie compile errors.
2024-06-06 11:49:00 +01:00
SleeplessOne1917
2f280b4d63 Update changelog 2024-06-05 21:54:44 -04:00
SleeplessOne1917
2cfb62cd20 Fix typo in use_cookie compile errors. 2024-06-05 20:52:13 -04:00
Maccesch
3c7f2d9d28 update changelog 2024-06-05 11:54:34 +02:00
Maccesch
a1f3ca0486 re-export cookie::SameSite
closes #106
2024-06-05 11:53:59 +02:00
Maccesch
1771d3ac07 added delay_during_hydration option to UseStorageOptions.
Fixes #108
2024-06-05 11:21:25 +02:00
Marc-Stefan Cassola
1b3889376b
Merge pull request #112 from blorbb/element-maybe-signal-from-html-element
add impls into `web_sys::HtmlElement` for `ElementMaybeSignal`
2024-05-28 16:11:06 +01:00
blorbb
384ca082a2 add impls into web_sys::HtmlElement for ElementMaybeSignal 2024-05-28 11:47:10 +10:00
Maccesch
2523f17d20 stooopid: forgot to update version in cargo.toml 2024-05-10 14:46:11 -05:00
Maccesch
0e84a512cc chore: clippy 2024-05-10 14:33:00 -05:00
Maccesch
5dee1c753b removed broken link in docs 2024-05-10 14:22:51 -05:00
Maccesch
62754e0d1d ssr + wasm compile warning 2024-05-10 14:15:59 -05:00
Maccesch
41c27c4d97 release 0.10.9 2024-04-27 17:10:27 +01:00
Maccesch
aebff60f4d fixed use_infinity_scroll disposed signals bug
fixes #98
2024-04-27 16:52:24 +01:00
Maccesch
2cda3f8aca fixed use_color_mode without cookies
fixes #100
2024-04-27 16:45:38 +01:00
Maccesch
ae60e38db3 release 0.10.8 2024-04-19 14:54:37 +01:00
Marc-Stefan Cassola
9507c6a6d6
Merge pull request #99 from javierEd/main
Add spin feature for `use_cookie`
2024-04-19 14:47:02 +01:00
Javier E.
ac61e150a6
Add spin feature for use_cookie 2024-04-18 18:09:23 -03:00
Maccesch
039648c5b4 chore: rustfmt 2024-04-10 22:58:42 +01:00
Maccesch
98dbdf8f86 added cookie support to use_color_mode 2024-04-10 22:51:01 +01:00
Maccesch
ce2799c57d fixed sync_signal with different types 2024-04-10 22:46:20 +01:00
Maccesch
f3fbf1bc28 added sync_signal 2024-04-10 00:21:08 +01:00
Maccesch
db081cca07 another bugfix release 2024-04-02 11:18:39 +01:00
Marc-Stefan Cassola
a984cbef1a
Merge pull request #96 from sbking/use-cookie-fix-document-set-cookie
Fix document.set_cookie usage
2024-04-01 23:47:56 +01:00
Stephen Brian King
705fbf97ac add a second counter to use_cookie example 2024-03-23 00:48:28 -06:00
Stephen Brian King
e2c84523f2 fix document.set_cookie usage 2024-03-23 00:47:57 -06:00
Marc-Stefan Cassola
e9add5ada4
Merge pull request #94 from sify21/use-cookie-time-unit
time unit of cookie's max-age is actually millisecond
2024-03-19 14:40:10 +00:00
司芳源
1a4683eb73 time unit of cookie's max-age is actually millisecond
Signed-off-by: 司芳源 <sify21@163.com>
2024-03-19 20:49:30 +08:00
Maccesch
6d054cfe5a bugfix release 2024-03-12 13:28:55 +00:00
Maccesch
45cb8c5d49 bugfix release 2024-03-12 11:40:53 +00:00
Marc-Stefan Cassola
bfcf0837c7
Merge pull request #89 from mondeja/fix-core-url-ssr
Fix SSR detection from an url query parameter for `use_color_mode`
2024-03-12 11:27:10 +00:00
Álvaro Mondéjar Rubio
681792b13e Fixed SSR detection from an url query parameter for use_color_mode 2024-03-12 02:26:35 +01:00
Ke7in
5529b005d7 Add methods to UseDocument
Added methods in the order they appear on the website discussed (for convenience) up to `preferred_style_sheet_set`.
2024-03-08 18:45:58 -05:00
Maccesch
d985ca6832 tiny docs fix 2024-03-06 22:30:26 +00:00
Maccesch
59da7d5d4a cleanup docs 2024-03-06 09:24:17 +00:00
Maccesch
6bd92ca05a cleanup 2024-03-05 20:59:31 +00:00
Maccesch
fdb0ac856b release 2024-03-05 20:45:33 +00:00
Maccesch
e9da41b6be added use_event_source
closes #85
2024-03-05 17:28:01 +00:00
Maccesch
cf9358cf7e made it even more abundantly clear how to enable SSR 2024-03-03 10:38:17 +00:00
Marc-Stefan Cassola
673d63449f
Merge pull request #86 from flupke/add-ssr-feature-note
Add ssr feature note to the book
2024-03-03 10:26:21 +00:00
Maccesch
7216a3281c wrapped callbacks in non-reactive zones to remove potential warnings 2024-02-27 00:02:37 +00:00
Luper Rouch
9a46f9dca9 Add ssr feature note to the book
I wasn't aware of Leptos' SSR build process, and enabled the
`leptos-use` feature globally. Because of this I ended up with the
server version of the functions in the client, which obviously did not
work.
2024-02-23 10:25:49 +01:00
Maccesch
446b10b1cf chore: latest rustfmt 2024-02-23 02:40:54 +00:00
Maccesch
76facdedaa chore: latest clippy 2024-02-23 02:36:39 +00:00
Maccesch
f136be643c added use_not, use_and, use_or
closes #84
2024-02-23 02:24:27 +00:00
Maccesch
4da91b4427 Removed signal warnings from use_websocket's send... methods 2024-02-19 23:14:33 +00:00
Maccesch
072a7f12a2 updated changelog 2024-02-16 02:26:48 +00:00