Skip to content

Releases: vega/vega

v5.7.2

09 Oct 07:53
Compare
Choose a tag to compare

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

07 Oct 12:41
Compare
Choose a tag to compare

Changes from v5.7.0:

vega-cli

  • Use robust isNaN and isFinite checks.

vega-encode

  • Use robust isNaN and isFinite checks.

vega-expression

  • Use robust isNaN and isFinite checks.

vega-force

  • Use robust isNaN and isFinite checks.

vega-loader

  • Use robust isNaN and isFinite 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 and isFinite 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 and isFinite 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 and writeConfig utility functions.

vega-view-transforms

  • Add TitleRole to groups to skip in grid layout. (#2058)

v5.7.0

30 Sep 11:47
7eaec18
Compare
Choose a tag to compare

Notable Additions:

  • The text mark now supports multi-line text. Multiples lines are specified by setting the text channel to an array of strings (one per line).
  • The title directive now supports subtitle 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-level name, interactive, and style properties, along with the flat encode block for title text, are now deprecated and will be removed in Vega 6.0. Instead, please use nested encode blocks using the keys title or subtitle. 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 and contrast 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 and lineHeight 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, and lineHeight 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*, and quantile* 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, and lineHeight 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

09 Sep 13:33
Compare
Choose a tag to compare

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

30 Aug 13:13
c2aff3d
Compare
Choose a tag to compare

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

29 Aug 07:56
Compare
Choose a tag to compare

Changes from v5.5.1:

vega-parser

  • Fix view signal definition parsing. (#1977)

vega-util

  • Fix typings for hasOwnProperty.

vega-voronoi

  • Fix Voronoi error with empty data. (#1974)

v5.5.1

27 Aug 14:29
Compare
Choose a tag to compare

Changes from v5.5.0:

vega-view

  • Fix view.data argument count check error.

v5.5.0

27 Aug 07:59
Compare
Choose a tag to compare

Summary of Changes in v5.5.0:

Changes from v5.4.0:

vega

  • Numerous documentation updates.

vega-cli

  • Fix time format setter invocation. (Thanks @virtuaCode!)

vega-dataflow

  • Add optional nomod parameter to Pulse.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

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

04 Aug 22:00
Compare
Choose a tag to compare

Changes since v5.4.0

vega

  • Documentation fixes

vega-loader

  • Additional sanitization of HREF URIs

vega-geo

  • Update d3-geo

vega-typings

  • Add new types and fix some existing typings

v5.4.0

10 May 23:07
Compare
Choose a tag to compare

Highlights of new additions in v5.4.0:

  • Add statistical regression, loess, and kde transforms, with groupby support.
  • Add gradients (linear and radial) for use as fill or stroke colors.
  • Add prev_value, next_value fill operation for the window transform.
  • Add legendX and legendY properties to position legends with orient "none".
  • Add isDefined and isValid 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 to Encode transform to control inclusion of mod tuples that are not updated by the encoders.

vega-functions

  • Add isDefined and isValid expression functions.

vega-geo

  • Add nomod metadata flag to GeoShape transform.
  • Add null value filter when marshaling GeoJSON data for projection fit.
  • 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 a nomod metadata flag, disable mod 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 and loess 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 and maxsteps parameters to Density 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.