NitroPack

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

MEDIUM RISK

1.19.9 → 1.20.0

Medium risk: 64 removed functions, 10 removed methods, 2 removed classes.

  • The function getNewCookie() was removed. Direct calls from a theme or another plugin will fatal.
  • The function getNewCookies() was removed. Direct calls from a theme or another plugin will fatal.
  • The function get_date_midpoint() was removed. Direct calls from a theme or another plugin will fatal.
  • The function initVariationCookies() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_activate() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_activation_redirect() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_check_func_availability() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_cookie_path_ajax() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_deactivate() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_detect_hosting() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_dismiss_hosting_notice() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_execute_invalidations() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_execute_purges() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_execute_warmups() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_frontpage_changed_handler() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_get_cookie_handler_script() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_get_heartbeat_script() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_get_hosting_notice_file() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_get_htaccess_path() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_get_ignored_get_params() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_get_layout() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_get_notice_id() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_get_wpconfig_path() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_handle_comment_post() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_handle_comment_transition() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_handle_compression_toggle() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_handle_post_transition() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_healthcheck() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_ignore_post_updates() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_admin() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_advanced_cache_allowed() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_ajax() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_amp_page() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_archive() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_autoscale_environment() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_blogindex() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_heartbeat_needed() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_home() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_logged_in() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_post() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_rest() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_robots() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_wp_cli() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_wp_cron() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_is_xmlrpc() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_load_textdomain() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_log_post_pre_update() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_log_product_pre_api_update() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_prevent_connecting() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_print_cookie_handler_script() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_print_heartbeat_script() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_queue_sort() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_set_batcache_compat() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_set_htaccess_rules() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_set_wp_cache_const() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_theme_handler() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_update_blog_compression() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_updated_option() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_upgrade_handler() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_validate_site_id() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_validate_site_secret() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_validate_wc_currency() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_validate_wc_currency_language() was removed. Direct calls from a theme or another plugin will fatal.
  • The function removeVariationCookies() was removed. Direct calls from a theme or another plugin will fatal.
  • The class NitroPack\PluginStateHandler was removed. Code that instantiates or extends it will fatal.
  • NitroPack\WordPress\NitroPack::isWpCli() was removed.
  • NitroPack\WordPress\Notifications\Notifications::test_mode_notification_html() was removed.
  • NitroPack\WordPress\Notifications\Notifications::nitropack_safemode_notification() was removed.
  • NitroPack\WordPress\Notifications\Notifications::nitropack_dismiss_notification_by_transient() was removed.
  • NitroPack\WordPress\Notifications\Notifications::nitropack_dismiss_permanently_notification() was removed.
  • NitroPack\WordPress\Notifications\Notifications::move_existing_notices() was removed.
  • NitroPack\WordPress\Notifications\Notifications::nitropack_conflict_plugin_deactivate() was removed.
  • NitroPack\WordPress\Settings\PurgeCache::nitropack_permalink_structure_changed_handler() was removed.
  • NitroPack\WordPress\Settings\PurgeCache::nitropack_frontpage_changed_handler() was removed.
  • NitroPack\WordPress\Settings\TestMode::nitropack_offer_safemode() was removed.
  • The class Nitropack\WordPress\AdvancedCache\AdvancedCache was removed. Code that instantiates or extends it will fatal.
  • The script/style handle np_safemode is gone. Code that dequeues, or declares a dependency on, that handle is now wrong.
  • The constant NITROPACK_OPTION_GROUP is no longer defined.
  • The constant NITROPACK_SLUG is no longer defined.
MEDIUM RISK

1.19.8 → 1.19.9

Medium risk: 9 removed functions, 1 removed method.

  • The function evaluate_warmup_sitemap() was removed. Direct calls from a theme or another plugin will fatal.
  • The function get_default_sitemap() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_active_sitemap_plugins() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_generate_webhook_token() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_get_site_maps() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_reconfigure_webhooks() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_reset_webhooks() was removed. Direct calls from a theme or another plugin will fatal.
  • The function nitropack_setup_webhooks() was removed. Direct calls from a theme or another plugin will fatal.
  • The function set_sitemap_indication_msg() was removed. Direct calls from a theme or another plugin will fatal.
  • NitroPack\WordPress\Settings::generate_webhook_token() was removed.