npm / vega-lite
vega-lite
What changed in vega-lite 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.
4 breaking2 new APIs and options3 behavior and defaults12 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initvega-lite 621 changes
Breaking changes 4
Image marks are centered when channel2 is not defined.
Scales are namespaced in concat and repeat specifications.
Quantitative yOffset directionality is reversed to match y.
Pathmarks are ungrouped when used in offset channels.
New APIs and options 2
Adds an exponential moving average transform.
Adds the ability to filter tooltip fields.
Behavior and default changes 3
Container sizing is based on ResizeObserver.
Compiled output is simplified for explicit datetime scale domains.
Signals are evaluated in unioned domains.
Fixes and other changes 12
Animation selections are initialized on the first pulse.
Normalized stacks respect explicit axis formats.
Applies cornerRadiusEnd to the rendered value end of bars.
Fixes a bug affecting missing data in facets.
Facet sort order is applied correctly when an aggregate is present.
Ranged marks are compatible with offset channels.
Point selections support escaped fields.
Tooltip newline shortcut handling now excludes timeUnit fields.
Tick and rect marks with explicit size now honor timeUnitBandPosition.
Legends are merged when color scales use explicit range or domain settings.
Tooltip checking now accounts for custom formatters.
Tooltip data no longer becomes "undefined" when using nearest hit testing.