Skip to content

Commit 4b32745

Browse files
committed
Added GeolocationPosition and GeolocationPositionError web-sys
features as dependencies for use_geolocation.
1 parent bc6ccb2 commit 4b32745

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## [0.18.1] - 2026-02-23
7+
8+
### Fixes 🍕
9+
10+
- Added `GeolocationPosition` and `GeolocationPositionError` web-sys features as dependencies for use_geolocation.
11+
12+
### Special thanks to our sponsor
13+
- @benwis
14+
615
## [0.18.0] - 2026-01-11
716

817
### Breaking Changes 🛠

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "leptos-use"
3-
version = "0.18.0"
3+
version = "0.18.1"
44
edition = "2024"
55
categories = ["gui", "web-programming", "wasm"]
66
description = "Collection of essential Leptos utilities inspired by React-Use / VueUse"
@@ -267,6 +267,8 @@ use_geolocation = [
267267
"use_window",
268268
"web-sys/Coordinates",
269269
"web-sys/Geolocation",
270+
"web-sys/GeolocationPosition",
271+
"web-sys/GeolocationPositionError",
270272
"web-sys/Position",
271273
"web-sys/PositionError",
272274
"web-sys/PositionOptions",

0 commit comments

Comments
 (0)