Releases: Synphonyte/leptos-use
Releases · Synphonyte/leptos-use
Version 0.5.0
Changes in this version:
[0.5.0] - 2023-07-15
New Functions 🚀
use_drop_zone
use_websocket
(thanks @sectore)use_intl_number_format
Changes 🔥
- Crate is ready for Server-Side Rendering. Enable feature
ssr
like you do forleptos
.
Version 0.4.1
Changes in this version:
[0.4.1] - 2023-07-07
New Functions 🚀
use_window_focus
use_window_scroll
use_document_visibility
Version 0.4.0
Changes in this version:
[0.4.0]- 2023-07-03
Braking Changes 🛠
- Required
leptos
version is now 0.4 - Following the changes in
leptos
there is no longer astable
crate feature required in order to use this library with a stable toolchain.
If you want to use it with a nightly toolchain you have to enable thenightly
feature only onleptos
directly.
No change is required forleptos-use
itself.
Version 0.3.3
Changes in this version:
[0.3.3] - 2023-06-24
New Functions 🚀
use_color_mode
use_cycle_list
use_active_element
Changes 🔥
- You can now use this crate with the
stable
toolchain (thanks @lpotthast) - Set leptos dependency to
default-features = false
in order to enable SSR.
Version 0.3.2
Changes in this version:
[0.3.2] - 2023-06-17
New Functions 🚀
use_css_var
use_element_hover
Version 0.3.1
Changes in this version:
[0.3.1] - 2023-06-15
New Functions 🚀
use_interval_fn
use_interval
Version 0.3.0
[0.3.0] - 2023-06-13
Braking Changes 🛠
use_event_listener
no longer returns aBox<dyn Fn()>
but aimpl Fn() + Clone
Changes 🔥
- You can now specify a
&str
orSignal<String>
with CSS selectors wherever a node ref is accepted - Callbacks of the following functions no longer require
Clone
use_resize_observer
use_intersection_observer
- These functions now also accept multiple target elements in addition to a single one:
use_resize_observer
use_intersection_observer
New Functions 🚀
whenever
use_mutation_observer
use_abs
on_click_outside