@pond-ts/react 0.19.0 → 0.20.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 +25 -1
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,12 +7,36 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
7
7
  file covers both packages. Pre-1.0: minor bumps may include new features and
8
8
  type-level changes; patch bumps are strictly additive.
9
9
 
10
- [Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.19.0...HEAD
10
+ [Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.20.0...HEAD
11
+ [0.20.0]: https://github.com/pjm17971/pond-ts/compare/v0.19.0...v0.20.0
11
12
  [0.19.0]: https://github.com/pjm17971/pond-ts/compare/v0.18.0...v0.19.0
12
13
  [0.18.0]: https://github.com/pjm17971/pond-ts/compare/v0.17.1...v0.18.0
13
14
 
14
15
  ## [Unreleased]
15
16
 
17
+ ## [0.20.0] — 2026-06-04
18
+
19
+ Two internal performance improvements driven by the dashboard experiment at
20
+ 256-host stress. **No public API changes** — both are behavior-preserving.
21
+
22
+ ### Changed
23
+
24
+ - **Column-native partition routing.** `partitionBy(...)` over a strict
25
+ time-keyed source now routes its source chunks into per-partition
26
+ **chunked** sub-series via a coalescing staging tier, replacing the
27
+ per-partition `Event[]` retention. A large drop in retained memory and
28
+ object count at high partition counts (gRPC bench at 256 partitions: 60×
29
+ fewer columnar stores, −99.4% `Event` retention, +24% sustained throughput)
30
+ ([#175](https://github.com/pjm17971/pond-ts/pull/175)). Behavior-preserving;
31
+ internal only — no public surface added.
32
+ - **`LiveView.toTimeSeries()` snapshot caching.** The built `TimeSeries` is
33
+ memoized against an internal mutation counter, so back-to-back
34
+ identical-state calls (multiple subscribers, framework commit batching,
35
+ StrictMode double-invoke) return the cached instance by reference instead of
36
+ rebuilding the whole snapshot — ~44 ms → ~0 at a 262k-event window. A
37
+ fresh-state call still builds; safe because `TimeSeries` is immutable
38
+ ([#180](https://github.com/pjm17971/pond-ts/pull/180)).
39
+
16
40
  ## [0.19.0] — 2026-06-02
17
41
 
18
42
  Adds an **experimental column-read surface to the live side** — read typed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pond-ts/react",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "React hooks for pond-ts live time series",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "test:runtime": "vitest run"
33
33
  },
34
34
  "peerDependencies": {
35
- "pond-ts": "^0.19.0",
35
+ "pond-ts": "^0.20.0",
36
36
  "react": "^18.0.0 || ^19.0.0"
37
37
  },
38
38
  "devDependencies": {