Releases: vega/vega
v5.7.2
Changes from v5.7.1:
vega
- Update
titles
test specification and output scenegraph.
vega-dataflow
- Optimize Pulse
modifies
method.
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
isNaN
andisFinite
checks.
vega-encode
- Use robust
isNaN
andisFinite
checks.
vega-expression
- Use robust
isNaN
andisFinite
checks.
vega-force
- Use robust
isNaN
andisFinite
checks.
vega-loader
- Use robust
isNaN
andisFinite
checks. - Use
Math.isInteger
within integer type check.
vega-parser
- Use
mergeConfig
utility to combine input config objects to parser.
vega-scale
- Use robust
isNaN
andisFinite
checks.
vega-transforms
- Fix
Relay
to mark re-derived input source fields as modified. - Fix
Formula
to respond to modified output fields. - Use robust
isNaN
andisFinite
checks.
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
mergeConfig
andwriteConfig
utility functions.
vega-view-transforms
- Add
TitleRole
to groups to skip in grid layout. (#2058)
v5.7.0
Notable Additions:
- The
text
mark now supports multi-line text. Multiples lines are specified by setting thetext
channel to an array of strings (one per line). - The
title
directive now supportssubtitle
text 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
symbolLimit
property 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
title
directive's top-levelname
,interactive
, andstyle
properties, along with the flatencode
block for title text, are now deprecated and will be removed in Vega 6.0. Instead, please use nested encode blocks using the keystitle
orsubtitle
. This new form is more expressive and consistent with custom encode blocks for axes and legends.
Changes from v5.6.0:
vega
- Add
dot-plot
test specification. - Add
quantile-dot-plot
test specification. - Add
quantile-quantile-plot
test specification. - Add
text-multiline
test specification. - Update
chart
,font-size-step
,titles
test specifications. - Update
contour-map
test specification title use. - Update test scenegraphs to use updated serialization method.
vega-encode
- Add legend
symbolLimit
property. (#2034) - Fix tick format precision with binned values.
vega-functions
- Add
luminance
andcontrast
expression functions for accessibility. (Thanks @benib!) - Add new distribution methods from vega-statistics.
vega-geo
- Update
geojson
transform to use identity accessor by default. (#2016)
vega-parser
- Add subtitle support for
title
directives. - Add multi-line config options for axis and legend titles.
- Add projection config support. (#1985)
- Add legend
symbolLimit
property. (#2034) - Fix encode-util array-typed parameter bug.
vega-scenegraph
- Add multi-line text rendering support for
text
marks. - Add string-array-valued
text
property support. - Add
lineBreak
andlineHeight
properties for multi-line text. - Add
multilineOffset
utility 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
, andlineHeight
channel schema entries. - Add multi-line text schema entries for axis / legend titles.
- Add subtitle schema entries.
vega-statistics
- Add
dotbin
method. - Add
quantiles
method. - Add
randomLogNormal
distribution. - Add
sample*
,cumulative*
,density*
, andquantile*
methods for normal, log normal, and uniform distributions. - Update inverse error function implementation.
vega-transforms
- Add
DotBin
transform. - Add
Quantile
transform. - Fix
Load
transform output processing, wrap values in an array. (#2014)
vega-typings
- Add multi-line
text
,lineBreak
, andlineHeight
channel 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
bin
method. - Add test cases using
bin
span parameter.
vega-transforms
- Add span parameter to
Bin
transform.
vega-typings
- Update
Bin
transform typing. - Add overview-detail-bins test specification.
vega-util
- Fix null input handling for
span
method.
v5.5.3
Changes from v5.5.2:
vega
- Update
movies-sort
test scene to reflect new stable sorting.
vega-dataflow
- Add
stableCompare
method to Tuple utilities.
vega-encode
- Update
SortItems
transform to use stable comparator. - Update
Stack
transform to use stable comparator.
vega-hierarchy
- Update
HierarchyLayout
to 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
labelFlushOffset
bug.
vega-transforms
- Update
Collect
transform to use stable comparator. - Update
Values
transform to use stable comparator. - Update
Window
transform to use stable comparator.
v5.5.2
v5.5.1
v5.5.0
Summary of Changes in v5.5.0:
- Multi-field scale domain sorting supports
min
andmax
operators, not justcount
. - Add support for
equalEarth
map projection. - Add
resolve
parameter to KDE transform. - View
data
method can now be used to set/replace input datasets. - Config can include signal definitions, enabling configuration variables and dynamic updates.
- Event configuration options to control how Views may interact with the browser environment.
- Hierarchy layouts automatically count leaf nodes if no
field
parameter is provided. - Numerous bug fixes.
Changes from v5.4.0:
vega
- Numerous documentation updates.
vega-cli
- Fix time format setter invocation. (Thanks @virtuaCode!)
vega-dataflow
- Add optional
nomod
parameter toPulse.modified
method. - Fix pulse assignment to remove tuple stream "leakage" bugs.
- Update code to satisfy new linting rules.
vega-encode
- Fix interpolation of array-valued color schemes.
- Add error message for incompatible color schemes.
vega-event-selector
- Update code to satisfy new linting rules.
vega-expression
- Update code to satisfy new linting rules.
vega-force
- Update code to satisfy new linting rules.
vega-functions
- Fix integer checks for date month and day values. (Thanks @mcmcgrath13!)
- Fix error handling for data dependency lookups.
- Update code to satisfy new linting rules.
vega-hierarchy
- Fix hierarchy layouts to use leaf counts if no value field is provided.
- Fix tree generation to copy tuple ids to tree nodes for stable sorting.
- Update code to satisfy new linting rules.
vega-loader
- Fix to only allow loading from safe URIs.
- Update code to satisfy new linting rules.
vega-parser
- Add config signal definition support.
- Add min/max sort op support for discrete scales with unioned domains.
- Update transform
compare
parameter parsing to request stable sort. - Update default value assignment to put signal values in
update
set. - Update config merge logic to support signal definitions.
- Update code to satisfy new linting rules.
vega-projection
- Add equalEarth projection. (Thanks @mattijn!)
- Update code to satisfy new linting rules.
vega-regression
- Update code to satisfy new linting rules.
vega-runtime
- Update code to satisfy new linting rules.
vega-scale
- Update code to satisfy new linting rules.
vega-schema
- Update schema for sorting unioned scale domains.
vega-scenegraph
- Update code to satisfy new linting rules.
vega-selections
- Update code to satisfy new linting rules.
vega-transforms
- Add
resolve
parameter to KDE transform. - Raise warning for infinite extents.
- Fix Aggregate code generation to escape output field name strings.
- Fix Pivot state update on data stream change.
- Fix Aggregate update sensitivity to modified fields.
- Update code to satisfy new linting rules.
vega-typings
- Add scenegraph
Bounds
object typings. - Add detailed
config
object typings. - Add further dataflow typings.
- Add
equalEarth
projection to typings. - Add View typings to reflect modified
data
method. - Add more generic type for WindowEventType.
- Add config signal definition typings.
- Update typings for sorting unioned scale domains.
vega-util
- Add
hasOwnProperty
utility method. - Update code to ensure ES5 compatibility.
- Update code to satisfy new linting rules.
vega-view
- Add support for View
data
method to also act as a setter. - Add security event config for allowable event sources and types.
- Add security event config for allowable input binding targets.
- Update code to satisfy new linting rules.
vega-view-transforms
- Fix ViewLayout to respect clipped groups.
vega-voronoi
- Use d3-delaunay instead of d3-voronoi.
v5.4.1
v5.4.0
Highlights of new additions in v5.4.0:
- Add statistical
regression
,loess
, andkde
transforms, with groupby support. - Add gradients (
linear
andradial
) for use as fill or stroke colors. - Add
prev_value
,next_value
fill operation for thewindow
transform. - Add
legendX
andlegendY
properties to position legends with orient "none". - Add
isDefined
andisValid
expression functions. - Add
filter
option for TopoJSON mesh extraction. - Add support for
expr
-valued sort fields. - Improve encoding update efficiency.
Changes from v5.3.5:
vega
- Update test specifications.
vega-encode
- Add
mod
parameter toEncode
transform to control inclusion ofmod
tuples that are not updated by the encoders.
vega-functions
- Add
isDefined
andisValid
expression functions.
vega-geo
- Add
nomod
metadata flag toGeoShape
transform. - Add
null
value filter when marshaling GeoJSON data for projectionfit
. - Add test case for
null
GeoJSON values.
vega-loader
- Add
filter
property to TopoJSON format. - Add test cases for TopoJSON format filter.
vega-parser
- Add value update checks to generated encoder functions, add only updated items to the
mod
set. Results in more efficient re-rendering when only a subset of items have encoded values modified. If a mark includes a post-encoding transform that lacks anomod
metadata flag, disablemod
set filtering by the encoder to ensure proper pulse propagation. - Add support for
expr
-valued sort fields. - Add
legendX
/legendY
properties to legend parser.
vega-regression
- Create regression package, add
regression
andloess
transforms.
vega-scenegraph
- Update gradient handling to add id and default values, as needed.
- Add radial gradient support, via pattern wrapping.
- Update scenegraph JSON schema.
vega-schema
- Add
usermeta
support for all scopes, not just the top-level. - Add
expr
-valued sort fields to schema. - Add DSV/CSV/TSV header property to schema.
- Add
filter
property to TopoJSON format schema. - Add
legendX
/legendY
properties to legend schema. - Add explicit linear and radial gradient color values to schema.
- Add new transforms to schema.
vega-statistics
- Add regression methods, adapting @HarryStevens' d3-regression work. (Thanks!)
- Add
sampleCurve
method for adaptive subdivision of interpolated curves. - Update number coercion and valid value filtering.
- Document new methods in README.md.
vega-transforms
- Add
KDE
transform and tests. - Add
prev_value
,next_value
window operations. - Add
minsteps
andmaxsteps
parameters toDensity
transform. - Minor updates to
Compare
transform.
vega-typings
- Add
expr
-valued sort fields to typings. - Add DSV/CSV/TSV header property to typings. Refactor DSV typings.
- Add filter property to TopoJSON format typings.
- Add legendX/legendY properties to legend typings.
- Add explicit linear and radial gradient color values to typings.
- Add KDE, Loess, and Regression transforms to typings.
- Add prev_value, next_value window operations to typings.
monorepo
- Update dev dependencies.