Skip to content

Releases: vega/vega-lite

3.0.0 Release Candidate 1

03 Aug 05:01
Compare
Choose a tag to compare

New Features and Enhancements

  • Add filter for valid fields. (#4109)

  • Add interpolate as one of the errorband properties. (#4065) -- Thanks @chanwutk

Bug fixes

  • Make fill/stroke respect null (#4086)
  • Make config.timeFormat affect only text, header, and labels but not axis
  • Fix broken vl2vg command due to new dependencies

Internal Improvements

  • Merge identical transforms at forks and make dataflow more efficient. (#4029) -- Thanks @invokesus
  • Calculate dependent fields for expressions. (#4099)
  • Use new schema generator with better support for tuples.
  • Typescript 3 (#4093)

Examples / Docs

  • Extend docs about UTC (#4094)

v3.0.0-rc0...v3.0.0-rc1

3.0.0 Release Candidate 0

03 Aug 04:23
Compare
Choose a tag to compare

Enhancement

  • New Composite Marks

  • New Transforms (by @invokesus)

    • Flatten
    • Fold
    • Impute
    • Sample
    • Stack
  • Add support adding tooltips based on all fields in the encoding or in the data.

    • Make tooltip include all fields in encoding by default.
  • Better support for pre-binned data (by @sirahd)

    • Add bin: "binned" support for x and y channel
    • Add Axis tickStep
  • Improve scales

    • Improve non-sequential quantitative color scales
      • Include a default interpolated color range
      • Change default color interpolation for continuous scales to hcl
      • Make piecewise color scale use "linear" scale by default (#4017)
    • Add support for quantize, quantile, and threshold scales (by @sirahd)
  • Improve guides (axis/legend/header)

    • Improve default axis format
    • New Axis and Legend Properties from Vega 4 (added by @melissatdiamond)
    • Changes: maxTitleLength is now titleLimit
    • Add header titlePadding and labelPadding (#4028)
  • Misc. Bug fixes.

New Examples

Schema Changes

  • Correctly Support null for ValueDef

Removed Feature

  • Removed deprecated latitude/longitude types

v2.6.0...v3.0.0-rc0

2.6.0

02 Jul 18:12
Compare
Choose a tag to compare

This will be the last release in Vega-Lite 2. After this release, we will start pre-release versions of Vega-Lite 3, which will require Vega 4.

Note that there won't be many breaking changes in Vega-Lite 3. The main exceptions are that (1) Vega-Lite 3 will require Vega 4 and (2) we will remove a few config properties that are removed from Vega 4.

Enhancement

  • Improve customization support for composition operators

    • Add spacing, align, bound, and center properties to all composition operators (facet, hconcat, vconcat, and repeat).
    • Add label and title properties to facet header -- Thanks @melissatdiamond
  • Improve sorting support

    • Make sort array support boolean and number in addition to string
    • Make facet's row and column channels support sorting by another field and specifying custom sort order using as array
  • Improve date support for sort, scale domain and values of axis and legend.

    • Day or month names (and its 3-letter initials, e.g., "Mon") can be used with a field with timeUnit = day or month - For instance, see the Github Punchcard example.
    • Date string as supported by Javascript Date() can be used with a field with timeUnit or with type = "temporal"
  • Add anchor to bin transform -- Thanks @invokesus

  • When href is specified, cursor is automatically set to "pointer" - Thanks @melissatdiamond

Bug Fixes

  • Set facet row header baseline default to "middle"

New Examples

v2.5.0...v2.6.0

2.5.2

07 Jun 19:15
Compare
Choose a tag to compare

Maintenance release with #3863

2.5.0

30 May 23:08
Compare
Choose a tag to compare

New Features

  • Add support for DSV data format
  • Allow disabling format parsing
  • Adding support for value = "width" or "height" for x/x2/y/y2 channels. (See an example usage).
  • Support naming all data sources. (#3807)
  • Add lt, lte, gt, gte predicates (#3809)

Bug Fixes

  • Add missing thickness (for tick mark) to the mark definition block
  • Make sort support nested field (Fix #3727)
  • Make Field Definition's title work with composite marks without crashing
  • For temporal field without timeUnit, the previous default format was "%b %d, %Y", which does not work well for data within a day. Thus, we now use Vega's default axis format instead. (Fix #3698)
  • Fix bug for bar with ranged quantities as dimension (e.g., prebinned bar)
  • Make size for bar with band scale correctly working
  • Do not ignore x2's title if both x and x2 title are specified (#3766)
  • Fix inconsistent rules for default alignment and position of text
  • Make grid generation respect config (#3826)
  • Fix window as logic (#3810)
  • Make config.view.size work with projections (#3803)

APIs

  • Add new helper method vl.scale.getSupportedScaleType -- Thanks to @ssharif6

Examples Gallery

v2.4.0...v2.5.0

2.4.2

05 May 06:33
Compare
Choose a tag to compare

Bug Fixes

  • Resolve conflict between scale.domain and bin.extent (#3675) - Fix #3575 - Thanks @yhoonkim
  • Better support for nested fields in the data sources
  • Allow making line uses original order in the data by setting order encoding to {"value": null}

Example Gallery

Now reorganized with new subcategories for better access

2.4.1

26 Apr 04:01
Compare
Choose a tag to compare
  • Allow log scale with stack (but still show warning)

2.4.0

25 Apr 03:14
Compare
Choose a tag to compare

New Features

  • Custom sort order can be specified by setting encoding's sort property to an array (#3423) -- Thanks @sirahd
  • Add the new window transform, which can be useful for many purposes including calculating Top-K, moving average, percentage, residuals, and ranks. -- Thanks to @AkshatSh
  • Add trail mark support
  • Allow setting binSpacing in mark definition object for bar marks.
  • Add new point property for the line mark definition and config for overlaying point markers on top of lines. (Same for point and line properties for the area mark definition and config).
  • Support fieldDef.title – Fix #3548
  • Support arrays for tooltips. (#3634)

JSON Schema Changes

  • Rename Condition<XXX> to ConditionXXX (to make sure that the documentation shows up correctly on the website.)

Improvements

  • Throw warning for bar/area with log/time scale, with zero = false, or with custom domain that doesn't include zero (as these are misleading encodings)
  • Automatically change mark type to rule when line is used with x2 or ``y2`

Bug Fixes

  • Make bar starting point correct when a custom domain that includes zero is specified -- Fix #3557
  • Fix behavior for fill and stroke channels -- color would be ignored when fill or stroke is applied to prevent ambiguous specification that uses color with fill or stroke.
  • Make zindex for axis work correctly - Fix #3537
  • Correct legend fill/stroke rules - Fix #3463
  • Misc fixes for interaction/selection (#3586)
  • Make size property work for rule mark definition
  • Correctly move data source to the beginning. Fixes #3595
  • Make aggregate transform do not require field

Build System

  • We use Rollup to Vega-Lite
  • We use Webpack for the website
  • We use Jest for tests

v2.3.0...v2.4.0

2.3.0

17 Apr 21:08
Compare
Choose a tag to compare

Syntax Change

  • From @jwoLondon's feedback, we introduce the new longitude, latitude, longitude2, latitude2 channels for mapping geographic coordinates to projection. This will produce a more accurate specification of the output. Basically, with projection, x-value is function of both longitude and latitude (not just longitude).

    • Here is an example change:
-    "x": {
+    "longitude": {
       "field": "longitude",
-      "type": "longitude"
+      "type": "quantitative"
     },
-    "y": {
+    "latitude": {
       "field": "latitude",
-      "type": "latitude"
+      "type": "quantitative"
    }

JSON Schema Change

  • Rename Spec => NormalizedSpec
  • Rename TopLevel<XXXSpec> to TopLevelXXXSpec. Also make TopLevelUnitSpec and TopLevelFacetSpec require data. (#3491)

New Features

  • Support scale disabling by setting scale to null
  • Introduce shared encoding and projection for layered plots
  • Add fill and stroke channels for fine-grained control over colors of the marks

Bug Fixes

  • Make geopoint output model name + x/y - Fix #3351
  • order channel now maps to layer order of non-path marks.
  • Change default discrete scale type for rule to be band to make rule align with axis ticks – Fix #3429
  • Fix axis merging rule for multi-view and layered plots

v2.2.0...v2.3.0

2.2.0

06 Mar 19:04
Compare
Choose a tag to compare

New Feature

  • Add top-level datasets

Bug Fixes & Improvement

  • Correctly make midPoint uses default value ref for condition-only def (#3318)
  • Improve header and axis's alignment and baseline (#3276) –– Thanks to @neelmohapatra
  • Consistently use font weight. (#3381)
  • Make Aggregate transform work with undefined groupby (#3418)
  • Make size in mark definition block works correctly
  • Make title=false means title is hidden
  • Add Invalid Encoding Channel Warning (#3426) - Thanks to @invokesus

New Examples

v2.1.3...v2.2.0