You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,21 @@
1
+
# dbt_xero v0.7.0
2
+
[PR #54](https://github.com/fivetran/dbt_xero/pull/54) includes the following updates:
3
+
4
+
## Breaking Changes
5
+
- Corrected the calculation of `current_year_end_date` in the `xero__balance_sheet_report` model. Previously, `current_year_end_date` was miscalculated in certain scenarios, impacting the classification of records with the `account_name` value "Retained Earnings."
6
+
- This is labeled as a breaking change since it may affect prior labels assigned. We recommend reviewing your records to ensure they align with this corrected logic.
7
+
8
+
## Bug Fixes
9
+
- Updated the `xero__balance_sheet` model to resolve a run error when an organization's financial year end date is February 29.
10
+
11
+
## Documentation
12
+
- Updated README formatting for consistency with other packages.
13
+
- Added Quickstart model counts to README. ([#52](https://github.com/fivetran/dbt_xero/pull/52))
14
+
- Corrected references to connectors and connections in the README. ([#52](https://github.com/fivetran/dbt_xero/pull/52))
15
+
16
+
## Under the Hood (maintainers only)
17
+
- Added consistency tests for the end models.
18
+
1
19
# dbt_xero v0.6.2
2
20
[PR #46](https://github.com/fivetran/dbt_xero/pull/46) includes the following updates:
- Produces modeled tables that leverage Xero data from [Fivetran's connector](https://fivetran.com/docs/applications/xero) in the format described by [this ERD](https://fivetran.com/docs/applications/xero#schemainformation) and builds off the output of our [Xero source package](https://github.com/fivetran/dbt_xero_source).
16
20
@@ -28,14 +32,16 @@ The following table provides a detailed list of all tables materialized within t
28
32
|[xero__balance_sheet_report](https://github.com/fivetran/dbt_xero/blob/main/models/xero__balance_sheet_report.sql)| Each record represents the state of the balance sheet for a given account on a given month. |
29
33
|[xero__invoice_line_items](https://github.com/fivetran/dbt_xero/blob/main/models/xero__invoice_line_items.sql)| Each record represents an invoice line item enriched with the account, contact, and invoice information. |
30
34
35
+
### Materialized Models
36
+
Each Quickstart transformation job run materializes 22 models if all components of this data model are enabled. This count includes all staging, intermediate, and final models materialized as `view`, `table`, or `incremental`.
31
37
<!--section-end-->
32
38
33
39
## How do I use the dbt package?
34
40
35
41
### Step 1: Prerequisites
36
42
To use this dbt package, you must have the following:
37
43
38
-
- At least one Fivetran Xero connector syncing data into your destination.
44
+
- At least one Fivetran Xero connection syncing data into your destination.
39
45
- A **BigQuery**, **Snowflake**, **Redshift**, **PostgreSQL**, or **Databricks** destination.
40
46
41
47
### Step 2: Install the package
@@ -44,7 +50,7 @@ Include the following xero package version in your `packages.yml` file:
44
50
```yaml
45
51
packages:
46
52
- package: fivetran/xero
47
-
version: [">=0.6.0", "<0.7.0"] # we recommend using ranges to capture non-breaking changes automatically
53
+
version: [">=0.7.0", "<0.8.0"] # we recommend using ranges to capture non-breaking changes automatically
48
54
```
49
55
Do NOT include the `xero_source` package in this file. The transformation package itself has a dependency on it and will install the source package as well.
50
56
### Step 3: Define database and schema variables
@@ -63,8 +69,8 @@ vars:
63
69
64
70
If you are using multi-currency accounting in Xero, you are likely to have unrealized currency gains as part of your profit and loss statement. These gains/losses do not exist within the actual journals in Xero. As a result, you will find that those lines are missing from the outputs of this package. All realised currency gains will be present and your balance sheet will still balance.
65
71
66
-
#### Unioning Multiple Xero Connectors
67
-
If you have multiple Xero connectors in Fivetran and would like to use this package on all of them simultaneously, we have provided functionality to do so. The package will union all of the data together and pass the unioned table into the transformations. You will be able to see which source it came from in the `source_relation` column of each model. To use this functionality, you will need to set **either** (**note that you cannot use both**) the `union_schemas` or `union_databases` variables:
72
+
#### Unioning Multiple Xero Connections
73
+
If you have multiple Xero connections in Fivetran and would like to use this package on all of them simultaneously, we have provided functionality to do so. The package will union all of the data together and pass the unioned table into the transformations. You will be able to see which source it came from in the `source_relation` column of each model. To use this functionality, you will need to set **either** (**note that you cannot use both**) the `union_schemas` or `union_databases` variables:
0 commit comments