pond-ts 0.31.0 → 0.31.2

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 CHANGED
@@ -8,8 +8,10 @@ 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.31.0...HEAD
12
- [0.31.0]: https://github.com/pjm17971/pond-ts/compare/v0.30.0...v0.31.0
11
+ [Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.31.2...HEAD
12
+ [0.31.2]: https://github.com/pjm17971/pond-ts/compare/v0.31.1...v0.31.2
13
+ [0.31.1]: https://github.com/pjm17971/pond-ts/compare/v0.30.0...v0.31.1
14
+ [0.31.0]: https://github.com/pjm17971/pond-ts/compare/v0.30.0...3c4e8bd
13
15
  [0.30.0]: https://github.com/pjm17971/pond-ts/compare/v0.29.0...v0.30.0
14
16
  [0.29.0]: https://github.com/pjm17971/pond-ts/compare/v0.28.0...v0.29.0
15
17
  [0.28.0]: https://github.com/pjm17971/pond-ts/compare/v0.27.0...v0.28.0
@@ -24,6 +26,30 @@ patch bumps are strictly additive.
24
26
  [0.19.0]: https://github.com/pjm17971/pond-ts/compare/v0.18.0...v0.19.0
25
27
  [0.18.0]: https://github.com/pjm17971/pond-ts/compare/v0.17.1...v0.18.0
26
28
 
29
+ ## [0.31.2] — 2026-06-29
30
+
31
+ ### Fixed
32
+
33
+ - **`pond-ts` column methods survive consumer tree-shaking.** The column-API
34
+ methods (`hasMissing`, `at`, `min`, `slice`, …) are mounted onto the column
35
+ prototypes by a side-effect module (`dist/column.js`); the previous
36
+ `sideEffects: ["./dist/column.js"]` per-file glob was dropped by some bundlers
37
+ (notably Rollup production builds under pnpm), so
38
+ `series.column('x').hasMissing()` could throw in production. `pond-ts` now
39
+ declares `sideEffects: true`, matching the other `@pond-ts` packages — robust
40
+ regardless of bundler or symlink layout, at the cost of whole-package
41
+ tree-shaking (the column prototype augmentation makes that unsafe anyway).
42
+ (estela#98.)
43
+
44
+ ## [0.31.1] — 2026-06-28
45
+
46
+ ### Fixed
47
+
48
+ - **`@pond-ts/charts` and `@pond-ts/fit` now ship their own README** on npm.
49
+ 0.31.0 inadvertently published the `pond-ts` core README on every package
50
+ (each `prepack` copied the repo-root README); charts and fit now carry their
51
+ own. No code or API changes.
52
+
27
53
  ## [0.31.0] — 2026-06-28
28
54
 
29
55
  First published release of **`@pond-ts/charts`** and **`@pond-ts/fit`** (both were
package/dist/column.d.ts CHANGED
@@ -25,6 +25,13 @@
25
25
  * Augmenting the existing class in-place — runtime _and_ at the
26
26
  * type level — keeps the substrate untouched and ships the
27
27
  * methods on every existing construction site.
28
+ *
29
+ * **Packaging — do not narrow `sideEffects`.** The barrel imports this
30
+ * module only for its side effect, so `packages/core/package.json` must
31
+ * keep `sideEffects: true`. The earlier per-file glob
32
+ * (`["./dist/column.js"]`) was silently dropped by some bundlers under
33
+ * pnpm + Rollup production builds, tree-shaking this module away so
34
+ * `series.column('x').hasMissing()` threw at runtime (v0.31.2; estela#98).
28
35
  */
29
36
  import { ArrayColumn, BooleanColumn, ChunkedArrayColumn, ChunkedBooleanColumn, ChunkedFloat64Column, ChunkedStringColumn, Float64Column, IntervalKeyColumn, StringColumn, TimeKeyColumn, TimeRangeKeyColumn } from './columnar/index.js';
30
37
  import type { ScalarValue } from './columnar/index.js';
package/dist/column.js CHANGED
@@ -25,6 +25,13 @@
25
25
  * Augmenting the existing class in-place — runtime _and_ at the
26
26
  * type level — keeps the substrate untouched and ships the
27
27
  * methods on every existing construction site.
28
+ *
29
+ * **Packaging — do not narrow `sideEffects`.** The barrel imports this
30
+ * module only for its side effect, so `packages/core/package.json` must
31
+ * keep `sideEffects: true`. The earlier per-file glob
32
+ * (`["./dist/column.js"]`) was silently dropped by some bundlers under
33
+ * pnpm + Rollup production builds, tree-shaking this module away so
34
+ * `series.column('x').hasMissing()` threw at runtime (v0.31.2; estela#98).
28
35
  */
29
36
  import { ArrayColumn, BooleanColumn, ChunkedArrayColumn, ChunkedBooleanColumn, ChunkedFloat64Column, ChunkedStringColumn, Float64Column, IntervalKeyColumn, StringColumn, TimeKeyColumn, TimeRangeKeyColumn, materializeChunkedArray, materializeChunkedBoolean, materializeChunkedFloat64, materializeChunkedString, } from './columnar/index.js';
30
37
  import { resolveReducer } from './reducers/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pond-ts",
3
- "version": "0.31.0",
3
+ "version": "0.31.2",
4
4
  "description": "TypeScript-first time series primitives",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -11,9 +11,7 @@
11
11
  "type": "module",
12
12
  "main": "dist/index.js",
13
13
  "types": "dist/index.d.ts",
14
- "sideEffects": [
15
- "./dist/column.js"
16
- ],
14
+ "sideEffects": true,
17
15
  "exports": {
18
16
  ".": {
19
17
  "types": "./dist/index.d.ts",