Releases: fivetran/dbt_quickbooks
v0.21.0 dbt_quickbooks
PR #173 includes the following updates:
dbt Fusion Compatibility Updates
- Updated package to maintain compatibility with dbt-core versions both before and after v1.10.6, which introduced a breaking change to multi-argument test syntax (e.g.,
unique_combination_of_columns
). - Temporarily removed unsupported tests to avoid errors and ensure smoother upgrades across different dbt-core versions. These tests will be reintroduced once a safe migration path is available.
- Removed all
dbt_utils.unique_combination_of_columns
tests. - Removed all
accepted_values
tests. - Moved
loaded_at_field: _fivetran_synced
under theconfig:
block insrc_quickbooks.yml
.
- Removed all
Under the Hood
- Updated conditions in
.github/workflows/auto-release.yml
. - Added
.github/workflows/generate-docs.yml
.
Full Changelog: v0.20.1...v0.21.0
v0.20.1 dbt_quickbooks
PR #169 includes the following updates:
Bug Fix
- Updated
quickbooks__balance_sheet
andquickbooks__income_statement
analysis models to end in*_analysis
to stop duplicate model errors in dbt Fusion, as these are existing end models within the package.
Documentation
- Updated analysis README with new model references.
Contributors
Full Changelog: v0.20.0...v0.20.1
v0.20.0 dbt_quickbooks
PR #165 includes the following updates:
Breaking Change for dbt Core < 1.9.6
Note: This is not relevant to Fivetran Quickstart users.
Migrated freshness
from a top-level source property to a source config
in alignment with recent updates from dbt Core (QuickBooks Source v0.13.0). This will resolve the following deprecation warning that users running dbt >= 1.9.6 may have received:
[WARNING]: Deprecated functionality
Found `freshness` as a top-level property of `quickbooks` in file
`models/src_quickbooks.yml`. The `freshness` top-level property should be moved
into the `config` of `quickbooks`.
IMPORTANT: Users running dbt Core < 1.9.6 will not be able to utilize freshness tests in this release or any subsequent releases, as older versions of dbt will not recognize freshness as a source config
and therefore not run the tests.
If you are using dbt Core < 1.9.6 and want to continue running QuickBooks freshness tests, please elect one of the following options:
- (Recommended) Upgrade to dbt Core >= 1.9.6
- Do not upgrade your installed version of the
quickbooks
package. Pin your dependency on v0.19.0 in yourpackages.yml
file. - Utilize a dbt override to overwrite the package's
quickbooks
source and apply freshness via the previous release top-level property route. This will require you to copy and paste the entirety of the previous releasesrc_quickbooks.yml
file and add anoverrides: quickbooks_source
property.
Under the Hood
- Updates to ensure integration tests use latest version of dbt.
Full Changelog: v0.19.0...v0.20.0
v0.19.0 dbt_quickbooks
Bug Fixes
- Applies the bugfix from the v0.19.0-a1 release to revert the
converted_amount
updates within theint_quickbooks__bill_payment_double_entry
model introduced within the v0.18.0 release. (PR #164)
Full Changelog: v0.18.2...v0.19.0
v0.19.0-a1 dbt_quickbooks
Bug Fixes
- Reverted
converted_amount
updates within theint_quickbooks__bill_payment_double_entry
model introduced within the v0.18.0 release. (PR #164)
Full Changelog: v0.18.2...v0.19.0-a1
v0.18.2 dbt_quickbooks
Documentation Fixes
- Updated
docs.md
to fix incorrect{% enddocs %}
statement. (PR #161)
Contributors
Full Changelog: v0.18.1...v0.18.2
v0.18.1 dbt_quickbooks
PR #159 introduces the following updates:
Bug Fixes
- Updated
int_quickbooks__expenses_union
to filter on account classifications rather than types. This will now correctly include 'Other Expense' and 'Cost of Goods Sold' account types as Expense accounts in thequickbooks__expenses_sales_enhanced
model.
Under the Hood
- Updated seed files to properly populate and validate the
quickbooks__expenses_sales_enhanced
model works as expected. - Created integrity test to compare source and end model transactions in the
quickbooks__expenses_sales_enhanced
model.
Full Changelog: v0.18.0...v0.18.1
v0.18.0 dbt_quickbooks
This release introduces the following updates.
Breaking Changes
- Modified
int_quickbooks__bill_payment_double_entry
model to ensure bill payment accuracy by updating theconverted_amount
logic. These changes improve the integrity and granularity of debit/credit entries for bill payments. (PR #155) - We've made this a breaking change as this update could potentially change (but fix) the amount outputs of the end models.
- Utilized the line-level
amount
from bill payment lines instead oftotal_amount
from bill payments, then summed the lines to calculate the total. Bill payment lines in a bill payment can have different exchange rates applied depending on which bill it's associated with, so the bill exchange rate can come into play. - Applied
exchange_rate
from the associated bill where available, falling back to the bill payment exchange rate otherwise. - Inverted the sign of the
amount
when associated with a journal entry (to correctly reflect the accounting direction). - Updated joins to link bill payments with related bills and bill payment lines via the
bill_linked_txn
table to support more accurate allocation of payment amounts.
- Utilized the line-level
Under the Hood
- Added a general ledger consistency test to ensure matching records between production and development models. (#155)
Documentation
- Added Quickstart model counts to README. (#152)
- Corrected references to connectors and connections in the README. (#152)
Full Changelog: v0.17.1...v0.18.0
v0.17.1 dbt_quickbooks
PR #149 introduces the following updates:
Bug Fix
- Updated the logic in
int_quickbooks__retained_earnings
to ensure accounting periods with no revenue and expense class lines were accounted for.- This will ensure the net income adjustment is available regardless of existing revenue or expenses.
- Brought in
created_at
andupdated_at
fields for thecredit_card_pymt
andinvoice
intermediate*_double_entry
models to provide full support for thev0.17.0
release update.
Full Changelog: v0.17.0...v0.17.1
v0.17.1-a1 dbt_quickbooks
Bug Fix
- Updated the logic in
int_quickbooks__retained_earnings
to ensure accounting periods with no revenue and expense class lines were accounted for.- This will ensure the net income adjustment is available regardless of existing revenue or expenses.
- These changes are identical to the ones introduced in the
v0.17.0-a1
release, but it was not picked up in our Quickstart deployment process, so we are creating a new pre-release.
Full Changelog: v0.17.0...v0.17.1-a1