# What changed in vega-typings

> 9 changes in vega-typings 2 from its official release notes, upgrade guides and advisories: 4 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/vega-typings/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## vega-typings 2

### New APIs and options

- Interaction design can be declaratively expressed using Signals and Predicates. (2.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v2.0.0)
- Incremental re-rendering is supported. (2.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v2.0.0)
- Generated mark instances can be used as backing data for downstream marks. (2.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v2.0.0)
- Streaming data sets are supported. (2.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v2.0.0)

### Performance

- The SVG renderer has improved performance. (2.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v2.0.0)

### Behavior and default changes

- Aggregate and facet data transforms are more expressive. (2.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v2.0.0)
- Canvas and SVG modes have parity. (2.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v2.0.0)

### Tooling

- A schema is available for validating Vega specifications. (2.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v2.0.0)
- The editor is now in the vega-editor repository and adds syntax highlighting, code folding, and error icons for JSON parse errors. (2.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v2.0.0)
