Skip to content

graphjs 0.3.0

Choose a tag to compare

@github-actions github-actions released this 20 Apr 21:12
· 61 commits to main since this release
7d8039b

Changed

  • Removed all utility functions (decimatePointsStride, resolveCanvas, getDevicePixelRatio, normalizeSeriesData, getDataBounds) from the main graphjs package entry point. These are now exclusively accessible via the graphjs/utils subpath, consistent with the other internal utilities (makeLinearScale, invertLinearScale, clampBounds, applyDomainOverride, filterVisibleSeries, isPlainObject, deepMerge, deepFreeze, clamp). Consumers importing utilities from the main entry must update their imports to use graphjs/utils.
  • Added dedicated src/utils.d.ts TypeScript declarations for the graphjs/utils subpath. The ./utils export map entry now points to this file for types instead of the main src/index.d.ts.