Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,15 @@
"scroll-solid2-migration",
"selection-solid2-migration",
"sensors-new-package",
"server-write-and-ref-factories",
"set-solid2-migration",
"share-beta17-action-guard-test-fix",
"share-solid2-migration",
"signal-builders-solid2-migration",
"signal-builders-toggle",
"solid-2-beta-20-upgrade",
"solid-2-rc-0-upgrade",
"solid-2-rc-9-upgrade",
"sortable-initial",
"spring-solid2-migration",
"sse-solid2-async-reactivity",
Expand Down
15 changes: 15 additions & 0 deletions packages/a11y/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @solid-primitives/a11y

## 1.0.0-next.4

### Patch Changes

- 638c530: Bump the `solid-js`/`@solidjs/web`/`@solidjs/signals` peer and dev dependency range to `2.0.0-rc.9`, and `babel-preset-solid` to `2.0.0-rc.2`.

Two behavior fixes were needed to keep up with upstream changes in this range:

- `@solid-primitives/deep`: `captureStoreUpdates` no longer missed property changes. As of `2.0.0-rc.1` a store's `[$TRACK]` only fires for structural changes (key additions/removals), so leaf value changes stopped being reported. Each node's direct property values are now tracked individually. Updates are still reported at the shallowest node that actually changed.
- `@solid-primitives/storage`: `makePersisted` no longer persists stale data. Signal writes stay pending until the next flush in `2.0.0-rc.1`+, so reading the value back inside the setter returned the _previous_ one — persisting stale data, or removing the stored entry entirely when the previous value was nullish. The value returned by the setter is now persisted directly.

- Updated dependencies [7ee755d]
- Updated dependencies [638c530]
- @solid-primitives/utils@7.0.0-next.5

## 1.0.0-next.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/a11y/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/a11y",
"version": "1.0.0-next.3",
"version": "1.0.0-next.4",
"description": "Accessibility primitives for Solid.js — labeled field groups, ARIA graph helpers, and more.",
"license": "MIT",
"exports": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/a11y/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/a11y",
"version": "1.0.0-next.3",
"version": "1.0.0-next.4",
"description": "Accessibility primitives — labeled field groups, ARIA graph helpers, and more.",
"author": "David Di Biase <dave.dibiase@gmail.com>",
"contributors": [],
Expand Down
16 changes: 16 additions & 0 deletions packages/active-element/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @solid-primitives/active-element

## 3.0.0-next.3

### Patch Changes

- 638c530: Bump the `solid-js`/`@solidjs/web`/`@solidjs/signals` peer and dev dependency range to `2.0.0-rc.9`, and `babel-preset-solid` to `2.0.0-rc.2`.

Two behavior fixes were needed to keep up with upstream changes in this range:

- `@solid-primitives/deep`: `captureStoreUpdates` no longer missed property changes. As of `2.0.0-rc.1` a store's `[$TRACK]` only fires for structural changes (key additions/removals), so leaf value changes stopped being reported. Each node's direct property values are now tracked individually. Updates are still reported at the shallowest node that actually changed.
- `@solid-primitives/storage`: `makePersisted` no longer persists stale data. Signal writes stay pending until the next flush in `2.0.0-rc.1`+, so reading the value back inside the setter returned the _previous_ one — persisting stale data, or removing the stored entry entirely when the previous value was nullish. The value returned by the setter is now persisted directly.

- Updated dependencies [7ee755d]
- Updated dependencies [638c530]
- @solid-primitives/utils@7.0.0-next.5
- @solid-primitives/event-listener@3.0.0-next.6

