diff --git a/CHANGELOG b/CHANGELOG index 13af624e..832e3ad4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,12 +1,12 @@ -snowplow-utils 0.16.2 (2024-02-XX) +snowplow-utils 0.16.2 (2024-02-26) --------------------------------------- ## Summary -XXX +This releases adds two new sets of macros, one is `parse_agg_dict` that generates aggregation sql, and the other is `apply_grants` which allows the usage of the `snowplow__grant_select_to` variable to grant select on models to any user/role in that list (does not support BigQuery). We also fix a rare edge case where custom user identifiers made from sql could lead to duplicate sessions in the lifecycle table. ## Features - Add new `parse_agg_dict` macro for use to generate aggregation sql in other packages - Overwrite default dbt `apply_grants` macro to enable using a variable to define grant targets -- Add new `grant_usage_on_schemas_where_select` macro to add as a post-hook in package to grant usage for schemas +- Add new `default__grant_usage_on_schemas_built_into` macro to add as a post-hook in package to grant usage for schemas - Ensure only one user id even when a custom user sql is provided for the lifecycles manifest table ## Upgrading diff --git a/dbt_project.yml b/dbt_project.yml index b9bb2306..90da73a8 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,5 +1,5 @@ name: 'snowplow_utils' -version: '0.16.1' +version: '0.16.2' config-version: 2 require-dbt-version: [">=1.4.0", "<2.0.0"] diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index bdbc21e7..e015acad 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -1,5 +1,5 @@ name: 'snowplow_utils_integration_tests' -version: '0.16.1' +version: '0.16.2' config-version: 2 profile: 'integration_tests'