Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8128077
starting
fivetran-jamie Jul 15, 2025
fee2ff7
stuff
fivetran-jamie Jul 16, 2025
07709e3
orders, order_lines, inventory_levels, transactions, quasi-discounts
fivetran-jamie Jul 17, 2025
73694a1
metafields and daily_shop
fivetran-jamie Jul 17, 2025
9c4e91b
pacckage
fivetran-jamie Jul 18, 2025
c31c7ef
GraphQL updates: Custmomer + line item enhanced
fivetran-avinash Jul 18, 2025
b84f7dd
Tweaks (#110)
fivetran-jamie Jul 21, 2025
ef96b8b
Update/graphql jamie (#111)
fivetran-jamie Jul 23, 2025
9925a45
Update/graphql jamie (#112)
fivetran-jamie Jul 24, 2025
5f7f19c
fix fanout in orders
fivetran-jamie Jul 24, 2025
26a8563
fix fanout in orders
fivetran-jamie Jul 24, 2025
9077117
fix fulfillment seed
fivetran-jamie Jul 24, 2025
def3aa0
joe feedback
fivetran-jamie Aug 1, 2025
c84a6c2
fix conflicts
fivetran-jamie Aug 1, 2025
a0ea490
packages.yml
fivetran-jamie Aug 1, 2025
41e420c
docs
fivetran-jamie Aug 1, 2025
25ece22
model count
fivetran-jamie Aug 1, 2025
ca22540
code
fivetran-jamie Aug 4, 2025
34fcf66
seed data
fivetran-jamie Aug 5, 2025
dcb0e32
date
fivetran-jamie Aug 6, 2025
f32b400
docs generator seed data
fivetran-jamie Aug 6, 2025
2a65bce
try materializing as views
fivetran-jamie Aug 6, 2025
38452d7
Generate dbt docs via GitHub Actions
github-actions[bot] Aug 6, 2025
ff60d33
limit to only relevant int models as views
fivetran-jamie Aug 6, 2025
262f1bf
Merge branch 'update/graphql' of https://github.com/fivetran/dbt_shop…
fivetran-jamie Aug 6, 2025
0bc3067
Generate dbt docs via GitHub Actions
github-actions[bot] Aug 6, 2025
c2d26a2
Apply suggestions from code review
fivetran-jamie Aug 6, 2025
c05383b
Update packages.yml
fivetran-jamie Aug 6, 2025
ddf184c
pre-release
fivetran-jamie Aug 7, 2025
782cfbf
prep
fivetran-jamie Aug 7, 2025
b5f7877
merge
fivetran-jamie Aug 7, 2025
834b2ed
changelog
fivetran-jamie Aug 7, 2025
0da213c
Generate dbt docs via GitHub Actions
github-actions[bot] Aug 7, 2025
c3ac224
packages.yml
fivetran-jamie Aug 11, 2025
e230169
prerelease
fivetran-jamie Sep 3, 2025
1730157
Readme
fivetran-jamie Sep 3, 2025
63b15b0
Generate dbt docs via GitHub Actions
github-actions[bot] Sep 4, 2025
3969bc8
update package ref
fivetran-jamie Sep 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .quickstart/quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ destination_configurations:
search_order: [ 'spark_utils', 'dbt_utils' ]

public_models: [
"shopify__customer_email_cohorts",
"shopify__customer_cohorts",
"shopify__discounts",
"shopify__customer_emails",
"shopify__inventory_levels",
"shopify__orders",
"shopify__daily_shop",
"shopify__products",
"shopify__transactions",
"shopify__customers",
"shopify__order_lines",
"shopify__line_item_enhanced"
"shopify_gql__customer_email_cohorts",
"shopify_gql__customer_cohorts",
"shopify_gql__discounts",
"shopify_gql__customer_emails",
"shopify_gql__inventory_levels",
"shopify_gql__orders",
"shopify_gql__daily_shop",
"shopify_gql__products",
"shopify_gql__transactions",
"shopify_gql__customers",
"shopify_gql__order_lines",
"shopify_gql__line_item_enhanced"
]
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# dbt_shopify v0.21.2-a1

[PR #115](https://github.com/fivetran/dbt_shopify/pull/115) introduces the following changes:

## Feature Update
This pre-release ensures that the GraphQL API-based models are run by default, rather than the REST API ones. It therefore updates the default value of the `shopify_api` [variable](https://github.com/fivetran/dbt_shopify?tab=readme-ov-file#step-3-define-rest-api-or-graphql-api-source) to be `graphql` instead of its original `rest` value.

This release is intended to be used by Fivetran Quickstart users who cannot manually adjust the `shopify_api` variable value and have GraphQL Shopify connections.

> This pre-release merges updates from [v0.21.0](https://github.com/fivetran/dbt_shopify/blob/update/graphql/CHANGELOG.md#dbt_shopify-v0210) and [v0.21.1](https://github.com/fivetran/dbt_shopify/blob/update/graphql/CHANGELOG.md#dbt_shopify-v0211) into the pre-existing [v0.21.0-a1](https://github.com/fivetran/dbt_shopify/blob/update/graphql/CHANGELOG.md#dbt_shopify_source-v0200-a1) version.

## Under the Hood
With the above in mind, we have updated the `public_models` config in the `quickstart.yml` file to reflect the GraphQL end models only.

# dbt_shopify v0.21.1

[PR #119](https://github.com/fivetran/dbt_shopify/pull/119) includes the following updates:
Expand All @@ -19,6 +33,18 @@
- Removed all `dbt_utils.unique_combination_of_columns` tests.
- Removed all `accepted_values` tests.

# dbt_shopify_source v0.21.0-a1

[PR #115](https://github.com/fivetran/dbt_shopify_source/pull/114) introduces the following changes:

## Feature Update
This pre-release adjusts v0.20.0 so that the GraphQL API-based models are run by default, rather than the REST API ones. It therefore updates the default value of the `shopify_api` [variable](https://github.com/fivetran/dbt_shopify?tab=readme-ov-file#step-3-define-rest-api-or-graphql-api-source) to be `graphql` instead of its original `rest` value.

This release is intended to be used by Fivetran Quickstart users who cannot manually adjust the `shopify_api` variable value and have GraphQL Shopify connections.

## Under the Hood
With the above in mind, we have updated the `public_models` config in the `quickstart.yml` file to reflect the GraphQL end models only.

# dbt_shopify v0.20.0

[PR #113](https://github.com/fivetran/dbt_shopify/pull/113) introduces the following updates:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ If you are **not** using the [Shopify Holistic reporting package](https://github
```yml
packages:
- package: fivetran/shopify
version: [">=0.21.0", "<0.22.0"] # we recommend using ranges to capture non-breaking changes automatically
version: 0.21.2-a1
```

Do **NOT** include the `shopify_source` package in this file. The transformation package itself has a dependency on it and will install the source package as well.
Expand All @@ -174,13 +174,13 @@ dispatch:
### Step 3: Define REST API or GraphQL API Source
Fivetran has released a version of the Shopify connector that leverages Shopify's newer [GraphQL](https://shopify.dev/docs/apps/build/graphql) API instead of the REST API, as Shopify deprecated the REST API in October 2024. The GraphQL and REST API-based schemas are slightly different, so this package is designed to run either or, not both. It will do so based on the value of the `shopify_api` variable.

By default, `shopify_api` is set to `rest` and will run the `shopify__*` models in the [rest](https://github.com/fivetran/dbt_shopify/tree/main/models/rest) folder. If you would like to run the package on a GraphQL-based schema, adjust `shopify_api` accordingly. This will run the `shopify_gql__*` models in the [graphql](https://github.com/fivetran/dbt_shopify/tree/main/models/graphql) folder:
By default for this `v0.21.2-a1` release, `shopify_api` is set to `graphql` and will run the `shopify_gql__*` models in the [graphql](https://github.com/fivetran/dbt_shopify/tree/main/models/graphql) folder. If you would like to run the package on a REST-based schema, adjust `shopify_api` accordingly or use [`v0.21.1`](https://github.com/fivetran/dbt_shopify/releases/tag/v0.21.1) of this package. This will run the `shopify__*` models in the [rest](https://github.com/fivetran/dbt_shopify/tree/main/models/rest) folder:

> This variable is dynamically configured for you in Fivetran Quickstart based on your Shopify connection details.

```yml
vars:
shopify_api: graphql # By default = rest. Must be lowercase
shopify_api: rest # By default = grahql. Must be lowercase
```

Overall, the package aims for parity across the different API versions and aligns column names with their REST names, **if the fields are supported in GraphQL**. There will be a 1:1 relationship between REST API and GraphQL based end models, but please note that the following source tables are not present in GraphQL and will therefore not be included in any transformations:
Expand Down Expand Up @@ -392,7 +392,7 @@ This dbt package is dependent on the following dbt packages. These dependencies
```yml
packages:
- package: fivetran/shopify_source
version: [">=0.20.0", "<0.21.0"]
version: 0.20.1-a1

- package: fivetran/fivetran_utils
version: [">=0.4.0", "<0.5.0"]
Expand Down
4 changes: 3 additions & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'shopify'
version: '0.21.1'
version: '0.21.2'
config-version: 2
require-dbt-version: [">=1.3.0", "<2.0.0"]
models:
Expand Down Expand Up @@ -29,6 +29,8 @@ models:

vars:
shopify:
shopify_api: graphql # rest on official release

shopify_customer: "{{ ref('stg_shopify__customer') }}"
shopify_order: "{{ ref('stg_shopify__order') }}"
shopify_order_line: "{{ ref('stg_shopify__order_line') }}"
Expand Down
2 changes: 1 addition & 1 deletion docs/catalog.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/manifest.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'shopify_integration_tests'
version: '0.21.1'
version: '0.21.2'
profile: 'integration_tests'
config-version: 2

Expand All @@ -21,6 +21,7 @@ vars:

shopify_schema: shopify_integration_tests_17
shopify_api_override: rest
shopify_api: rest # so Buildkite will still run both sets of models

shopify_source:
shopify_customer_identifier: "shopify_customer_data"
Expand Down
2 changes: 1 addition & 1 deletion packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- package: fivetran/shopify_source
version: [">=0.20.0", "<0.21.0"]
version: 0.20.1-a1