Skip to content

Commit

Permalink
update changelog and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetran-reneeli committed Feb 21, 2024
1 parent b157c08 commit 5be67aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[PR #135](https://github.com/fivetran/dbt_hubspot/pull/135) includes the following updates:

## 🚨 Breaking Changes 🚨
- Added unique tests on `event_id` for event-based models, `contact_id` for `hubspot__contacts`, and `contact_list_id` for `hubspot__contact_lists`, on the condition the titular fields have not been deleted. We would advise running through these to ensure they work successfully.
- Added unique tests on `event_id` for event-based models, `contact_id` for `hubspot__contacts`, `contact_list_id` for `hubspot__contact_lists`, `deal_id` for `hubspot__deals`, `deal_stage_id` for `hubspot__deal_stages`, and `company_id` for `hubspot__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` and `hubspot__deals` models to remove stale deals that have been merged since into other deals. In addition we've introduced a new field `merged_deal_ids` that lists all historic merged deals for each deal.
Expand All @@ -17,6 +17,7 @@

## Under the Hood
- Added quickstart.yml for Quickstart customers.
- Added `not_null` tests that were previously missing to `deal_id` for `hubspot__deals` and `deal_stage_id` for `hubspot__deal_stages`.

# dbt_hubspot v0.15.1
[PR #129](https://github.com/fivetran/dbt_hubspot/pull/129) includes the following updates:
Expand Down
4 changes: 4 additions & 0 deletions models/sales/sales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ models:
where: "not coalesce(is_deal_deleted, false)"
- name: deal_name
description: The name you have given this deal.
- name: merged_deal_ids
description: A list of deals that had previously been merged into this record.
- name: is_deal_deleted
description: '{{ doc("is_deleted") }}'
- name: is_deal_pipeline_deleted
Expand Down Expand Up @@ -93,6 +95,8 @@ models:
description: Boolean indicating whether the deal stage active.
- name: deal_id
description: The ID of the deal.
- name: merged_deal_ids
description: A list of deals that had previously been merged into this record.
- name: pipeline_id
description: The ID of the deal's pipeline.
- name: pipeline_stage_id
Expand Down

0 comments on commit 5be67aa

Please sign in to comment.