Skip to content

Releases: spectacles-ci/spectacles

v2.2.0

18 Jul 08:40
Compare
Choose a tag to compare

Features

  • Report "dangling" content validator errors (#572)
  • Log client ID for easier debugging of multi-user issues (#563)

Fixes

  • Handle content errors without a folder (#576)
  • Stop re-importing imported projects (#573)
  • Update run_lookml_test to use proper request method (#596)

Full Changelog: v2.1.1...v2.1.2

v2.1.1

19 Apr 17:34
Compare
Choose a tag to compare

Fixes

  • Handle 404s from the Looker API differently when compiling SQL to account for cases where explores don't exist (#554)

Full Changelog: v2.1.0...v2.1.1

v2.1.0

13 Apr 20:55
Compare
Choose a tag to compare

Features

  • Provide ability for users to pin locally imported projects to specific git refs (docs) (#549)
  • Allow users to ignore hidden fields in SQL validation (docs) (#491)

Fixes

  • Fix issue with incremental branch validation where branches can't be found (#545)
  • Speed up LookML validator by checking for cached LookML validation results before running full validator (#544)

Full Changelog: v2.0.5...v2.1.0

v2.0.5

18 Mar 08:42
Compare
Choose a tag to compare

Fixes

  • No longer generate an extra create_query call to the Looker API when an explore has N dimensions < chunk size (#538)
  • Fix an issue where 2 explores in different models with the same name and same compiled SQL caused one explore to be queried in dimension mode regardless of SQL uniqueness (#538)
  • Update explore comparison on the hash of their SQL + fully qualified name and not just name (e.g. model/explore instead of explore) (#538)

v2.0.4

15 Mar 09:50
Compare
Choose a tag to compare

Fixes

  • Fix issue where folder and explore exclusion didn't work properly in config files and environment variables (#535)
  • Add improved logging when parsing Looker results to more easily debug badly formatted API responses from Looker (#534)
  • Revert profiler results back to being at the query level and fix issue where compiled SQL and Explore URLs were being generated incorrectly in incremental mode for explores with more than 500 dimensions (#533)

v2.0.3

10 Mar 12:33
Compare
Choose a tag to compare

Fixes

  • Fix issue where successes were not being displayed in the assert validator (#529)
  • Fix unexpected behavior from regression in incremental content validation (#530)

v2.0.2

02 Mar 19:50
Compare
Choose a tag to compare

Fixes

  • Fix erroneous error raised when running a non-incremental SQL validation with --commit-ref (#522)
  • Handle additional LookML validation severity levels returned by the Looker API (#524)

v2.0.1

01 Mar 16:09
Compare
Choose a tag to compare

Fixes

  • Break up Explore-level queries into chunks so we don't hit database character limits for large Explores (#474)
  • Remove deprecated arguments from the CLI (#520)

v2.0.0

01 Mar 02:22
Compare
Choose a tag to compare

Breaking changes in 2.0.0

  • Previously, you would exclude models or explores by passing --exclude orders/order_items sessions/*. We've simplified this syntax by eliminating --exclude and combining exclusion into the --explores argument. To exclude orders/order_items, pass it with a leading hyphen as --explores -orders/order_items [reference].
  • The same goes for folders and the content validator. Instead of using --exclude-folders, pass the folder ID with a leading hyphen to --folders, e.g. --folders -29 [reference].

Features

  • Incremental SQL validation. Spectacles now accepts --incremental, which only tests explores that have changed.

    To determine which explores have changed, Spectacles compares the base "ref" (whatever Git state was passed by --branch or --commit-ref) to the target ref. By default, Spectacles compares to production, but you can configure the target ref with --target, e.g. --target develop or --target 2de56a.

    Spectacles will only test an explore in your project if the SQL on the base ref is different than SQL on the target ref. Additionally, Spectacles will only display dimension-level SQL errors if they don't already exist on the target ref. (#48, #369, #371) [docs].

Fixes

  • Fixes issue where certain Explores would return a failing status but not show any specific errors unless run in batch mode (#512)
  • Fixes issue with URLs in the LookML Validator (#500)

v1.2.1

11 Jan 19:57
Compare
Choose a tag to compare

Features

  • Run the LookML syntax validator from Spectacles with spectacles lookml (#413, #309)
  • Select or exclude specific folders for content validation using the folder ID (#296, @vpipkt)
  • For content validation errors on dashboards, show the tile type (tile or filter) (#478)

Fixes

  • Fix a bug with incorrect workspace assignment after a run exceeded 60 minutes of runtime (#395)
  • Fix a timeout issue with long-running content validations (#459)
  • Other minor fixes and improvements