Releases: Synphonyte/leptos-use
Releases · Synphonyte/leptos-use
Version 0.18.0
Changes in this version:
[0.18.0] - 2026-01-11
Breaking Changes 🛠
Element(s)MaybeSignalis now internally sendwrapped for SSR robustness. Some automatic conversions have been removed when they can't really be made SSR safe likeSignal<web_sys::Element>. UseSignal<SendWrapper<web_sys::Element>>instead.OptionLocalSignalnow has a clone free.read()implementation (thanks to @luxalpa).
New
- There's now an
OptionLocalRwSignalfor dealing with non-Send/non-Syncvalues in an SSR safe manner (thanks to @luxalpa).
Special thanks to our sponsor
Version 0.17.0
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_cookienow requires its value type to bePartialEqto be able to compare values to avoid infinite update loops.use_event_source(all thanks to @DrFlowerkick):- It now accepts its
urlparameter asimpl Into<Signal<String>> UseEventSourceReturnnow longer has the fieldsevent_source,eventordata.
Instead there is now amessagefield which is aSignal<Option<UseEventSourceMessage>>. Please check the docs for more info.UseEventSourceOptionsnow accepts anon_eventgeneric event handler.UseEventSourceErrorhas changed (again => pls see docs).
- It now accepts its
use_websocketno longer returns access towsto 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 newOptionLocalSignalwhich is basically aSignal<Option<SendWrapper<T>>>.
This solves the SSR issues (all thanks to @DrFlowerkick):use_broadcast_channeluse_geolocationuse_web_notificationuse_display_mediause_user_mediause_intl_number_format
New Functions 🚀
use_screen_orientation
Fixes 🍕
use_event_sourceSSR fixedElementsMaybeSignalandElementMaybeSignalcan 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.
- When using
- Fixed broken link in docs for
use_locale(thanks to @cocoliliace).
Special thanks to our sponsor
Version 0.16.3
Changes in this version:
[0.16.3] - 2025-09-30
Change
- Implemented
PartialEqforcore::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
Version 0.15.10
Version 0.16.1
Changes in this version:
[0.16.1] - 2025-06-16
Dependency Fixes 🐛
- Removed version pin for
chrono - Made
chronooptional inCargo.toml(thanks to @emilbonnek)
Special thanks to our sponsor
Version 0.15.9
Changes in this version:
[0.15.9] - 2025-06-16
Dependency Fixes 🐛
- Removed version pin for
chrono - Made
chronooptional inCargo.toml(thanks to @emilbonnek)
Special thanks to our sponsor
Version 0.16.0
Changes in this version:
[0.16.0] - 2025-06-12
Breaking Change 🛠
New Features 🚀
- Added
month_by_datetouse_calendar(thanks to @tomaszkubacki) - Added
target_offsettouse_draggable(thanks to @theredfish) UseRwSignalcan now be converted from anything that implements the respective reactive Leptos traits.
This includes Signals, Memos, Store fields, ... meaning thesync_signalnow works with everything.ElementMaybeSignalcan be converted fromSignal<SendWrapper<web_sys::Element>>improving interop
with other crates.
Fixes 🍕
use_cookiewith SSR has been fixed. This fixes theuse_color_modeSSR issues as well.use_event_sourcewith infinity reconnect limit has been fixed.- Conversion of
ElementMaybeSignalfrom&strhas been fixed.
Special thanks to our sponsor
Version 0.15.8
Changes in this version:
[0.15.8] - 2025-06-12
New Features 🚀
- Added
month_by_datetouse_calendar(thanks to @tomaszkubacki) - Added
target_offsettouse_draggable(thanks to @theredfish) UseRwSignalcan now be converted from anything that implements the respective reactive Leptos traits.
This includes Signals, Memos, Store fields, ... meaning thesync_signalnow works with everything.ElementMaybeSignalcan be converted fromSignal<SendWrapper<web_sys::Element>>improving interop
with other crates.
Fixes 🍕
use_cookiewith SSR has been fixed. This fixes theuse_color_modeSSR issues as well.use_event_sourcewith infinity reconnect limit has been fixed.- Conversion of
ElementMaybeSignalfrom&strhas been fixed.
Special thanks to our sponsor
Version 0.16.0-beta2
Changes in this version:
[0.16.0-beta2] - 2025-03-20
Breaking Change 🛠
New Feature 🚀
- Added
target_offsettouse_draggableoptions for more flexible positioning (thanks to @theredfish)