Releases: vega/compassql
Releases · vega/compassql
v0.19.0
- Support
scale.reverse
,axis.labelOverlap
,axis.tickExtra
from Vega Lite 2 beta 10
v0.18.0
- 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
v0.13.0
v0.11.0
v0.10.0 API Update
v0.9.5
Output compiled files in `build/`
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:
-
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.) -
Source map will still work when users try to debug lines in CompassQL.
v0.8.0 Vega-Lite-2.0.0-alpha.1
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