Skip to content

Commit 3d44ac9

Browse files
authored
Version Packages (#964)
2 parents a951df4 + dceab3a commit 3d44ac9

6 files changed

Lines changed: 14 additions & 12 deletions

File tree

.changeset/clipboard-defer-initial-fix.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/keyboard-meta-shortcut-repeat.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/clipboard/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @solid-primitives/clipboard
22

3+
## 1.6.5
4+
5+
### Patch Changes
6+
7+
- 4af6707: Fix `createClipboard`'s `deferInitial` parameter being completely non-functional — `deferInitial || true` always evaluated to `true` regardless of the argument passed, so explicitly passing `deferInitial={false}` had no effect and the clipboard was never written from the initial signal value (resolves #790). Also corrected the JSDoc, which incorrectly claimed the default was `false` when the intended (and actual, once fixed) default is `true` — skip the initial write unless `deferInitial` is explicitly `false`.
8+
39
## 1.6.4
410

511
### Patch Changes

packages/clipboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solid-primitives/clipboard",
3-
"version": "1.6.4",
3+
"version": "1.6.5",
44
"description": "Primitives for reading and writing to clipboard.",
55
"author": "David Di Biase <dave@solidjs.com>",
66
"contributors": [

packages/keyboard/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @solid-primitives/keyboard
22

3+
## 1.3.6
4+
5+
### Patch Changes
6+
7+
- 8fdc007: Fix `useKeyDownList` (and everything built on it: `useCurrentlyHeldKey`, `useKeyDownSequence`, `createKeyHold`, `createShortcut`) failing to re-trigger on repeated presses of shortcuts involving the `Meta` key, e.g. `["Meta", "P"]` on macOS. macOS never fires `keyup` for other keys held down together with Meta, only for Meta itself, so `useKeyDownList` now treats Meta's `keyup` as a signal to clear all tracked keys, preventing stale key state from corrupting the next press.
8+
39
## 1.3.5
410

511
### Patch Changes

packages/keyboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solid-primitives/keyboard",
3-
"version": "1.3.5",
3+
"version": "1.3.6",
44
"description": "A library of reactive promitives helping handling user's keyboard input.",
55
"author": "Damian Tarnwski <gthetarnav@gmail.com>",
66
"contributors": [],

0 commit comments

Comments
 (0)