Skip to content

v0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@bruce-binary bruce-binary released this 29 Oct 02:08
6d5681c

v0.3.0 brings optimisations in library size, reducing total library size (including dependencies) from 1.53Mb to 1.30Mb (15% reduction). smartcharts.js itself was reduced from 661Kb to 388Kb (41%); this is achieved by having required chunks of the library to be loaded on-demand instead of being bundled together.

What's New:

  • Breaking Change: In this release we break the library into chunks in which SmartCharts loads on demand. Please refer to the updated Quick Start section on how to set this up. (#545)
  • Reduce the size of the translations by 20% (#533)
  • Switch from internal to external SVG - allows SVG files to be loaded separately from the library, and reduces the size of the library by 4% (#552)
  • Remove unnecessary dependency on babel-polyfill on library - 16% reduction from smartcharts.js (#562)

Bug fixes:

  • Crosshair tooltip now displays symbol name instead of symbol code (#547)

Technical Notes:

  • Added Why Did You Update to avoid unnecessary React renders (#538)
  • Stylelint plugin no-unsupported-browser-features is now enforced (#558)