Skip to content

Commit c1dee62

Browse files
Merge pull request #23 from fivetran/MagicBot_1f8cfbb721
[MagicBot] Bumping package version
2 parents ebe99f5 + 03ef3cf commit c1dee62

16 files changed

+35
-18
lines changed

.circleci/config.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- run:
1616
name: "Setup dbt"
1717
command: |
18+
sudo apt install libsasl2-dev
1819
python3 -m venv venv
1920
. venv/bin/activate
2021
pip install --upgrade pip setuptools
@@ -63,4 +64,4 @@ jobs:
6364
dbt deps
6465
dbt seed --target bigquery --full-refresh
6566
dbt run --target bigquery --full-refresh
66-
dbt test --target bigquery
67+
dbt test --target bigquery

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
target/
33
dbt_modules/
44
logs/
5+
6+
dbt_packages/

CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# dbt_xero v0.4.0
2+
🎉 dbt v1.0.0 Compatibility 🎉
3+
## 🚨 Breaking Changes 🚨
4+
- 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.
5+
- For help upgrading your package, I recommend reviewing this GitHub repo's Release Notes on what changes have been implemented since your last upgrade.
6+
- 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.
7+
- Upgrades the package dependency to refer to the latest `dbt_xero_source`. Additionally, the latest `dbt_xero_source` package has a dependency on the latest `dbt_fivetran_utils`. Further, the latest `dbt_fivetran_utils` package also has a dependency on `dbt_utils` [">=0.8.0", "<0.9.0"].
8+
- 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.
9+
110
# dbt_xero v0.3.1
211
## Bug Fix
312
- The `account_code`, `account_id`, `account_name`, and `account_type` fields within the `xero_general_ledger` are now being selected from the `stg_xero__account` model instead of the `stg_xero__journal_line` model.
@@ -17,4 +26,4 @@
1726
- Utils Materialization: We have made the default materialization of the `utils` folder to be ephemeral. ([#16](https://github.com/fivetran/dbt_xero/pull/16))
1827

1928
# dbt_xero v0.1.0 -> v0.2.0
20-
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!
29+
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![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)
1+
[![Apache License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
22
# Xero
33

44
This package models Xero data from [Fivetran's connector](https://fivetran.com/docs/applications/xero). It uses data in the format described by [this ERD](https://docs.google.com/presentation/d/1eJ5eLTWyG2ozdZYLf4oy887anCvLtoE8RhJ1VLmFrbI/edit?usp=sharing).
@@ -29,7 +29,7 @@ Include in your `packages.yml`
2929
```yaml
3030
packages:
3131
- package: fivetran/xero
32-
version: [">=0.3.0", "<0.4.0"]
32+
version: [">=0.4.0", "<0.5.0"]
3333
```
3434
3535
## Configuration

dbt_project.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: 'xero'
2-
version: '0.3.1'
2+
version: '0.4.0'
33
config-version: 2
4-
require-dbt-version: [">=0.20.0"]
4+
require-dbt-version: [">=1.0.0", "<2.0.0"]
55

66
vars:
77
xero:
8-
account: "{{ ref('stg_xero__account') }}"
9-
contact: "{{ ref('stg_xero__contact') }}"
10-
invoice_line_item: "{{ ref('stg_xero__invoice_line_item') }}"
11-
invoice: "{{ ref('stg_xero__invoice') }}"
12-
journal_line: "{{ ref('stg_xero__journal_line') }}"
13-
journal: "{{ ref('stg_xero__journal') }}"
14-
organization: "{{ ref('stg_xero__organization') }}"
15-
credit_note: "{{ ref('stg_xero__credit_note') }}"
16-
bank_transaction: "{{ ref('stg_xero__bank_transaction') }}"
8+
account: "{{ ref('stg_xero__account') }}"
9+
contact: "{{ ref('stg_xero__contact') }}"
10+
invoice_line_item: "{{ ref('stg_xero__invoice_line_item') }}"
11+
invoice: "{{ ref('stg_xero__invoice') }}"
12+
journal_line: "{{ ref('stg_xero__journal_line') }}"
13+
journal: "{{ ref('stg_xero__journal') }}"
14+
organization: "{{ ref('stg_xero__organization') }}"
15+
credit_note: "{{ ref('stg_xero__credit_note') }}"
16+
bank_transaction: "{{ ref('stg_xero__bank_transaction') }}"
1717

1818
models:
1919
xero:

integration_tests/requirements.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
dbt~=0.20.0
1+
dbt-snowflake==1.0.0
2+
dbt-bigquery==1.0.0
3+
dbt-redshift==1.0.0
4+
dbt-postgres==1.0.0
5+
dbt-spark==1.0.0
6+
dbt-spark[PyHive]==1.0.0

packages.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
packages:
2-
- package: fivetran/xero_source
3-
version: [">=0.3.0","<0.4.0"]
2+
- package: fivetran/xero_source
3+
version: [">=0.4.0", "<0.5.0"]

0 commit comments

Comments
 (0)