Releases: vega/vega
Releases · vega/vega
v3.0.0-beta.24
Changes:
- Build bundles with d3 (vega.js) and without d3 (vega-core.js).
- Fix SVG group mark background clipping.
- Fix data join key for axis and legend items.
v3.0.0-beta.23
Breaking changes:
- Rename
range
transform tosequence
transform.
Other changes:
- Add text mark
limit
,dir
andellipsis
properties for truncation. - Add config options for axis/legend
labelLimit
,titleLimit
, etc. - Update parser config defaults.
- Update transform definition schemas.
- Update Vega JSON schema.
- Fix mark definition
key
property support bug. - Fix DataJoin mod tuple assignment bug.
- Fix parser operator order for non-faceted marks bug.
v3.0.0-beta.22
Changes:
- Add
config
properties for axis labelAngle and legend stroke, fill, etc. - Add new color palettes (
tableau10
,tableau20
,blueorange
). - Update to use fixed purple-orange palette in d3-scale-chromatic.
- Update default color palette settings.
- Update Vega JSON schema.
v3.0.0-beta.21
Changes:
- Add trail mark type for variable-width lines.
- Add aspect property for image mark aspect ratio control.
- Add support for signals and
null
fields in comparator definitions. - Add mark property config options based on
role
annotation. - Add
elBind
parameter toView.initialize
, to add bindings to a custom DOM element. - Update custom symbol paths to scale size by radius, not diameter.
- Update signal bindings to populate an internal
div
element by default, rather than the top-level view container. - Update vega-force to use current d3-force version.
- Fix protocol check bug that was breaking baseURL application in vega-loader.
- Fix canvas renderer sub-pixel damage region bug.
- Fix legend format specifier bug.
- Fix View insert/remove data API bug.
- Fix equality checks for DOM-binding input element values.
v3.0.0-beta.20
Beta release of v3.0.0-beta.20
Changes:
- Update legend layout to ignore x-axes, suppresses "jumpy" legend when axes change.
- Fix
View.toCanvas
typo bug.
v3.0.0-beta.19
Beta release of v3.0.0-beta.19
Breaking changes:
- Standardize naming for Vega spec, config and encode properties for axis ticks and labels: inclusion flags and encode blocks now all use the plural forms
"ticks"
and"labels"
. Note that"grid"
and"title"
properties remain singular and so are unchanged.
Other changes:
- Fix bounds calculation bugs.
- Fix vega-loader version in dependencies.
v3.0.0-beta.18
Beta release of v3.0.0-beta.18
Changes:
- Add support for
"tooltip"
encoding channel. - Add custom tooltip handler support (
View.tooltipHandler
). - Add support for axis and legend titles to use signal values.
- Add
nulls-histogram
andnulls-scatter-plot
example specs to illustrate strategies for incorporating missing values into charts. - Fix event preventDefault bug (resolves error in Firefox).
- Fix autosize calculation: limit one re-run per propagation cycle.
- Fix ViewLayout to enqueue changed axis/legend groups for render.
v3.0.0-beta.17
Beta release of v3.0.0-beta.17
Changes:
- Add
bin-linear
andbin-ordinal
scales for handling binned data. - Add
sequence
expression function (analogous to d3.range). - Add deploy script for publishing Vega schema.
- Fix DOM element binding input reset bug.
- Fix subtle layout issues by having Bound transform always re-compute group bounds.
- Fix internal axis range calculation bug.
- Update
autosize
parameter to also accept object values ("autosize": {"type": "fit"}
) - Add
resize
property to autosize objects to enable repeated automatic layout. Normally automatic layout is only performed upon initialization or when thewidth
orheight
signal is modified. This leads to a more stable layout across other changes, which is typically the desired behavior. However, in some cases one might wish to re-size the view on all changes. To enable this behavior use"autosize": {"type": "...", "resize": true}
.
v3.0.0-beta.16
Beta release of v3.0.0-beta.16
Breaking changes
- Move scale
rangeStep
property to a nested range.step property ("range": {"step": 20}
).
Other changes:
- Add range scheme
count
to discretize color schemes for quantile and quantize scales ("range":{"scheme": "plasma", "count": 7}
). - Add support to include raw domain value arrays (or array-valued signals) in multi-domain scale definitions (For example:
"domain": {"fields": [{"data": "table", "field": "foo"}, ["a", "b", "c"], {"signal": "values"}]}
) - Update legend label formatting to show value ranges for quantile, quantize and threshold scales.
- Update example specs to track changes.
v3.0.0-beta.15
Beta release of v3.0.0-beta.15
Breaking changes:
- Use hyphenation (
step-after
) not camel-case (stepAfter
) for interpolation curve names. - Move scale
"scheme"
to an object-valued property of"range"
. - Drop
"index"
scale, no longer needed with new scheme support. - Update JSON configuration format: move
config.mark.marktype
blocks toconfig.marktype
. - Replace
View.state
withView.getState
,View.setState
methods. - Migrate to use new
"$schema"
property.
Other changes:
- Add custom version of
"sequential"
scale to support piecewise domains. - Add scale
"interpolate"
property for color space interpolation. - Add scale
"domainMid"
property for simplifying diverging color ramps. - Add
ordinal
,ramp
,diverging
, andheatmap
default color scale ranges. - Update legend entry and gradient methods to support interpolation.
- Suppress initial zero-sized legend symbols.
- Add
"strokeDash"
scale support to legends. - Add
treePath
andtreeAncestors
hierarchy expression functions. - Update hierarchy transforms to support configurable node key field.
- Export new
interpolate
andinterpolateRange
methods from vega-scale. - Add basic runtime state snapshot support to vega-runtime.
- Add
initonly
parameter to Formula transform to derive values for new tuples only. - Fix Pulse visit reflow bug.
- Optimize parameter modification tracking for better performance.
- Update PreFacet transform to propagate
mod
tuples. - Add
interpolate
curve options toarea.vg.json
example spec. - Add
tree-radial-bundle
example spec; update other examples. - Add
legends-interpolate
example spec. - Update example specs to use
$schema
property. - Update example specs to use new range scheme.