6.0.1 (2019-04-03)
- add
react-vega-lite
(87b3512)
- add
react-vega-lite
storybook (4e8793f)
6.0.0 (2019-04-03)
- linting (669df11)
- add storybook (b4f1ecc)
- output are now in
lib
andesm
directories instead ofdist
- 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 bundlevega-lib
inside it. (Issue #20)
4.0.0 (2018-07-25)
- Switch from
vega
tovega-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
fromVega
- Add props
updateOptions
- Support props
className
andstyle
- Makes
createClassFromSpec(name, spec)
works when name is omitted (createClassFromSpec(spec)
). This is for backward compatibility.
- Fix eslint complaints
- Implement
shouldComponentUpdate
to check if anything was changed. - Add static functions
isSamePadding
andisSameViewport
toVega
class.
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 extendsReact.Component
and useref
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
andlistenerName
toVega
class.
- Fix bug to call
vis.update()
before setting new data
- Support function as data and add static
getSpec()
- Avoid clearing data when that field is not set in the input.
- Change global export name to
ReactVega
instead ofreactVega
- Fix bug with umd export when using global
- Fix bug with umd export when using global
- Add support for dynamic spec via
<Vega>
component.
- Fix external lib bug
- First release