diff --git a/CHANGELOG.md b/CHANGELOG.md index e6a6ed134..2b95e5eeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ Unreleased * Bump [Shopify API](https://github.com/Shopify/shopify-api-ruby) to version 11.0.0. It includes [these updates](https://github.com/Shopify/shopify-api-ruby/blob/main/CHANGELOG.md#version-1100). The breaking change relates to the removal of API version `2021-07` support. * Internal update, adding App Bridge 3 for redirect (only). [#1458](https://github.com/Shopify/shopify_app/pull/1458) +19.1.1 (July 6, 2022) +---------- + +* Accept extra keyword arguments to WebhooksManagerJob to ease upgrade path from v18 or older (https://github.com/Shopify/shopify_app/pull/1466) + 19.1.0 (June 20, 2022) ---------- diff --git a/lib/shopify_app/jobs/webhooks_manager_job.rb b/lib/shopify_app/jobs/webhooks_manager_job.rb index a92db4a25..4514cd423 100644 --- a/lib/shopify_app/jobs/webhooks_manager_job.rb +++ b/lib/shopify_app/jobs/webhooks_manager_job.rb @@ -6,7 +6,7 @@ class WebhooksManagerJob < ActiveJob::Base ShopifyApp.configuration.webhooks_manager_queue_name end - def perform(shop_domain:, shop_token:) + def perform(shop_domain:, shop_token:, **) ShopifyAPI::Auth::Session.temp(shop: shop_domain, access_token: shop_token) do |session| WebhooksManager.create_webhooks(session: session) end