Skip to content

Releases: Synphonyte/leptos-use

Version 0.18.0

12 Jan 12:19

Choose a tag to compare

Changes in this version:

[0.18.0] - 2026-01-11

Breaking Changes 🛠

  • Element(s)MaybeSignal is now internally sendwrapped for SSR robustness. Some automatic conversions have been removed when they can't really be made SSR safe like Signal<web_sys::Element>. Use Signal<SendWrapper<web_sys::Element>> instead.
  • OptionLocalSignal now has a clone free .read() implementation (thanks to @luxalpa).

New

  • There's now an OptionLocalRwSignal for dealing with non-Send/non-Sync values in an SSR safe manner (thanks to @luxalpa).

Special thanks to our sponsor

Version 0.17.0

18 Dec 21:35

Choose a tag to compare

Changes in this version:

[0.17.0] - 2025-12-18

Huge thanks to @DrFlowerkick for all of this excellent work on this release.

Breaking Changes 🛠

  • Updated Rust Edition to 2024
  • use_cookie now requires its value type to be PartialEq to be able to compare values to avoid infinite update loops.
  • use_event_source (all thanks to @DrFlowerkick):
    • It now accepts its url parameter as impl Into<Signal<String>>
    • UseEventSourceReturn now longer has the fields event_source, event or data.
      Instead there is now a message field which is a Signal<Option<UseEventSourceMessage>>. Please check the docs for more info.
    • UseEventSourceOptions now accepts an on_event generic event handler.
    • UseEventSourceError has changed (again => pls see docs).
  • use_websocket no longer returns access to ws to prevent SSR issues (thanks to @DrFlowerkick).
  • A bunch of functions had local signals in their return types which could cause SSR issues.
    These have been replaced by our new OptionLocalSignal which is basically a Signal<Option<SendWrapper<T>>>.
    This solves the SSR issues (all thanks to @DrFlowerkick):
    • use_broadcast_channel
    • use_geolocation
    • use_web_notification
    • use_display_media
    • use_user_media
    • use_intl_number_format

New Functions 🚀

  • use_screen_orientation

Fixes 🍕

  • use_event_source SSR fixed
  • ElementsMaybeSignal and ElementMaybeSignal can now be successfully created from &strs (thanks to @fhgalano).
    • When using &strs as selectors in these cases, internally it will create signals that wait for the selector to appear in the DOM if not found immediately.
  • Fixed broken link in docs for use_locale (thanks to @cocoliliace).

Special thanks to our sponsor

Version 0.16.3

30 Sep 21:18

Choose a tag to compare

Changes in this version:

[0.16.3] - 2025-09-30

Change

  • Implemented PartialEq for core::Position

Fixes 🍕

  • Fixed effects running simultaneously in use_cookie (thanks to @ cbishopvelti)
  • Fixed link to Leptos Getting Started in the book (thanks to @mbergkvist)
  • Fixed SSR in use_interval_fn (thanks to @johansmitsnl)

Special thanks to our sponsor

Version 0.16.2

19 Jun 00:53

Choose a tag to compare

Changes in this version:

[0.16.2] - 2025-06-18

Fixes 🍕

  • use_color_mode frontend-only logic behind feature gate to fix SendWrapper issues with SSR (thanks to @BakerNet)

Special thanks to our sponsor

Version 0.15.10

19 Jun 03:38

Choose a tag to compare

Changes in this version:

[0.15.10] - 2025-06-18

Fixes 🍕

  • use_color_mode frontend-only logic behind feature gate to fix SendWrapper issues with SSR (thanks to @BakerNet)

Special thanks to our sponsor

Version 0.16.1

16 Jun 21:45

Choose a tag to compare

Changes in this version:

[0.16.1] - 2025-06-16

Dependency Fixes 🐛

  • Removed version pin for chrono
  • Made chrono optional in Cargo.toml (thanks to @emilbonnek)

Special thanks to our sponsor

Version 0.15.9

16 Jun 21:45

Choose a tag to compare

Changes in this version:

[0.15.9] - 2025-06-16

Dependency Fixes 🐛

  • Removed version pin for chrono
  • Made chrono optional in Cargo.toml (thanks to @emilbonnek)

Special thanks to our sponsor

Version 0.16.0

12 Jun 18:09

Choose a tag to compare

Changes in this version:

[0.16.0] - 2025-06-12

Breaking Change 🛠

New Features 🚀

  • Added month_by_date to use_calendar (thanks to @tomaszkubacki)
  • Added target_offset to use_draggable (thanks to @theredfish)
  • UseRwSignal can now be converted from anything that implements the respective reactive Leptos traits.
    This includes Signals, Memos, Store fields, ... meaning the sync_signal now works with everything.
  • ElementMaybeSignal can be converted from Signal<SendWrapper<web_sys::Element>> improving interop
    with other crates.

Fixes 🍕

  • use_cookie with SSR has been fixed. This fixes the use_color_mode SSR issues as well.
  • use_event_source with infinity reconnect limit has been fixed.
  • Conversion of ElementMaybeSignal from &str has been fixed.

Special thanks to our sponsor

Version 0.15.8

12 Jun 18:09

Choose a tag to compare

Changes in this version:

[0.15.8] - 2025-06-12

New Features 🚀

  • Added month_by_date to use_calendar (thanks to @tomaszkubacki)
  • Added target_offset to use_draggable (thanks to @theredfish)
  • UseRwSignal can now be converted from anything that implements the respective reactive Leptos traits.
    This includes Signals, Memos, Store fields, ... meaning the sync_signal now works with everything.
  • ElementMaybeSignal can be converted from Signal<SendWrapper<web_sys::Element>> improving interop
    with other crates.

Fixes 🍕

  • use_cookie with SSR has been fixed. This fixes the use_color_mode SSR issues as well.
  • use_event_source with infinity reconnect limit has been fixed.
  • Conversion of ElementMaybeSignal from &str has been fixed.

Special thanks to our sponsor

Version 0.16.0-beta2

19 May 20:13

Choose a tag to compare

Version 0.16.0-beta2 Pre-release
Pre-release

Changes in this version:

[0.16.0-beta2] - 2025-03-20

Breaking Change 🛠

New Feature 🚀

  • Added target_offset to use_draggable options for more flexible positioning (thanks to @theredfish)

Special thanks to our sponsors