Skip to content

Latest commit

Β 

History

History
638 lines (274 loc) Β· 20.4 KB

CHANGELOG.md

File metadata and controls

638 lines (274 loc) Β· 20.4 KB

7.5.0 (2022-04-07)

Features

7.4.4 (2021-08-27)

Bug Fixes

7.4.3 (2021-05-01)

Features

7.4.2 (2020-11-10)

7.4.1 (2020-07-28)

Bug Fixes

7.4.0 (2020-07-20)

Features

7.3.0 (2020-03-22)

Features

7.2.1 (2020-02-12)

7.2.0 (2020-02-06)

Features

  • avoid creating new view when only width or height in spec changes (#95) (d4a87e7)

7.1.2 (2020-02-05)

Bug Fixes

7.1.1 (2019-11-19)

7.1.0 (2019-10-18)

Features

7.0.1 (2019-09-25)

Bug Fixes

Features

7.0.0 (2019-09-20)

Bug Fixes

  • list of dependencies in package.json (#57) (d15659a)

Features

  • improve perf and avoid updating data or view when not necessary (#58) (20d99ca)
  • log parse error by default and catch more errors (#56) (c01862d)

7.0.0-alpha.0 (2019-09-15)

Features

  • rewrite react-vega in typescript (#54) (b923923)

6.1.0 (2019-07-10)

Bug Fixes

  • re-render should not register additonal hover listeners (#42) (5634efe), closes #30

Features

  • integrate vega embed to use tooltip, bug fixes for storybook (#38) (16aa8cc)

6.0.1 (2019-04-03)

Features

  • add react-vega-lite (87b3512)
  • add react-vega-lite storybook (4e8793f)

6.0.0 (2019-04-03)

Bug Fixes

Build System

  • discontinue bower support (e30dca6)

Features

BREAKING CHANGES

  • discontinue bower support

5.0.0 (2019-04-02)

7.4.4 (2021-08-27)

Bug Fixes

7.4.3 (2021-05-01)

Features

7.4.2 (2020-11-10)

7.4.1 (2020-07-28)

Bug Fixes

7.4.0 (2020-07-20)

Features

7.3.0 (2020-03-22)

Features

7.2.1 (2020-02-12)

7.2.0 (2020-02-06)

Features

  • avoid creating new view when only width or height in spec changes (#95) (d4a87e7)

7.1.2 (2020-02-05)

Bug Fixes

7.1.1 (2019-11-19)

7.1.0 (2019-10-18)

Features

7.0.1 (2019-09-25)

Bug Fixes

Features

7.0.0 (2019-09-20)

Bug Fixes

  • list of dependencies in package.json (#57) (d15659a)

Features

  • improve perf and avoid updating data or view when not necessary (#58) (20d99ca)
  • log parse error by default and catch more errors (#56) (c01862d)

7.0.0-alpha.0 (2019-09-15)

Features

  • rewrite react-vega in typescript (#54) (b923923)

6.1.0 (2019-07-10)

Bug Fixes

  • re-render should not register additonal hover listeners (#42) (5634efe), closes #30

Features

  • integrate vega embed to use tooltip, bug fixes for storybook (#38) (16aa8cc)

6.0.1 (2019-04-03)

Features

  • add react-vega-lite (87b3512)
  • add react-vega-lite storybook (4e8793f)

6.0.0 (2019-04-03)

Bug Fixes

Build System

  • discontinue bower support (e30dca6)

Features

BREAKING CHANGES

  • discontinue bower support

5.0.0 (2019-04-02)

4.0.2 (2018-07-31)

4.0.1 (2018-07-28)

4.0.0 (2018-07-25)

3.1.2 (2018-01-11)

3.1.1 (2017-06-22)

3.1.0 (2017-06-22)

7.2.0 (2020-02-06)

Features

  • avoid creating new view when only width or height in spec changes (#95) (d4a87e7)

7.1.2 (2020-02-05)

Bug Fixes

7.1.1 (2019-11-19)

7.1.0 (2019-10-18)

Features

7.0.1 (2019-09-25)

Bug Fixes

Features

7.0.0 (2019-09-20)

Bug Fixes

  • list of dependencies in package.json (#57) (d15659a)

Features

  • improve perf and avoid updating data or view when not necessary (#58) (20d99ca)
  • log parse error by default and catch more errors (#56) (c01862d)

7.0.0-alpha.0 (2019-09-15)

Features

  • rewrite react-vega in typescript (#54) (b923923)

πŸ’” BREAKING CHANGES:

  • Some props of <Vega /> are changed.
  • react-vega-lite package is deprecated.

🚚 Migration Guide

Vega

  • <Vega enableHover /> changes to <Vega hover />
  • <Vega onParseError={} /> changes to <Vega onError={} />
  • Vega's onSignalXXX signal listeners has been changed.
Previous versions
<Vega onSignalHover={handleHover} />
Now
// key is signal name
const signalListeners = { hover: handleHover } />

<Vega signalListeners={signalListeners} />

VegaLite

Please use react-vega instead of react-vega-lite.

import { Vega, VegaLite, createClassFromSpec } from 'react-vega';

// Option 1. When spec has $schema field that is a valid vega-lite schema url. Vega will automatically parse vega-lite spec.
<Vega spec={spec} />
// Option 2. Enforce mode manually.
<Vega mode="vega-lite" spec={spec} />
// Option 3. The new VegaLite component in react-vega is just a syntactic sugar of option 3.
<VegaLite spec={spec} />

6.1.0 (2019-07-10)

Bug Fixes

  • re-render should not register additonal hover listeners (#42) (5634efe), closes #30

Features

  • integrate vega embed to use tooltip, bug fixes for storybook (#38) (16aa8cc)

6.0.1 (2019-04-03)

Features

Documentation

  • add react-vega-lite storybook (4e8793f)

6.0.0 (2019-04-03)

Bug Fixes

Features

BREAKING CHANGES

  • output are now in lib and esm directories instead of dist
  • discontinue bower support

5.0.0 (2019-04-02)

  • Switch from vega-lib back to `vega.

4.0.2 (2018-07-31)

  • Fix webpack config for amd/commonjs

4.0.1 (2018-07-28)

  • Fix wrong webpack config that cause react-vega to accidentally bundle vega-lib inside it. (Issue #20)

4.0.0 (2018-07-25)

  • Switch from vega to vega-lib
  • Add tooltip handler support. Thanks @mdelrossi1.
  • Fix bug #14

3.1.2 (2018-01-11)

  • Expand version to support React 16

3.1.1 (2017-06-22)

  • Also add vega to devDependencies

3.1.0 (2017-06-22)

  • Move vega to peerDependencies

3.0.1 (2017-05-09)

3.0.0 (2017-05-09)

  • Support Vega 3 API changes (Issue #6)
  • Remove props viewport from Vega

2.3.0

  • Add props updateOptions

2.2.0

  • Support props className and style

2.1.2

  • Makes createClassFromSpec(name, spec) works when name is omitted (createClassFromSpec(spec)). This is for backward compatibility.

2.1.1

  • Fix eslint complaints

2.1.0

  • Implement shouldComponentUpdate to check if anything was changed.
  • Add static functions isSamePadding and isSameViewport to Vega class.

2.0.0

Very likely to work fine if you are upgrading from 1.x.x. There are breaking changes (of the features nobody seems to use) and I almost rewrite the whole thing so I think it is worth being considered a major version. Here are the list of changes:

  • Rewrite using preferred method recommended by React. Vega component now extends React.Component and use ref as a function instead of string.
  • Add check for props/data changes and only update when necessary.
  • Refactor code for clarity
  • Remove support for spec as a function
  • Add static functions isSameData, isSameSpec and listenerName to Vega class.

1.1.1

  • Fix bug to call vis.update() before setting new data

1.1.0

  • Support function as data and add static getSpec()

1.0.1

  • Avoid clearing data when that field is not set in the input.

1.0.0

  • Change global export name to ReactVega instead of reactVega

0.1.2

  • Fix bug with umd export when using global

0.1.1

  • Fix bug with umd export when using global

0.1.0

  • Add support for dynamic spec via <Vega> component.

0.0.2

  • Fix external lib bug

0.0.1

  • First release