This repository was archived by the owner on Jan 20, 2026. It is now read-only.
Releases: fivetran/dbt_recharge_source
Releases · fivetran/dbt_recharge_source
v0.4.0 dbt_recharge_source
PR #21 includes the following updates:
Schema & Data Updates
4 new columns -- 2 deprecated columns -- 6 potential breaking changes
| 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. |
Documentation
- Added all new column documentation in the relevant src_recharge.yml and stg_recharge.yml files.
- Updated all the deprecated column documentation in the relevant src_recharge.yml and stg_recharge.yml files.
- Added column documentation for the
billing_*fields related to theCUSTOMERsource and staging models.
Under the Hood
- Included relevant updates to the impacted seed files for integration tests.
- Introduced the generate-docs github workflow for consistent docs generation.
Full Changelog: v0.3.2...v0.4.0
v0.3.2 dbt_recharge_source
This release includes the following updates.
Documentation
- Corrected references to connectors and connections in the README. (#18)
Under the Hood
- Prepends
materializedconfigs in the package'sdbt_project.ymlfile with+to improve compatibility with the newer versions of dbt-core starting with v1.10.0. (PR #19) - Updates the package maintainer pull request template. (PR #20)
Contributors
Full Changelog: v0.3.1...v0.3.2
v0.3.1 dbt_recharge_source
PR #15 includes the following updates:
Bugfix
- Updated the
is_most_recent_recordfield instg_recharge__subscription_historyto partition byid, or bysubscription_idifidis unavailable in the source table. Previously, partitioning occurred solely onsubscription_id(prior to applying COALESCE), which was unintended and caused errors in Redshift when the source table only containedid.
Full Changelog: v0.3.0...v0.3.1
v0.3.0 dbt_recharge_source
PR #13 includes the following updates:
Breaking Changes
- The following columns were added to model
stg_recharge__address:- country
- payment_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.
Features
-
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
Under the hood
- Updated
stg_recharge__subscription_historyto coalesceidandsubscription_idas thesubscription_idsince either version can be present in the source.
Full Changelog: v0.2.0...v0.3.0
v0.2.0 dbt_recharge_source
PR #12 includes the following updates:
Features
- For Fivetran Recharge connectors created on or after June 18, 2024, the
ORDERsource table has been renamed toORDERS. The package will now use theORDERStable if it exists and thenORDERif not.- If you have both versions but wish to use the
ORDERtable instead, you can set the variablerecharge__using_ordersto false in yourdbt_project.yml. - See the June 2024 connector release notes and the related
README section for more details.
- If you have both versions but wish to use the
Under the Hood:
- Updated the pull request templates.
- Included auto-releaser GitHub Actions workflow to automate future releases.
Full Changelog: v0.1.1...v0.2.0
v0.1.1 dbt_recharge_source
PR #10 includes the following updates:
Bug fixes
- In
stg_recharge__subscription_history, updated model to use the source'supdated_atcolumn to determine the most recent record. This column is part of the primary key for the history table and is definitive, while the prior_fivetran_syncedwas less meaningful.
Full Changelog: v0.1.0...v0.1.1
v0.1.0 dbt_recharge_source
🎉 This is the initial release of this package! 🎉
📣 What does this dbt package do?
- Materializes Recharge staging tables, which leverage data in the format described by this ERD. These staging tables clean, test, and prepare your Recharge data from Fivetran's connector for analysis by doing the following:
- Names columns for consistency across all packages and for easier analysis
- Adds freshness tests to source data
- Adds column-level testing where applicable. For example, all primary keys are tested for uniqueness and non-null values.
- Generates a comprehensive data dictionary of your Recharge data through the dbt docs site.
- These tables are designed to work simultaneously with our Recharge transformation package.
- For more information refer to the README.