Skip to content

Releases: spectacles-ci/spectacles

v1.1.0

22 Jul 16:48
Compare
Choose a tag to compare

Features

Fixes

  • Update text-based exclusion of Looker warning (#388)
  • Remove Codecov from our project

v1.0.0

21 Apr 16:21
Compare
Choose a tag to compare

Breaking changes in 1.0.0

  • Previously, you would test production by passing --branch master. Now, Spectacles tests production when neither a branch nor a commit is passed. For example, spectacles sql --project eye_exam would test production on the eye_exam project. This change is to support Looker's advanced deploy mode, where production can refer to any deployed commit and doesn't exclusively refer to the production branch.

Features

  • Query profiler for diagnosing long-running queries during SQL validation (-p or --profile , configure with --runtime-threshold) [docs]
  • Spectacles supports advanced deploy: production no longer == master, but whatever branch and commit is deployed to production (#300)

Fixes

  • Default API port for GCP-hosted Looker instances is now 443 instead of 19999 (#162)
  • Authentication no longer conflicts with credentials defined in .netrc files (#281, @joshuasimon-taulia )
  • Content errors without a corresponding folder are handled correctly (#327)
  • Truncate excessively long error messages

v0.3.2

22 Feb 15:12
Compare
Choose a tag to compare

Fixes

  • Default API port for GCP-hosted Looker instances is now 443 instead of 19999 (#162)

v0.3.1

13 Feb 21:25
cc20250
Compare
Choose a tag to compare

Fixes

  • Authentication no longer conflicts with credentials defined in .netrc files (@joshuasimon-taulia)
  • Truncate excessively long error messages

v0.3.0

29 Jun 20:59
Compare
Choose a tag to compare

Features

  • Validate Dashboards and Looks with a new validator, spectacles content (docs, #138)
  • Select or exclude models and explores from assert validation (docs, #238)

Fixes

  • Fix a bug where the project manifest was being requested before the Git branch was properly set (#239)
  • Simplify logic for selecting and excluding (#235)
  • Remove the test field in validation exceptions and move the sql field into the metadata attribute
  • Add Dependabot to the repo and update a number of dependencies
  • Add instructions for releasing
  • Validate the user's Python version before running
  • Fix an issue with Looker access tokens expiring after an hour (#264)

v0.2.2

16 Jun 16:46
9d65fca
Compare
Choose a tag to compare

Features

  • Display links to failing data tests in the output of the Assert validator (#230)

Fixes

  • Refresh the Looker API access token if a validation runs for more than an hour (#114)
  • Fix encoding issue with file logs on Windows (#225)

v0.2.1

04 Jun 13:40
Compare
Choose a tag to compare

Features

  • Log the raw response from the Looker API when an error is encountered (use -v or check your logs) (#213)

Fixes

  • Fix a bug where the LookML link was not displayed when running in hybrid mode (#215)

v0.2.0

28 May 14:47
Compare
Choose a tag to compare

Features

  • Exclude explores from your run with --exclude (#172)
  • Set the logging location with --log-dir (#146) and log failed SQL queries to file (#179)
  • Validate projects that have a manifest file with project imports using --import-projects (#173)
  • Run a validation for a specific commit hash with --commit-ref (#203)
  • Show the Looker instance version (#155) and the query concurrency setting (#171) during runs
  • Simplify the way Spectacles makes requests to the Looker API to improve maintainability and for use in external APIs (#161)
  • Standardize and simplify the data structure that Spectacles validators return (#194, #196)
  • Significantly improve testing and coverage by implementing VCR testing (#191)

Fixes

  • Allow resetting to remote for spectacles assert commands (#145) (@msandt3)
  • Handle specific error with access filters (#144) (@agile)
  • Handle explores that have no dimensions (#158) (@agile)
  • Provide more informative errors if attempting to validate an unconfigured project (#185)

v0.1.1

27 Nov 16:48
Compare
Choose a tag to compare

Features

  • Add --remote-reset flag for running Spectacles as a CI user (docs, #89)
  • Add --concurrency flag to limit number of simultaneous warehouse queries (docs, #110, @iserko)
  • Speed up Snowflake queries significantly by filtering 1=2 (#129)
  • Include the total runtime when validation completes (#130, @Hawk94)
  • Added contributing guidelines (#122)

Fixes

  • CircleCI builds run correctly for forks (#109, @iserko)
  • Black formatting checks as part of the CI pipeline (#113, @iserko)
  • Skip extracting certain error details for Redshift-style errors (#100, #117, @edmundyan, @agile)
  • Use / instead of . to delimit model and explore in --explores selection (#128, @agile)
  • Skip explores that don't have any dimensions (#101, @edmundyan)

v0.1.0

07 Nov 22:38
Compare
Choose a tag to compare

Alpha release for spectacles, includes SQL validation and initial data test validation.