@pond-ts/react 0.48.0 → 0.48.1

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 +16 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -8,7 +8,8 @@ The `@pond-ts` packages — `pond-ts`, `@pond-ts/react`, `@pond-ts/charts`,
8
8
  tag, so this file covers them all. Pre-1.0: minor bumps may include new features
9
9
  and type-level changes; patch bumps are strictly additive.
10
10
 
11
- [Unreleased]: https://github.com/pond-ts/pond/compare/v0.48.0...HEAD
11
+ [Unreleased]: https://github.com/pond-ts/pond/compare/v0.48.1...HEAD
12
+ [0.48.1]: https://github.com/pond-ts/pond/compare/v0.48.0...v0.48.1
12
13
  [0.48.0]: https://github.com/pond-ts/pond/compare/v0.47.0...v0.48.0
13
14
  [0.47.0]: https://github.com/pond-ts/pond/compare/v0.46.0...v0.47.0
14
15
  [0.46.0]: https://github.com/pjm17971/pond-ts/compare/v0.45.0...v0.46.0
@@ -47,6 +48,20 @@ and type-level changes; patch bumps are strictly additive.
47
48
 
48
49
  ## [Unreleased]
49
50
 
51
+ ## [0.48.1] — 2026-07-19
52
+
53
+ ### Fixed
54
+
55
+ - `smooth(column, 'loess', …)` is now numerically stable on absolute epoch-ms
56
+ timestamps. The local weighted regression is now conditioned on `x` centred at
57
+ the query point; previously the un-centred normal equations lost precision to
58
+ floating-point cancellation (anchors ~1.7e12 → `x²` terms ~3e24). Severity
59
+ scales with (anchor magnitude / window width)²: on finely-spaced series
60
+ (second-level cadence) the fit overshot wildly outside the data range instead
61
+ of smoothing, while coarser day-spaced series erred only subtly. Output is now
62
+ shift-invariant to the time origin. Series built from small integer anchors
63
+ (e.g. in unit tests) were unaffected, which is why this hid.
64
+
50
65
  ## [0.48.0] — 2026-07-17
51
66
 
52
67
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pond-ts/react",
3
- "version": "0.48.0",
3
+ "version": "0.48.1",
4
4
  "description": "React hooks for pond-ts live time series",
5
5
  "license": "MIT",
6
6
  "repository": {