Skip to content

Commit 0edff4b

Browse files
committed
updated Cargo.toml, CHANGELOG.md
1 parent 0829342 commit 0edff4b

File tree

2 files changed

+42
-39
lines changed

2 files changed

+42
-39
lines changed

CHANGELOG.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,32 @@
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.16.0-beta2] - 2025-03-20
7+
8+
### Breaking Change 🛠
9+
10+
- Updated dependency Leptos to version `0.8.0` (thanks to @DerKnerd, @jaystile)
11+
12+
### New Feature 🚀
13+
14+
- Added `target_offset` to `use_draggable` options for more flexible positioning (thanks to @theredfish)
15+
16+
### Special thanks to our sponsors
17+
- @benwis
18+
- @spencewenski
19+
620
## [0.16.0-beta] - 2025-03-20
721

822
### Breaking Change 🛠
923

1024
- Updated dependency Leptos to version `0.8.0-beta` (thanks to @ifiokjr)
1125

12-
### Special thanks to our sponsor
26+
### New Feature 🚀
27+
28+
- Added `month_by_date` to `use_calendar` (thanks to @tomaszkubacki)
29+
30+
### Special thanks to our sponsors
31+
- @benwis
1332
- @spencewenski
1433

1534
## [0.16.0-alpha] - 2025-03-17
@@ -194,7 +213,7 @@ Special thanks to our sponsor:
194213
- Adapted to the latest changes in Leptos (thanks to @BakerNet and @nikessel)
195214
- Fixed all the examples
196215
- `use_active_element` ported
197-
- `use_drop_zone` now returns `Signal<Vec<SendSignal<web_sys::File>>>` instead of `Signal<Vec<web_sys::File>, LocalStorage>`
216+
- `use_drop_zone` now returns `Signal<Vec<SendSignal<web_sys::File>>>` instead of `Signal<Vec<web_sys::File>, LocalStorage>`
198217
to make it easier to use with `<For>`
199218

200219
## [0.14.0-beta4] - 2024-09-15
@@ -281,7 +300,7 @@ Thanks to our generous sponsor:
281300

282301
- Fixed web-sys `unstable_apis` flag for `use_web_lock`
283302

284-
## [0.13.1] - 2024-09-01
303+
## [0.13.1] - 2024-09-01
285304

286305
### New Functions 🚀
287306

@@ -290,7 +309,7 @@ Thanks to our generous sponsor:
290309

291310
### Change 🔥
292311

293-
- `UseWebsocket::protocols` now supports a signal. It is read right before `open` is called. (thanks to @zakstucke)
312+
- `UseWebsocket::protocols` now supports a signal. It is read right before `open` is called. (thanks to @zakstucke)
294313

295314
## [0.13.0] - 2024-08-28
296315

@@ -351,7 +370,7 @@ Thanks to our generous sponsor:
351370

352371
- `use_locale` has now a supported locale list.
353372

354-
## (yanked) [0.11.1] - 2024-07-28
373+
## (yanked) [0.11.1] - 2024-07-28
355374

356375
### New Functions 🚀
357376

Cargo.toml

