Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
rlh1994 committed Feb 26, 2024
1 parent 0dcc656 commit 9e63d0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'snowplow_utils_integration_tests'
version: '0.16.1'
version: '0.16.2'
config-version: 2

profile: 'integration_tests'
Expand Down

0 comments on commit 9e63d0f

Please sign in to comment.