Skip to content

Releases: vega/compassql

v0.19.0

20 Jul 18:25
Compare
Choose a tag to compare
  • Support scale.reverse, axis.labelOverlap, axis.tickExtra from Vega Lite 2 beta 10

v0.18.0

06 Jul 22:24
Compare
Choose a tag to compare
  • Add ordinalDomain to Schema for customizing ordinal fields' natural order
  • Prevent toSpec from outputting inapplicable scale, sort, axis, legend
  • Move field schema sorting into Schema constructor so field schemas from previously exported table schema can be sorted

v0.14.0

21 Jun 01:12
Compare
Choose a tag to compare
  • Distinguish between "key" type and "nominal" type.
  • Internal type system now distinguishes between FieldQuery and AutoCountQuery

v0.13.0

21 Jun 01:13
Compare
Choose a tag to compare
  • Make Schema conform to Table Schema Spec.

v0.11.0

08 Mar 21:47
Compare
Choose a tag to compare
  • Refactor cql.schema.Schema.build => cql.schema.build()
  • Leverage isContinuous, isDiscrete, and channelCompatibility in Vega-Lite 2.0.0-alpha.5
  • Support enumerating sort properties

v0.10.0 API Update

01 Mar 23:03
Compare
Choose a tag to compare

Breaking Changes

  • Change main method to cql.recommend
  • Separate ValueQuery from FieldQuery Fix #341 (From #341) -- Thanks to @AkshatSh
  • Also added more example usage & readme

v0.9.5

26 Feb 20:56
Compare
Choose a tag to compare
  • Add "typings" to package.json
  • Add scalePropertiesSupportedByChannel Constraint (#321)

Output compiled files in `build/`

17 Feb 01:23
Compare
Choose a tag to compare

We now ship both ts and js files to npm packages.

All compiled js files, both bundled (compassql.js and compassql.min.js) and TS compiler's output, are under build/.

If you wish to do local import of a particular file, please import from build/src from dependent projects (both JS and TS).

For example, to import Wildcard, you can import like this (diff showing traditional import)

+import {Wildcard} from 'compassql/build/src/wildcard';
-import {Wildcard} from 'compassql/src/wildcard';

For dependent TS projects, this approach has multiple benefits:

  1. Users can do npm link compassql in a dependent project. TS compiler will no longer import TS files rather than JS files from linked project. (.ts files have high precendence than .js files.)

  2. Source map will still work when users try to debug lines in CompassQL.

v0.8.0 Vega-Lite-2.0.0-alpha.1

09 Feb 23:45
Compare
Choose a tag to compare

Breaking Change

  • Updated to use Vega-Lite-2.0.0-alpha.1 and Vega 3 beta.

Internal

  • Major Refactor for property.ts
    • Make it a union type of string literals for flat property or a parent-child tuple object for nested property
    • Since a property now can be an object, replace Dict of Property with PropIndex class

v0.7.0

31 Jan 00:34
Compare
Choose a tag to compare

Syntax

  • Added Bin Properties

API

  • Updated Shorthand Parser / Internals
  • Renamed enumSpec to wildcard

Bug Fixes

  • Prevent timeUnitHasVaration method from causing side effect

Internal

  • Migrate to use nyc, codecov
  • Minor ranking updates
  • Migrated to TS 2.1