[go: nahoru, domu]

Skip to content

Releases: snowplow/dbt-snowplow-mobile

snowplow-mobile v1.0.0

05 Dec 11:02
Compare
Choose a tag to compare

Summary

This version marks a major milestone as we move the package into a 1.0.0 release. The release itself includes some small fixes as well as some overhauled functionality. We've also updated the license. This release also marks the package as stable and production ready. This package will only receive critical bug fixes going forward as we invest our effort in new packages and projects. We also now bump the minimum supported dbt version to 1.6.0.

From this release onwards, the package is being released under the Snowplow Community License, Version 1.0. If you are uncertain how it applies to your use case, check our answers to frequently asked questions.

Features

  • Migrate base models to the new base macros for flexibility and consistency
  • Add ability to add custom entity/self-describing event columns to the base_events_this_run table for Redshift/Postgres
  • Add ability to use a custom session identifier and user identifier
  • Add new fields original_session_id and original_device_user_id to derived tables (where applicable)
  • Add ability to pass fields through to derived page views, sessions, and user tables

Fixes

  • Fix typo in docs (Close #79)

Under the hood

  • Update license

Breaking changes

  • We now require a dbt version >=1.6.0 to run this package

Upgrading

Bump the snowplow-mobile version in your packages.yml file.

snowplow-mobile v0.7.4

04 Oct 09:32
Compare
Choose a tag to compare

Summary

This release fixes an issue for users using a utils version 0.15.1 or greater.

Fixes

Fix error with new utils version on end hook.

Upgrading

Bump the snowplow-mobile version in your packages.yml file.

snowplow-mobile v0.7.3

26 Sep 09:11
Compare
Choose a tag to compare

Summary

Fixes a bug where we still used a deprecated snowplow_is_incremental function

Fixes

  • Remove reference to snowplow_is_incremental

Upgrading

Bump the snowplow-mobile version in your packages.yml file.

snowplow-mobile v0.7.2

12 Sep 12:47
Compare
Choose a tag to compare

Summary

Bumps the max supported snowplow-utils version to allow usage with our other packages.

Upgrading

Bump the snowplow-mobile version in your packages.yml file.

snowplow-mobile v0.7.1

28 Jun 12:05
Compare
Choose a tag to compare

Summary

This release allows users to join contexts with valid duplicate values with the help of a new field called event_id_dedupe_count, just like in the web model. It also reenables integration tests for Redshift and refactors code for increased readability and simplicity.

Features

  • Add dedupe count to allow joining of multi-valued contexts
  • Integration tests do not run on Redshift (Close #70)
  • Modify source definition to handle integration tests

Upgrading

Bump the snowplow-mobile version in your packages.yml file, and ensuring you have followed the above steps. You can read more in our upgrade guide

snowplow-mobile v0.7.0

28 Mar 09:41
Compare
Choose a tag to compare

Summary

This version contains two major changes, the first is to migrates our models away from the snowplow_incremental_materialization and instead move to using the built-in incremental with an optimization applied on top. The second is to change the de-duplication logic applied to redshift/postgres to bring it in line with the other warehouses (keeping 1 of the duplicate records, instead of discarding them all). We also upgrade some macros and update some of our docs.

🚨 Breaking Changes 🚨

Changes to materialization

To take advantage of the optimization we apply to the incremental materialization, users will need to add the following to their dbt_project.yml :

# dbt_project.yml
...
dispatch:
  - macro_namespace: dbt
    search_order: ['snowplow_utils', 'dbt']

For custom models please refer to the snowplow utils migration guide and the latest docs on creating custom incremental models.

Redshift/Postgres custom contexts

The change in de-duplication logic means that now the events_this_run and downstream tables will contain events that may have duplicates within your self-describing-events or context tables. Previously these events were discarded do there was no risk of duplication when joining a sde/context in a custom model, you must now make sure to de-dupe your sde/context before joining in any custom models. See the models/optional_modules/consent/scratch/default/snowplow_web_consent_events_this_run.sql file for an example, and the docs here.

Features

  • Migrate from get_cluster_by and get_partition_by to get_value_by_target_type
  • Migrate all models to use new materialization
  • Change de-duplication logic on redshift/postgres

Docs

  • Update readme

Upgrading

Bump the snowplow-mobile version in your packages.yml file, and ensuring you have followed the above steps. You can read more in our upgrade guide

snowplow-mobile v0.6.3

22 Feb 10:49
Compare
Choose a tag to compare

Summary

This release changes the severity on unique tests on previous_session_id columns to warn to deal with cases where data is ported to a new phone but both devices are then used. It also makes a change that allows for the user_mapping table to be disabled when user stitching is not enabled.

Features

Move ref in enabled check (Close #61)
Reduce previous_session_id test severity to warn (Close #62)

Upgrading

To upgrade simply bump the snowplow-web version in your packages.yml file.

snowplow-mobile v0.6.2

23 Jan 10:31
Compare
Choose a tag to compare

Summary

This release fixes an issue with using the Geolocation context for Databricks users.

Features

Add action for generating docs for pages
Fix databricks geolocation aliasing (Close #57)

Upgrading

To upgrade simply bump the snowplow-web version in your packages.yml file.

snowplow-mobile v0.6.1

13 Dec 17:58
Compare
Choose a tag to compare

Summary

This release alters the Databricks snowplow_mobile_base_events_this_run table to include all columns from the events table, in line with Snowflake and BigQuery.

Features

Add all columns to snowplow_mobile_base_events_this_run for databricks.

Upgrading

To upgrade simply bump the snowplow-web version in your packages.yml file.
Any custom models built directly off snowplow_mobile_base_events_this_run in databricks may need altering if you select * from this table.

snowplow-mobile v0.6.0

08 Dec 17:06
Compare
Choose a tag to compare

Summary

This release drops support for dbt versions below 1.3. In order to support the new dbt-utils major release, we need to drop support for dbt versions below 1.3. As a result, we've stopped using macros from dbt-utils which removes the deprecation warnings users were seeing.

Features

Drop support for dbt versions below 1.3 (Close #49)
Add standard actions and templates + change int test schema in macro and model

Upgrading

To upgrade simply bump the snowplow-web version in your packages.yml file. You will need dbt v1.3 at least to be able to use this version of the package.