v2.4.0 dbt_salesforce
·
1 commit
to main
since this release
This release includes the following updates:
The
account,campaign,contact, andopportunitydaily history models, and their related variables, are not currently available in Quickstart.
Schema/Data Change (--full-refresh required after upgrading)
1 total change • 1 possible breaking change
| Data Model(s) | Change type | Old | New | Notes |
|---|---|---|---|---|
stg_salesforce__account_historystg_salesforce__contact_historystg_salesforce__opportunity_history |
Removed model | BREAKING: Run --full-refresh on the three daily history models after upgrading.salesforce__account_daily_history, salesforce__contact_daily_history, and salesforce__opportunity_daily_history now read directly from the salesforce_history sources, matching the salesforce__campaign_daily_history pattern |
Bug Fix
- Fixes an issue in
salesforce__account_daily_history,salesforce__campaign_daily_history,salesforce__contact_daily_history, andsalesforce__opportunity_daily_historywhere a record that remained current but hadn't changed recently could stop receiving new daily rows on incremental runs. Currently active records now continue to receive a daily row regardless of how recently they last changed. Requires--full-refreshto backfill any rows that were previously missing.
Feature Update
- Adds a configurable
lookback_windowvariable (default 1 day) tosalesforce__account_daily_history,salesforce__campaign_daily_history,salesforce__contact_daily_history, andsalesforce__opportunity_daily_history. Each incremental run now reprocesses the lastlookback_windowdays in addition to any new dates, so a corrected or backfilled history record landing within that window is picked up automatically instead of requiring a--full-refresh.
Full Changelog: v2.3.0...v2.4.0