Releases: dbt-checkpoint/dbt-checkpoint
Releases · dbt-checkpoint/dbt-checkpoint
v2.0.1
Fixes:
- Fix/dbt parse config by @pgoslatara in #213
v2.0.0
⚠️ dbt 1.5: Starting at 2.0.0, certain hooks (i.e.dbt-parse
) can fail if using dbt < 1.5
Fixes:
- Bugfix-192: Applied lower() to schema_cols by @ronak-datatonic in #197
- Documentation Update: Changed Hooks to reflect correct usage of args for source-has-tests by @Thomas-George-T in #200
Enhancements:
- Adding dbt parse hook by @pgoslatara in #195
- Fix support model versions by @gbrunois in #199
- All hook names <= 50 characters by @pgoslatara in #209
- Expand testing to python 3.10 - 3.12 by @pgoslatara in #207
- Update user visible messages in check_model_parents_and_childs.py by @awal11 in #204
- Bump action versions by @pgoslatara in #208
- Describe a faster build configuration in the example by @awal11 in #211
New Contributors
- @pgoslatara made their first contribution in #195
- @ronak-datatonic made their first contribution in #197
- @Thomas-George-T made their first contribution in #200
- @gbrunois made their first contribution in #199
- @awal11 made their first contribution in #204
Full Changelog: v1.2.1...v2.0.0
v1.2.1
Fixes:
- Fix GitHub action by @BAntonellini in #187
Enhancements:
- Allow multiple data types, improve error messages by @BAntonellini in #180
- Support yml suffix (without A) in dbt-checkpoint config file by @BAntonellini in #190
- implement 'check has meta keys' for all meta-supported dbt objects by @BAntonellini in #181
- Add --allow-extra-keys to check-source-has-meta-keys by @BAntonellini in #176
Full Changelog: v1.2.0...v1.2.1
v1.2.0
Fixes:
- Grammar by @carlthome in #150
- chore: update README to reflect change to Datatonic by @alfredodimassimo in #162
- update version by @timwinter06 in #168
- Fix check-model-has-properties-file for snapshots by @ms32035 in #137
Enhancements:
- Make check_column_name_contract case insensitive for pattern and datatype by @samkessaram in #167
- feature #136 (create a check-model-has-labels-keys for dbt with BigQuery) by @johnerick-py in #147
- Feat/check materialization by childs by @LeopoldGabelmann in #144
- Ignore disabled models/sources by default, unless --include-disabled is passed by @BAntonellini in #171
New Contributors
- @carlthome made their first contribution in #150
- @alfredodimassimo made their first contribution in #162
- @samkessaram made their first contribution in #167
- @johnerick-py made their first contribution in #147
- @LeopoldGabelmann made their first contribution in #144
- @timwinter06 made their first contribution in #168
- @ms32035 made their first contribution in #137
Full Changelog: v1.1.1...v1.2.0
v1.1.1
Fixes:
- Nitpick: Fix
parent
typo by @followingell in #111 - fix: typo in track message by @JFrackson in #122
- fix: use proper tracking config file and document in README by @JFrackson in #115
- Fix/support excluding files at hook level by @BAntonellini in #119
- Add .dbt-checkpoint.yaml to disable hook execution tracking in mixpanel by @mbhoopathy in #139
Enhancements:
- Use None instead of NoReturn by @ian-r-rose in #113
- Update sponsorship logos to support dark theme on Github by @noel in #130
- Dcv 1682 possibility to change the dbt root for all hooks by @BAntonellini in #138
- Create per-hook excluding README entry by @BAntonellini in #140
New Contributors
- @followingell made their first contribution in #111
- @ian-r-rose made their first contribution in #113
- @noel made their first contribution in #130
Full Changelog: v1.1.0...v1.1.1
v1.1.0
Fixed bugs:
- Fix some tiny typos by @slve in #37
- Fix Github Action docker reference by @tlfbrito in #49
- Fix devcontainer in codespaces by @tomsej in #55
- Fixed typo in code example of
dbt-compile
by @karabulute in #84 - [Fix] Limit check-source-has-tests-by-group hook to yaml files by @katieclaiborne in #100
- fix: accommodate whitespaces for no table name check by @JFrackson in #93
- fix: accommodate filter in src freshness by @JFrackson in #95
Enhancements:
- Feat/add hook check macro ags have descr by @PabloPardoGarcia in #25
- Feat/add hook check column name contract by @PabloPardoGarcia in #27
- Add check-source-childs hook to .pre-commit-hooks by @landier in #33
- Add check-model-name-contract hook by @stumelius in #32
- Add devcontainer by @tomsej in #40
- missing check-model-parents-schema by @miki-lwy in #52
- update regex_comments string in check-script-has-no-table-name by @neddonaldson in #47
- add argument support to dbt commands (dbt clean & dbt deps) by @Aostojic in #53
- Features and fixes by Datacoves by @BAntonellini in #81
- Add check-model-parents-database to hooks by @ktuft-cbh in #66
- feat/fernandobrito: allow extra meta keys by @BAntonellini in #83
- Optionally allow extra keys in check-model-has-meta-keys by @fernandobrito in #65
- Update .pre-commit-config.yaml by @ssassi in #89
- Add check source has tests by group by @ashleemtib in #91
- feat: add telemetry with mixpanel sdk by @JFrackson in #97
- improve
get missing filepaths
utils logic by @BAntonellini in #105 - Change all pre-commit-dbt references to dbt-checkpoint by @BAntonellini in #107
New Contributors
- @landier made their first contribution in #33
- @slve made their first contribution in #37
- @stumelius made their first contribution in #32
- @tlfbrito made their first contribution in #49
- @miki-lwy made their first contribution in #52
- @neddonaldson made their first contribution in #47
- @Aostojic made their first contribution in #53
- @BAntonellini made their first contribution in #81
- @ktuft-cbh made their first contribution in #66
- @fernandobrito made their first contribution in #65
- @karabulute made their first contribution in #84
- @ssassi made their first contribution in #89
- @ashleemtib made their first contribution in #91
- @JFrackson made their first contribution in #93
- @katieclaiborne made their first contribution in #100
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Fixed bugs:
- check-model-has-properties-file fails on macro with a valid properties yml #17
- check-script-has-no-table-name fails with subqueries referencing CTEs #16
- check-model-has-description fails with macros with description #14
- check-script-has-no-table-name doesn't ignore text within Jinja comment blocks #9
- check-column-desc-are-same fails with a Python error #8
- check-script-has-no-table-name is failing when using lateral flatten #7
Enhancements:
- Feature/allow slim ci #23 (tomsej)
- New hook check-macro-has-description #20 (PabloPardoGarcia)
- Fix problem when space is missing with parenthesis #19 (tomsej)
- Don't check macros in check-model hooks #18 (PabloPardoGarcia)
- Feature/check model parents and childs #13 (tomsej)
- Replace jinja comments and allow flatten #11 (tomsej)
- Validate model is a dictionary #10 (tomsej)
- Added hook: check_model_has_tests_by_group #6 (jtalmi)
- Added hook: check-model-parents-and-childs
- Added hook: check-model-parents-database
- Added hook: check-model-parents-schema
- Added hook: check-source-childs
v0.1.1
v0.1.0
Added hooks
check-column-desc-are-same
: Check column descriptions are the same.check-model-columns-have-desc
: Check the model columns have description.check-model-has-all-columns
: Check the model has all columns in the properties file.check-model-has-description
: Check the model has description.check-model-has-meta-keys
: Check the model has keys in the meta part.check-model-has-properties-file
: Check the model has properties file.check-model-has-tests-by-name
: Check the model has a number of tests by test name.check-model-has-tests-by-type
: Check the model has a number of tests by test type.check-model-has-tests
: Check the model has a number of tests.check-model-tags
: Check the model has valid tags.check-script-semicolon
: Check the script does not contain a semicolon.check-script-has-no-table-name
: Check the script has not table name (is not usingsource()
orref()
macro for all tables).check-script-ref-and-source
: Check the script has only existing refs and sources.check-source-columns-have-desc
: Check for source column descriptions.check-source-has-all-columns
: Check the source has all columns in the properties file.check-source-table-has-description
: Check the source table has description.check-source-has-freshness
: Check the source has the freshness.check-source-has-loader
: Check the source has loader option.check-source-has-meta-keys
: Check the source has keys in the meta part.check-source-has-tests-by-name
: Check the source has a number of tests by test name.check-source-has-tests-by-type
: Check the source has a number of tests by test type.check-source-has-tests
: Check the source has a number of tests.check-source-tags
: Check the source has valid tags.generate-missing-sources
: If any source is missing this hook tries to create it.generate-model-properties-file
: Generate model properties file.unify-column-descriptions
: Unify column descriptions across all models.replace-script-table-names
: Replace table names withsource()
orref()
macros in the script.remove-script-semicolon
: Remove the semicolon at the end of the script.dbt-clean
: Rundbt clean
command.dbt-compile
: Rundbt compile
command.dbt-deps
: Rundbt deps
command.dbt-docs-generate
: Rundbt docs generate
command.dbt-run
: Rundbt run
command.dbt-test
: Rundbt test
command.