Skip to content

2.0.0

Compare
Choose a tag to compare
@netil netil released this 16 Jul 07:59
· 969 commits to master since this release

2.0.0 (2020-07-16)

The detailed new feature description can be found at:

billboard.js 2.0 is out! 馃帀馃帄, more smaller and faster

Checkout the detailed changes & migration guide from v1:

Bug Fixes

  • all: Fix test cases (2e1ad79)
  • arc: fix applying data.labels.colors (#1448) (c128fad), closes #1440
  • axis: fix incorrect clip node handling (a8c6f96), closes #1449
  • axis: make axis clip-path to fit real axis size (7419f44), closes #1449
  • bar: fix bar width scale on zoom (59073bd), closes #1476
  • data: fix for data.labels=false (b7a0972), closes #1444
  • data.selection: fix selection.isselectable value check (9d41a04)
  • gauge: fixed wrong bottom padding calculation (0542586), closes #1441 #1471
  • legend: Don't bind event when interaction is false (4546c00)
  • point: Correct focus.only to work in mobile env (67eea16)
  • point: Correct point.focus.only (1686594)
  • point: update point generation (da63e39)
  • subchar: correct subchart rendering (44ed216), closes #1458

Code Refactoring

Features

  • axis: Intent to ship log scale (6fdf3e4), closes #1351
  • bar: Intent to ship bar.label.threshold (72a7b7f), closes #1427
  • gauge: Intent to ship gauge.label.threshold (#1443) (9a0807e), closes #1439
  • interaction: split selection, subchart & zoom (ba1e4f2)
  • point: Intent to ship point.focus.only (bb70347)

BREAKING CHANGES

  • all: v2 updates
  • module: new index for ESM build
  • split Axis releated size from size.ts --> size.axis.ts
  • split common main option from Options.ts --> ./common/main.ts
  • Instead export Axis class, add .getAxisInstance() to make beneficial
    from tree-shaking