Skip to content

Releases: Synphonyte/leptos-use

Version 0.18.3

26 Feb 16:22

Choose a tag to compare

Changes in this version:

[0.18.3] - 2026-02-25

Fixes 🍕

  • Updated web-sys to min version ^0.3.89 because of yanked versions of js-sys.

Special thanks to our sponsor

(yanked) Version 0.18.2

26 Feb 16:22

Choose a tag to compare

Changes in this version:

(yanked) [0.18.2] - 2026-02-25

Fixes 🍕

  • Made things work with both, cfg flag web_sys_unstable_apis enabled and disabled (thanks to @emilbonnek).

Special thanks to our sponsor

(yanked) Version 0.18.1

25 Feb 18:39

Choose a tag to compare

Changes in this version:

(yanked) [0.18.1] - 2026-02-24

Fixes 🍕

  • Added GeolocationPosition and GeolocationPositionError web-sys features as dependencies for use_geolocation.
  • Updated web-sys to min version 0.3.86 because of Geolocation API changes.

Special thanks to our sponsor

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