Skip to content

Releases: Synphonyte/leptos-use

Version 0.5.0

15 Jul 00:33
Compare
Choose a tag to compare

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 for leptos.

Version 0.4.1

07 Jul 22:52
Compare
Choose a tag to compare

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

03 Jul 16:22
Compare
Choose a tag to compare

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 a stable 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 the nightly feature only on leptos directly.
    No change is required for leptos-use itself.

Version 0.3.3

24 Jun 01:04
Compare
Choose a tag to compare

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

17 Jun 03:38
Compare
Choose a tag to compare

Changes in this version:

[0.3.2] - 2023-06-17

New Functions 🚀

  • use_css_var
  • use_element_hover

Version 0.3.1

15 Jun 22:10
Compare
Choose a tag to compare

Changes in this version:

[0.3.1] - 2023-06-15

New Functions 🚀

  • use_interval_fn
  • use_interval

Version 0.3.0

13 Jun 17:26
Compare
Choose a tag to compare

[0.3.0] - 2023-06-13

Braking Changes 🛠

  • use_event_listener no longer returns a Box<dyn Fn()> but a impl Fn() + Clone

Changes 🔥

  • You can now specify a &str or Signal<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