Skip to content

Releases: Synphonyte/leptos-use

Version 0.14.0-beta1

02 Sep 14:32
Compare
Choose a tag to compare
Version 0.14.0-beta1 Pre-release
Pre-release

Changes in this version:

[0.14.0-beta1] - 2024-09-02

Ported everything to Leptos 0.7
Some example don't run yet.

Version 0.13.3

02 Sep 18:54
Compare
Choose a tag to compare

Changes in this version:

[0.13.3] - 2024-09-02

Fix 🍕

  • Fixed use_color_mode with cookies enabled

Version 0.13.2

02 Sep 11:43
Compare
Choose a tag to compare

Changes in this version:

[0.13.2] - 2024-09-02

Fix 🍕

  • Fixed web-sys unstable_apis flag for use_web_lock

Version 0.13.1

01 Sep 19:58
Compare
Choose a tag to compare

Changes in this version:

[0.13.1] - 2024-09-01

New Functions 🚀

  • use_web_lock
  • use_window_size

Change 🔥

  • UseWebsocket::protocols now supports a signal. It is read right before open is called. (thanks to @zakstucke)

Version 0.13.0

28 Aug 02:31
Compare
Choose a tag to compare

Changes in this version:

[0.13.0] - 2024-08-28

New Functions 🚀

  • use_toggle
  • use_prefers_reduced_motion (thanks to @hcandelaria)

Breaking Changes 🛠

  • use_websocket now supports different types for sending and receiving messages
  • SyncSignalOptions now can take now either transformations or assignment functions but not both.
  • updated to codee version 0.2.0

Fixes 🍕

  • use_websocket fixed error with cleanup and reconnect (thanks to @BakerNet).

New Features 🚀

  • There is now a feature for almost every function to get better compile and rust-analyzer times.
  • use_web_notification now supports the vibrate option (thanks to @hcandelaria).
  • UseDocument now supports a whole bunch of methods more from document (thanks to @luckynumberke7in).

Version 0.12.0

14 Aug 03:56
Compare
Choose a tag to compare

Changes in this version:

[0.12.0] - 2024-08-14

Make sure you also update cargo-leptos to the latest version if you use that.

Breaking Changes 🛠

  • Updated to web_sys 0.3.70 which unfortunately is breaking some things.
  • use_clipboard doesn't need the unstable flags anymore.
  • use_locale now uses unic_langid::LanguageIdentifier and proper locale matching (thanks to @mondeja).
  • Removed UseMouseEventExtractorDefault and reworked UseMouseCoordType (thanks to @carloskiki)
  • use_preferred_dark and use_color_mode now try to read the Sec-CH-Prefers-Color-Scheme header in SSR. This brings
    the necessity to enable an additional feature for them (axum / actix / spin).

Fixes 🍕

  • Fixed the codec chapter in the book to refer to crate codee.

Version 0.11.4

12 Aug 12:35
Compare
Choose a tag to compare

Changes in this version:

[0.11.4] - 2024-08-12

New Features 🚀

  • use_web_notification now supports the options renotify, silent and image (thanks to @hcandelaria).
  • sync_signal no supports the options assign_ltr and assign_rtl.

Version 0.11.3

02 Sep 11:43
Compare
Choose a tag to compare

Changes in this version:

[0.11.3] - 2024-07-31

Fix 🍕

  • Made use_timeout_fn SSR-safe

Version 0.11.2

30 Jul 12:15
Compare
Choose a tag to compare

Changes in this version:

[0.11.2] - 2024-07-30

Change 🔥

  • use_locale has now a supported locale list.

Version 0.11.1

28 Jul 20:22
Compare
Choose a tag to compare
Version 0.11.1 Pre-release
Pre-release

Changes in this version:

[0.11.1] - 2024-07-28

New Functions 🚀

  • use_locale (thanks to @BrandonDyer64)
  • use_locales (thanks to @BrandonDyer64)
  • header – Standard implementations for reading a header on the server.