mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-22 16:49:22 -05:00
release 0.12.0
This commit is contained in:
parent
30e6c9351b
commit
8324c70742
5 changed files with 15 additions and 12 deletions
|
@ -3,7 +3,9 @@
|
|||
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).
|
||||
|
||||
## [Unreleased] -
|
||||
## [0.12.0] - 2024-08-14
|
||||
|
||||
> Make sure you also update `cargo-leptos` to the latest version if you use that.
|
||||
|
||||
### Breaking Changes 🛠
|
||||
|
||||
|
@ -11,7 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- `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.
|
||||
- `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 🍕
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "leptos-use"
|
||||
version = "0.11.5"
|
||||
version = "0.12.0"
|
||||
edition = "2021"
|
||||
authors = ["Marc-Stefan Cassola"]
|
||||
categories = ["gui", "web-programming"]
|
||||
|
|
12
README.md
12
README.md
|
@ -87,9 +87,9 @@ This will create the function file in the src directory, scaffold an example dir
|
|||
|
||||
## Leptos compatibility
|
||||
|
||||
| Crate version | Compatible Leptos version |
|
||||
|---------------|---------------------------|
|
||||
| <= 0.3 | 0.3 |
|
||||
| 0.4, 0.5, 0.6 | 0.4 |
|
||||
| 0.7, 0.8, 0.9 | 0.5 |
|
||||
| 0.10, 0.11 | 0.6 |
|
||||
| Crate version | Compatible Leptos version |
|
||||
|------------------|---------------------------|
|
||||
| <= 0.3 | 0.3 |
|
||||
| 0.4, 0.5, 0.6 | 0.4 |
|
||||
| 0.7, 0.8, 0.9 | 0.5 |
|
||||
| 0.10, 0.11, 0.12 | 0.6 |
|
||||
|
|
|
@ -4,8 +4,8 @@ use crate::core::{ElementMaybeSignal, MaybeRwSignal};
|
|||
use crate::storage::{use_storage_with_options, UseStorageOptions};
|
||||
use crate::utils::get_header;
|
||||
use crate::{
|
||||
sync_signal_with_options, use_cookie, use_preferred_dark_with_options,
|
||||
SyncSignalOptions, UsePreferredDarkOptions,
|
||||
sync_signal_with_options, use_cookie, use_preferred_dark_with_options, SyncSignalOptions,
|
||||
UsePreferredDarkOptions,
|
||||
};
|
||||
use codee::string::FromToStringCodec;
|
||||
use default_struct_builder::DefaultBuilder;
|
||||
|
|
Loading…
Add table
Reference in a new issue