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 5ed3404 commit 06b4ab1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
snowplow-unified 0.2.1 (2024-02-XX)
snowplow-unified 0.3.0 (2024-02-26)
---------------------------------------
## Summary
XXX
This release adds one major new feature, which is custom aggregations on the views, sessions, and users tables. You can read more about it in our docs [here](https://docs.snowplow.io/docs/modeling-your-data/modeling-your-data-with-dbt/package-features/custom-aggregations/). We also added the ability to manage grants to all tables in the package via the `snowplow__grant_select_to` variable.

Under the hood we did a lot of small tweaks and improvements including prefixing all macro calls for easier custom models, moved cluster by fields to macros, ensure that the manifest tables are only full refreshed when `snowplow__allow_refresh` is set to true AND there is a full refresh flag on the run, and added a few context fields to the derived tables that were being discarded previously.

## 🚨 Breaking Changes 🚨
- We have changed the behavior of the `allow_refresh` macro so now if `snowplow__allow_refresh` is set to `true` it will only refresh the manifest models if the `--full-refresh` flag is also set. If you require the old behavior where it would refresh the manifest models on an incremental run when `snowplow__allow_refresh` was set to `true`, please overwrite this macro. See the [Overriding Macros](https://docs.snowplow.io/docs/modeling-your-data/modeling-your-data-with-dbt/dbt-operation/macros-and-keys/#overriding-macros) guide for more details.
- Renamed `snowplow__page_view_passthroughs` to `snowplow__view_passthroughs` to be consistent with the rest of the package
- Minimum `snowplow-utils` version is now 0.16.2

## Features
- Add new passthrough aggregations to the views, sessions, and users table, enabled using `snowplow__view/session/user_aggregations`
Expand All @@ -18,14 +21,15 @@ XXX

## Fixes
- Fix a bug where if you ran the package in a period with no data, and had list all events enabled, the package would error rather than complete
- Fix incorrect tagging in app errors module tables

## Under the hood
- Prefix all macro calls with package name for easier customization
- Use macros for grouped fields (e.g. contexts) where possible
- Bump actions version numbers

## Upgrading
Bump the snowplow-unified version in your `packages.yml` file.
Bump the snowplow-unified version in your `packages.yml` file, paying attention to the breaking changes above..

snowplow-unified 0.2.0 (2024-01-30)
---------------------------------------
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_unified'
version: '0.2.0'
version: '0.3.0'
config-version: 2

require-dbt-version: [">=1.6.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_unified_integration_tests'
version: '0.2.0'
version: '0.3.0'
config-version: 2

profile: 'integration_tests'
Expand Down
6 changes: 2 additions & 4 deletions packages.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
packages:
# - package: snowplow/snowplow_utils
# version: [">=0.16.2", "<0.17.0"]
- git: "https://github.com/snowplow/dbt-snowplow-utils.git" # git URL
revision: release/snowplow-utils/0.16.2 # tag or branch name
- package: snowplow/snowplow_utils
version: [">=0.16.2", "<0.17.0"]

0 comments on commit 06b4ab1

Please sign in to comment.