@pond-ts/react 0.11.5 → 0.11.6
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 +33 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,10 +7,42 @@ 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.11.
|
|
10
|
+
[Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.11.6...HEAD
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [0.11.6] — 2026-04-29
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- **`LiveSeries.toJSON()` return-type narrowing on `rowFormat`.**
|
|
19
|
+
Overloads keyed on `rowFormat: 'array' | 'object'` so consumers
|
|
20
|
+
read `result.rows` without a cast. Tuple form returns
|
|
21
|
+
`TimeSeriesJsonOutputArray<S>`; object form returns
|
|
22
|
+
`TimeSeriesJsonOutputObject<S>`. Both new types exported from
|
|
23
|
+
`pond-ts/types`. The companion narrowing on `TimeSeries.toJSON`
|
|
24
|
+
is still parked — it cascades TS2394 errors through unrelated
|
|
25
|
+
overload sets in `TimeSeries.ts`. See PLAN.md.
|
|
26
|
+
- New types: `TimeSeriesJsonOutputArray<S>` and
|
|
27
|
+
`TimeSeriesJsonOutputObject<S>`. Use these for typed assignment
|
|
28
|
+
(`const out: TimeSeriesJsonOutputArray<S> = ts.toJSON()`) or
|
|
29
|
+
cast (`ts.toJSON() as TimeSeriesJsonOutputArray<S>`) until the
|
|
30
|
+
`TimeSeries.toJSON` narrowing lands.
|
|
31
|
+
|
|
32
|
+
### Documentation
|
|
33
|
+
|
|
34
|
+
- `count` reducer JSDoc clarifies that **duplicate temporal keys
|
|
35
|
+
do not collapse** — multiple events sharing one `Time` key each
|
|
36
|
+
contribute independently to the count. Walks the per-column
|
|
37
|
+
value array, not unique keys. Behavior is consistent across
|
|
38
|
+
`reduce`, `aggregate`, `rolling`, `LiveAggregation`, and
|
|
39
|
+
`LiveRollingAggregation` — pinned by `test/duplicate-keys.test.ts`
|
|
40
|
+
(9 tests covering every layer including the
|
|
41
|
+
"dashboard-defaults" 480-events-at-8/s scenario from the gRPC
|
|
42
|
+
experiment's M1 friction notes).
|
|
43
|
+
|
|
44
|
+
[0.11.6]: https://github.com/pjm17971/pond-ts/compare/v0.11.5...v0.11.6
|
|
45
|
+
|
|
14
46
|
## [0.11.5] — 2026-04-29
|
|
15
47
|
|
|
16
48
|
### Fixed
|