Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 22, 2025

Bumps leptos-use from 0.16.3 to 0.17.0.

Release notes

Sourced from leptos-use's releases.

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_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

Changelog

Sourced from leptos-use's changelog.

[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

Commits
  • 0e9b9c4 Update cd.yml
  • fd5ed17 Update README.md
  • e79ad1a release notes and cleanup
  • 0fe2de2 Merge pull request #287 from cocoliliace/main
  • 8c5edfe Fix broken link in use_locale doc
  • f5f7831 Merge pull request #286 from DrFlowerkick/fix_format_range
  • 46c2b10 fix: 🐛 Replace LocalStorage from return of format_range()
  • baba63a Merge pull request #285 from DrFlowerkick/fix_media_stream_hooks
  • e7a47a2 fix: 🐛 Replacing signal_local with OptionLocalSignal
  • 9ac23d1 fix: 🐛 Replacing signal_local with OptionsLocalSignal
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated leptos-use dependency to version 0.17.

✏️ Tip: You can customize this high-level summary in your review settings.

Bumps [leptos-use](https://github.com/Synphonyte/leptos-use) from 0.16.3 to 0.17.0.
- [Release notes](https://github.com/Synphonyte/leptos-use/releases)
- [Changelog](https://github.com/Synphonyte/leptos-use/blob/main/CHANGELOG.md)
- [Commits](Synphonyte/leptos-use@v0.16.3...v0.17.0)

---
updated-dependencies:
- dependency-name: leptos-use
  dependency-version: 0.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 22, 2025
@dependabot dependabot bot requested a review from a team as a code owner December 22, 2025 01:12
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 22, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 22, 2025

Walkthrough

The leptos-use dependency in Cargo.toml has been updated from version 0.16 to 0.17. This is a straightforward version bump with no functional or structural code changes.

Changes

Cohort / File(s) Summary
Dependency version update
Cargo.toml
Updated leptos-use from 0.16 to 0.17 in [dependencies] section

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Simple version bump with no logic changes
  • No code modifications, only dependency declaration update
  • Standard maintenance change

Suggested reviewers

  • LesnyRumcajs
  • hanabi1224

Poem

🐰 A whisker twitch, a version leap,
From sixteen up to seventeen deep!
The Leptos blooms in newer light,
Our little update bounces right! 🌱

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: a dependency version bump of leptos-use from 0.16.3 to 0.17.0, which matches the changeset perfectly.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dependabot/cargo/leptos-use-0.17.0

📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between bc1261b and 4876d79.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • Cargo.toml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: lint
  • GitHub Check: E2E API Tests
  • GitHub Check: E2E Claim Token API CORS Tests
  • GitHub Check: E2E Browser Tests
  • GitHub Check: deploy
  • GitHub Check: codedov
🔇 Additional comments (1)
Cargo.toml (1)

32-32: leptos-use 0.17.0 dependency update is safe.

While this version introduces breaking changes (Rust 2024 edition requirement, PartialEq requirement for use_cookie, API changes to use_event_source and use_websocket, and signal type changes for several hooks), none of the affected hooks are used in the codebase. The version bump can proceed without additional code changes.


Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 41.11%. Comparing base (bc1261b) to head (4876d79).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #376   +/-   ##
=======================================
  Coverage   41.11%   41.11%           
=======================================
  Files          40       40           
  Lines        2668     2668           
=======================================
  Hits         1097     1097           
  Misses       1571     1571           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@LesnyRumcajs LesnyRumcajs added this pull request to the merge queue Dec 22, 2025
Merged via the queue into main with commit 0540ca1 Dec 22, 2025
7 checks passed
@LesnyRumcajs LesnyRumcajs deleted the dependabot/cargo/leptos-use-0.17.0 branch December 22, 2025 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants