Skip to content

Commit

Permalink
Merge pull request #54 from fivetran/MagicBot_4331b66d62
Browse files Browse the repository at this point in the history
[MagicBot] Bumping package version
  • Loading branch information
fivetran-reneeli authored Dec 20, 2021
2 parents 7211fb6 + 2f3eb48 commit e6c984d
Show file tree
Hide file tree
Showing 57 changed files with 71 additions and 57 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- run:
name: "Setup dbt"
command: |
sudo apt install libsasl2-dev
python3 -m venv venv
. venv/bin/activate
pip install --upgrade pip setuptools
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
target/
dbt_modules/
logs/
.DS_Store
.DS_Store
dbt_packages/
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# dbt_hubspot_source (next release)
# dbt_hubspot_source v0.5.0
🎉 dbt v1.0.0 Compatibility 🎉
## 🚨 Breaking Changes 🚨
- Adjusts the `require-dbt-version` to now be within the range [">=1.0.0", "<2.0.0"]. Additionally, the package has been updated for dbt v1.0.0 compatibility. If you are using a dbt version <1.0.0, you will need to upgrade in order to leverage the latest version of the package.
- For help upgrading your package, I recommend reviewing this GitHub repo's Release Notes on what changes have been implemented since your last upgrade.
- For help upgrading your dbt project to dbt v1.0.0, I recommend reviewing dbt-labs [upgrading to 1.0.0 docs](https://docs.getdbt.com/docs/guides/migration-guide/upgrading-to-1-0-0) for more details on what changes must be made.
- Upgrades the package dependency to refer to the latest `dbt_fivetran_utils`. The latest `dbt_fivetran_utils` package also has a dependency on `dbt_utils` [">=0.8.0", "<0.9.0"].
- Please note, if you are installing a version of `dbt_utils` in your `packages.yml` that is not in the range above then you will encounter a package dependency error.

# dbt_hubspot_source v0.1.0 -> v0.4.3
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Apache License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![dbt logo and version](https://img.shields.io/static/v1?logo=dbt&label=dbt-version&message=0.20.x&color=orange)
[![Apache License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
# Hubspot (Source)

This package models Hubspot data from [Fivetran's connector](https://fivetran.com/docs/applications/hubspot). It uses data in the format described by the [marketing](https://fivetran.com/docs/applications/hubspot#schemainformation), [sales](https://fivetran.com/docs/applications/hubspot#crmandsaleshubschema) and [service](https://fivetran.com/docs/applications/hubspot#servicehubschema) ERDs.
Expand Down Expand Up @@ -27,7 +27,7 @@ Include in `packages.yml`
```yaml
packages:
- package: fivetran/hubspot_source
version: [">=0.4.0", "<0.5.0"]
version: [">=0.5.0", "<0.6.0"]
```
## Configuration
Expand Down
98 changes: 49 additions & 49 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'hubspot_source'
version: '0.4.3'
version: '0.5.0'
config-version: 2
require-dbt-version: ">=0.20.0"
require-dbt-version: [">=1.0.0", "<2.0.0"]

models:
hubspot_source:
Expand All @@ -12,58 +12,58 @@ models:

vars:
hubspot_source:
company: "{{ source('hubspot','company') }}"
company_property_history: "{{ source('hubspot','company_property_history') }}"
contact: "{{ source('hubspot','contact') }}"
contact_merge_audit: "{{ source('hubspot','contact_merge_audit') }}"
contact_list: "{{ source('hubspot','contact_list') }}"
contact_list_member: "{{ source('hubspot','contact_list_member') }}"
contact_property_history: "{{ source('hubspot','contact_property_history') }}"
deal: "{{ source('hubspot','deal') }}"
deal_stage: "{{ source('hubspot','deal_stage') }}"
deal_company: "{{ source('hubspot','deal_company') }}"
deal_pipeline: "{{ source('hubspot','deal_pipeline') }}"
deal_pipeline_stage: "{{ source('hubspot','deal_pipeline_stage') }}"
deal_property_history: "{{ source('hubspot','deal_property_history') }}"
email_campaign: "{{ source('hubspot','email_campaign') }}"
email_event: "{{ source('hubspot','email_event') }}"
email_event_bounce: "{{ source('hubspot','email_event_bounce') }}"
email_event_click: "{{ source('hubspot','email_event_click') }}"
email_event_deferred: "{{ source('hubspot','email_event_deferred') }}"
email_event_delivered: "{{ source('hubspot','email_event_delivered') }}"
email_event_dropped: "{{ source('hubspot','email_event_dropped') }}"
email_event_forward: "{{ source('hubspot','email_event_forward') }}"
email_event_open: "{{ source('hubspot','email_event_open') }}"
email_event_print: "{{ source('hubspot','email_event_print') }}"
email_event_sent: "{{ source('hubspot','email_event_sent') }}"
email_event_spam_report: "{{ source('hubspot','email_event_spam_report') }}"
email_event_status_change: "{{ source('hubspot','email_event_status_change') }}"
engagement: "{{ source('hubspot','engagement') }}"
engagement_call: "{{ source('hubspot','engagement_call') }}"
engagement_company: "{{ source('hubspot','engagement_company') }}"
engagement_contact: "{{ source('hubspot','engagement_contact') }}"
engagement_deal: "{{ source('hubspot','engagement_deal') }}"
engagement_email: "{{ source('hubspot','engagement_email') }}"
engagement_meeting: "{{ source('hubspot','engagement_meeting') }}"
engagement_note: "{{ source('hubspot','engagement_note') }}"
engagement_task: "{{ source('hubspot','engagement_task') }}"
owner: "{{ source('hubspot','owner') }}"
company: "{{ source('hubspot','company') }}"
company_property_history: "{{ source('hubspot','company_property_history') }}"
contact: "{{ source('hubspot','contact') }}"
contact_merge_audit: "{{ source('hubspot','contact_merge_audit') }}"
contact_list: "{{ source('hubspot','contact_list') }}"
contact_list_member: "{{ source('hubspot','contact_list_member') }}"
contact_property_history: "{{ source('hubspot','contact_property_history') }}"
deal: "{{ source('hubspot','deal') }}"
deal_stage: "{{ source('hubspot','deal_stage') }}"
deal_company: "{{ source('hubspot','deal_company') }}"
deal_pipeline: "{{ source('hubspot','deal_pipeline') }}"
deal_pipeline_stage: "{{ source('hubspot','deal_pipeline_stage') }}"
deal_property_history: "{{ source('hubspot','deal_property_history') }}"
email_campaign: "{{ source('hubspot','email_campaign') }}"
email_event: "{{ source('hubspot','email_event') }}"
email_event_bounce: "{{ source('hubspot','email_event_bounce') }}"
email_event_click: "{{ source('hubspot','email_event_click') }}"
email_event_deferred: "{{ source('hubspot','email_event_deferred') }}"
email_event_delivered: "{{ source('hubspot','email_event_delivered') }}"
email_event_dropped: "{{ source('hubspot','email_event_dropped') }}"
email_event_forward: "{{ source('hubspot','email_event_forward') }}"
email_event_open: "{{ source('hubspot','email_event_open') }}"
email_event_print: "{{ source('hubspot','email_event_print') }}"
email_event_sent: "{{ source('hubspot','email_event_sent') }}"
email_event_spam_report: "{{ source('hubspot','email_event_spam_report') }}"
email_event_status_change: "{{ source('hubspot','email_event_status_change') }}"
engagement: "{{ source('hubspot','engagement') }}"
engagement_call: "{{ source('hubspot','engagement_call') }}"
engagement_company: "{{ source('hubspot','engagement_company') }}"
engagement_contact: "{{ source('hubspot','engagement_contact') }}"
engagement_deal: "{{ source('hubspot','engagement_deal') }}"
engagement_email: "{{ source('hubspot','engagement_email') }}"
engagement_meeting: "{{ source('hubspot','engagement_meeting') }}"
engagement_note: "{{ source('hubspot','engagement_note') }}"
engagement_task: "{{ source('hubspot','engagement_task') }}"
owner: "{{ source('hubspot','owner') }}"

#Service Hub Models
ticket_company: "{{ source('hubspot','ticket_company') }}"
ticket_contact: "{{ source('hubspot','ticket_contact') }}"
ticket_deal: "{{ source('hubspot','ticket_deal') }}"
ticket_engagement: "{{ source('hubspot','ticket_engagement') }}"
ticket_pipeline: "{{ source('hubspot','ticket_pipeline') }}"
ticket_pipeline_stage: "{{ source('hubspot','ticket_pipeline_stage') }}"
ticket_property_history: "{{ source('hubspot','ticket_property_history') }}"
ticket: "{{ source('hubspot','ticket') }}"
ticket_company: "{{ source('hubspot','ticket_company') }}"
ticket_contact: "{{ source('hubspot','ticket_contact') }}"
ticket_deal: "{{ source('hubspot','ticket_deal') }}"
ticket_engagement: "{{ source('hubspot','ticket_engagement') }}"
ticket_pipeline: "{{ source('hubspot','ticket_pipeline') }}"
ticket_pipeline_stage: "{{ source('hubspot','ticket_pipeline_stage') }}"
ticket_property_history: "{{ source('hubspot','ticket_property_history') }}"
ticket: "{{ source('hubspot','ticket') }}"

#Service Hub Enable Variables
hubspot_service_enabled: false
hubspot_service_enabled: false

#Contact Merge Audit Enable Variable
hubspot_contact_merge_audit_enabled: false
hubspot_contact_merge_audit_enabled: false

#HubSpot Passthrough Columns
hubspot__deal_pass_through_columns: []
Expand All @@ -72,4 +72,4 @@ vars:
hubspot__ticket_pass_through_columns: []

#OVERRIDE any ^ passthrough columns by just passing all columns
hubspot__pass_through_all_columns: false
hubspot__pass_through_all_columns: false
7 changes: 6 additions & 1 deletion integration_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
dbt~=0.20.0
dbt-snowflake==1.0.0
dbt-bigquery==1.0.0
dbt-redshift==1.0.0
dbt-postgres==1.0.0
dbt-spark==1.0.0
dbt-spark[PyHive]==1.0.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- package: fivetran/fivetran_utils
version: [">=0.2.0", "<0.3.0"]
- package: fivetran/fivetran_utils
version: [">=0.3.0", "<0.4.0"]

0 comments on commit e6c984d

Please sign in to comment.