Skip to content

Releases: fivetran/dbt_recharge

v1.4.1 dbt_recharge

29 Jan 20:03
aed4bc8

Choose a tag to compare

PR #46 includes the following updates:

Under the Hood

  • Removes the recharge_first_date and recharge_last_date variables from the quickstart.yml.

Full Changelog: v1.4.0...v1.4.1

v1.4.0 dbt_recharge

20 Jan 20:58
1b8fe43

Choose a tag to compare

PR #44 includes the following updates:

Documentation

  • Updates README with standardized Fivetran formatting.

Under the Hood

  • In the quickstart.yml file:
    • Adds table_variables for relevant sources to prevent missing sources from blocking downstream Quickstart models.
    • Adds supported_vars for Quickstart UI customization.

Full Changelog: v1.3.0...v1.4.0

v1.3.0 dbt_recharge

01 Dec 22:11
f9c906d

Choose a tag to compare

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

11 Nov 23:29
1d585e7

Choose a tag to compare

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_relation column 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_spine to include compile-time guards and determine spine boundaries from ref('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

10 Sep 16:35
a1698b7

Choose a tag to compare

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_product
stg_recharge__order
recharge__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_*_column macros.

Full Changelog: v1.0.0...v1.1.0

v1.0.0 dbt_recharge

14 Aug 16:22
a28ec5c

Choose a tag to compare

PR #34 includes the following updates:

Breaking Changes

Source Package Consolidation

  • Removed the dependency on the fivetran/recharge_source package.
    • All functionality from the source package has been merged into this transformation package for improved maintainability and clarity.
    • If you reference fivetran/recharge_source in your packages.yml, you must remove this dependency to avoid conflicts.
    • Any source overrides referencing the fivetran/recharge_source package 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_columns tests.
    • Removed all accepted_values tests.
    • Moved loaded_at_field: _fivetran_synced under the config: block in src_recharge.yml.

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

14 Jul 20:56
e93c3be

Choose a tag to compare

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_history to cast orders.is_prepaid as 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 the CUSTOMER source, staging, and end models.

Under the Hood

  • Added a new ORDERS seed data file to properly test cases where is_prepaid is 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_history and consistency_customer_details validation tests.

Full Changelog: v0.4.0...v0.5.0

v0.4.0 dbt_recharge

28 May 19:33
67f51c3

Choose a tag to compare

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_enhanced model by default. Previously, this model required opting in via the recharge__standardized_billing_model_enabled variable. This change ensures the model is available by default for Quickstart users.
    • Users can still disable the model by setting the variable to false in dbt_project.yml.

Full Changelog: v0.3.1...v0.4.0

v0.3.1 dbt_recharge

14 Apr 19:46
36c3fdc

Choose a tag to compare

PR #27 includes the following changes:

Bug Fixes

  • For Quickstart users, removed recharge__line_item_enhanced from the public models list in quickstart.yml since the model is disabled by default.
  • In recharge__charge_line_item_history, updated the discounts section to pull directly from the charges table. 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

14 Aug 19:20
e9e85ff

Choose a tag to compare

PR #17 includes the following updates:

Features

  • Addition of the recharge__line_item_enhanced model. 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_enhanced model 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_enabled as true in your dbt_project.yml.

Breaking Changes

  • In the dbt_recharge_source v0.3.0 release, 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_columns var, 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_enabled to true in your dbt_project.yml file. 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.
  • Added the following columns to model stg_recharge__customer. See this doc for field definitions.

    • billing_first_name
    • billing_last_name
    • billing_company
    • billing_city
    • billing_country

Full Changelog: v0.2.0...v0.3.0