Skip to content

Releases: fivetran/dbt_shopify_source

dbt_shopify_source v0.7.0

03 Jan 21:51
0294433
Compare
Choose a tag to compare

🚨 Breaking Changes 🚨:

PR #36 includes the following breaking changes:

  • Dispatch update for dbt-utils to dbt-core cross-db macros migration. Specifically {{ dbt_utils.<macro> }} have been updated to {{ dbt.<macro> }} for the below macros:
    • any_value
    • bool_or
    • cast_bool_to_text
    • concat
    • date_trunc
    • dateadd
    • datediff
    • escape_single_quotes
    • except
    • hash
    • intersect
    • last_day
    • length
    • listagg
    • position
    • replace
    • right
    • safe_cast
    • split_part
    • string_literal
    • type_bigint
    • type_float
    • type_int
    • type_numeric
    • type_string
    • type_timestamp
    • array_append
    • array_concat
    • array_construct
  • For current_timestamp and current_timestamp_in_utc macros, the dispatch AND the macro names have been updated to the below, respectively:
    • dbt.current_timestamp_backcompat
    • dbt.current_timestamp_in_utc_backcompat
  • Dependencies on fivetran/fivetran_utils have been upgraded, previously [">=0.3.0", "<0.4.0"] now [">=0.4.0", "<0.5.0"].

shopify_source 0.6.0

22 Dec 01:46
c7b95b8
Compare
Choose a tag to compare

🎉 dbt v1.0.0 Compatibility 🎉

🚨 Breaking Changes 🚨

  • Adjusts the require-dbt-version to now be within the range [">=1.0.0", "<2.0.0"]. Additionally, the package has been updated for dbt v1.0.0 compatibility. If you are using a dbt version <1.0.0, you will need to upgrade in order to leverage the latest version of the package.

    • For help upgrading your package, I recommend reviewing this GitHub repo's Release Notes on what changes have been implemented since your last upgrade.
    • For help upgrading your dbt project to dbt v1.0.0, I recommend reviewing dbt-labs upgrading to 1.0.0 docs for more details on what changes must be made.
  • Upgrades the package dependency to refer to the latest dbt_fivetran_utils. The latest dbt_fivetran_utils package also has a dependency on dbt_utils [">=0.8.0", "<0.9.0"].

    • Please note, if you are installing a version of dbt_utils in your packages.yml that is not in the range above then you will encounter a package dependency error.
  • The union_schemas and union_databases variables have been replaced with shopify_union_schemas and shopify_union_databases respectively. This allows for multiple packages with the union ability to be used and not locked to a single variable that is used across packages.

dbt_shopify_source 0.5.2

01 Dec 21:20
e262987
Compare
Choose a tag to compare

Happy Wednesday!

This release includes the following updates to the dbt_shopify_source package:

Under the Hood

Rearranged the ordering of the columns within the get_order_columns macro. This ensure the output of the models within the downstream Shopify Holistic Reporting package are easier to understand and interpret. (#29)

Ability to Disable Order Adjustment and Refunds Models

08 Sep 19:49
Compare
Choose a tag to compare

Happy Wednesday!

This release includes the following added features to the Fivetran Shopify Source dbt package:

  • Ability to disable the order_adjustment, order_line_refund, and refund staging models if you do not currently sync them by leveraging the variables highlighted within the README. PR #24

dbt 0.20.0 Compatibility

05 Aug 14:46
eda9beb
Compare
Choose a tag to compare

🎉 dbt 0.20.0 Compatibility 🎉

🚨 This is a breaking change! 🚨 dbt v0.20.0 or greater is required for this release. If you are not ready to upgrade, consider using a previous release of this package.

Additional considerations when upgrading to this package:

  • This package utilizes the latest v0.7.x release of the dbt-labls/dbt_utils package. If your project also utilizes a version of the fishtown-analytics/dbt_utils package then you will receive a duplicate package error. If this is the case you will need to consider upgrading your other packages to be compatible with this update or use a previous release of this package.
  • Similar to the above point, all previous Fivetran dbt packages utilize the fishtown-analytics/dbt_utils package and you will need to upgrade all Fivetran dbt packages to the latest dbt 0.20.0 compatibility releases in order for your packages to run without package conflicts.
  • For Databricks users this compatibility is currently only available for >=dbt 0.20.1rc1. If you want more information on upgrading your dbt-spark version, you can refer to the dbt-spark release for further details.

Fivetran Utils Dependency Update

09 Jul 11:32
e7d31b7
Compare
Choose a tag to compare

🚧 Fivetran Utils Dependency Update 🚧

This release includes the following non-breaking changes:

  • Update to the packages.yml to reference the recently released Fivetran Utils package. This is a necessary update to ensure this package is compatible with previous dbt releases before dbt v0.20.0 updates take place.

README Typo Fix

28 Jun 20:41
2cf4947
Compare
Choose a tag to compare

Happy Monday!

This release includes the following non-breaking changes:

  • Typo fix within the README to reference the correct union_schemas variable. PR #19

Union Source Data Functionality (Breaking Change)

23 Jun 15:38
Compare
Choose a tag to compare

🚨 BREAKING CHANGE 🚨 Unioning Shopify source data has been a frequent request from package users. This release incorporates just that functionality!

  • The ability to union Shopify source data using this package. This is done by utilizing the union_schema and union_databases variables. A user can add the schemas they would like to union or the databases they would like to union (must be one or the other) together and produce unioned results downstream.

Thanks so much to @DylanBaker for his stellar work on getting this functionality to work in this package! 🎉

Features Updates + custom schema (breaking change 🚨)

27 May 01:33
5ec9a1e
Compare
Choose a tag to compare

This release incorporates the following new features:

  • Databricks and Postgres compatibility
  • Custom schema integration (breaking change 🚨)
  • Addition of the transaction, refund, and order_adjustment source tables!
  • Github pages integration

Package Upgrades + dbt Required version

17 Feb 20:21
Compare
Choose a tag to compare

🚨 This release contains breaking changes. Updates include:

  • Requiring a specific version of dbt (0.18.0 - 0.20.0), to prevent future issues.
  • Some column names have been updated to either align with our naming conventions or be more verbose to provide clarity.
model current name proposed name
stg_shopify__order buyer_accepts_marketing has_buyer_accepted_marketing
  taxes_included has_taxes_included
  test is_test_order
stg_shopify__customer accepts_marketing has_accepted_marketing
  state account_state
stg_shopify__order_line gift_card is_gift_card
  requires_shipping is_requiring_shipping