@pond-ts/react 0.32.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +72 -1
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -8,7 +8,9 @@ The `@pond-ts` packages — `pond-ts`, `@pond-ts/react`, `@pond-ts/charts`, and
8
8
  them all. Pre-1.0: minor bumps may include new features and type-level changes;
9
9
  patch bumps are strictly additive.
10
10
 
11
- [Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.32.0...HEAD
11
+ [Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.34.0...HEAD
12
+ [0.34.0]: https://github.com/pjm17971/pond-ts/compare/v0.33.0...v0.34.0
13
+ [0.33.0]: https://github.com/pjm17971/pond-ts/compare/v0.32.0...v0.33.0
12
14
  [0.32.0]: https://github.com/pjm17971/pond-ts/compare/v0.31.2...v0.32.0
13
15
  [0.31.2]: https://github.com/pjm17971/pond-ts/compare/v0.31.1...v0.31.2
14
16
  [0.31.1]: https://github.com/pjm17971/pond-ts/compare/v0.30.0...v0.31.1
@@ -27,6 +29,75 @@ patch bumps are strictly additive.
27
29
  [0.19.0]: https://github.com/pjm17971/pond-ts/compare/v0.18.0...v0.19.0
28
30
  [0.18.0]: https://github.com/pjm17971/pond-ts/compare/v0.17.1...v0.18.0
29
31
 
32
+ ## [0.34.0] — 2026-07-01
33
+
34
+ A `pond-ts` core release: the columnar/typed-array ingress driven by the
35
+ Tidal wire-format spike. `@pond-ts/react`, `@pond-ts/charts`, and
36
+ `@pond-ts/fit` carry no code changes — republished in lock-step (their
37
+ `pond-ts` / `@pond-ts/react` peer ranges widen to `^0.34.0`).
38
+
39
+ ### Added
40
+
41
+ - **`TimeSeries.fromColumns`** — the columnar (struct-of-arrays) ingress,
42
+ the counterpart to `fromJSON`'s row-tuple shape. Accepts either a plain
43
+ `number[]` or a `Float64Array` per column — one polymorphic door, so a
44
+ wire format only changes the *decoder*, not the ingest. `Float64Array`
45
+ columns are adopted directly (zero-copy); `number[]` columns are copied.
46
+ A `null`/`undefined` cell or a non-finite value (`NaN`/`Infinity`) is a
47
+ gap, identically across both input shapes. Enforces the same
48
+ non-decreasing key-order invariant as `fromJSON`. v1 scope: a `time`-kind
49
+ key and `number` value columns. (#310)
50
+
51
+ Measured against a wire-format spike (`tidal-app/pond-columnar-ingest`):
52
+ `fromColumns` collapses the ingest step that every non-rows path
53
+ previously paid (transpose → `fromJSON`) — 100k-point protobuf ingest
54
+ 27.7ms → 2.8ms; JSON-columnar 27.0ms → 5.2ms. In a browser, decoding
55
+ off-main in a Web Worker and transferring the resulting `Float64Array`s
56
+ back keeps `fromColumns`'s adopt path on the main thread to ~9ms,
57
+ dropping a 500k-point ingest's worst animation-frame stall from ~50ms to
58
+ ~9ms.
59
+
60
+ - **Docs** — a "Columnar ingest" section on the
61
+ [Creating series](https://pjm17971.github.io/pond-ts/docs/start-here/creating#columnar-ingest)
62
+ page covering both input shapes, the adopt-vs-copy/aliasing distinction,
63
+ missing-value and ordering semantics, and why this matters for
64
+ interactive charts; a pointer from Getting Started.
65
+
66
+ ## [0.33.0] — 2026-06-30
67
+
68
+ A `@pond-ts/charts` release: a label opt-out for annotations plus interaction
69
+ fixes from an adversarial review of the #306 annotation system. `pond-ts`,
70
+ `@pond-ts/react`, and `@pond-ts/fit` carry no code changes — republished in
71
+ lock-step (their `pond-ts` / `@pond-ts/react` peer ranges widen to `^0.33.0`).
72
+
73
+ ### Added
74
+
75
+ - **Charts — annotation label opt-out.** `<Region>`, `<Marker>`, and
76
+ `<Baseline>` accept `label={false}` (or `label=""`) to render **no label
77
+ chip** — for an inert background mark (e.g. a `selectable={false}` highlight
78
+ band) where the auto-label would only show a raw axis value. Omitting `label`
79
+ still auto-labels; a string still renders it. `label` widens to
80
+ `string | false`. New `Highlight` story + Linux e2e baselines for the
81
+ `Annotations` stories. (#308)
82
+
83
+ ### Changed
84
+
85
+ - **Charts — `<Region>` / `<Marker>` / `<Baseline>` with `label=""` now render
86
+ no chip** (previously an empty, zero-width chip). The label-less path; pass a
87
+ non-empty string for a visible label. (#308)
88
+
89
+ ### Fixed
90
+
91
+ - **Charts — annotation edge-resize no longer inverts.** Dragging a `<Region>`
92
+ edge past the opposite one previously reported `{ from > to }`; it now pivots
93
+ around the fixed opposite edge, so the reported span stays ordered and a drag
94
+ either way re-opens the region instead of dead-ending at zero width. (#308)
95
+ - **Charts — annotation drag releases on `pointercancel`.** A system gesture
96
+ takeover (which fires `pointercancel`, not `pointerup`) no longer leaves a mark
97
+ stuck mid-drag. (#308)
98
+ - **Charts — single-annotation edit exits on an empty-plot click** even when the
99
+ mark is `editing` but not `selected`. (#308)
100
+
30
101
  ## [0.32.0] — 2026-06-29
31
102
 
32
103
  A `@pond-ts/charts` release: value-axis support across the fill/bar layers, plus
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pond-ts/react",
3
- "version": "0.32.0",
3
+ "version": "0.34.0",
4
4
  "description": "React hooks for pond-ts live time series",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  "test:runtime": "vitest run"
34
34
  },
35
35
  "peerDependencies": {
36
- "pond-ts": "^0.32.0",
36
+ "pond-ts": "^0.34.0",
37
37
  "react": "^18.0.0 || ^19.0.0"
38
38
  },
39
39
  "devDependencies": {