Releases: spectacles-ci/spectacles
Releases · spectacles-ci/spectacles
v1.2.1
v1.1.0
Features
- Ignore dimensions using LookML tags instead of comments in SQL [docs] (@Ester-Ramos)
- Added a Dockerfile for running Spectacles in a container (@felipefrancisco)
Fixes
- Update text-based exclusion of Looker warning (#388)
- Remove Codecov from our project
v1.0.0
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
v0.3.1
Fixes
- Authentication no longer conflicts with credentials defined in .netrc files (@joshuasimon-taulia)
- Truncate excessively long error messages
v0.3.0
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 thesql
field into themetadata
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
v0.2.1
v0.2.0
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
v0.1.1
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)