@pond-ts/react 0.34.0 → 0.35.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.
- package/CHANGELOG.md +43 -1
- 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.
|
|
11
|
+
[Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.35.0...HEAD
|
|
12
|
+
[0.35.0]: https://github.com/pjm17971/pond-ts/compare/v0.34.1...v0.35.0
|
|
13
|
+
[0.34.1]: https://github.com/pjm17971/pond-ts/compare/v0.34.0...v0.34.1
|
|
12
14
|
[0.34.0]: https://github.com/pjm17971/pond-ts/compare/v0.33.0...v0.34.0
|
|
13
15
|
[0.33.0]: https://github.com/pjm17971/pond-ts/compare/v0.32.0...v0.33.0
|
|
14
16
|
[0.32.0]: https://github.com/pjm17971/pond-ts/compare/v0.31.2...v0.32.0
|
|
@@ -29,6 +31,46 @@ patch bumps are strictly additive.
|
|
|
29
31
|
[0.19.0]: https://github.com/pjm17971/pond-ts/compare/v0.18.0...v0.19.0
|
|
30
32
|
[0.18.0]: https://github.com/pjm17971/pond-ts/compare/v0.17.1...v0.18.0
|
|
31
33
|
|
|
34
|
+
## [0.35.0] — 2026-07-02
|
|
35
|
+
|
|
36
|
+
A `@pond-ts/charts` release: per-series line dash patterns. `pond-ts`,
|
|
37
|
+
`@pond-ts/react`, and `@pond-ts/fit` carry no code changes — republished in
|
|
38
|
+
lock-step (their `pond-ts` / `@pond-ts/react` peer ranges widen to `^0.35.0`).
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- **Charts — per-series line dash (`LineStyle.dash`).** A theme's line style
|
|
43
|
+
accepts an optional `dash?: readonly number[]` — a px on/off pattern
|
|
44
|
+
(`[6, 4]` dashed, `[2, 3]` ≈ dotted; omit or `[]` = solid) applied to the
|
|
45
|
+
series stroke. Lets a theme set a **modeled / forecast** line (e.g. GARCH
|
|
46
|
+
vol) apart from an observed one at a glance. Distinct from a `GapMode`'s
|
|
47
|
+
inferred gap-bridge dashing (which marks *missing data*, not the whole
|
|
48
|
+
line). Additive: existing themes are unaffected; a solid line never touches
|
|
49
|
+
`setLineDash`. New `Charts/LineChart → LineStyles` story. (#313)
|
|
50
|
+
|
|
51
|
+
## [0.34.1] — 2026-07-01
|
|
52
|
+
|
|
53
|
+
A `pond-ts` core patch: fixes a performance regression introduced in 0.34.0.
|
|
54
|
+
`@pond-ts/react`, `@pond-ts/charts`, and `@pond-ts/fit` carry no code
|
|
55
|
+
changes — republished in lock-step; their `^0.34.0` peer ranges already
|
|
56
|
+
admit this patch.
|
|
57
|
+
|
|
58
|
+
### Fixed
|
|
59
|
+
|
|
60
|
+
- **`TimeSeries.fromColumns` — `number[]` column conversion was ~7-18x
|
|
61
|
+
slower than intended.** The `null`/`NaN`-gap parity fix in 0.34.0
|
|
62
|
+
converted `number[]` columns via `Float64Array.from(raw, mapFn)`.
|
|
63
|
+
Supplying a map function forces V8's generic iterable-protocol path even
|
|
64
|
+
for a plain array, dramatically slower than a manual loop into a
|
|
65
|
+
preallocated buffer at 100k-element scale. Found while pointing the
|
|
66
|
+
`pond-columnar-ingest` wire-format spike at the real published package
|
|
67
|
+
instead of a local build. Fixed with a manual `for` loop in both the
|
|
68
|
+
key-column and value-column conversion paths — no behavior change, same
|
|
69
|
+
gap semantics, all 12 `fromColumns` tests unchanged and green. Added
|
|
70
|
+
`scripts/perf-from-columns.mjs` as the durable regression benchmark.
|
|
71
|
+
Measured: 100k × 7 cols, `number[]` columns, dense — 21.5ms → 2.9ms.
|
|
72
|
+
(#311)
|
|
73
|
+
|
|
32
74
|
## [0.34.0] — 2026-07-01
|
|
33
75
|
|
|
34
76
|
A `pond-ts` core release: the columnar/typed-array ingress driven by the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pond-ts/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.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.
|
|
36
|
+
"pond-ts": "^0.35.0",
|
|
37
37
|
"react": "^18.0.0 || ^19.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|