Releases: fivetran/dbt_pendo
v1.3.1 dbt_pendo
PR #42 includes the following update:
Documentation
- Removes dynamic
count_visitors_*columns from thependo__guideandpendo__guide_daily_metricsmodels inpendo.ymlto preventpersist_docserrors when these columns are not present.
Full Changelog: v1.3.0...v1.3.1
v1.3.0 dbt_pendo
PR #41 includes the following updates:
Documentation
- Updates README with standardized Fivetran formatting.
Under the Hood
- In the
quickstart.ymlfile:- Adds
table_variablesfor relevant sources to prevent missing sources from blocking downstream Quickstart models. - Adds
supported_varsfor Quickstart UI customization.
- Adds
Full Changelog: v1.2.0...v1.3.0
v1.2.0 dbt_pendo
PR #40 includes the following updates:
Features
- Increases the required dbt version upper limit to v3.0.0
Full Changelog: v1.1.0...v1.2.0
v1.1.0 dbt_pendo
Schema/Data Change
6 total changes • 5 possible breaking changes
| Data Model(s) | Change type | Old | New | Notes |
|---|---|---|---|---|
| All models | New column | source_relation |
Identifies the source connection when using multiple Pendo connections | |
stg_pendo__event |
Updated surrogate key | event_key = _fivetran_id + visitor_id + timestamp + account_id + server_name + user_agent + remote_ip |
event_key = source_relation + _fivetran_id + visitor_id + timestamp + account_id + server_name + user_agent + remote_ip |
|
pendo__feature_eventstg_pendo__feature_event |
Updated surrogate key | feature_event_key = _fivetran_id + visitor_id + timestamp + account_id + server_name + feature_id + user_agent + remote_ip |
feature_event_key = source_relation + _fivetran_id + visitor_id + timestamp + account_id + server_name + feature_id + user_agent + remote_ip |
|
pendo__guide_eventstg_pendo__guide_event |
Updated surrogate key | guide_event_key = _fivetran_id + visitor_id + timestamp + account_id + server_name + guide_id + user_agent + remote_ip |
guide_event_key = source_relation + _fivetran_id + visitor_id + timestamp + account_id + server_name + guide_id + user_agent + remote_ip |
|
pendo__page_eventstg_pendo__page_event |
Updated surrogate key | page_event_key = _fivetran_id + visitor_id + timestamp + account_id + server_name + page_id + user_agent + remote_ip |
page_event_key = source_relation + _fivetran_id + visitor_id + timestamp + account_id + server_name + page_id + user_agent + remote_ip |
|
stg_pendo__poll_event |
Updated surrogate key | poll_event_key = _fivetran_id + visitor_id + timestamp + account_id + server_name + poll_id + guide_id + user_agent + remote_ip |
poll_event_key = source_relation + _fivetran_id + visitor_id + timestamp + account_id + server_name + poll_id + guide_id + user_agent + remote_ip |
Feature Update
- Union Data Functionality: This release supports running the package on multiple Pendo source connections. See the README for details on how to leverage this feature.
Tests Update
- Removes most uniqueness tests. The new unioning feature requires combination-of-column tests to consider the new
source_relationcolumn in addition to the existing primary key, but this is not supported across dbt versions. - These tests will be reintroduced once a version-agnostic solution is available.
We have retained tests on the surrogate keys listed above.
Under the Hood
- Updates source configs for the
grouptable aimed at avoiding reserved-keyword errors.
Full Changelog: v1.0.0...v1.1.0
v1.0.0 dbt_pendo
PR #34 includes the following updates:
Breaking Changes
Source Package Consolidation
- Removed the dependency on the
fivetran/pendo_sourcepackage.- All functionality from the source package has been merged into this transformation package for improved maintainability and clarity.
- If you reference
fivetran/pendo_sourcein yourpackages.yml, you must remove this dependency to avoid conflicts. - Any source overrides referencing the
fivetran/pendo_sourcepackage will also need to be removed or updated to reference this package. - Update any pendo_source-scoped variables to be scoped to only under this package. See the README for how to configure the build schema of staging models.
- As part of the consolidation, vars are no longer used to reference staging models, and only sources are represented by vars. Staging models are now referenced directly with
ref()in downstream models.
dbt Fusion Compatibility Updates
- Updated package to maintain compatibility with dbt-core versions both before and after v1.10.6, which introduced a breaking change to multi-argument test syntax (e.g.,
unique_combination_of_columns). - Temporarily removed unsupported tests to avoid errors and ensure smoother upgrades across different dbt-core versions. These tests will be reintroduced once a safe migration path is available.
- Removed all
dbt_utils.unique_combination_of_columnstests. - Moved
loaded_at_field: _fivetran_syncedunder theconfig:block insrc_pendo.yml.
- Removed all
Under the Hood
- Updated conditions in
.github/workflows/auto-release.yml. - Added
.github/workflows/generate-docs.yml.
Full Changelog: v0.6.0...v1.0.0
v0.6.0 dbt_pendo
PR #30 includes the following updates:
Breaking Change for dbt Core < 1.9.6
Note: This is not relevant to Fivetran Quickstart users.
Migrated freshness from a top-level source property to a source config in alignment with recent updates from dbt Core (Pendo Source v0.6.0). This will resolve the following deprecation warning that users running dbt >= 1.9.6 may have received:
[WARNING]: Deprecated functionality
Found `freshness` as a top-level property of `pendo` in file
`models/src_pendo.yml`. The `freshness` top-level property should be moved
into the `config` of `pendo`.
IMPORTANT: Users running dbt Core < 1.9.6 will not be able to utilize freshness tests in this release or any subsequent releases, as older versions of dbt will not recognize freshness as a source config and therefore not run the tests.
If you are using dbt Core < 1.9.6 and want to continue running Pendo freshness tests, please elect one of the following options:
- (Recommended) Upgrade to dbt Core >= 1.9.6
- Do not upgrade your installed version of the
pendopackage. Pin your dependency on v0.5.0 in yourpackages.ymlfile. - Utilize a dbt override to overwrite the package's
pendosource and apply freshness via the previous release top-level property route. This will require you to copy and paste the entirety of the previous releasesrc_pendo.ymlfile and add anoverrides: pendo_sourceproperty.
Under the Hood:
- Incorporated the new
fivetran_utils.drop_schemas_automationmacro into the end of each Buildkite integration test job. - Updated the pull request templates.
- Updates to ensure integration tests use latest version of dbt.
Documentation
- Added Quickstart model counts to README. (#29)
- Corrected references to connectors and connections in the README. (#29)
Full Changelog: v0.5.0...v0.6.0
v0.5.0 dbt_pendo
PR #21 includes the following updates:
🚨 Breaking Changes 🚨:
-
This is a breaking change due to changes made in the source package. (See Source CHANGELOG).
-
Due to changes made in this release and v0.4.0,
_fivetran_idhas been added to the following models:
-pendo__feature_event
-pendo__guide_event
-pendo__page_event -
_fivetran_idhas also been added to the hashing formula used in the following fields:feature_event_keyinpendo__feature_eventguide_event_keyinpendo__guide_eventpage_event_keyinpendo__page_event
✨ Features
- Updated documentation for new
_fivetran_idfield. - Updated documentation and packages to reference the latest version of the source package.
Full Changelog: v0.4.0...v0.5.0
v0.4.0 dbt_pendo
This release of dbt_pendo includes:
🚨 Breaking Changes:
- This is a breaking change due to changes made in the source package. (See Source CHANGELOG).
✨ Features
v0.3.1 dbt_pendo
This release of the dbt_pendo package includes the following updates:
Bug Fixes
- Updated readme for workaround if the pendo_<default_source_table_name>_identifer is having trouble with Snowflake reserved words. (#19)
Full Changelog: v0.3.0...v0.3.1
dbt_pendo v0.3.0
PR #17 includes the following breaking changes:
🚨 Breaking Changes 🚨:
- Dispatch update for dbt-utils to dbt-core cross-db macros migration. Specifically
{{ dbt_utils.<macro> }}have been updated to{{ dbt.<macro> }}for the below macros:any_valuebool_orcast_bool_to_textconcatdate_truncdateadddatediffescape_single_quotesexcepthashintersectlast_daylengthlistaggpositionreplacerightsafe_castsplit_partstring_literaltype_biginttype_floattype_inttype_numerictype_stringtype_timestamparray_appendarray_concatarray_construct
- For
current_timestampandcurrent_timestamp_in_utcmacros, the dispatch AND the macro names have been updated to the below, respectively:dbt.current_timestamp_backcompatdbt.current_timestamp_in_utc_backcompat
dbt_utils.surrogate_keyhas also been updated todbt_utils.generate_surrogate_key. Since the method for creating surrogate keys differ, we suggest all users do afull-refreshfor the most accurate data. For more information, please refer to dbt-utils release notes for this update.- Dependencies on
fivetran/fivetran_utilshave been upgraded, previously[">=0.3.0", "<0.4.0"]now[">=0.4.0", "<0.5.0"]. - Incremental strategy within the
int_pendo__calendar_spinemodel has been adjusted to use thedelete+insertstrategy for Postgres and Redshift adapters.
🎉 Documentation and Feature Updates 🎉:
- Updated README documentation for easier navigation and dbt package setup.