From 28d47f73b198f9ca808aa071630a439859607e99 Mon Sep 17 00:00:00 2001 From: Claus Herther Date: Sun, 5 Dec 2021 08:50:19 -0800 Subject: [PATCH] Enable support for dbt 1.x (#128) --- .gitignore | 1 + CHANGELOG.md | 11 +++++++++++ dbt_project.yml | 4 ++-- integration_tests/dbt_project.yml | 4 +--- integration_tests/models/schema_tests/schema.yml | 3 --- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 5fa04d4..931c43e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ target/ dbt_modules/ +dbt_packages/ logs/ .python-version diff --git a/CHANGELOG.md b/CHANGELOG.md index eba40c7..269eff9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,15 @@ +# dbt-expectations v0.4.7 +* Patch: adds support for dbt 1.x +# dbt-expectations v0.4.6 + +## What's Changed +* Append missing optional parameters documentation to README.md by @makotonium in https://github.com/calogica/dbt-expectations/pull/124 +* Fix missing group_by default value in string_matching macros by @samantha-guerriero-cko in https://github.com/calogica/dbt-expectations/pull/126 + +## New Contributors +* @makotonium made their first contribution in https://github.com/calogica/dbt-expectations/pull/124 +* @samantha-guerriero-cko made their first contribution in https://github.com/calogica/dbt-expectations/pull/126 # dbt-expectations v0.4.5 ## Fixes diff --git a/dbt_project.yml b/dbt_project.yml index 0b16521..b0f0027 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -5,11 +5,11 @@ name: 'dbt_expectations' version: '0.4.0' -require-dbt-version: [">=0.20.0", "<0.22.0"] +require-dbt-version: [">=0.20.0", "<1.1.0"] config-version: 2 target-path: "target" -clean-targets: ["target", "dbt_modules"] +clean-targets: ["target", "dbt_modules", "dbt_packages"] macro-paths: ["macros"] log-path: "logs" diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index e04b952..411f218 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -13,9 +13,7 @@ data-paths: ["data"] macro-paths: ["macros"] target-path: "target" -clean-targets: - - "target" - - "dbt_modules" +clean-targets: ["target", "dbt_modules", "dbt_packages"] dispatch: - macro_namespace: dbt_expectations diff --git a/integration_tests/models/schema_tests/schema.yml b/integration_tests/models/schema_tests/schema.yml index c40dfbe..8b377ac 100644 --- a/integration_tests/models/schema_tests/schema.yml +++ b/integration_tests/models/schema_tests/schema.yml @@ -79,9 +79,6 @@ models: - dbt_expectations.expect_row_values_to_have_recent_data: datepart: day interval: 1 - - dbt_expectations.expect_row_values_to_have_recent_data: - datepart: day - interval: 1 - dbt_expectations.expect_column_values_to_be_of_type: column_type: "{{ dbt_expectations.type_datetime() }}"