Skip to content

Upgrade to version 0.1.3 and enhance ChartGPU API#11

Merged
hunterg325 merged 2 commits intomainfrom
upgrade-chartgpu-version
Feb 16, 2026
Merged

Upgrade to version 0.1.3 and enhance ChartGPU API#11
hunterg325 merged 2 commits intomainfrom
upgrade-chartgpu-version

Conversation

@hunterg325
Copy link
Collaborator

Summary

Upgrade chartgpu-react to use @chartgpu/chartgpu v0.2.8 and expose new streaming, external render, and shared GPU context features through the React wrapper.[page:1]

Changes

  • Bump chartgpu-react package version to 0.1.2 and update dependency to @chartgpu/chartgpu@0.2.8.[page:1]
  • Add a GitHub Actions workflow to publish the package to GitHub Packages on tagged releases, including a version/tag consistency check and scoped package-name adjustment at publish time.[page:1]
  • Extend the ChartGPU component event props with onDataAppend and onDeviceLost, wiring them to the upstream 'dataAppend' and 'deviceLost' events for better streaming telemetry and device-loss handling.[page:1]
  • Expand the ChartGPUHandle imperative API with needsRender, renderFrame, getRenderMode, and setRenderMode to support external render mode and app-owned render loops.[page:1]
  • Introduce the gpuContext prop and useGPUContext hook to enable multi-chart dashboards that share a GPUDevice (and optional pipeline cache) across charts for better performance.[page:1]
  • Broaden appendData typing and docs to accept the full Cartesian series data superset (DataPoint[], XYArraysData, InterleavedXYData) in addition to OHLCDataPoint[], and document the new ChartGPUDataAppendPayload and related streaming types.[page:1]
  • Update LLM- and API-oriented docs (README, GETTING_STARTED, API.md, chartgpu-component.md, chartgpu-handle.md, hooks.md, llm-context.md, streaming recipe) to describe the new hooks, types, events, external render mode, and multi-chart dashboard patterns.[page:1]
  • Add new examples demonstrating external render mode with a requestAnimationFrame loop and a streaming multi-chart dashboard that shares GPU context and surfaces onDataAppend / onDeviceLost status in the UI.[page:1]

Notes

  • No breaking changes to existing ChartGPU usage; new capabilities are additive and gated behind new props, hooks, and types.[page:1]

- Bump version in package.json and package-lock.json to 0.1.2.
- Update @chartgpu/chartgpu dependency to version 0.2.8.
- Introduce new event handlers: onDataAppend and onDeviceLost for improved data streaming and device management.
- Add support for external render mode in the ChartGPU component, allowing manual frame rendering.
- Enhance documentation to reflect new features and usage examples, including shared GPU context for multi-chart dashboards.
@hunterg325 hunterg325 changed the title Upgrade to version 0.1.2 and enhance ChartGPU API Upgrade to version 0.1.3 and enhance ChartGPU API Feb 16, 2026
@hunterg325 hunterg325 merged commit dd1a1ec into main Feb 16, 2026
@hunterg325 hunterg325 deleted the upgrade-chartgpu-version branch February 16, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments