pond-ts 0.53.0 → 0.53.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 +37 -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.53.0...HEAD
11
+ [Unreleased]: https://github.com/pond-ts/pond/compare/v0.53.1...HEAD
12
+ [0.53.1]: https://github.com/pond-ts/pond/compare/v0.53.0...v0.53.1
12
13
  [0.53.0]: https://github.com/pond-ts/pond/compare/v0.52.0...v0.53.0
13
14
  [0.52.0]: https://github.com/pond-ts/pond/compare/v0.51.0...v0.52.0
14
15
  [0.51.0]: https://github.com/pond-ts/pond/compare/v0.50.0...v0.51.0
@@ -53,6 +54,41 @@ and type-level changes; patch bumps are strictly additive.
53
54
 
54
55
  ## [Unreleased]
55
56
 
57
+ ## [0.53.1] — 2026-07-25
58
+
59
+ ### Fixed
60
+
61
+ - **charts:** **An `<XAxis format>` again owns its own cursor / marker pills**
62
+ under a container with `origin` set. The elapsed axis supplies a _default_
63
+ finer readout (`00:05:12` under `00:05` ticks), but it was being delivered
64
+ through the same frame field as an explicit `cursorFormat` — so it outranked
65
+ an axis-level `format`, inverting the documented pill precedence
66
+ (`cursorFormat → axis format → container`). The visible symptom was the
67
+ two-strip pattern the docs recommend: a wall-clock strip declared as
68
+ `<XAxis format="%H:%M">` labelled its ticks `11:33` and pilled them
69
+ `00:05:12`. A real `cursorFormat` still outranks an axis `format`, unchanged.
70
+ A container **`timeFormat`** was inverted the same way one rung down — its
71
+ documented back-compat is to shape the readout when no `cursorFormat` is set,
72
+ and the elapsed default was overruling it. Fixed with the same precedence.
73
+
74
+ - **charts:** **A duration axis no longer stacks ticks on one pixel across a
75
+ collapsed session.** The duration ladder strides in wall-clock time, so on a
76
+ trading axis several ticks could land inside closed time — where the scale
77
+ maps all of them to the same seam pixel, stroking labels over labels and
78
+ gridlines over gridlines. Coinciding ticks are now dropped, so a seam shows
79
+ one label rather than four — and the one kept is the **last** of the group,
80
+ the session open that genuinely sits on that pixel (`1d 00:00`), rather than
81
+ the first, which falls inside the collapsed night (`12:00` = 21:30, market
82
+ shut). Continuous axes are unaffected (their ticks are tens of pixels apart
83
+ by construction).
84
+
85
+ Both found by an adversarial review of the v0.53.0 duration axis
86
+ ([#540](https://github.com/pond-ts/pond/issues/540)), which also corrected the
87
+ duration-axis docs: the trading-calendar caveat described uneven spacing where
88
+ the real behaviour is thinning around seams, a far-off `origin` (`origin={0}`
89
+ on a 2026 axis ⇒ `20468d 10:00` on every tick) was undocumented, and one row of
90
+ the label-shape table quoted a sample spacing where it meant a tick step.
91
+
56
92
  ## [0.53.0] — 2026-07-25
57
93
 
58
94
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pond-ts",
3
- "version": "0.53.0",
3
+ "version": "0.53.1",
4
4
  "description": "TypeScript-first time series primitives",
5
5
  "license": "MIT",
6
6
  "repository": {