Releases: fivetran/dbt_recharge
v1.4.1 dbt_recharge
PR #46 includes the following updates:
Under the Hood
- Removes the
recharge_first_dateandrecharge_last_datevariables from thequickstart.yml.
Full Changelog: v1.4.0...v1.4.1
v1.4.0 dbt_recharge
PR #44 includes the following updates:
Documentation
- Updates README with standardized Fivetran formatting.
Under the Hood
- In the
quickstart.ymlfile:- Adds
table_variablesfor relevant sources to prevent missing sources from blocking downstream Quickstart models. - Adds
supported_varsfor Quickstart UI customization.
- Adds
Full Changelog: v1.3.0...v1.4.0
v1.3.0 dbt_recharge
PR #43 includes the following updates:
Features
- Increases the required dbt version upper limit to v3.0.0
Full Changelog: v1.2.0...v1.3.0
v1.2.0 dbt_recharge
PR #41 includes the following updates:
Schema/Data Change
1 total change • 0 possible breaking changes
| Data Model(s) | Change type | Old | New | Notes |
|---|---|---|---|---|
| All models | New column | source_relation |
Identifies the source connection when using multiple Recharge connections |
Feature Update
- Union Data Functionality: This release supports running the package on multiple Recharge source connections. See the README for details on how to leverage this feature.
Tests Update
- Removes uniqueness tests. The new unioning feature requires combination-of-column tests to consider the new
source_relationcolumn in addition to the existing primary key, but this is not supported across dbt versions. - These tests will be reintroduced once a version-agnostic solution is available.
Under the Hood
- Refactored
int_recharge__calendar_spineto include compile-time guards and determine spine boundaries fromref('stg_recharge__charge_tmp')instead of direct source reference, enabling compatibility when unioning multiple sources.
Full Changelog: v1.1.0...v1.2.0
v1.1.0 dbt_recharge
This release aligns with the Fivetran Recharge Connector August 2025 updates. PR #35 includes the following updates:
Schema/Data Changes
3 total changes • 3 possible breaking changes
| Data Model/Column | Change type | Old | New | Notes |
|---|---|---|---|---|
ORDER |
Source removed | Sunset in favor of ORDERS, which is now standard across all connections. |
||
stg_recharge__discount |
Column removed | applies_to_id |
Removed due to inconsistent data types (JSON vs. string) in the source. It can be re-enabled via the newly added recharge__discount_passthrough_columns variable. See the Passing Through Additional Columns section in the README for usage details. |
|
stg_recharge__one_time_productstg_recharge__orderrecharge__billing_history |
Column removed | is_deleted |
Removed deprecated column. The same information is already captured in _fivetran_deleted. |
Documentation
- Removed deprecated source and columns from documentation.
Under the Hood
- Removed deprecated source and columns from testing seed files.
- Removed deprecated source and columns from
get_*_columnmacros.
Full Changelog: v1.0.0...v1.1.0
v1.0.0 dbt_recharge
PR #34 includes the following updates:
Breaking Changes
Source Package Consolidation
- Removed the dependency on the
fivetran/recharge_sourcepackage.- All functionality from the source package has been merged into this transformation package for improved maintainability and clarity.
- If you reference
fivetran/recharge_sourcein yourpackages.yml, you must remove this dependency to avoid conflicts. - Any source overrides referencing the
fivetran/recharge_sourcepackage will also need to be removed or updated to reference this package. - Update any recharge_source-scoped variables to be scoped to only under this package. See the README for how to configure the build schema of staging models.
- As part of the consolidation, vars are no longer used to reference staging models, and only sources are represented by vars. Staging models are now referenced directly with
ref()in downstream models.
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_columnstests. - Removed all
accepted_valuestests. - Moved
loaded_at_field: _fivetran_syncedunder theconfig:block insrc_recharge.yml.
- Removed all
Under the Hood
- Updated conditions in
.github/workflows/auto-release.yml. - Added
.github/workflows/generate-docs.yml.
Full Changelog: v0.5.0...v1.0.0
v0.5.0 dbt_recharge
PR #31 includes the following changes:
Schema & Data Updates
4 new columns -- 2 deprecated columns -- 6 potential breaking changes introduced in the upstream v0.4.0 dbt_recharge_source release
| Data Model | Change Type | Old Name | New Name | Notes |
|---|---|---|---|---|
stg_recharge__one_time_product |
Deprecated column | _is_deleted |
_is_deleted |
The column will continue to persist for the time being, but we encourage referencing the _fivetran_deleted column in its place. |
stg_recharge__one_time_product |
New column | _fivetran_deleted |
Boolean created by Fivetran to indicate whether the record has been deleted. | |
stg_recharge__order |
Deprecated column | _is_deleted |
_is_deleted |
The column will continue to persist for the time being, but we encourage referencing the _fivetran_deleted column in its place. |
stg_recharge__order |
New column | _fivetran_deleted |
Boolean created by Fivetran to indicate whether the record has been deleted. For dbt Core users: If this field is included in the recharge__order_passthrough_columns variable. It will need to be removed in order to avoid duplicate column compilation failures. |
|
stg_recharge__charge |
New column | _fivetran_deleted |
Boolean created by Fivetran to indicate whether the record has been deleted. For dbt Core users: If this field is included in the recharge__charge_passthrough_columns variable. It will need to be removed in order to avoid duplicate column compilation failures. |
|
stg_recharge__customer |
New column | _fivetran_deleted |
Boolean created by Fivetran to indicate whether the record has been deleted. |
Bug Fixes
- Updated
recharge__billing_historyto castorders.is_prepaidas an integer and evaluate the result, ensuring compatibility with integer-based booleans as well as boolean data types.
Documentation
- Added all new column documentation in the relevant recharge.yml file.
- Updated all the deprecated column documentation in the relevant recharge.yml file.
- Added column documentation for the
billing_*fields related to theCUSTOMERsource, staging, and end models.
Under the Hood
- Added a new
ORDERSseed data file to properly test cases whereis_prepaidis either a boolean or integer. - Included relevant updates to the impacted seed files for integration tests.
- Introduced the generate-docs github workflow for consistent docs generation.
- Created
consistency_billing_historyandconsistency_customer_detailsvalidation tests.
Full Changelog: v0.4.0...v0.5.0
v0.4.0 dbt_recharge
PR #28 includes the following changes:
Schema/Data Changes
1 total change • 0 possible breaking changes
| Data Model | Change type | Old name | New name | Notes |
|---|---|---|---|---|
recharge__line_item_enhanced |
Modified Model | Now enabled by default. |
Features
- Enabled the
recharge__line_item_enhancedmodel by default. Previously, this model required opting in via therecharge__standardized_billing_model_enabledvariable. This change ensures the model is available by default for Quickstart users.- Users can still disable the model by setting the variable to
falseindbt_project.yml.
- Users can still disable the model by setting the variable to
Full Changelog: v0.3.1...v0.4.0
v0.3.1 dbt_recharge
PR #27 includes the following changes:
Bug Fixes
- For Quickstart users, removed
recharge__line_item_enhancedfrom the public models list inquickstart.ymlsince the model is disabled by default. - In
recharge__charge_line_item_history, updated the discounts section to pull directly from thechargestable. This is because we are currently unable to determine discounts on a charge_line level. Therefore, we have decided to maintain discounts at the charge level. In a future release, we may re-examine calculating discounts on the charge_line level when we have more complete data.
Documentation
- Added Quickstart model counts to README. (#22)
- Corrected references to connectors and connections in the README. (#22)
Full Changelog: v0.3.0...v0.3.1
v0.3.0 dbt_recharge
PR #17 includes the following updates:
Features
- Addition of the
recharge__line_item_enhancedmodel. This model constructs a comprehensive, denormalized analytical table that enables reporting on key revenue, subscription, customer, and product metrics from your billing platform. It’s designed to align with the schema of the*__line_item_enhancedmodel found in Recharge, Recurly, Stripe, Shopify, and Zuora, offering standardized reporting across various billing platforms. To see the kinds of insights this model can generate, explore example visualizations in the Fivetran Billing Model Streamlit App. Visit the app for more details.- This model is currently disabled by default. You may enable it by setting the
recharge__standardized_billing_model_enabledastruein yourdbt_project.yml.
- This model is currently disabled by default. You may enable it by setting the
Breaking Changes
- In the dbt_recharge_source v0.3.0 release, the following columns were added to model
stg_recharge__address:countrypayment_method_id- Note: If you have already added any of these fields as passthrough columns to the
recharge__address_passthrough_columnsvar, you will need to remove or alias these fields from the var to avoid duplicate column errors.
Additional source package updates (release notes)
-
Added staging model
stg_recharge__checkout. See this doc for the fields added and their definitions.- This model is disabled by default but can be enabled by setting variable
recharge__checkout_enabledto true in yourdbt_project.ymlfile. See the Enable/disable models and sources section of the README for more information. - This model can also be passed additional columns beyond the predefined columns by using the variable
recharge__checkout_passthrough_columns. See the Passing Through Additional Columns section of the README for more information on how to set this variable.
- This model is disabled by default but can be enabled by setting variable
-
Added the following columns to model
stg_recharge__customer. See this doc for field definitions.billing_first_namebilling_last_namebilling_companybilling_citybilling_country
Full Changelog: v0.2.0...v0.3.0