Releases: vega/compassql
Releases · vega/compassql
v0.6.6
v0.6.0
- Prevent outputting inapplicable
scale
,sort
,axis
,legend
fromtoSpec()
and Shorthand (#232) - Add getFieldSchemas method
- Add constraint: omitNonLinearScaleTypeWithStack (#245)
- Refactor private fields to use real get method
- Relax a number of constraints
- Relax hasAllRequiredChannelsForMark constraint for when mark is an enum spec (#238)
- Allow a point plot to generate when mark is an enum spec.
- Relax spec when there is only row or column channel.
- Relax many constraints to detect violation only if one of the violating channel is enumerated or if the new
constraintManuallySpecifiedValue
is enabled.
- Relax hasAllRequiredChannelsForMark constraint for when mark is an enum spec (#238)
v0.5.2
v0.5.1
- Add support for
timeUnitShouldShowVariation
- Add
cql.shorthand.vlSpec
- Add shorthand support for filterInvalid
- Add support for legend properties (#222)
- Add
excludeInvalid
flag toschema.cardinality()
(#224)
Fixes
- Return a spec with no bin if the bin=false
- Fix default enum values for
scale.type
- Do not infer ordinal or nominal type if distinct is above a limit
v0.5.0
- breaking rename enumspec's
values
toenum
- Add support for axis properties
- Add shorthand support for transform (#213)
- Add xAxisOnTopForHighYCardinalityWithoutColumn stylizer and tests
Ranking
- Don't use line for ordinal
- Distinguish between TimeUnit with ordinal scale and with time scale in ranking
Internal
- Refactor
cql.query.encoding.scaleType
to takeencQ
as input
v0.4.0
v0.3.3
Features
- OmitTableWithOcclusionIfAutoAddCount constraint (#182)
- Cardinality functionality for bin/timeUnit fields - Fix #95
- Modify stack shorthand to include stacked field.
- add aggregateOnly and rawOnly config and constraint
- Add post enumeration modification to generate.ts (#187)
- OmitAggregatePlotWithoutDimension constraint
- Add
aggregationQuality
ranking - Allow excluding stack from shorthand, for allow more accurate grouping
Fixes
- Fix ranking to make spec return [ ] if answerSet is empty (#183)
- Prevent
initEnumSpec
from extending the enumSpec with SHORT_ENUM_SPEC. - Exclude
autoCount: false
from encoding shorthand - Correct preferred axis for temporal field with timeUnit
v0.3.2
v0.3.1
v0.3.0 groupBy properties
- Support
groupBy
array of properties- Extending shorthand functions to support
include
andreplace
- Extending shorthand functions to support
- Update both encoding and spec constraints to support nested encoding property (#123)
- Add domain method to schema (#131)
- Support scale properties
API restructure
- use camelcase for namespace
cql.modelGroup
=>cql.modelGroup
- split query.ts into multiple files
Internal
- Refactor:
requireAllPropertiesSpecific
-->allowEnumSpecForProperties
- Basic support for
transform
- Fix #96 - Test to make sure that each property's default name are unique