|
1 | | -# dbt_xero v0.version.version |
2 | | -This release includes the following updates. |
| 1 | +# dbt_xero v0.9.0 |
| 2 | +This release includes the following updates: |
| 3 | + |
| 4 | +## Breaking Changes |
| 5 | +- Added tracking categories by pivoting out fields and grabbing the latest tracking category records from invoice line items and journal line entries. This update will provide more granular reporting capabilities and will result in the following model changes: ([PR #60](https://github.com/fivetran/dbt_xero/pull/60)) |
| 6 | + - `xero__general_ledger` dynamically pivots out journal line tracking category names and populates each line with the active options for the categories for these journals and accounts. |
| 7 | + - `xero__profit_and_loss_report` **will see a change in the grain** with these new dynamic pivoted tracking categories added to each journal line. |
| 8 | + - Added these dynamic tracking categories to the `profit_and_loss_id` as they are now unique lines within the profit and loss. **IMPORTANT**: This will change the existing values of the `profit_and_loss_id`, so this is a **breaking change**. ([PR #60](https://github.com/fivetran/dbt_xero/pull/60)) |
| 9 | + - `xero__invoice_line_items` dynamically pivots out invoice line item tracking category and populates each line with the active options for those line items. |
| 10 | +- Created intermediate models `int_xero__invoice_line_item_tracking_categories` and `int_xero__journal_line_tracking_categories` to perform the `dbt_utils` pivot operations. ([PR #60](https://github.com/fivetran/dbt_xero/pull/60)) |
| 11 | +- Added the following variables to allow the ability to disable your models if you're not planning to utilize the tracking category configuration. [See the README](https://github.com/fivetran/dbt_xero/blob/main/README.md#disabling-and-enabling-models) for detailed instructions. ([PR #60](https://github.com/fivetran/dbt_xero/pull/60)) |
| 12 | + - `xero__using_invoice_line_item_tracking_category` |
| 13 | + - `xero__using_journal_line_tracking_category` |
| 14 | + - `xero__using_tracking_categories` |
| 15 | +- These variables are utilized in the following end models: |
| 16 | + |
| 17 | +| End Models Impacted | Variables Implemented | |
| 18 | +|-------------------------------------------------------| ---------------------------------------------------| |
| 19 | +| `xero__general_ledger`, `xero__profit_and_loss_report` | `xero__using_journal_line_tracking_category`, `xero__using_tracking_categories` | |
| 20 | +| `xero__invoice_line_items` | `xero__using_invoice_line_item_tracking_category`, `xero__using_tracking_categories` | |
| 21 | + |
| 22 | +## Under the Hood |
| 23 | +- Added new table variables in `quickstart.yml` to ensure their respective models are enabled and disabled appropriately. |
| 24 | +([PR #60](https://github.com/fivetran/dbt_xero/pull/60)) |
| 25 | +- Created `get_prefixed_tracking_category_columns` macro to properly bring in and check for pivoted columns within the above `dbt_xero` end models. |
| 26 | +- Created integrity tests to ensure tracking category values for journal lines and invoice items match between the above end models and their source tables. |
| 27 | +([PR #60](https://github.com/fivetran/dbt_xero/pull/60)) |
| 28 | +- Added and updated seed files to properly test out advanced cases for the new tracking categories. ([PR #60](https://github.com/fivetran/dbt_xero/pull/60)) |
3 | 29 |
|
4 | 30 | ## Documentation |
5 | | -- Updated README to better elaborate on why multi-currency can't be fully supported by our dbt package. |
| 31 | +- Added instructions in the README for how to disable tracking category functionality utilizing the new variables. ([PR #60](https://github.com/fivetran/dbt_xero/pull/60)) |
| 32 | +- Updated README to better elaborate on why multi-currency can't be fully supported by our dbt package. ([PR #61](https://github.com/fivetran/dbt_xero/pull/61)) |
6 | 33 |
|
7 | 34 | # dbt_xero v0.8.0 |
8 | 35 | [PR #54](https://github.com/fivetran/dbt_xero/pull/54) includes the following updates: |
|
0 commit comments