From f7164ce94ed1f41bf858b8b9b9a0c344863eee86 Mon Sep 17 00:00:00 2001 From: Niall Woodward Date: Tue, 14 May 2024 10:13:39 +0100 Subject: [PATCH] Release 2.4.0 --- .changes/2.4.0.md | 10 ++++++++++ .changes/unreleased/Features-20240506-131218.yaml | 6 ------ CHANGELOG.md | 11 +++++++++++ dbt_project.yml | 2 +- macros/query_comment.sql | 2 +- macros/query_tags.sql | 2 +- 6 files changed, 24 insertions(+), 9 deletions(-) create mode 100644 .changes/2.4.0.md delete mode 100644 .changes/unreleased/Features-20240506-131218.yaml diff --git a/.changes/2.4.0.md b/.changes/2.4.0.md new file mode 100644 index 0000000..e92e353 --- /dev/null +++ b/.changes/2.4.0.md @@ -0,0 +1,10 @@ +## dbt-snowflake-query-tags 2.4.0 - May 14, 2024 + +### Features + +- Add raw_code_hash to query comment ([#26](https://github.com/get-select/dbt-snowflake-query-tags/pull/26)) +- Add run_started_at to query comment ([#27](https://github.com/get-select/dbt-snowflake-query-tags/pull/27)) + +### Contributors +- [@bmoore813](https://github.com/bmoore813) (Features) +- [@bisset-a](https://github.com/bisset-a) (Features) diff --git a/.changes/unreleased/Features-20240506-131218.yaml b/.changes/unreleased/Features-20240506-131218.yaml deleted file mode 100644 index 9aaf1c8..0000000 --- a/.changes/unreleased/Features-20240506-131218.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add run_started_at to query comment -time: 2024-05-06T13:12:18.799857+10:00 -custom: - Author: bisset-a - PR: "27" diff --git a/CHANGELOG.md b/CHANGELOG.md index b1dd73a..caeabc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## dbt-snowflake-query-tags 2.4.0 - May 14, 2024 + +### Features + +- Add raw_code_hash to query comment ([#26](https://github.com/get-select/dbt-snowflake-query-tags/pull/26)) +- Add run_started_at to query comment ([#27](https://github.com/get-select/dbt-snowflake-query-tags/pull/27)) + +### Contributors +- [@bmoore813](https://github.com/bmoore813) (Features) +- [@bisset-a](https://github.com/bisset-a) (Features) + ## dbt-snowflake-query-tags 2.3.3 - January 29, 2024 ### Features diff --git a/dbt_project.yml b/dbt_project.yml index 0dd2dc1..bfa0f30 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,3 +1,3 @@ name: 'dbt_snowflake_query_tags' -version: '2.3.3' +version: '2.4.0' config-version: 2 diff --git a/macros/query_comment.sql b/macros/query_comment.sql index 08ea08c..5ca5c5e 100644 --- a/macros/query_comment.sql +++ b/macros/query_comment.sql @@ -2,7 +2,7 @@ {%- set comment_dict = extra -%} {%- do comment_dict.update( app='dbt', - dbt_snowflake_query_tags_version='2.3.2', + dbt_snowflake_query_tags_version='2.4.0', dbt_version=dbt_version, project_name=project_name, target_name=target.name, diff --git a/macros/query_tags.sql b/macros/query_tags.sql index 9a6b7b3..330b2df 100644 --- a/macros/query_tags.sql +++ b/macros/query_tags.sql @@ -35,7 +35,7 @@ {%- do query_tag.update( app='dbt', - dbt_snowflake_query_tags_version='2.3.3', + dbt_snowflake_query_tags_version='2.4.0', ) -%} {% if thread_id %}