Google for WooCommerce

Release-by-release breaking change history · 800k+ active installs

MEDIUM RISK

3.8.1 → 3.9.0

Medium risk: 12 method signature changes, 2 removed methods, 1 removed class.

  • Automattic\WooCommerce\GoogleListingsAndAds\API\Site\Controllers\MerchantCenter\TargetAudienceController::__construct() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Admin\Admin::__construct() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Jobs\UpdateShippingSettings::__construct() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Menu\NotificationManager::__construct() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Menu\NotificationManager::performance_max_ad_strength_count() was removed.
  • Automattic\WooCommerce\GoogleListingsAndAds\Menu\NotificationManager::raise_budget_recommendations_count() was removed.
  • The class Automattic\WooCommerce\GoogleListingsAndAds\Menu\Shipping was removed. Code that instantiates or extends it will fatal.
  • Automattic\WooCommerce\GoogleListingsAndAds\Product\BatchProductHelper::__construct() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Product\BatchProductHelper::can_skip_unchanged_product() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductHelper::update_sync_hash() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductRepository::__construct() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Shipping\GoogleAdapter\DBShippingSettingsAdapter::create_shipping_service() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Shipping\GoogleAdapter\DBShippingSettingsAdapter::create_rate_group() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Shipping\GoogleAdapter\DBShippingSettingsAdapter::create_conditional_free_shipping_service() now requires more arguments than before.
  • Automattic\WooCommerce\GoogleListingsAndAds\Shipping\GoogleAdapter\WCShippingSettingsAdapter::create_shipping_service() now requires more arguments than before.
  • Requires at least — Minimum WordPress raised from 6.6 to 6.8.