Skip to content

Commit

Permalink
release 0.15.5
Browse files Browse the repository at this point in the history
  • Loading branch information
maccesch committed Jan 16, 2025
1 parent 8de3165 commit 7e5e03b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.15.5] - 2025-01-15

### Fix 🍕

- `sync_signal` with `immediate = true` now syncs the signals on the server once initially. This fixes `use_color_mode`
with cookies enabled to give wrong results during SSR.

## [0.15.4] - 2025-01-15

### Fixes 🍕
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "leptos-use"
version = "0.15.4"
version = "0.15.5"
edition = "2021"
authors = ["Marc-Stefan Cassola"]
categories = ["gui", "web-programming", "wasm"]
Expand Down
6 changes: 3 additions & 3 deletions src/sync_signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ use std::rc::Rc;
/// # view! { }
/// # }
/// ```
///
///
/// ## Server-Side Rendering
///
///
/// On the server the signals are not continuously synced. If the option `immediate` is `true`, the
/// signals are synced once initially. If the option `immediate` is `false`, then this function
/// signals are synced once initially. If the option `immediate` is `false`, then this function
/// does nothing.
pub fn sync_signal<T>(
left: impl Into<UseRwSignal<T>>,
Expand Down

0 comments on commit 7e5e03b

Please sign in to comment.