TanStack Charts v0.8.0
0.8.0
@tanstack/charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
@tanstack/charts-scales
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
@tanstack/react-charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
Patch Changes
- Updated dependencies [
35832f7]:- @tanstack/charts@0.8.0
@tanstack/react-native-charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
Patch Changes
- Updated dependencies [
35832f7]:- @tanstack/charts@0.8.0
@tanstack/octane-charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
Patch Changes
- Updated dependencies [
35832f7]:- @tanstack/charts@0.8.0
@tanstack/preact-charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
Patch Changes
- Updated dependencies [
35832f7]:- @tanstack/charts@0.8.0
@tanstack/vue-charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
Patch Changes
- Updated dependencies [
35832f7]:- @tanstack/charts@0.8.0
@tanstack/solid-charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
Patch Changes
- Updated dependencies [
35832f7]:- @tanstack/charts@0.8.0
@tanstack/svelte-charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
Patch Changes
- Updated dependencies [
35832f7]:- @tanstack/charts@0.8.0
@tanstack/angular-charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
Patch Changes
- Updated dependencies [
35832f7]:- @tanstack/charts@0.8.0
@tanstack/lit-charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
Patch Changes
- Updated dependencies [
35832f7]:- @tanstack/charts@0.8.0
@tanstack/alpine-charts
Minor Changes
- #73
35832f7- Harmonize the pre-alpha public API: tighten compact scales, rename responsive,
control, focus, color, SVG animation, export, reducer, and rolling-window
contracts, standardize transform callbacks, type composable views and
host-owned tooltip tokens, share DOM/native interaction policy, and add one
platform-default runtime theme. DOM and React Native definitions now reject
cross-host tooltip tokens, while synchronous text measurement receives the
complete host typography and font scale. Every DOM adapter now exposes the
host-refined definition type at its chart boundary.
Patch Changes
- Updated dependencies [
35832f7]:- @tanstack/charts@0.8.0
Public API harmonization
- Track the pre-alpha public API cleanup in
API-HARMONIZATION-ROADMAP.md. This release
will tighten compact-scale contracts, make platform-specific definition
boundaries type-safe, harmonize responsive, interaction, callback, focus,
color, animation, export, and transform names, strengthen view composition,
and make the public reference mechanically complete.
Breaking migrations
| Before | After |
|---|---|
DynamicChartConfig, DynamicChartDefinition, isDynamicChartDefinition |
ResponsiveChartConfig, ResponsiveChartDefinition, isResponsiveChartDefinition |
responsive builder { theme } |
{ defaultTheme } |
definition behaviors and ChartBehavior* |
controls and ChartControl* |
definition animate |
svgAnimation |
color.type |
color.resolver |
focusX, focusY |
focusGroupX, focusGroupY |
RenderChartPngOptions |
RenderChartImageOptions |
transform window and /transform/window |
rollingWindow and /transform/rolling-window |
reduce helper difference |
delta |
transform accessor (context) |
(datum, { index, data }) |
Compact linear domains and band ranges now require exactly two finite values.
Ordinal scales return undefined when no range value can be resolved.
Tooltip extension tokens now declare __chartExtensionType: 'tooltip' and a
__chartTooltipHost brand. DOM adapters reject exact React Native tooltip
definitions, React Native rejects exact DOM tooltip definitions, and both
retain runtime guards for deliberately widened values. StaticChartDefinition,
ResponsiveChartDefinition, and ChartDefinition accept an optional tooltip
host type parameter. Host adapters can share the environment-neutral
@tanstack/charts/tooltip/model policy.
Text measurement is now a synchronous, deterministic host contract with font
family, style, stretch, letter spacing, direction, locale, and font scale.
Browser hosts pass inherited typography and re-layout after fonts load. React
Native exposes matching typography props and applies font scale to measurement
and SVG label paint; hosts own any asynchronous font-readiness lifecycle.
View composition accepts ComposableChartDefinition, including responsive
children resolved against their allocated frames. Embedded host options,
gradients, and scene backgrounds are rejected by exact types and guarded at
runtime. createChartRuntime({ defaultTheme }) now supplies one platform theme
to both responsive builders and final scene compilation.
Documentation checks now validate syntax and public imports for all 503 typed
fences and fully compile the 18 examples presented as complete. Contextual
fragments do not receive hidden fixture declarations.