v5.14.0
Notable Changes
- Update SVG rendering to produce fully compliant XML. (#2672)
- Major refactoring of the Vega code to be more lean and modern. The main changes are:
- Use shorthand property method syntax (e.g., rather than assignment to prototype objects).
- Use arrow functions rather than
function
declarations where appropriate. - Prefer use of
let
andconst
tovar
.
- Upgrade the documentation examples to use vega-datasets 2.0+, including swapping out the Iris dataset for a more adorable Penguins dataset. 🐧
- Various bug fixes, documented below.
Changelog
Changes from v5.13.0:
vega-cli
- Update SVG test output.
vega-canvas
- Update to use leaner syntax.
vega-crossfilter
- Update to use leaner syntax.
vega-dataflow
- Fix EventStream to support detach method. (#2753)
- Fix Pulse
addAll
to clear rem set when applicable. This prevents tuple removal from being invoked on newly instantiated operators that never observed those tuples in the first place. (#2605) - Update to use leaner syntax.
vega-encode
- Update to use leaner syntax.
vega-event-selector
- Update to use leaner syntax.
vega-expression
- Update to use leaner syntax.
vega-force
- Update to use leaner syntax.
vega-format
- Update to use leaner syntax.
vega-functions
- Update to use leaner syntax.
vega-geo
- Update to use leaner syntax.
vega-hierarchy
- Update to use leaner syntax.
vega-label
- Update to use leaner syntax.
vega-loader
- Update to use leaner syntax.
vega-parser
- Fix production rule support for guides. (#2754)
- Update to use leaner syntax.
vega-projection
- Update to use leaner syntax.
vega-regression
- Update to use leaner syntax.
vega-scale
- Update to use leaner syntax.
vega-scenegraph
- Add
markup
andserializeXML
utilities for SVG string output. Ensure proper XML output. (#2672) - Fix leaky SVG scaleX/Y transforms on non-path marks. (#2738)
- Fix bounds calculation for rotated paths. (#2780)
- Fix canvas picking for clipped groups with corner radius and no fill. (#2797)
- Fix SVG path parsing: support concatenated decimals and implicit lineTo commands. (#2803)
- Update tests, add
xmllint
checks to test conformance of SVG output. - Update to use leaner syntax.
- Internal Breaking Change: Update
SVGStringRenderer
class methods to use markup utility. - Internal Breaking Change: Drop
openTag
,closeTag
utilities.
vega-statistics
- Update to use leaner syntax.
vega-time
- Update to use leaner syntax.
vega-transforms
- Update to use leaner syntax.
vega-view-transforms
- Update to use leaner syntax.
vega-view
- Update to use leaner syntax.
vega-util
- Add
members
argument toinherits
utility. - Add
ascending
comparator utility. - Update to use leaner syntax.
vega-voronoi
- Update to use leaner syntax.
vega-wordcloud
- Update to use leaner syntax.