Skip to content

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 06:22
· 3 commits to main since this release

3.0.0 (2024-09-05)

Bug Fixes

  • extract MemberProps type to allow sharing of logic between dimension and metric props (34318c0)

Features

  • add ability to construct "count" queries (02e25bd)
  • add ability to set join priority and explicity set join type (inner or full) (98003a6)
  • add InferSqlQueryResultTypeFromQuery type which can infer result type from a query object (a031fa2)
  • add originalQuery and totalsQuery (query with only metrics) to the analyzer output (07f3224)
  • implement calculated dimensions (0fdbad4)
  • implement calculated metrics (metrics which can reference columns/dimensions/metrics from multiple models) (807de4f)
  • implement metric references (allows computing aggregates of aggregates) (65ed5ba)
  • implement private members (dimensions, metrics) (ec965a7)

BREAKING CHANGES

  • MemberFormat type is now correctly creating a union with null and undefined for values passed to the
    formatter function
  • Default offset (0) and limit (5000) are removed. Queries return whole dataset by default