Skip to content
Open

7.x #195

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
f066ee7
Merge branch '6.x' into 7.x
nfourtythree Nov 27, 2025
58377bb
Bump shopify dep
nfourtythree Nov 27, 2025
c1d848b
Revert "Bump shopify dep"
nfourtythree Nov 27, 2025
e3edd7a
Bump shopify deps
nfourtythree Nov 27, 2025
1fa402b
Add `SHOPIFY_WEBHOOK_BASE_URL` for local dev webhooks
nfourtythree Nov 27, 2025
35d26e7
Move to new way of creating integration apps
nfourtythree Nov 27, 2025
054fcf6
Added new Media, Meta fields, Options and Variants native fields
nfourtythree Dec 3, 2025
3ff4ecf
Move variants to be actual models
nfourtythree Jan 14, 2026
2f32c8f
cleanup
nfourtythree Jan 14, 2026
0832474
tidy
nfourtythree Jan 14, 2026
4740182
Fix variants link
nfourtythree Jan 14, 2026
32a52ea
Merge branch '6.x' into 7.x
nfourtythree Jan 19, 2026
738c9a9
New Shopify API connection instructions
AugustMiller Jan 28, 2026
04573ed
Indentation?
AugustMiller Jan 28, 2026
56d817b
Indentation, again?
AugustMiller Jan 28, 2026
4bdf926
IIIndentation
AugustMiller Jan 28, 2026
cbd319b
Handle different response structure in low-level credential/connectio…
AugustMiller Jan 28, 2026
a3c1d44
Array, rather than "not string"
AugustMiller Jan 28, 2026
283c0f6
Harden settings controller permissions
AugustMiller Jan 29, 2026
9bec5e2
Require specific permissions to view + manage webhooks
AugustMiller Jan 29, 2026
95cf4ea
Guard utility side-effects with permission check
AugustMiller Jan 29, 2026
27e9a02
Require access to utility to start sync
AugustMiller Jan 29, 2026
e8365a1
The --throttle option is no longer used
AugustMiller Jan 29, 2026
4aea8f1
Merge branch '6.x' into 7.x
nfourtythree Jan 30, 2026
cf98fb9
Move from `apiKey` and `apiSecretKey` to `clientId` and `clientSecret…
nfourtythree Jan 30, 2026
60e9291
Use user interaction oauth process
nfourtythree Feb 6, 2026
4ff0c55
Move to storing the access token in the env file/db
nfourtythree Feb 6, 2026
df5a7a7
Tidy auth controller visuals
nfourtythree Feb 6, 2026
0b54170
fix cs
nfourtythree Feb 6, 2026
7fd16c6
fix cs/phpstan
nfourtythree Feb 9, 2026
ded2847
Fix forcing of resaving the access token if authorization happens again
nfourtythree Feb 9, 2026
66bb79b
Add API console controller for debugging
AugustMiller Feb 17, 2026
c4c6a60
Normalize case for Shopify bulk op statuses in the CP
AugustMiller Feb 17, 2026
de1e0ea
All bulk op work is done via the API
AugustMiller Feb 17, 2026
d2b5ba2
Consolidate API error handling into service layer
AugustMiller Feb 19, 2026
bc18e89
Simplify fetching of inventory items and products in response to webh…
AugustMiller Feb 19, 2026
06e4d93
Readme overhaul for OAuth app creation and connection
AugustMiller Feb 19, 2026
a78cb77
Don't try title-casing a null string.
AugustMiller Feb 19, 2026
3062158
PHPstan fixes
nfourtythree Feb 19, 2026
aabc0f1
Move templating back into controller to be similar to other Craft and…
nfourtythree Feb 19, 2026
bca5b76
Tidy webhook delete form to use correct elements
nfourtythree Feb 19, 2026
3fd39e1
Fix display error with complex metafield values
AugustMiller Feb 20, 2026
f0d43c8
Additional info about the bulk op engine
AugustMiller Feb 20, 2026
931042b
Fix variant output in sidebar
nfourtythree Feb 20, 2026
37ea5bc
Merge remote-tracking branch 'origin/feature/7.x-new-oauth-process' i…
AugustMiller Feb 20, 2026
3d5af1a
Add “template suffix” condition rule, query param, etc.
AugustMiller Feb 23, 2026
1ce1dae
Use constant for `shopifyStatus` initial value
AugustMiller Feb 23, 2026
b527232
Add `descriptionHtml` to searchable attributes
AugustMiller Feb 23, 2026
a44d295
Fix casing
AugustMiller Feb 23, 2026
9c38535
Fix casing
AugustMiller Feb 23, 2026
c6a6d01
Add EVENT_DEFINE_PRODUCT_GQL_FIELDS to allow developers to supplement…
AugustMiller Feb 23, 2026
a5c6b2d
Clarify what kind of ID
AugustMiller Feb 23, 2026
a1eaef0
Already imported
AugustMiller Feb 23, 2026
0c09e0d
Another readme overhaul, for API compatibility
AugustMiller Feb 24, 2026
4a852d1
out -> our
AugustMiller Feb 24, 2026
5510c77
Fix incomplete sentence
AugustMiller Feb 24, 2026
9c69b16
Note the source of slugs for Product elements
AugustMiller Feb 24, 2026
0535b2b
Merge pull request #197 from craftcms/feature/7.x-new-oauth-process
nfourtythree Feb 25, 2026
9c6c5f4
Move from `SHOPIFY_WEBHOOK_BASE_URL` to `SHOPIFY_PUBLIC_DEV_URL` for …
nfourtythree Feb 25, 2026
3457b72
Merge branch 'feature/7.x-new-oauth-process' into 7.x
nfourtythree Feb 25, 2026
385e404
update readme with `SHOPIFY_PUBLIC_DEV_URL`
nfourtythree Feb 25, 2026
55fa9e9
changelog tweak
nfourtythree Feb 25, 2026
27f73d0
Correct upgrade banner
AugustMiller Feb 26, 2026
df54181
+a +system
AugustMiller Feb 26, 2026
5f45cf5
Make sure embed app is unchecked
nfourtythree Mar 3, 2026
9102239
Bump deps
nfourtythree Mar 3, 2026
00d9561
fix phpstan
nfourtythree Mar 3, 2026
92eba3d
Singularize env var name to match
AugustMiller Mar 4, 2026
4d01e9e
Remove UPGRADE.md
AugustMiller Mar 4, 2026
dd8ffaf
ProductImage -> MediaImage
AugustMiller Mar 5, 2026
742b4e6
Fix images templating example
AugustMiller Mar 5, 2026
1740ccc
Unambiguous language about partner dashboard
AugustMiller Mar 9, 2026
2677774
New event docs
AugustMiller Mar 9, 2026
6d9d69e
Import
AugustMiller Mar 9, 2026
acda913
Remove reference to directly accessing api/GQL client, replace with g…
AugustMiller Mar 9, 2026
33283e8
Add jump/ref
AugustMiller Mar 9, 2026
8e730c0
Remove `publishedOnCurrentPublication`
nfourtythree Mar 10, 2026
482bc64
WIP query argument event
nfourtythree Mar 10, 2026
f3b6779
Merge branch '7.x' of github.com:craftcms/shopify into 7.x
nfourtythree Mar 10, 2026
2bedeb4
Bump schema to force migration
nfourtythree Mar 10, 2026
ac380f7
Update readme
nfourtythree Mar 10, 2026
f656619
Tidy changelog
nfourtythree Mar 10, 2026
a793f01
Tidy up deprecations
nfourtythree Mar 10, 2026
3fa3e2d
fix cs
nfourtythree Mar 10, 2026
29789de
Move from `currentBulkOperation` query to `bulkOperations`
nfourtythree Mar 10, 2026
078aad0
Re-phrase a few entries in the changelog
AugustMiller Mar 18, 2026
e878fd2
Fix a number of Shopify API URLs
AugustMiller Mar 18, 2026
991ca8b
Handful of readme fixes
AugustMiller Mar 18, 2026
c6d034d
Emulating sales channels section
AugustMiller Mar 18, 2026
753c28c
Remove `accessToken` from the possible settings that can be configure…
nfourtythree Mar 18, 2026
ee2dbe8
Revert "Remove `accessToken` from the possible settings that can be c…
nfourtythree Mar 18, 2026
09c306e
Tidy changelog and PHP docs
nfourtythree Mar 18, 2026
9b063c3
Merge branch '6.x' into 7.x
nfourtythree Mar 18, 2026
474cca8
Remove trailing spaces
brandonkelly Mar 18, 2026
a48913d
Tweaks
brandonkelly Mar 18, 2026
faa32e5
Remove incomplete/dangling sentence
AugustMiller Mar 18, 2026
205ef39
Additional info available via `craft.shopify.store`
AugustMiller Mar 18, 2026
f408bff
New location for currencyCode
AugustMiller Mar 18, 2026
3470236
More on contextual pricing
AugustMiller Mar 18, 2026
6036e52
Merge remote-tracking branch 'origin/7.x' into 7.x
AugustMiller Mar 18, 2026
a5c0787
Restore partial edit of upgrade notice
AugustMiller Mar 18, 2026
5ececd9
Note about selecting additional data
AugustMiller Mar 18, 2026
c0cd11c
Finish 7.0.0
nfourtythree Mar 19, 2026
1fb7266
Update CI
nfourtythree Mar 19, 2026
c510410
Merge branch '6.x' into 7.x
nfourtythree Mar 20, 2026
d69dff2
Finish 7.0.1
nfourtythree Mar 20, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
push:
branches:
- '6.x'
- '7.x'
pull_request:
permissions:
contents: read
Expand Down
63 changes: 61 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,68 @@
# Release Notes for Shopify

## Unreleased
## 7.0.1 - 2026-03-20

- Fixed a PHP error that could occur when retrieving products. ([#202](https://github.com/craftcms/shopify/issues/202))

## 7.0.0 - 2026-03-19

> [!IMPORTANT]
> Shopify for Craft 7.x uses a new app-based authorization system.
> Follow the [upgrade instructions](https://github.com/craftcms/shopify/blob/7.x/README.md#upgrading) to get new credentials.

- Shopify for Craft now requires version `2026-01` of Shopify’s GraphQL Admin API.
- Shopify for Craft now requires Shopify PHP SDK 6.0 or later.
- Added support for setting the base webhook and auth URL using the `SHOPIFY_PUBLIC_DEV_URL` environment variable. ([#185](https://github.com/craftcms/shopify/issues/185))
- Product conditions can now have a “Template Suffix” rule.
- Added the “Shopify Sync” permission.
- Added the `templateSuffix` product query param.
- Added `craft\shopify\collections\VariantCollection`.
- Added `craft\shopify\console\controllers\ApiController`.
- Added `craft\shopify\controllers\AuthController`.
- Added `craft\shopify\db\Table::ACCESS_TOKENS`.
- Added `craft\shopify\elements\conditions\products\TemplateSuffixConditionRule`.
- Added `craft\shopify\elements\db\ProductQuery::$templateSuffix`.
- Added `craft\shopify\elements\db\ProductQuery::templateSuffix()`.
- Added `craft\shopify\events\DefineGqlFieldsEvent`.
- Added `craft\shopify\events\DefineGqlQueryArgumentsEvent`.
- Added `craft\shopify\fieldlayoutelements\MediaField`.
- Added `craft\shopify\fieldlayoutelements\MetafieldsField`.
- Added `craft\shopify\fieldlayoutelements\OptionsField`.
- Added `craft\shopify\fieldlayoutelements\VariantsField`.
- Added `craft\shopify\models\Settings::getAuthUrl()`.
- Added `craft\shopify\models\Settings::getClientId()`.
- Added `craft\shopify\models\Settings::getClientSecret()`.
- Added `craft\shopify\models\Settings::setClientId()`.
- Added `craft\shopify\models\Settings::setClientSecret()`.
- Added `craft\shopify\models\Variant`.
- Added `craft\shopify\records\AccessToken`.
- Added `craft\shopify\services\Api::API_ACCESS_TOKEN_ENV_VAR`.
- Added `craft\shopify\services\Api::EVENT_DEFINE_GQL_QUERY_ARGUMENTS`.
- Added `craft\shopify\services\Api::EVENT_DEFINE_PRODUCT_GQL_FIELDS`.
- Added `craft\shopify\services\Api::getAccessToken()`.
- Added `craft\shopify\services\Api::initializeContext()`.
- `craft\shopify\elements\Product::getCheapeastVariant()` now returns a `craft\shopify\models\Variant` object.
- `craft\shopify\elements\Product::getDefaultVariant()` now returns a `craft\shopify\models\Variant` object.
- `craft\shopify\elements\Product::getVariants()` now returns a collection.
- Deprecated the `--throttle` option for `shopify/sync` commands.
- Deprecated `craft\shopify\models\Settings::getApiKey()`. `getClientId()` should be used instead.
- Deprecated `craft\shopify\models\Settings::getApiSecretKey()`. `getClientSecret()` should be used instead.
- Deprecated `craft\shopify\models\Settings::setApiKey()`. `setClientId()` should be used instead.
- Deprecated `craft\shopify\models\Settings::setApiSecretKey()`. `setClientSecret()` should be used instead.
- Removed the `publishedOnCurrentPublication` product query param.
- Removed `craft\shopify\controllers\ProductsController::actionRenderCardHtml()`.
- Removed `craft\shopify\elements\Product::$publishedOnCurrentPublication`.
- Removed `craft\shopify\elements\Product::getBodyHtml()`.
- Removed `craft\shopify\elements\Product::setBodyHtml()`.
- Removed `craft\shopify\elements\db\ProductQuery::$publishedOnCurrentPublication`.
- Removed `craft\shopify\elements\db\ProductQuery::publishedOnCurrentPublication()`.
- Removed `craft\shopify\handlers\Product`.
- Removed `craft\shopify\helpers\Metafields`.
- Removed `craft\shopify\models\Settings::$syncProductMetafields`.
- Removed `craft\shopify\models\Settings::$syncVariantMetafields`.
- Removed `craft\shopify\services\Products::syncAllProducts()`.
- Fixed a bug where product slugs weren’t syncing correctly.

## 6.1.3 - 2026-01-19

- Fixed a PHP error that could occur when contextual pricing countries aren’t set. ([#191](https://github.com/craftcms/shopify/issues/191))
Expand Down Expand Up @@ -192,7 +251,7 @@

- Shopify now requires Craft CMS 5.0.0-beta.10 or later.

## 4.1.2 - 2024-04-15
## 4.1.2 - 2024-04-15

- Fixed a PHP error that could occur when syncing products with emojis. ([#107](https://github.com/craftcms/shopify/issues/107))
- Fixed a PHP error that could occur when syncing products. ([#105](https://github.com/craftcms/shopify/issues/105))
Expand Down
Loading
Loading