Skip to content

Releases: snowplow/dbt-snowplow-utils

snowplow-utils v0.9.0

05 May 13:06
Compare
Choose a tag to compare

Summary

This release adds a new macro, set_query_tag and does some administrative cleanup.

Features

  • Add set_query_tag functionality (Close #71)
  • Update the codeowner file (Close #73)

snowplow-utils v0.8.0

11 Mar 10:10
Compare
Choose a tag to compare

Summary

This release adds two new macros around creating string datatypes across databases, and adds missing documentation around some of the macros we've added a while back to make them easier to understand and use.

Features

  • Add type_string macros to generate a string type of fixed and maximum lengths (Close #65)
  • Add cross_db macro documentation (Close #66)

snowplow-utils v0.7.0

09 Mar 15:33
Compare
Choose a tag to compare

Summary

This release is focused on dropping support of dbt versions below 1.0.0, and bumping the dbt-utils package dependency. This update stops warnings from showing up when running the snowplow dbt models on versions of dbt from 1.0.0+

Features

  • Support dbt_utils 0.8.0 (Close #58)
  • Drop support for dbt versions below v1.0.0 (Close #63)
  • Bump copyright to 2022 (Close #60)

snowplow-utils v0.6.0

31 Jan 14:29
Compare
Choose a tag to compare

Summary

This release is focused on bringing support to the snowplow-mobile package, which will be release shortly after this release. This adds support for the snowplow_delete_from_manifest macro for the mobile package, where the equivalent for the web package already exists.

Features

  • Add snowplow_mobile_delete_from_manifest macro (#54)

snowplow-utils v0.5.0

16 Dec 12:27
Compare
Choose a tag to compare

Summary

This is a compatibility release bringing support for dbt v0.20 - v1.0. Those using dbt v1.0.x can expect to see a deprecation warning. This will be resolved in the snowplow-utils v0.6.0 when we will transition fully to dbt v1, removing backward compatibility for earlier dbt versions.

Features

  • Add dbt v1 compatibility (#52)

snowplow-utils v0.4.1

06 Dec 11:36
Compare
Choose a tag to compare

Summary

This patch release fixes a bug in the snowplow-web package, where long unexpired sessions can result in duplicates in some tables.

Fixes

Fix for unexpired sessions (#48)

Upgrade Notes

To be supplied in the corresponding snowplow-web v0.4.1 release notes. This snowplow-utils release contains no breaking changes however.

snowplow-utils v0.4.0

29 Nov 10:37
Compare
Choose a tag to compare

Summary

This release is predominately focused on bringing Postgres support to the snowplow-web 0.4.0 package. A big thank you goes to @zloff for your help on this!

It also enhances the experience of modelling Snowplow data on BigQuery, with an improved combine_column_versions macro allowing for the flattening and combining of deeply nested fields.

Note there is a breaking change to the snowplow_delete_from_manifest macro. If using this macro as part of an operation, please use the new, package specific macro snowplow_web_delete_from_manifest.

Breaking Changes

  • Refactor combine_column_versions (Close #44)
  • Refactor snowplow_delete_from_manifest (Close #46).
  • Transition DDL manifest creation to native dbt (Close #40). This removes much of the DDL functionality contained in this package.

Features

  • Add support for Postgres (Close #39).
  • Add CI Action (Close #43)

Improvements

  • Restructure snowplow-utils project (Close #41)
  • Improve filtering for long sessions (Close #42)

Upgrade Notes

There is a breaking change to the snowplow_delete_from_manifest macro. If using this macro as part of an operation, please use the new, package specific macro snowplow_web_delete_from_manifest .

As part of the combine_column_versions macro refactor the arguments have changed. If you are currently using this macro, please update your arguments to reflect these changes.

snowplow-utils v0.3.1

12 Oct 11:22
Compare
Choose a tag to compare

Summary

This is a patch release to fix a compilation error when running against Redshift in dbt v0.19.2.

Fixes

  • Fix snowplow_merge for dbt 0.19.2 (#33)

snowplow-utils v0.3.0

11 Oct 13:22
Compare
Choose a tag to compare

Summary

This release is predominately focused on bringing Snowflake support to the snowplow-web v0.3.0 package, which requires snowplow-utils to run.

Features

  • Add Snowflake support to macros and snowplow_incremental materialization (#26, #27)
  • Add dynamic variables based on target name (#28).
    • Allows variables such as start_date to be dynamically set within snowplow-web package, based on your environment.

Improvements

  • Remove create_snowplow_manifest_schema step (#30)

Fixes

  • Fix get_successful_models for dbt 0.18.0 (#23)
  • Fix BigQuery snowplow_incremental expected dataset (#25)

snowplow-utils v0.2.0

20 Aug 11:12
Compare
Choose a tag to compare

Summary

This release is predominately focused on bringing BigQuery support to the snowplow-web 0.2.0 package.

It also introduces integration tests for the most critical macros within the utils package. In order to achieve this some macros had to be refactored, in some instances involving breaking changes.

Breaking Changes

  • Refactor & add tests get_run_limits (Close #9)
  • Refactor & add tests update_incremental_manifest_table (Close #10)
  • Refactor & add tests app_id_filter (Close #11)
  • Replace get_successful_snowplow_models (Close #15)

Features

  • Add functionality to support BigQuery in snowplow-web package (Close #8)
    • This includes combine_column_verions, which will assist user's modelling Snowplow data.
  • Add BigQuery support to snowplow_incremental (Close #7)

Improvements

  • Refactor & add tests get_enabled_snowplow_models (Close #13)
  • Remove update_current_incremental_tstamp_table (Close #12)
  • Integration tests added to multiple macros along with a script to run:
    • Add integrations_tests script (Close #16)
  • Refactor create_incremental_manifest_table (Close #17)
  • Refactor & add tests snowplow_delete_from_manifest (Close #18)
  • Improve is_run_with_new_events performance (Close #19)
  • Improve documentation (Close #21)

Fixes

  • Fix snowplow_teardown_all macro (Close #14)
  • Update dbt_utils URL to new dbt-labs repo (Close #20)