Releases: spectacles-ci/spectacles
v2.2.0
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
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
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
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
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
v2.0.2
v2.0.1
v2.0.0
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 excludeorders/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