Skip to content

Commit

Permalink
Merge pull request #9 from fivetran/MagicBot_7ca14de14d
Browse files Browse the repository at this point in the history
[MagicBot] Bumping package version
  • Loading branch information
fivetran-joemarkiewicz authored Dec 20, 2021
2 parents 37f5732 + 52ab20c commit 4d7a42d
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
target/
dbt_modules/
logs/

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_snapchat_ads_source (next release)
# dbt_snapchat_ads_source v0.3.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_snapchat_ads_source v0.1.0 -> v0.2.1
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)
# Snapchat Ads (Source)

This package models Snapchat Ads data from [Fivetran's connector](https://fivetran.com/docs/applications/snapchat-ads). It uses data in the format described by [this ERD](https://fivetran.com/docs/applications/snapchat-ads#schemainformation).
Expand All @@ -19,7 +19,7 @@ Include in your `packages.yml`
```yaml
packages:
- package: fivetran/snapchat_ads_source
version: [">=0.2.0", "<0.3.0"]
version: [">=0.3.0", "<0.4.0"]
```
## Configuration
Expand Down
11 changes: 5 additions & 6 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

name: 'snapchat_ads_source'
version: '0.2.1'
version: '0.3.0'
config-version: 2
require-dbt-version: ">=0.20.0"
require-dbt-version: [">=1.0.0", "<2.0.0"]

vars:
vars:
snapchat_ads_source:
ad_account_history: "{{ source('snapchat_ads','ad_account_history') }}"
ad_account_history: "{{ source('snapchat_ads','ad_account_history') }}"
ad_history: "{{ source('snapchat_ads','ad_history') }}"
ad_hourly_report: "{{ source('snapchat_ads','ad_hourly_report') }}"
ad_squad_history: "{{ source('snapchat_ads','ad_squad_history') }}"
Expand All @@ -19,4 +18,4 @@ models:
+schema: stg_snapchat_ads
+materialized: table
tmp:
+materialized: view
+materialized: view
9 changes: 6 additions & 3 deletions integration_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
dbt~=0.20.0
dbt-spark~=0.20.0
dbt-spark[PyHive]~=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
8 changes: 4 additions & 4 deletions packages.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
packages:
- package: fivetran/fivetran_utils
version: [">=0.2.0", "<0.3.0"]
- package: dbt-labs/spark_utils
version: [">=0.2.0", "<0.3.0"]
- package: fivetran/fivetran_utils
version: [">=0.3.0", "<0.4.0"]
- package: dbt-labs/spark_utils
version: [">=0.3.0", "<0.4.0"]

0 comments on commit 4d7a42d

Please sign in to comment.