Skip to content

Releases: vega/compassql

v0.6.6

01 Sep 04:26
Compare
Choose a tag to compare
  • Use data lib's comparator in schema.domain (This way the returned domain is consistent with order in axis in visualizations)

v0.6.0

28 Aug 02:56
Compare
Choose a tag to compare
  • Prevent outputting inapplicable scale, sort, axis, legend from toSpec() 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.

v0.5.2

24 Aug 17:27
Compare
Choose a tag to compare
  • Add timeUnitHasVariation method for schema

v0.5.1

16 Aug 22:43
Compare
Choose a tag to compare
  • Add support for timeUnitShouldShowVariation
  • Add cql.shorthand.vlSpec
  • Add shorthand support for filterInvalid
  • Add support for legend properties (#222)
  • Add excludeInvalid flag to schema.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

12 Aug 21:44
Compare
Choose a tag to compare
  • breaking rename enumspec's values to enum
  • 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 take encQ as input

v0.4.0

10 Aug 22:47
Compare
Choose a tag to compare
  • Convert SpecQueryModelGroup to a class (#211)
    • Remove cql.modelGroup.isSpecQueryModelGroup method (we can reliably use instanceof)
    • cql.modelGroup.getTopItem to SpecQueryModelGroup's getTopSpecQueryModel
  • Favor color over facet, due to limited space

v0.3.3

10 Aug 21:36
Compare
Choose a tag to compare

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

05 Aug 04:23
Compare
Choose a tag to compare
  • Add scalePropertiesSupportedByScaleType constraint (#140)
  • Make isSpecQueryModelGroup support undefined item
  • Move omitScaleZeroWithBinnedField constraint to encoding constraint
  • Convert EnumSpecIndex into a class (#165)
  • Add basic support for encoding sort (#177)

v0.3.1

01 Aug 20:23
Compare
Choose a tag to compare
  • Order the FieldSchemas (#157)
  • Restructure enumSpecIndex for encodings (#161)

v0.3.0 groupBy properties

31 Jul 17:14
Compare
Choose a tag to compare
  • Support groupBy array of properties
    • Extending shorthand functions to support include and replace
  • 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