Aligned with @chartgpu/chartgpu ^0.3.6 and modern React/TypeScript tooling.
- Peer:
@chartgpu/chartgpu^0.3.6 (was ^0.2.8) - Peer: React ≥18 (dev/tested on React 19.2)
- Dev: TypeScript 7.0, Vite 7, Vitest 4,
@types/react19
ChartGPUHandle.appendDataaccepts optional{ maxPoints }for FIFO / fixed-capacity streaming (ChartGPU 0.3.x)ChartGPUHandle.setZoomRangepasses optionalsourcethrough to coreCartesianSeriesDataallowsnullgaps (matches core)- Expanded type re-exports: heatmap, band, errorBar, impulse, OHLC, 3D series,
ZoomChangeSourceKind, etc. - New exported type:
ChartGPUAppendDataOptions
- Build: Vite (ESM bundle) +
tscdeclaration emit
(vite-plugin-dtsis incompatible with TypeScript 7’s slim package API) - Package name restored to
chartgpu-reactfor npmjs.org (GitHub Packages still scopes at publish) - Test coverage for handle/hooks 0.3.x:
appendData/maxPoints,setZoomRangesource, external render,useConnectCharts,useGPUContext,gpuContextcreate path,onDataAppend/onDeviceLost, export smoke
- Streaming multi-chart demos use
appendData(..., { maxPoints })