From 7e050bcc5afa7b20317b892e5e829ab9f6926686 Mon Sep 17 00:00:00 2001 From: Thomas Edgesmith Date: Tue, 26 Nov 2024 09:02:31 -0800 Subject: [PATCH] Drop log_v23_deprecations console warning --- lib/shopify_app/configuration.rb | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/lib/shopify_app/configuration.rb b/lib/shopify_app/configuration.rb index 2f2be695e..7ced26cf0 100644 --- a/lib/shopify_app/configuration.rb +++ b/lib/shopify_app/configuration.rb @@ -62,8 +62,6 @@ def initialize @webhooks_manager_queue_name = Rails.application.config.active_job.queue_name @disable_webpacker = ENV["SHOPIFY_APP_DISABLE_WEBPACKER"].present? @scope = [] - - log_v23_deprecations end def login_url @@ -165,25 +163,6 @@ def post_authenticate_tasks task_class end end - - private - - def log_v23_deprecations - return unless Rails.env.development? - - # TODO: Remove this before releasing v23.0.0 - message = <<~EOS - ================================================ - => Upcoming changes in v23.0: - * 'CallbackController::perform_after_authenticate_job' and related methods 'install_webhooks', 'perform_after_authenticate_job' - * are deprecated and will be removed from CallbackController in the next major release. If you need to customize - * post authentication tasks, see https://github.com/Shopify/shopify_app/blob/main/docs/shopify_app/authentication.md#post-authenticate-tasks - - * ShopifyApp::JWTMiddleware will be removed, use ShopifyApp::WithShopifyIdToken instead. - ================================================ - EOS - puts message - end end class BillingConfiguration