v0.16.0 dbt_hubspot
fivetran-data-model-bot
released this
21 Feb 22:48
·
79 commits
to main
since this release
PR #135 includes the following updates:
🚨 Breaking Changes 🚨
- Added unique tests on
event_id
for event-based models,contact_id
forhubspot__contacts
,contact_list_id
forhubspot__contact_lists
,deal_id
forhubspot__deals
,deal_stage_id
forhubspot__deal_stages
, andcompany_id
forhubspot__companies
, on the condition the titular fields have not been deleted. We would advise running through these to ensure they work successfully.
Features
- Updates the
hubspot__deal_stages
andhubspot__deals
models to remove stale deals that have been merged since into other deals. In addition we've introduced a new fieldmerged_deal_ids
that lists all historic merged deals for each deal.- Please note you must have the underlying
merged_deals
table to take advantage of the above mentioned merged deal update. This may be enabled by settinghubspot_merged_deal_enabled
to True (by default this will be False). Also,hubspot_sales_enabled
andhubspot_deal_enabled
must not be set to False (by default these are True). See Step 4 of the README for more details.
- Please note you must have the underlying
Variable Bug Fixes
- The following adjustments have been made concerning the
hubspot_contact_enabled
variable:- The
email_events_joined()
macro now includes conditional logic to include contact information only if thehubspot_contact_enabled
variable is defined astrue
. - The
int_hubspot__email_metrics__by_contact_list
model is now dependent on thehubspot_contact_enabled
variable being defined astrue
. - The
hubspot__contact_lists
model now takes into consideration thehubspot_contact_enabled
variable being defined astrue
before joining in email metric information to the contact lists data.
- The
- Modified the config enabled logic within the
hubspot__email_sends
model to be dependent on thehubspot_email_event_sent_enabled
variable beingtrue
in addition to thehubspot_marketing_enabled
andhubspot_email_event_enabled
variables.
Under the Hood
- Added quickstart.yml for Quickstart customers.
- Added
not_null
tests that were previously missing todeal_id
forhubspot__deals
anddeal_stage_id
forhubspot__deal_stages
.
Full Changelog: v0.15.1...v0.16.0