diff --git a/.changeset/brave-tooltips-expand.md b/.changeset/brave-tooltips-expand.md deleted file mode 100644 index e4abf306..00000000 --- a/.changeset/brave-tooltips-expand.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -'@tanstack/charts': minor -'@tanstack/react-charts-catalog': patch -'@tanstack/react-native-charts': patch ---- - -Expose pinned state to tooltip content and item callbacks so built-in and -framework-rendered tooltips can expand with additional detail when pinned. -Keep dismissing clicks owned by the tooltip when a framework body unmounts -during event propagation. - -Standardize public callback parameters as primary data plus a context bag. -Tooltip `format` and `formatGroup` now receive the same content context as -`content`; channel accessors use `(datum, { index, data })`; facet, focus, -legend, and spatial-index extension callbacks move their supporting values -into named context objects. - -`ruleX` and `ruleY` now expose axis-specific presentation-only focus anchors, so -`whenFocused(..., { match: 'x' })` and `whenFocused(..., { match: 'y' })` can -reveal focused guide rules without making them interaction or tooltip targets. - -Update the published pinned-tooltip catalog case to show the energy overview, -compact hover summary, and animated pinned detail. - -Preserve distinct source rows in the linear-regression, framed-scatter, and -many-point-scatter catalog examples when car names and years repeat. diff --git a/.changeset/bright-cursors-cross.md b/.changeset/bright-cursors-cross.md deleted file mode 100644 index fc35af5f..00000000 --- a/.changeset/bright-cursors-cross.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tanstack/charts': minor ---- - -Add renderer-native crosshair rules, categorical cursor bands, labels, and optional intersection markers plus shared focus/free cursor controllers across SVG, Canvas, motion, and React Native rendering. Focus-filtered rule marks now use non-interactive semantic anchors, built-in axis focus modes select the painted mark under the pointer before grouping or snapping, and keyed motion guides remain active through scene updates. diff --git a/.changeset/live-paths-shift.md b/.changeset/live-paths-shift.md deleted file mode 100644 index b2d40e31..00000000 --- a/.changeset/live-paths-shift.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@tanstack/charts': patch ---- - -Add validated rolling path transforms with dynamic y-domain reprojection, -continuous translated viewports with stationary guides, and a controlled focus -controller that follows presentation geometry. Default SVG rendering now -honors scene clips and gradients. diff --git a/CHANGELOG.md b/CHANGELOG.md index a7a5be06..60606035 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,161 @@ # Changelog +## 0.7.0 + +### @tanstack/charts + +#### Minor Changes + +- [#60](https://github.com/TanStack/charts/pull/60) [`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9) - Expose pinned state to tooltip content and item callbacks so built-in and + framework-rendered tooltips can expand with additional detail when pinned. + Keep dismissing clicks owned by the tooltip when a framework body unmounts + during event propagation. + + Standardize public callback parameters as primary data plus a context bag. + Tooltip `format` and `formatGroup` now receive the same content context as + `content`; channel accessors use `(datum, { index, data })`; facet, focus, + legend, and spatial-index extension callbacks move their supporting values + into named context objects. + + `ruleX` and `ruleY` now expose axis-specific presentation-only focus anchors, so + `whenFocused(..., { match: 'x' })` and `whenFocused(..., { match: 'y' })` can + reveal focused guide rules without making them interaction or tooltip targets. + + Update the published pinned-tooltip catalog case to show the energy overview, + compact hover summary, and animated pinned detail. + + Preserve distinct source rows in the linear-regression, framed-scatter, and + many-point-scatter catalog examples when car names and years repeat. + +- [#55](https://github.com/TanStack/charts/pull/55) [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198) - Add renderer-native crosshair rules, categorical cursor bands, labels, and optional intersection markers plus shared focus/free cursor controllers across SVG, Canvas, motion, and React Native rendering. Focus-filtered rule marks now use non-interactive semantic anchors, built-in axis focus modes select the painted mark under the pointer before grouping or snapping, and keyed motion guides remain active through scene updates. + +#### Patch Changes + +- [#58](https://github.com/TanStack/charts/pull/58) [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb) - Add validated rolling path transforms with dynamic y-domain reprojection, + continuous translated viewports with stationary guides, and a controlled focus + controller that follows presentation geometry. Default SVG rendering now + honors scene clips and gradients. + +### @tanstack/react-charts + +#### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + +### @tanstack/react-charts-catalog + +#### Patch Changes + +- [#60](https://github.com/TanStack/charts/pull/60) [`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9) - Expose pinned state to tooltip content and item callbacks so built-in and + framework-rendered tooltips can expand with additional detail when pinned. + Keep dismissing clicks owned by the tooltip when a framework body unmounts + during event propagation. + + Standardize public callback parameters as primary data plus a context bag. + Tooltip `format` and `formatGroup` now receive the same content context as + `content`; channel accessors use `(datum, { index, data })`; facet, focus, + legend, and spatial-index extension callbacks move their supporting values + into named context objects. + + `ruleX` and `ruleY` now expose axis-specific presentation-only focus anchors, so + `whenFocused(..., { match: 'x' })` and `whenFocused(..., { match: 'y' })` can + reveal focused guide rules without making them interaction or tooltip targets. + + Update the published pinned-tooltip catalog case to show the energy overview, + compact hover summary, and animated pinned detail. + + Preserve distinct source rows in the linear-regression, framed-scatter, and + many-point-scatter catalog examples when car names and years repeat. + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + - @tanstack/react-charts@0.7.0 + +### @tanstack/react-native-charts + +#### Patch Changes + +- [#60](https://github.com/TanStack/charts/pull/60) [`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9) - Expose pinned state to tooltip content and item callbacks so built-in and + framework-rendered tooltips can expand with additional detail when pinned. + Keep dismissing clicks owned by the tooltip when a framework body unmounts + during event propagation. + + Standardize public callback parameters as primary data plus a context bag. + Tooltip `format` and `formatGroup` now receive the same content context as + `content`; channel accessors use `(datum, { index, data })`; facet, focus, + legend, and spatial-index extension callbacks move their supporting values + into named context objects. + + `ruleX` and `ruleY` now expose axis-specific presentation-only focus anchors, so + `whenFocused(..., { match: 'x' })` and `whenFocused(..., { match: 'y' })` can + reveal focused guide rules without making them interaction or tooltip targets. + + Update the published pinned-tooltip catalog case to show the energy overview, + compact hover summary, and animated pinned detail. + + Preserve distinct source rows in the linear-regression, framed-scatter, and + many-point-scatter catalog examples when car names and years repeat. + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + +### @tanstack/octane-charts + +#### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + +### @tanstack/preact-charts + +#### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + +### @tanstack/vue-charts + +#### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + +### @tanstack/solid-charts + +#### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + +### @tanstack/svelte-charts + +#### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + +### @tanstack/angular-charts + +#### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + +### @tanstack/lit-charts + +#### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + +### @tanstack/alpine-charts + +#### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### @tanstack/charts diff --git a/MARKETING.md b/MARKETING.md index 7830eb62..c64772af 100644 --- a/MARKETING.md +++ b/MARKETING.md @@ -4,9 +4,9 @@ Last updated: 2026-07-30 ## Status -TanStack Charts `0.6.5` is a public pre-alpha release. The docs, examples, and +TanStack Charts `0.7.0` is a public pre-alpha release. The docs, examples, and catalog describe the same definition, behavior, scale, tooltip, and adapter -contracts available in `0.6.5`. Marketing must keep the pre-alpha status +contracts available in `0.7.0`. Marketing must keep the pre-alpha status visible and avoid production-readiness claims until the gates in [`PLAN.md`](./PLAN.md) are complete. @@ -51,7 +51,7 @@ package line is pre-alpha. visual encodings. D3 supplies algorithms. TanStack compiles the definition into a renderer-neutral keyed scene and owns the application runtime around it. -**Framework position:** The core is framework-independent. `0.6.5` ships thin +**Framework position:** The core is framework-independent. `0.7.0` ships thin adapters for React, Vue, Svelte, Solid, Angular, Preact, Lit, Alpine, and Octane. React and Octane also have Canvas components over the same runtime. @@ -459,7 +459,7 @@ about being "AI-native." | The chart catalog is smaller than AG Charts, ECharts, or Nivo | Also correct. The product thesis is a composable grammar with direct D3 interoperability, not first-party ownership of every specialized chart type. | | Why not use D3 or visx directly? | They provide the algorithms or primitives. TanStack supplies the application runtime: responsive layout, guides, scene compilation, lifecycle, interaction, accessibility, SSR, hydration, animation, and export. | | Why not use Observable Plot? | Plot is the closest API inspiration and remains an excellent choice for concise exploratory visualization. TanStack is an independent implementation focused on typed application integration, explicit D3 policy, capability-level imports, framework lifecycle, and stable interactive scenes. | -| Is it ready for production? | Not yet. `0.6.5` is a public pre-alpha release. Marketing must keep the documented release gates visible until they close. | +| Is it ready for production? | Not yet. `0.7.0` is a public pre-alpha release. Marketing must keep the documented release gates visible until they close. | | Can it handle millions of live points? | Canvas is an explicit opt-in and keeps the same definition and interaction API while removing per-mark DOM cost. It still creates scene nodes and interaction points, default focus is linear without a spatial index, and overplotting does not become useful because the pixels are cheaper. Treat million-point streaming as a measured representation problem, not a renderer claim. | ## Anti-personas @@ -586,7 +586,7 @@ production case study. ### Current proof phase -- Conversion: Install `0.6.5`, read the matching docs, explore the catalog, +- Conversion: Install `0.7.0`, read the matching docs, explore the catalog, and report friction. - Publish architecture, benchmarks, and working examples with limitations. - Recruit a small number of chart-heavy TanStack users. @@ -623,7 +623,7 @@ tracked in [`PLAN.md`](./PLAN.md): foundation for data-rich TanStack applications and a credible choice for frontend teams whose visualizations need to grow beyond standard chart types. -**Primary conversion today:** Install `0.6.5` and complete the first chart. +**Primary conversion today:** Install `0.7.0` and complete the first chart. **Primary conversion after stable release:** Install the package and complete the first chart. diff --git a/README.md b/README.md index 13c557f2..29946506 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ server-rendered application charts. > [!IMPORTANT] -> TanStack Charts `0.6.5` is pre-alpha. Its API may change between releases, +> TanStack Charts `0.7.0` is pre-alpha. Its API may change between releases, > and it is not ready for production use. Most chart libraries are easy until the chart stops being standard. TanStack diff --git a/docs/comparison.md b/docs/comparison.md index c3fd9a09..4a8866c9 100644 --- a/docs/comparison.md +++ b/docs/comparison.md @@ -3,7 +3,7 @@ title: Compare Libraries description: Compare TanStack Charts with measured and documentation-reviewed charting libraries. --- -TanStack Charts `0.6.5` is a pre-alpha release. Its results on this page measure +TanStack Charts `0.7.0` is a pre-alpha release. Its results on this page measure the current workspace source and pinned competitor packages. This comparison records architectural differences and reproducible evidence without turning untested behavior into a checkmark. @@ -169,11 +169,11 @@ Canvas composition while keeping D3 and state ownership explicit. ## Evidence and reproduction -- [Standard comparison protocol](https://github.com/TanStack/charts/blob/v0.6.5/benchmarks/comparison/README.md) +- [Standard comparison protocol](https://github.com/TanStack/charts/blob/v0.7.0/benchmarks/comparison/README.md) - [Current tracked bundle baseline](https://github.com/TanStack/charts/blob/main/benchmarks/comparison/bundle-baseline.json) -- [0.6.5 tagged bundle baseline](https://github.com/TanStack/charts/blob/v0.6.5/benchmarks/comparison/bundle-baseline.json) -- [Stress protocol](https://github.com/TanStack/charts/blob/v0.6.5/benchmarks/comparison/stress/README.md) -- [Catalog conformance protocol](https://github.com/TanStack/charts/blob/v0.6.5/benchmarks/conformance/README.md) +- [0.7.0 tagged bundle baseline](https://github.com/TanStack/charts/blob/v0.7.0/benchmarks/comparison/bundle-baseline.json) +- [Stress protocol](https://github.com/TanStack/charts/blob/v0.7.0/benchmarks/comparison/stress/README.md) +- [Catalog conformance protocol](https://github.com/TanStack/charts/blob/v0.7.0/benchmarks/conformance/README.md) ```sh pnpm benchmark:size diff --git a/docs/installation.md b/docs/installation.md index 288c1989..38d58118 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -3,7 +3,7 @@ title: Installation description: Install TanStack Charts, compact scales, a framework adapter, and optional D3 capabilities. --- -TanStack Charts `0.6.5` publishes the framework-agnostic core and every adapter +TanStack Charts `0.7.0` publishes the framework-agnostic core and every adapter listed below. Install the core and compact scales in each application that authors chart definitions: diff --git a/docs/overview.md b/docs/overview.md index a8e1dc47..838aea4d 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -3,7 +3,7 @@ title: Overview description: Learn what TanStack Charts provides, how its grammar works, and where charting responsibilities belong. --- -TanStack Charts `0.6.5` is a pre-alpha release. Its API may change between +TanStack Charts `0.7.0` is a pre-alpha release. Its API may change between releases. TanStack Charts is a small, framework-agnostic chart grammar for TypeScript and diff --git a/packages/alpine-charts/CHANGELOG.md b/packages/alpine-charts/CHANGELOG.md index 1e0bf4f3..eaa236b1 100644 --- a/packages/alpine-charts/CHANGELOG.md +++ b/packages/alpine-charts/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/alpine-charts +## 0.7.0 + +### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/alpine-charts/package.json b/packages/alpine-charts/package.json index 4c3d8e8e..37ab4f0b 100644 --- a/packages/alpine-charts/package.json +++ b/packages/alpine-charts/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/alpine-charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/angular-charts/CHANGELOG.md b/packages/angular-charts/CHANGELOG.md index f3348557..5718d667 100644 --- a/packages/angular-charts/CHANGELOG.md +++ b/packages/angular-charts/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/angular-charts +## 0.7.0 + +### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/angular-charts/package.json b/packages/angular-charts/package.json index d545d941..bb428c0e 100644 --- a/packages/angular-charts/package.json +++ b/packages/angular-charts/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/angular-charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/charts-core/CHANGELOG.md b/packages/charts-core/CHANGELOG.md index a773ca6d..f4befdd6 100644 --- a/packages/charts-core/CHANGELOG.md +++ b/packages/charts-core/CHANGELOG.md @@ -1,5 +1,39 @@ # @tanstack/charts +## 0.7.0 + +### Minor Changes + +- [#60](https://github.com/TanStack/charts/pull/60) [`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9) - Expose pinned state to tooltip content and item callbacks so built-in and + framework-rendered tooltips can expand with additional detail when pinned. + Keep dismissing clicks owned by the tooltip when a framework body unmounts + during event propagation. + + Standardize public callback parameters as primary data plus a context bag. + Tooltip `format` and `formatGroup` now receive the same content context as + `content`; channel accessors use `(datum, { index, data })`; facet, focus, + legend, and spatial-index extension callbacks move their supporting values + into named context objects. + + `ruleX` and `ruleY` now expose axis-specific presentation-only focus anchors, so + `whenFocused(..., { match: 'x' })` and `whenFocused(..., { match: 'y' })` can + reveal focused guide rules without making them interaction or tooltip targets. + + Update the published pinned-tooltip catalog case to show the energy overview, + compact hover summary, and animated pinned detail. + + Preserve distinct source rows in the linear-regression, framed-scatter, and + many-point-scatter catalog examples when car names and years repeat. + +- [#55](https://github.com/TanStack/charts/pull/55) [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198) - Add renderer-native crosshair rules, categorical cursor bands, labels, and optional intersection markers plus shared focus/free cursor controllers across SVG, Canvas, motion, and React Native rendering. Focus-filtered rule marks now use non-interactive semantic anchors, built-in axis focus modes select the painted mark under the pointer before grouping or snapping, and keyed motion guides remain active through scene updates. + +### Patch Changes + +- [#58](https://github.com/TanStack/charts/pull/58) [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb) - Add validated rolling path transforms with dynamic y-domain reprojection, + continuous translated viewports with stationary guides, and a controlled focus + controller that follows presentation geometry. Default SVG rendering now + honors scene clips and gradients. + ## 0.6.5 ### Patch Changes diff --git a/packages/charts-core/docs/comparison.md b/packages/charts-core/docs/comparison.md index c3fd9a09..4a8866c9 100644 --- a/packages/charts-core/docs/comparison.md +++ b/packages/charts-core/docs/comparison.md @@ -3,7 +3,7 @@ title: Compare Libraries description: Compare TanStack Charts with measured and documentation-reviewed charting libraries. --- -TanStack Charts `0.6.5` is a pre-alpha release. Its results on this page measure +TanStack Charts `0.7.0` is a pre-alpha release. Its results on this page measure the current workspace source and pinned competitor packages. This comparison records architectural differences and reproducible evidence without turning untested behavior into a checkmark. @@ -169,11 +169,11 @@ Canvas composition while keeping D3 and state ownership explicit. ## Evidence and reproduction -- [Standard comparison protocol](https://github.com/TanStack/charts/blob/v0.6.5/benchmarks/comparison/README.md) +- [Standard comparison protocol](https://github.com/TanStack/charts/blob/v0.7.0/benchmarks/comparison/README.md) - [Current tracked bundle baseline](https://github.com/TanStack/charts/blob/main/benchmarks/comparison/bundle-baseline.json) -- [0.6.5 tagged bundle baseline](https://github.com/TanStack/charts/blob/v0.6.5/benchmarks/comparison/bundle-baseline.json) -- [Stress protocol](https://github.com/TanStack/charts/blob/v0.6.5/benchmarks/comparison/stress/README.md) -- [Catalog conformance protocol](https://github.com/TanStack/charts/blob/v0.6.5/benchmarks/conformance/README.md) +- [0.7.0 tagged bundle baseline](https://github.com/TanStack/charts/blob/v0.7.0/benchmarks/comparison/bundle-baseline.json) +- [Stress protocol](https://github.com/TanStack/charts/blob/v0.7.0/benchmarks/comparison/stress/README.md) +- [Catalog conformance protocol](https://github.com/TanStack/charts/blob/v0.7.0/benchmarks/conformance/README.md) ```sh pnpm benchmark:size diff --git a/packages/charts-core/docs/installation.md b/packages/charts-core/docs/installation.md index 288c1989..38d58118 100644 --- a/packages/charts-core/docs/installation.md +++ b/packages/charts-core/docs/installation.md @@ -3,7 +3,7 @@ title: Installation description: Install TanStack Charts, compact scales, a framework adapter, and optional D3 capabilities. --- -TanStack Charts `0.6.5` publishes the framework-agnostic core and every adapter +TanStack Charts `0.7.0` publishes the framework-agnostic core and every adapter listed below. Install the core and compact scales in each application that authors chart definitions: diff --git a/packages/charts-core/docs/overview.md b/packages/charts-core/docs/overview.md index a8e1dc47..838aea4d 100644 --- a/packages/charts-core/docs/overview.md +++ b/packages/charts-core/docs/overview.md @@ -3,7 +3,7 @@ title: Overview description: Learn what TanStack Charts provides, how its grammar works, and where charting responsibilities belong. --- -TanStack Charts `0.6.5` is a pre-alpha release. Its API may change between +TanStack Charts `0.7.0` is a pre-alpha release. Its API may change between releases. TanStack Charts is a small, framework-agnostic chart grammar for TypeScript and diff --git a/packages/charts-core/package.json b/packages/charts-core/package.json index e1c4f642..92d62a4c 100644 --- a/packages/charts-core/package.json +++ b/packages/charts-core/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/charts-scales/CHANGELOG.md b/packages/charts-scales/CHANGELOG.md index 4ea4d6ff..1a9e5ab2 100644 --- a/packages/charts-scales/CHANGELOG.md +++ b/packages/charts-scales/CHANGELOG.md @@ -1,5 +1,7 @@ # @tanstack/charts-scales +## 0.7.0 + ## 0.6.5 ## 0.6.4 diff --git a/packages/charts-scales/package.json b/packages/charts-scales/package.json index 1a6f88c8..28946d92 100644 --- a/packages/charts-scales/package.json +++ b/packages/charts-scales/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/charts-scales", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/lit-charts/CHANGELOG.md b/packages/lit-charts/CHANGELOG.md index 23011635..6fd73d3c 100644 --- a/packages/lit-charts/CHANGELOG.md +++ b/packages/lit-charts/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/lit-charts +## 0.7.0 + +### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/lit-charts/package.json b/packages/lit-charts/package.json index 367e4381..3b424db1 100644 --- a/packages/lit-charts/package.json +++ b/packages/lit-charts/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/lit-charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/octane-charts/CHANGELOG.md b/packages/octane-charts/CHANGELOG.md index 88c9a943..bcd53566 100644 --- a/packages/octane-charts/CHANGELOG.md +++ b/packages/octane-charts/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/octane-charts +## 0.7.0 + +### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/octane-charts/package.json b/packages/octane-charts/package.json index 11bc73a8..0f54e77a 100644 --- a/packages/octane-charts/package.json +++ b/packages/octane-charts/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/octane-charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/preact-charts/CHANGELOG.md b/packages/preact-charts/CHANGELOG.md index 5a0d7c46..cc14350e 100644 --- a/packages/preact-charts/CHANGELOG.md +++ b/packages/preact-charts/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/preact-charts +## 0.7.0 + +### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/preact-charts/package.json b/packages/preact-charts/package.json index 0f5d5d0e..a3991eb0 100644 --- a/packages/preact-charts/package.json +++ b/packages/preact-charts/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/preact-charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/react-charts-catalog/CHANGELOG.md b/packages/react-charts-catalog/CHANGELOG.md index e6ef0ef5..2e8e4aa6 100644 --- a/packages/react-charts-catalog/CHANGELOG.md +++ b/packages/react-charts-catalog/CHANGELOG.md @@ -1,5 +1,34 @@ # @tanstack/react-charts-catalog +## 0.7.0 + +### Patch Changes + +- [#60](https://github.com/TanStack/charts/pull/60) [`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9) - Expose pinned state to tooltip content and item callbacks so built-in and + framework-rendered tooltips can expand with additional detail when pinned. + Keep dismissing clicks owned by the tooltip when a framework body unmounts + during event propagation. + + Standardize public callback parameters as primary data plus a context bag. + Tooltip `format` and `formatGroup` now receive the same content context as + `content`; channel accessors use `(datum, { index, data })`; facet, focus, + legend, and spatial-index extension callbacks move their supporting values + into named context objects. + + `ruleX` and `ruleY` now expose axis-specific presentation-only focus anchors, so + `whenFocused(..., { match: 'x' })` and `whenFocused(..., { match: 'y' })` can + reveal focused guide rules without making them interaction or tooltip targets. + + Update the published pinned-tooltip catalog case to show the energy overview, + compact hover summary, and animated pinned detail. + + Preserve distinct source rows in the linear-regression, framed-scatter, and + many-point-scatter catalog examples when car names and years repeat. + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + - @tanstack/react-charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/react-charts-catalog/package.json b/packages/react-charts-catalog/package.json index 9e808c0f..19005ac3 100644 --- a/packages/react-charts-catalog/package.json +++ b/packages/react-charts-catalog/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-charts-catalog", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/react-charts/CHANGELOG.md b/packages/react-charts/CHANGELOG.md index 1d82795f..138b40ab 100644 --- a/packages/react-charts/CHANGELOG.md +++ b/packages/react-charts/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/react-charts +## 0.7.0 + +### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/react-charts/package.json b/packages/react-charts/package.json index 3eca8eae..c6c3ca5a 100644 --- a/packages/react-charts/package.json +++ b/packages/react-charts/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/react-native-charts/CHANGELOG.md b/packages/react-native-charts/CHANGELOG.md index 6ba5b074..d49b61c3 100644 --- a/packages/react-native-charts/CHANGELOG.md +++ b/packages/react-native-charts/CHANGELOG.md @@ -1,5 +1,33 @@ # @tanstack/react-native-charts +## 0.7.0 + +### Patch Changes + +- [#60](https://github.com/TanStack/charts/pull/60) [`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9) - Expose pinned state to tooltip content and item callbacks so built-in and + framework-rendered tooltips can expand with additional detail when pinned. + Keep dismissing clicks owned by the tooltip when a framework body unmounts + during event propagation. + + Standardize public callback parameters as primary data plus a context bag. + Tooltip `format` and `formatGroup` now receive the same content context as + `content`; channel accessors use `(datum, { index, data })`; facet, focus, + legend, and spatial-index extension callbacks move their supporting values + into named context objects. + + `ruleX` and `ruleY` now expose axis-specific presentation-only focus anchors, so + `whenFocused(..., { match: 'x' })` and `whenFocused(..., { match: 'y' })` can + reveal focused guide rules without making them interaction or tooltip targets. + + Update the published pinned-tooltip catalog case to show the energy overview, + compact hover summary, and animated pinned detail. + + Preserve distinct source rows in the linear-regression, framed-scatter, and + many-point-scatter catalog examples when car names and years repeat. + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/react-native-charts/package.json b/packages/react-native-charts/package.json index 0db2437a..a155651c 100644 --- a/packages/react-native-charts/package.json +++ b/packages/react-native-charts/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-native-charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/solid-charts/CHANGELOG.md b/packages/solid-charts/CHANGELOG.md index e004d385..0e1cffe7 100644 --- a/packages/solid-charts/CHANGELOG.md +++ b/packages/solid-charts/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/solid-charts +## 0.7.0 + +### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/solid-charts/package.json b/packages/solid-charts/package.json index f8651764..d75536d4 100644 --- a/packages/solid-charts/package.json +++ b/packages/solid-charts/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/solid-charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/svelte-charts/CHANGELOG.md b/packages/svelte-charts/CHANGELOG.md index 49f4e1ea..4fe94551 100644 --- a/packages/svelte-charts/CHANGELOG.md +++ b/packages/svelte-charts/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/svelte-charts +## 0.7.0 + +### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/svelte-charts/package.json b/packages/svelte-charts/package.json index 0a3a0591..93b396f7 100644 --- a/packages/svelte-charts/package.json +++ b/packages/svelte-charts/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/svelte-charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": { diff --git a/packages/vue-charts/CHANGELOG.md b/packages/vue-charts/CHANGELOG.md index eabf1a66..b36bdfa4 100644 --- a/packages/vue-charts/CHANGELOG.md +++ b/packages/vue-charts/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/vue-charts +## 0.7.0 + +### Patch Changes + +- Updated dependencies [[`38cddc8`](https://github.com/TanStack/charts/commit/38cddc846c8f342aedcd237956a0057155022ae9), [`a5f9702`](https://github.com/TanStack/charts/commit/a5f97022f90043254e0e0dde174cdf2a63b6a198), [`4134429`](https://github.com/TanStack/charts/commit/4134429b49973cf64df1f36123ba8392571562eb)]: + - @tanstack/charts@0.7.0 + ## 0.6.5 ### Patch Changes diff --git a/packages/vue-charts/package.json b/packages/vue-charts/package.json index f44ceb44..8847d07a 100644 --- a/packages/vue-charts/package.json +++ b/packages/vue-charts/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/vue-charts", - "version": "0.6.5", + "version": "0.7.0", "private": false, "license": "MIT", "repository": {