## 3.0.0-next.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/active-element/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/active-element",
"version": "3.0.0-next.2",
"version": "3.0.0-next.3",
"description": "A reactive document.activeElement. Check which element is currently focused.",
"license": "MIT",
"exports": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/active-element/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/active-element",
"version": "3.0.0-next.2",
"version": "3.0.0-next.3",
"description": "A reactive document.activeElement. Check which element is currently focused.",
"author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>",
"contributors": [
Expand Down
31 changes: 31 additions & 0 deletions packages/analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# @solid-primitives/analytics

## 2.0.0-next.3

### Patch Changes

- 7ee755d: Stop writing signals during server renders, and ship ref-factory forms of the remaining `use:`-shaped directives.

Solid 2 (`2.0.0-rc.1`+) flags a signal or store setter that runs during a server render (`SERVER_WRITE`): the write lands as inert data today and will throw in a later release. Eight primitives still did this:

- `@solid-primitives/utils`: new `createServerSafeSignal(value, options)` — `createSignal` on the client; on the server the signal is still created (so hydration ids stay aligned) but reads and writes go to a plain box. For primitives that hold interactive state with no async source.
- `@solid-primitives/analytics`, `@solid-primitives/list-state`, `@solid-primitives/queue`, and `createInfiniteScroll` in `@solid-primitives/pagination`: internal state uses `createServerSafeSignal`.
- `@solid-primitives/controlled-signal`: on the server an uncontrolled write lands in a plain override instead of the signal; reads and `onChange` behave as before.
- `@solid-primitives/date`: `createCountdown` is now a derived store (`createStore(fn, seed)`) instead of a render effect writing into one — the shape upstream prescribes.
- `@solid-primitives/masonry`: the one-shot signal that wired items to the layout memo is a plain variable.
- `@solid-primitives/pagination`: `createPagination` no longer reads its options at the top level of the calling component (`STRICT_READ_UNTRACKED`).
- `@solid-primitives/tween`: the effect's apply phase reads the current value with `untrack` (`STRICT_READ_UNTRACKED`).

`@solid-primitives/event-listener` and `@solid-primitives/pointer`: `eventListener`, `pointerPosition` and `pointerHover` now return a ref callback when called with props alone — `<button ref={eventListener(["click", onClick])} />`, `<div ref={pointerHover(setHovering)} />` — matching the `ref` directive shape Solid 2 replaced `use:` with. The two-argument `(el, props)` form still works.

- 638c530: Bump the `solid-js`/`@solidjs/web`/`@solidjs/signals` peer and dev dependency range to `2.0.0-rc.9`, and `babel-preset-solid` to `2.0.0-rc.2`.

Two behavior fixes were needed to keep up with upstream changes in this range:

- `@solid-primitives/deep`: `captureStoreUpdates` no longer missed property changes. As of `2.0.0-rc.1` a store's `[$TRACK]` only fires for structural changes (key additions/removals), so leaf value changes stopped being reported. Each node's direct property values are now tracked individually. Updates are still reported at the shallowest node that actually changed.
- `@solid-primitives/storage`: `makePersisted` no longer persists stale data. Signal writes stay pending until the next flush in `2.0.0-rc.1`+, so reading the value back inside the setter returned the _previous_ one — persisting stale data, or removing the stored entry entirely when the previous value was nullish. The value returned by the setter is now persisted directly.

- Updated dependencies [7ee755d]
- Updated dependencies [638c530]
- @solid-primitives/utils@7.0.0-next.5
- @solid-primitives/queue@1.0.0-next.4
- @solid-primitives/page-utilities@3.0.0-next.3

## 2.0.0-next.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/analytics",
"version": "2.0.0-next.2",
"version": "2.0.0-next.3",
"description": "Solid primitives for analytics tracking with a plugin-compatible queue-based dispatch pipeline.",
"license": "MIT",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/analytics",
"version": "2.0.0-next.2",
"version": "2.0.0-next.3",
"description": "Primitives for analytics tracking with a plugin-compatible queue-based dispatch pipeline.",
"author": "David Di Biase <dave@solidjs.com>",
"primitive": {
Expand Down
15 changes: 15 additions & 0 deletions packages/animation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @solid-primitives/animation

## 1.0.0-next.2

### Patch Changes

- 638c530: Bump the `solid-js`/`@solidjs/web`/`@solidjs/signals` peer and dev dependency range to `2.0.0-rc.9`, and `babel-preset-solid` to `2.0.0-rc.2`.

Two behavior fixes were needed to keep up with upstream changes in this range:

- `@solid-primitives/deep`: `captureStoreUpdates` no longer missed property changes. As of `2.0.0-rc.1` a store's `[$TRACK]` only fires for structural changes (key additions/removals), so leaf value changes stopped being reported. Each node's direct property values are now tracked individually. Updates are still reported at the shallowest node that actually changed.
- `@solid-primitives/storage`: `makePersisted` no longer persists stale data. Signal writes stay pending until the next flush in `2.0.0-rc.1`+, so reading the value back inside the setter returned the _previous_ one — persisting stale data, or removing the stored entry entirely when the previous value was nullish. The value returned by the setter is now persisted directly.

- Updated dependencies [7ee755d]
- Updated dependencies [638c530]
- @solid-primitives/utils@7.0.0-next.5

## 1.0.0-next.1

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/animation/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/animation",
"version": "1.0.0-next.1",
"version": "1.0.0-next.2",
"description": "SolidJS primitives for the Web Animations API (WAAPI) — reactive wrappers for element.animate, scroll timelines, view timelines, FLIP, stagger, and animation groups.",
"license": "MIT",
"exports": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/animation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/animation",
"version": "1.0.0-next.1",
"version": "1.0.0-next.2",
"description": "SolidJS primitives for the Web Animations API (WAAPI) — reactive wrappers for element.animate, scroll timelines, view timelines, FLIP, stagger, and animation groups.",
"license": "MIT",
"homepage": "https://primitives.solidjs.community/package/animation",
Expand Down
11 changes: 11 additions & 0 deletions packages/async/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @solid-primitives/async

## 0.0.101-next.4

### Patch Changes

- 638c530: Bump the `solid-js`/`@solidjs/web`/`@solidjs/signals` peer and dev dependency range to `2.0.0-rc.9`, and `babel-preset-solid` to `2.0.0-rc.2`.

Two behavior fixes were needed to keep up with upstream changes in this range:

- `@solid-primitives/deep`: `captureStoreUpdates` no longer missed property changes. As of `2.0.0-rc.1` a store's `[$TRACK]` only fires for structural changes (key additions/removals), so leaf value changes stopped being reported. Each node's direct property values are now tracked individually. Updates are still reported at the shallowest node that actually changed.
- `@solid-primitives/storage`: `makePersisted` no longer persists stale data. Signal writes stay pending until the next flush in `2.0.0-rc.1`+, so reading the value back inside the setter returned the _previous_ one — persisting stale data, or removing the stored entry entirely when the previous value was nullish. The value returned by the setter is now persisted directly.

## 0.0.101-next.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/async/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/async",
"version": "0.0.101-next.3",
"version": "0.0.101-next.4",
"description": "A collection of primitives for asynchronous handling.",
"license": "MIT",
"exports": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/async/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/async",
"version": "0.0.101-next.3",
"version": "0.0.101-next.4",
"description": "A collection of primitives for asynchronous handling.",
"author": "Alex Lohr <alexthkloss@web.de>",
"contributors": [],
Expand Down
16 changes: 16 additions & 0 deletions packages/audio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @solid-primitives/audio

## 3.0.0-next.3

### Patch Changes

- 638c530: Bump the `solid-js`/`@solidjs/web`/`@solidjs/signals` peer and dev dependency range to `2.0.0-rc.9`, and `babel-preset-solid` to `2.0.0-rc.2`.

Two behavior fixes were needed to keep up with upstream changes in this range:

- `@solid-primitives/deep`: `captureStoreUpdates` no longer missed property changes. As of `2.0.0-rc.1` a store's `[$TRACK]` only fires for structural changes (key additions/removals), so leaf value changes stopped being reported. Each node's direct property values are now tracked individually. Updates are still reported at the shallowest node that actually changed.
- `@solid-primitives/storage`: `makePersisted` no longer persists stale data. Signal writes stay pending until the next flush in `2.0.0-rc.1`+, so reading the value back inside the setter returned the _previous_ one — persisting stale data, or removing the stored entry entirely when the previous value was nullish. The value returned by the setter is now persisted directly.

- Updated dependencies [7ee755d]
- Updated dependencies [638c530]
- @solid-primitives/utils@7.0.0-next.5
- @solid-primitives/static-store@1.0.0-next.3

## 3.0.0-next.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/audio/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/audio",
"version": "3.0.0-next.2",
"version": "3.0.0-next.3",
"description": "Primitives to manage audio and single sounds.",
"license": "MIT",
"exports": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/audio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/audio",
"version": "3.0.0-next.2",
"version": "3.0.0-next.3",
"description": "Primitives to manage audio and single sounds.",
"author": "David Di Biase <dave@solidjs.com>",
"license": "MIT",
Expand Down
16 changes: 16 additions & 0 deletions packages/bounds/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @solid-primitives/bounds

## 1.0.0-next.3

### Patch Changes

- 638c530: Bump the `solid-js`/`@solidjs/web`/`@solidjs/signals` peer and dev dependency range to `2.0.0-rc.9`, and `babel-preset-solid` to `2.0.0-rc.2`.

Two behavior fixes were needed to keep up with upstream changes in this range:

- `@solid-primitives/deep`: `captureStoreUpdates` no longer missed property changes. As of `2.0.0-rc.1` a store's `[$TRACK]` only fires for structural changes (key additions/removals), so leaf value changes stopped being reported. Each node's direct property values are now tracked individually. Updates are still reported at the shallowest node that actually changed.
- `@solid-primitives/storage`: `makePersisted` no longer persists stale data. Signal writes stay pending until the next flush in `2.0.0-rc.1`+, so reading the value back inside the setter returned the _previous_ one — persisting stale data, or removing the stored entry entirely when the previous value was nullish. The value returned by the setter is now persisted directly.

- Updated dependencies [7ee755d]
- Updated dependencies [638c530]
- @solid-primitives/utils@7.0.0-next.5
- @solid-primitives/event-listener@3.0.0-next.6

## 1.0.0-next.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/bounds/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/bounds",
"version": "1.0.0-next.2",
"version": "1.0.0-next.3",
"description": "Primitives for tracking HTML element size and position on screen as it changes.",
"license": "MIT",
"exports": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/bounds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/bounds",
"version": "1.0.0-next.2",
"version": "1.0.0-next.3",
"description": "Primitives for tracking HTML element size and position on screen as it changes.",
"author": "Damian Tarnawski <gthetarnav@gmail.com>",
"contributors": [],
Expand Down
11 changes: 11 additions & 0 deletions packages/broadcast-channel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @solid-primitives/broadcast-channel

## 1.0.0-next.3

### Patch Changes

- 638c530: Bump the `solid-js`/`@solidjs/web`/`@solidjs/signals` peer and dev dependency range to `2.0.0-rc.9`, and `babel-preset-solid` to `2.0.0-rc.2`.

Two behavior fixes were needed to keep up with upstream changes in this range:

- `@solid-primitives/deep`: `captureStoreUpdates` no longer missed property changes. As of `2.0.0-rc.1` a store's `[$TRACK]` only fires for structural changes (key additions/removals), so leaf value changes stopped being reported. Each node's direct property values are now tracked individually. Updates are still reported at the shallowest node that actually changed.
- `@solid-primitives/storage`: `makePersisted` no longer persists stale data. Signal writes stay pending until the next flush in `2.0.0-rc.1`+, so reading the value back inside the setter returned the _previous_ one — persisting stale data, or removing the stored entry entirely when the previous value was nullish. The value returned by the setter is now persisted directly.

## 1.0.0-next.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/broadcast-channel/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/broadcast-channel",
"version": "1.0.0-next.2",
"version": "1.0.0-next.3",
"description": "Primitives to manage Broadcast Channel API",
"license": "MIT",
"exports": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/broadcast-channel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/broadcast-channel",
"version": "1.0.0-next.2",
"version": "1.0.0-next.3",
"description": "Primitives to manage Broadcast Channel API",
"author": "Caleb Taylor <aquaductape@gmail.com>",
"contributors": [],
Expand Down
15 changes: 15 additions & 0 deletions packages/clipboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @solid-primitives/clipboard

## 2.0.0-next.18

### Patch Changes

- 638c530: Bump the `solid-js`/`@solidjs/web`/`@solidjs/signals` peer and dev dependency range to `2.0.0-rc.9`, and `babel-preset-solid` to `2.0.0-rc.2`.

Two behavior fixes were needed to keep up with upstream changes in this range:

- `@solid-primitives/deep`: `captureStoreUpdates` no longer missed property changes. As of `2.0.0-rc.1` a store's `[$TRACK]` only fires for structural changes (key additions/removals), so leaf value changes stopped being reported. Each node's direct property values are now tracked individually. Updates are still reported at the shallowest node that actually changed.
- `@solid-primitives/storage`: `makePersisted` no longer persists stale data. Signal writes stay pending until the next flush in `2.0.0-rc.1`+, so reading the value back inside the setter returned the _previous_ one — persisting stale data, or removing the stored entry entirely when the previous value was nullish. The value returned by the setter is now persisted directly.

- Updated dependencies [7ee755d]
- Updated dependencies [638c530]
- @solid-primitives/utils@7.0.0-next.5

## 2.0.0-next.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clipboard/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/clipboard",
"version": "2.0.0-next.17",
"version": "2.0.0-next.18",
"description": "Primitives for reading and writing to clipboard.",
"license": "MIT",
"exports": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/clipboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/clipboard",
"version": "2.0.0-next.17",
"version": "2.0.0-next.18",
"description": "Primitives for reading and writing to clipboard.",
"author": "David Di Biase <dave@solidjs.com>",
"contributors": [
Expand Down
17 changes: 17 additions & 0 deletions packages/connectivity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @solid-primitives/connectivity

## 1.0.0-next.3

### Patch Changes

- 638c530: Bump the `solid-js`/`@solidjs/web`/`@solidjs/signals` peer and dev dependency range to `2.0.0-rc.9`, and `babel-preset-solid` to `2.0.0-rc.2`.

Two behavior fixes were needed to keep up with upstream changes in this range:

- `@solid-primitives/deep`: `captureStoreUpdates` no longer missed property changes. As of `2.0.0-rc.1` a store's `[$TRACK]` only fires for structural changes (key additions/removals), so leaf value changes stopped being reported. Each node's direct property values are now tracked individually. Updates are still reported at the shallowest node that actually changed.
- `@solid-primitives/storage`: `makePersisted` no longer persists stale data. Signal writes stay pending until the next flush in `2.0.0-rc.1`+, so reading the value back inside the setter returned the _previous_ one — persisting stale data, or removing the stored entry entirely when the previous value was nullish. The value returned by the setter is now persisted directly.

- Updated dependencies [7ee755d]
- Updated dependencies [638c530]
- @solid-primitives/utils@7.0.0-next.5
- @solid-primitives/event-listener@3.0.0-next.6
- @solid-primitives/rootless@2.0.0-next.3

## 1.0.0-next.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/connectivity/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/connectivity",
"version": "1.0.0-next.2",
"version": "1.0.0-next.3",
"description": "A navigator.onLine signal.",
"license": "MIT",
"exports": "./dist/index.js",
Expand Down
Loading
Loading