Releases: vega/vega
v5.9.1
Changes from v5.9.0:
vega
- Fix rollup script to resolve symlinks.
vega-encode
- Fix log scale legend values and format. (#2290)
vega-projection-extended
- Fix rollup script to resolve symlinks.
vega-regression
- Update vega-statistics dependency.
vega-statistics
- Fix r-squared calculation for poly and quad regression. (Thanks @jakevdp!)
vega-time
- Fix time floor step bug, add tests. (#2270)
vega-util
- Fix
splitAccessPathescape handling, add tests. (#2287)
v5.9.0
Notable Additions:
- New Annual Precipitation example.
- Signal bindings for
selectandradioinput now support alabelsarray. - Group mark
strokeOffsetandstrokeForegroundproperties to control rectangle rendering. - The default set of map projections now includes the
mollweideprojection. - Improved numerical robustness for regression methods.
- Support
translateandscaletransformations in theisocontourtransform. - Support for fully asynchronous data loading, via data
asyncflag. - Support for adding new scale implementations at runtime.
Changes from v5.8.1:
docs
- Add Annual Precipitation example. (thanks @mattijn!)
vega
- Add ES5 build support via Babel. (thanks @nyurik!)
- Add
isocontour-precipitationtest specification. (thanks @mattijn!) - Update
dynamic-urltest specification to includeasync. - Update test scenegraphs in response to scale updates.
vega-dataflow
- Add asynchronous operator execution support.
vega-encode
- Fix legend item lookup bug.
- Add spacing to legend range labels.
vega-event-selector
- Add initial TypeScript typings.
vega-expression
- Add initial TypeScript typings.
vega-geo
- Add
isocontourscale and translate support. (#2163)
vega-parser
- Add
asyncdata loading property.
vega-projection
- Add
mollweideprojection to default set. - Update dependencies.
vega-projection-extended
- Add
hyperElliptical,interruptedQuarticAuthalic,nicolosiprojections. - Drop
naturalEarth1,mollweideprojections (move to vega-projection defaults).
vega-scale
- Refactor scale and metadata registration. (thanks @bmatcuk!)
- Add initial TypeScript typings.
- Update dependencies.
vega-scenegraph
- Add group mark
strokeOffsetproperty. (#2186) - Add group mark
strokeForegroundproperty. (#2197) - Fix group offset adjustment to interpolate smoothly.
- Fix SVG renderer clip maintenance bug. (thanks @donghaoren!)
- Fix
boundContextto calculate tight bounds for Bezier curves. - Fix canvas renderer group gradient offset bug.
vega-schema
- Add signal bind
labelsto schema. - Add
isocontourtransformtranslateparameter to schema. - Add
asyncdata property to schema. - Add group mark
strokeOffsetto schema.
vega-statistics
- Fix regression methods for numerical stability.
- Fix regression number coercion.
vega-transforms
- Add
Loadtransformasyncparameter. - Fix to use infinite bin values outside extent bounds. (#2227)
- Fix bin stop boundary error. (#2181)
vega-typings
- Add signal bind
labelstypings. - Add
isocontourtransformtranslateparameter typings. - Add
asyncdata property typing. - Add group mark
strokeOffsettypings. - Update
configobject typings.
vega-util
- Fix infinite loop bug in
extent. (#2177, thanks @tuner!) - Fix null result case output for
extentIndex. - Add tests for
extentandextentIndex.
vega-view
- Add
labelsproperty for radio/select bindings.
vega-wordcloud
- Fix
fontSizeflooring to handle floating point error.
v5.8.1
v5.8.0
Notable Additions:
- New transform (
timeunit) and expression functions for handling date-time values. - New transforms for more flexible 2D density estimation (
kde2d), flexible isocontour generation (isocontour), and heatmap image rendering (heatmap). - The
imagemark now supports dynamicimageandsmoothproperties. - The
pathmark has new rotation (angle) and scale properties (scaleX,scaleY). - More flexible
cornerRadiuscontrol forrectandgroupmarks.
Deprecations:
- The
contourtransform is now deprecated and may be removed in a future major release. Instead, use the new, more expressiveisocontour,kde2d, andheatmaptransforms.
Changes from v5.7.3:
docs
- Add documentation for new features.
- Add density-heatmaps example.
- Add radar-chart example. (thanks @benib!)
- Update contour-plot example.
- Update population-pyramid example.
- Update volcano-countours example.
vega
- Add vega-time utilities.
- Add
bar-timetest specification. - Add
heatmap-imagetest specification. - Add
heatmap-sinusoidstest specification. - Add
isocontour-airportstest specification. - Add
isocontour-volcanotest specification. - Add
scatter-plot-contourstest specification. - Add
scatter-plot-heatmaptest specification. - Update test specifications to use top-level guide configuration properties.
- Update build scripts, adjust D3 externals for vega-core build.
- Fix dependencies to specific versions. (#2089)
vega-encode
- Add support for UTC formatType.
- Update time/utc scale formatting to use vega-time methods.
- Fix log scale tick filtering of explicit values. (#2138)
vega-functions
- Add
timeUnitSpecifierexpression function. - Add
timeOffsetandutcOffsetexpression functions. - Add
timeSequenceandutcSequenceexpression functions. - Update
timeFormatandutcFormatfunctions to use vega-time methods. - Update dependencies.
- Fix day/month format bug. (#2096, thanks @jakevdp!)
vega-geo
- Add
isocontour,heatmap, andkde2dtransforms. - Drop d3-contour dependency, use local implementation.
- Deprecate
contourtransform.
vega-loader
- Update dependencies.
vega-parser
- Add
tickBandproperty for configuring band axis styles. - Update
tickOffsetconfig for band-scale axes. - Update dependencies.
- Fix symbol color configuration to consider values in parallel, not sequentially.
vega-regression
- Update dependencies.
vega-scale
- Update to use vega-time, drop internal time interval method.
vega-scenegraph
- Add
angle,scaleX, andscaleYchannels forpathmarks. (#2030, thanks @mathiastiberghien!) - Add individual
cornerRadiusoptions forrectandgroupmarks. (#1968, thanks @donghaoren!) - Add
imagemark support for pre-loadedimageproperty. - Use cubic bezier curves for improved rectangle corners.
- Fix canvas renderer to always bound to visible view.
- Drop Image
loadedflag, use built-incompleteflag.
vega-schema
- Add UTC timeFormat and time format specifier to schema.
- Add
angle,scaleX, andscaleYencoding channels to schema. - Add
cornerRadiusencoding channels to schema. - Add axis
translateandtickBandproperties to schema. - Update axis, legend format schema.
vega-selections
- Add support for resolving multi selections. (thanks @arvind!)
vega-statistics
- Add exported
bandwidthNRDmethod. - Update dependencies.
vega-time
- Add new vega-time utility package.
vega-transforms
- Add
TimeUnittransform. - Add
Bintransformintervalparameter. - Add
Flattentransformindexparameter. (#2114, thanks @Timmmm!)
vega-typings
- Add
TimeUnittransform typings. - Add
Heatmap,Isocontour, andKDE2Dtransform typings. - Add
Bintransformintervalparameter to typings. - Add
Flattentransformindexparameter to typings. - Add missing transform typings, refine parameter typings.
- Add UTC timeFormat and time format specifier typings.
- Add
angle,scaleX, andscaleYencoding channels to typings. - Add
cornerRadiusencoding channels to typings. - Add axis
translateandtickBandproperties to typings. - Update axis, legend format typings.
vega-view
- Update dependencies.
vega-view-transforms
- Add axis
translatesupport to axis layout. - Update dependencies.
vega-wordcloud
- Update dependencies.
v5.7.3
v5.7.2
Changes from v5.7.1:
vega
- Update
titlestest specification and output scenegraph.
vega-dataflow
- Optimize Pulse
modifiesmethod.
vega-transforms
- Fix Relay multi-pulse mod-tuple field check bug. (#2070)
vega-schema
- Fix title encode schema definition. (#2071)
vega-typings
- Remove generics from guide types.
v5.7.1
Changes from v5.7.0:
vega-cli
- Use robust
isNaNandisFinitechecks.
vega-encode
- Use robust
isNaNandisFinitechecks.
vega-expression
- Use robust
isNaNandisFinitechecks.
vega-force
- Use robust
isNaNandisFinitechecks.
vega-loader
- Use robust
isNaNandisFinitechecks. - Use
Math.isIntegerwithin integer type check.
vega-parser
- Use
mergeConfigutility to combine input config objects to parser.
vega-scale
- Use robust
isNaNandisFinitechecks.
vega-transforms
- Fix
Relayto mark re-derived input source fields as modified. - Fix
Formulato respond to modified output fields. - Use robust
isNaNandisFinitechecks.
vega-scenegraph
- Fix SVG re-render sibling ordercheck. (#2042, thanks @bmatcuk!)
- Fix SVG dirty item handling for initial draw.
- Fix text mark canvas draw early exit test.
- Fix canvas gradient default value lookup. (#2052)
vega-schema
- Fix color value schema to properly support production rules. (#2032)
vega-util
- Add
mergeConfigandwriteConfigutility functions.
vega-view-transforms
- Add
TitleRoleto groups to skip in grid layout. (#2058)
v5.7.0
Notable Additions:
- The
textmark now supports multi-line text. Multiples lines are specified by setting thetextchannel to an array of strings (one per line). - The
titledirective now supportssubtitletext and corresponding configuration properties. - Title text in axes, legends, and titles can now span multiple lines (as an array of strings).
- New transforms for dot plot layout and quantile estimation.
- New expression functions for statistical distributions.
- Legend
symbolLimitproperty controls the number of entries shown in a symbol legend. The default configuration imposes a 30 entry limit. - Configuration support for default cartographic projection properties.
Deprecations:
- The
titledirective's top-levelname,interactive, andstyleproperties, along with the flatencodeblock for title text, are now deprecated and will be removed in Vega 6.0. Instead, please use nested encode blocks using the keystitleorsubtitle. This new form is more expressive and consistent with custom encode blocks for axes and legends.
Changes from v5.6.0:
vega
- Add
dot-plottest specification. - Add
quantile-dot-plottest specification. - Add
quantile-quantile-plottest specification. - Add
text-multilinetest specification. - Update
chart,font-size-step,titlestest specifications. - Update
contour-maptest specification title use. - Update test scenegraphs to use updated serialization method.
vega-encode
- Add legend
symbolLimitproperty. (#2034) - Fix tick format precision with binned values.
vega-functions
- Add
luminanceandcontrastexpression functions for accessibility. (Thanks @benib!) - Add new distribution methods from vega-statistics.
vega-geo
- Update
geojsontransform to use identity accessor by default. (#2016)
vega-parser
- Add subtitle support for
titledirectives. - Add multi-line config options for axis and legend titles.
- Add projection config support. (#1985)
- Add legend
symbolLimitproperty. (#2034) - Fix encode-util array-typed parameter bug.
vega-scenegraph
- Add multi-line text rendering support for
textmarks. - Add string-array-valued
textproperty support. - Add
lineBreakandlineHeightproperties for multi-line text. - Add
multilineOffsetutility method. - Add multi-line text test case.
- Update text metrics utilities to isolate specific lines of text.
- Fix image mark width/height determination. (#2033)
- Fix allowed text properties for scenegraph serialization.
vega-schema
- Add multi-line
text,lineBreak, andlineHeightchannel schema entries. - Add multi-line text schema entries for axis / legend titles.
- Add subtitle schema entries.
vega-statistics
- Add
dotbinmethod. - Add
quantilesmethod. - Add
randomLogNormaldistribution. - Add
sample*,cumulative*,density*, andquantile*methods for normal, log normal, and uniform distributions. - Update inverse error function implementation.
vega-transforms
- Add
DotBintransform. - Add
Quantiletransform. - Fix
Loadtransform output processing, wrap values in an array. (#2014)
vega-typings
- Add multi-line
text,lineBreak, andlineHeightchannel typings. - Add multi-line text typings for axis / legend titles.
- Add subtitle typings.
- Add typings for new transforms.
vega-view-transforms
- Add subtitle layout support.
- Add multi-line text layout support for axis / legend titles.
- Fix dirty call for axis title element.
- Fix view layout trigger for all guide elements.
v5.6.0
Changes from v5.5.3:
vega
- Add overview-detail-bins test specification.
- Update font-size-steps test specification to include config signals.
- Update dependencies, including d3-format. (Thanks @benib!)
vega-encode
- Fix bin boundary generation to respect scale domain.
- Add test cases for scale bins parameter.
vega-parser
- Fix config signal parsing bug. (#1989)
vega-statistics
- Add span parameter to
binmethod. - Add test cases using
binspan parameter.
vega-transforms
- Add span parameter to
Bintransform.
vega-typings
- Update
Bintransform typing. - Add overview-detail-bins test specification.
vega-util
- Fix null input handling for
spanmethod.
v5.5.3
Changes from v5.5.2:
vega
- Update
movies-sorttest scene to reflect new stable sorting.
vega-dataflow
- Add
stableComparemethod to Tuple utilities.
vega-encode
- Update
SortItemstransform to use stable comparator. - Update
Stacktransform to use stable comparator.
vega-hierarchy
- Update
HierarchyLayoutto use stable comparator. - Remove internal assignment of tupleid to tree nodes.
vega-parser
- Update sort parameter for SortItems transform.
- Update sort parameter for generated scale dataflows.
- Fix negative axis
labelFlushOffsetbug.
vega-transforms
- Update
Collecttransform to use stable comparator. - Update
Valuestransform to use stable comparator. - Update
Windowtransform to use stable comparator.