diff --git a/changelog.txt b/changelog.txt index 20f4dafd..2d89b5d5 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,9 @@ *** Changelog *** += 1.8.11 - 2023-12-18 = +* Dev - Prevent DB warnings in unit tests. +* Tweak - WC 8.4 compatibility. + = 1.8.10 - 2023-11-28 = * Dev - Update phpunit polyfills to 1.1 for WP 6.4. * Fix - Add semicolon after `gtag` calls. diff --git a/docs/Hooks.md b/docs/Hooks.md index 5e1306f9..20a1c443 100644 --- a/docs/Hooks.md +++ b/docs/Hooks.md @@ -8,7 +8,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L185](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L185) +- [class-wc-google-analytics-js.php#L185](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L185) ## woocommerce_cart_item_product @@ -16,8 +16,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L475](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L475) -- [class-wc-google-gtag-js.php#L441](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-gtag-js.php#L441) +- [class-wc-google-gtag-js.php#L441](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-gtag-js.php#L441) +- [class-wc-google-analytics-js.php#L475](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L475) ## woocommerce_ga_classic_snippet_output @@ -25,7 +25,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L105](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L105) +- [class-wc-google-analytics-js.php#L105](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L105) ## woocommerce_ga_disable_tracking @@ -33,7 +33,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics.php#L524](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics.php#L524) +- [class-wc-google-analytics.php#L524](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics.php#L524) ## woocommerce_ga_event_tracking_parameters @@ -41,7 +41,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L502](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L502) +- [class-wc-google-analytics-js.php#L502](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L502) ## woocommerce_ga_snippet_create @@ -49,7 +49,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L276](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L276) +- [class-wc-google-analytics-js.php#L276](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L276) ## woocommerce_ga_snippet_developer_id @@ -57,7 +57,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L277](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L277) +- [class-wc-google-analytics-js.php#L277](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L277) ## woocommerce_ga_snippet_head @@ -65,7 +65,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L275](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L275) +- [class-wc-google-analytics-js.php#L275](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L275) ## woocommerce_ga_snippet_output @@ -73,7 +73,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L282](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L282) +- [class-wc-google-analytics-js.php#L282](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L282) ## woocommerce_ga_snippet_require @@ -81,7 +81,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L278](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L278) +- [class-wc-google-analytics-js.php#L278](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L278) ## woocommerce_ga_tracker_variable @@ -89,7 +89,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L44](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L44) +- [class-wc-google-analytics-js.php#L44](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L44) ## woocommerce_google_analytics_script_src @@ -97,7 +97,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L235](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-analytics-js.php#L235) +- [class-wc-google-analytics-js.php#L235](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L235) ## woocommerce_gtag_event_data @@ -105,7 +105,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-gtag-js.php#L126](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-gtag-js.php#L126) +- [class-wc-google-gtag-js.php#L126](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-gtag-js.php#L126) ## woocommerce_gtag_event_tracking_parameters @@ -113,7 +113,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-gtag-js.php#L484](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-gtag-js.php#L484) +- [class-wc-google-gtag-js.php#L484](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-gtag-js.php#L484) ## woocommerce_gtag_snippet @@ -121,7 +121,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-gtag-js.php#L323](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-gtag-js.php#L323) +- [class-wc-google-gtag-js.php#L323](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-gtag-js.php#L323) ## woocommerce_gtag_tracker_variable @@ -129,7 +129,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-gtag-js.php#L88](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/includes/class-wc-google-gtag-js.php#L88) +- [class-wc-google-gtag-js.php#L88](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-gtag-js.php#L88) ## plugin_locale @@ -137,5 +137,5 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [woocommerce-google-analytics-integration.php#L139](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/5a73b47b24d8135ab6e85bd937e94b5d7b56de2d/woocommerce-google-analytics-integration.php#L139) +- [woocommerce-google-analytics-integration.php#L139](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/woocommerce-google-analytics-integration.php#L139) diff --git a/package-lock.json b/package-lock.json index 4a15201d..e55bd474 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "woocommerce-google-analytics-integration", - "version": "1.8.10", + "version": "1.8.11", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index aeffd06e..fe3a3c8b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "woocommerce-google-analytics-integration", "title": "WooCommerce Google Analytics Integration", - "version": "1.8.10", + "version": "1.8.11", "license": "GPL-2.0", "homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/", "repository": { diff --git a/readme.txt b/readme.txt index c3f542d1..f6bf489a 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: woocommerce, automattic, claudiosanches, bor0, royho, laurendaviss Tags: woocommerce, google analytics Requires at least: 3.9 Tested up to: 6.4 -Stable tag: 1.8.10 +Stable tag: 1.8.11 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -60,6 +60,10 @@ Exact wording depends on the national data privacy laws and should be adjusted. == Changelog == += 1.8.11 - 2023-12-18 = +* Dev - Prevent DB warnings in unit tests. +* Tweak - WC 8.4 compatibility. + = 1.8.10 - 2023-11-28 = * Dev - Update phpunit polyfills to 1.1 for WP 6.4. * Fix - Add semicolon after `gtag` calls. @@ -72,7 +76,4 @@ Exact wording depends on the national data privacy laws and should be adjusted. * Update - Use new Woo.com domain. * Update - WordPressCS to version 3.0. -= 1.8.8 - 2023-10-24 = -* Tweak - Declare cart_checkout_blocks feature compatibility. - [See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-google-analytics-integration/trunk/changelog.txt). diff --git a/tests/class-unittestsbootstrap.php b/tests/class-unittestsbootstrap.php index 4ae921aa..3da3464b 100644 --- a/tests/class-unittestsbootstrap.php +++ b/tests/class-unittestsbootstrap.php @@ -138,7 +138,7 @@ public function includes() { /** * Filter unwanted doing it wrong messages when installing WooCommerce. * - * @since x.x.x + * @since 1.8.11 * * @param bool $trigger Trigger error. * @param string $function_name Calling function name. diff --git a/woocommerce-google-analytics-integration.php b/woocommerce-google-analytics-integration.php index 7ec716c3..4a153bfe 100644 --- a/woocommerce-google-analytics-integration.php +++ b/woocommerce-google-analytics-integration.php @@ -5,9 +5,9 @@ * Description: Allows Google Analytics tracking code to be inserted into WooCommerce store pages. * Author: WooCommerce * Author URI: https://woo.com - * Version: 1.8.10 + * Version: 1.8.11 * WC requires at least: 6.8 - * WC tested up to: 8.3 + * WC tested up to: 8.4 * Tested up to: 6.4 * License: GPLv2 or later * Text Domain: woocommerce-google-analytics-integration @@ -22,7 +22,7 @@ if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) { - define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '1.8.10' ); // WRCS: DEFINED_VERSION. + define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '1.8.11' ); // WRCS: DEFINED_VERSION. define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_MIN_WC_VER', '6.8' ); // Maybe show the GA Pro notice on plugin activation.