From 1f8ec0402317b6c4103e635e6c5dd2012e2525d5 Mon Sep 17 00:00:00 2001 From: Ilias Xenogiannis Date: Tue, 10 Dec 2024 17:59:51 +0200 Subject: [PATCH] Prepare for release --- CHANGELOG | 24 ++++++++++++++++++++++++ dbt_project.yml | 2 +- integration_tests/dbt_project.yml | 2 +- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ee1ab2c..fd499f0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,27 @@ +snowplow-media-player 0.9.2 (2024-12-10) +--------------------------------------- +## Summary +This feature release introduces dynamic aggregation for passthrough fields in ad_views, allowing greater flexibility in managing session-level analytics. + +## Features + +**- Dynamic Aggregation for Passthrough Fields:** + Introduced the ability to apply optional aggregation logic (e.g., MAX, MIN) to passthrough fields in the media_player_media_ad_views model. This feature prevents cardinality violations while maintaining compatibility for non-aggregation fields. +**Example configuration:** +```yaml +snowplow__ad_views_passthroughs: [ + "v_collector", + {"sql": "v_tracker || app_id", "alias": "tracker_app_id", "agg": "max"}, + {"sql": "v_collector", "alias": "v_collector_alias", "agg": "min"} +] +``` + +This is an optional feature and can be implemented if required by your use case. + +## Upgrading + +Update the snowplow-media-player version in your packages.yml file. + snowplow-media-player 0.9.1 (2024-10-23) --------------------------------------- ## Summary diff --git a/dbt_project.yml b/dbt_project.yml index 3071458..4ec9382 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,5 +1,5 @@ name: 'snowplow_media_player' -version: '0.9.1' +version: '0.9.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 31a7235..acd1aee 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -1,5 +1,5 @@ name: 'snowplow_media_player_integration_tests' -version: '0.9.1' +version: '0.9.2' config-version: 2 profile: 'integration_tests'