Skip to content

Releases: stimulus-components/stimulus-chartjs

6.0.0

26 Feb 03:52
Compare
Choose a tag to compare

[6.0.0] - 2024-02-25

Chore

  • Renaming the component from stimulus-chartjs to @stimulus-components/chartjs
  • Upgrading dependencies
  • Exporting Typescript Types
  • Updating demo UI
  • Add Stimulus LSP compatibility

v5.0.1...v6.0.0

5.0.1

10 Dec 19:30
Compare
Choose a tag to compare

Chore

  • Upgrading Chart.js to latest 4.x.
  • Bump dependencies

v5.0.0...v5.0.1

5.0.0

23 Dec 18:44
Compare
Choose a tag to compare

Added

  • Adding name in library export to use the package with CDN, Sprockets and import-maps.

Chore

  • Breaking Upgrading to Chart.js 4.x.
  • Updating docs UI.
  • Upgrading dependencies.
  • Upgrading Node to 18.

v4.0.0...v5.0.0

4.0.0

07 Jan 10:56
Compare
Choose a tag to compare

Chore

v3.0.0...v4.0.0

v3.0.0

25 May 20:19
Compare
Choose a tag to compare

Chore

  • Moving from Snowpack to Vite
  • Using stimulus and Chart.js as external libraries reducing bundle size from 269.37kb to 0.97kb.
  • Moving to TypeScript
  • Upgrading Node to 14.17.0

v2.1.0...v3.0.0

v2.1.0

23 Dec 00:17
Compare
Choose a tag to compare

Changed

  • Add type value. line by default.

Fixed

  • Fix options value.

v2.0.0

05 Dec 17:11
Compare
Choose a tag to compare

[2.0.0] - 2020-12-05

Added

  • Support for Stimulus 2.0

Changed

  • Breaking Using the new values static property.
- <canvas data-controller="chart" data-chart-data="{'type': 'line', 'data': { 'labels': ['August', 'September', 'October', 'November', 'December'], 'datasets': [{ 'label': 'My Second dataset', 'backgroundColor': 'transparent', 'borderColor': '#EF4444', 'data': [54, 81, 34, 91, 12, 23] }] } }"></canvas>
+ <canvas data-controller="chart" data-chart-data-value='{"type": "line", "data": { "labels": ["August", "September", "October", "November", "December"], "datasets": [{ "label": "My Second dataset", "backgroundColor": "transparent", "borderColor": "#EF4444", "data": [54, 81, 34, 91, 12, 23] }] } }'></canvas>
  • Breaking Using the new syntax for targets.
- <canvas data-target="chart.canvas"></canvas>
+  <canvas data-chart-target="canvas"></canvas>

v1.0.0...v2.0.0

v1.0.0

03 Dec 19:50
Compare
Choose a tag to compare
  • Adding controller