Lines changed: 18 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "leptos-use"
3-
version = "0.16.0"
3+
version = "0.16.0-beta2"
44
edition = "2021"
55
authors = ["Marc-Stefan Cassola"]
66
categories = ["gui", "web-programming", "wasm"]
@@ -127,7 +127,7 @@ default = [
127127
"watch_pausable",
128128
"watch_throttled",
129129
"watch_with_options",
130-
"whenever"
130+
"whenever",
131131
]
132132
use_calendar = []
133133
use_textarea_autosize = [
@@ -166,7 +166,7 @@ storage = [
166166
"dep:web-sys",
167167
"dep:codee",
168168
"web-sys/CustomEventInit",
169-
"web-sys/Storage"
169+
"web-sys/Storage",
170170
]
171171
sync_signal = []
172172
use_active_element = ["use_event_listener"]
@@ -189,18 +189,15 @@ use_color_mode = [
189189
"use_cycle_list",
190190
"use_preferred_dark",
191191
"storage",
192-
"sync_signal"
192+
"sync_signal",
193193
]
194194
use_cookie = [
195195
"use_broadcast_channel",
196196
"watch_pausable",
197197
"dep:cookie",
198198
"web-sys/HtmlDocument",
199199
]
200-
use_css_var = [
201-
"use_mutation_observer",
202-
"watch_with_options",
203-
]
200+
use_css_var = ["use_mutation_observer", "watch_with_options"]
204201
use_cycle_list = []
205202
use_debounce_fn = []
206203
use_device_orientation = ["use_event_listener", "use_supported"]
@@ -212,18 +209,14 @@ use_display_media = [
212209
"web-sys/MediaStream",
213210
"web-sys/MediaStreamTrack",
214211
]
215-
use_document = [
216-
"dep:web-sys",
217-
"web-sys/NodeList",
218-
"web-sys/VisibilityState",
219-
]
212+
use_document = ["dep:web-sys", "web-sys/NodeList", "web-sys/VisibilityState"]
220213
use_document_visibility = ["use_event_listener", "web-sys/VisibilityState"]
221214
use_draggable = ["use_event_listener", "web-sys/DomRect"]
222215
use_drop_zone = [
223216
"use_event_listener",
224217
"web-sys/DataTransfer",
225218
"web-sys/File",
226-
"web-sys/FileList"
219+
"web-sys/FileList",
227220
]
228221
use_element_bounding = [
229222
"use_event_listener",
@@ -236,16 +229,13 @@ use_element_size = [
236229
"watch_with_options",
237230
"web-sys/ResizeObserverSize",
238231
]
239-
use_element_visibility = [
240-
"use_intersection_observer",
241-
"web-sys/DomRect",
242-
]
232+
use_element_visibility = ["use_intersection_observer", "web-sys/DomRect"]
243233
use_event_listener = [
244234
"element",
245235
"watch_with_options",
246236
"dep:web-sys",
247237
"web-sys/EventTarget",
248-
"web-sys/EventListenerOptions"
238+
"web-sys/EventListenerOptions",
249239
]
250240
use_event_source = [
251241
"use_event_listener",
@@ -262,11 +252,7 @@ use_geolocation = [
262252
"web-sys/PositionError",
263253
"web-sys/PositionOptions",
264254
]
265-
use_idle = [
266-
"use_event_listener",
267-
"use_document",
268-
"use_timestamp",
269-
]
255+
use_idle = ["use_event_listener", "use_document", "use_timestamp"]
270256
use_infinite_scroll = [
271257
"use_element_visibility",
272258
"use_scroll",
@@ -293,10 +279,7 @@ use_mouse = [
293279
"web-sys/Touch",
294280
"web-sys/TouchList",
295281
]
296-
use_mouse_in_element = [
297-
"use_mouse",
298-
"web-sys/DomRect",
299-
]
282+
use_mouse_in_element = ["use_mouse", "web-sys/DomRect"]
300283
use_mutation_observer = [
301284
"element",
302285
"use_supported",
@@ -335,7 +318,7 @@ use_service_worker = [
335318
"use_window",
336319
"web-sys/ServiceWorker",
337320
"web-sys/ServiceWorkerContainer",
338-
"web-sys/ServiceWorkerRegistration"
321+
"web-sys/ServiceWorkerRegistration",
339322
]
340323
use_sorted = []
341324
use_supported = []
@@ -361,14 +344,15 @@ use_web_notification = [
361344
"web-sys/NotificationOptions",
362345
"web-sys/NotificationPermission",
363346
"web-sys/NotificationDirection",
364-
"web-sys/VisibilityState"
347+
"web-sys/VisibilityState",
365348
]
366-
use_websocket = [
349+
use_websocket = ["dep:web-sys", "dep:codee", "use_interval_fn"]
350+
use_window = [
351+
"use_document",
367352
"dep:web-sys",
368-
"dep:codee",
369-
"use_interval_fn"
353+
"web-sys/Navigator",
354+
"web-sys/MediaQueryList",
370355
]
371-
use_window = ["use_document", "dep:web-sys", "web-sys/Navigator", "web-sys/MediaQueryList"]
372356
use_window_focus = ["use_event_listener"]
373357
use_window_scroll = ["use_event_listener", "use_window"]
374358
wasm_ssr = []

0 commit comments

Comments
 (0)