From 43697e99c0a7ee7a5090caca8432da3544ab74dd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:00:17 +0000 Subject: [PATCH 1/5] Start `release/1.8.13`. From 8958662fd90f6af9dcaab15903aaee5b94a33295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Wytr=C4=99bowicz?= Date: Tue, 9 Jan 2024 18:03:51 +0100 Subject: [PATCH 2/5] Remove older changelog entries --- readme.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/readme.txt b/readme.txt index c6d9d8d4..db124294 100644 --- a/readme.txt +++ b/readme.txt @@ -68,10 +68,4 @@ Exact wording depends on the national data privacy laws and should be adjusted. * 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. -* Fix - Prevent firing up the add_to_cart event when clicking in product image. -* Tweak - Test environment setup to resolve notice. - [See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-google-analytics-integration/trunk/changelog.txt). From 16df46bfa3aa99a008c65e721e3b76ba709f187e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Wytr=C4=99bowicz?= Date: Tue, 9 Jan 2024 18:37:02 +0100 Subject: [PATCH 3/5] Product version bump update --- package-lock.json | 2 +- package.json | 2 +- readme.txt | 2 +- woocommerce-google-analytics-integration.php | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index be646e7c..4d9c3e44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "woocommerce-google-analytics-integration", - "version": "1.8.12", + "version": "1.8.13", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 40268ab3..db27b114 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "woocommerce-google-analytics-integration", "title": "WooCommerce Google Analytics Integration", - "version": "1.8.12", + "version": "1.8.13", "license": "GPL-2.0", "homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/", "repository": { diff --git a/readme.txt b/readme.txt index db124294..990afe56 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.12 +Stable tag: 1.8.13 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/woocommerce-google-analytics-integration.php b/woocommerce-google-analytics-integration.php index d2db281b..5fec28a0 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.12 + * Version: 1.8.13 * WC requires at least: 6.8 - * WC tested up to: 8.4 + * WC tested up to: 8.5 * 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.12' ); // WRCS: DEFINED_VERSION. + define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '1.8.13' ); // WRCS: DEFINED_VERSION. define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_MIN_WC_VER', '6.8' ); // Maybe show the GA Pro notice on plugin activation. From f1a0835ba538ed8f896844df8a648d70fd332039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Wytr=C4=99bowicz?= Date: Tue, 9 Jan 2024 18:37:13 +0100 Subject: [PATCH 4/5] Changelog update --- changelog.txt | 5 +++++ readme.txt | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/changelog.txt b/changelog.txt index d5d41de7..a9cd1b03 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,10 @@ *** Changelog *** += 1.8.13 - 2024-01-09 = +* Dev - Upgrade all NPM dev dependencies. +* Dev - Upgrade to Node.js 18. +* Tweak - WC 8.5 compatibility. + = 1.8.12 - 2023-12-28 = * Fix - Avoid JavaScript exceptions when sending checkout event tracking due to incompatible data structure. * Fix - Correct misplaced each product index value as its quantity when sending checkout event tracking. diff --git a/readme.txt b/readme.txt index 990afe56..d60f6cc2 100644 --- a/readme.txt +++ b/readme.txt @@ -60,6 +60,11 @@ Exact wording depends on the national data privacy laws and should be adjusted. == Changelog == += 1.8.13 - 2024-01-09 = +* Dev - Upgrade all NPM dev dependencies. +* Dev - Upgrade to Node.js 18. +* Tweak - WC 8.5 compatibility. + = 1.8.12 - 2023-12-28 = * Fix - Avoid JavaScript exceptions when sending checkout event tracking due to incompatible data structure. * Fix - Correct misplaced each product index value as its quantity when sending checkout event tracking. From 17face698e499b48b4dadb81808dd8b6c2d06a4d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:37:27 +0000 Subject: [PATCH 5/5] Update hooks documentation from branch. --- docs/Hooks.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/Hooks.md b/docs/Hooks.md index c7b19a8c..711cffc9 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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L185) +- [class-wc-google-analytics-js.php#L185](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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-gtag-js.php#L441](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-gtag-js.php#L441) -- [class-wc-google-analytics-js.php#L475](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L475) +- [class-wc-google-gtag-js.php#L441](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/includes/class-wc-google-gtag-js.php#L441) +- [class-wc-google-analytics-js.php#L475](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L105) +- [class-wc-google-analytics-js.php#L105](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics.php#L524) +- [class-wc-google-analytics.php#L524](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L502) +- [class-wc-google-analytics-js.php#L502](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L276) +- [class-wc-google-analytics-js.php#L276](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L277) +- [class-wc-google-analytics-js.php#L277](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L275) +- [class-wc-google-analytics-js.php#L275](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L282) +- [class-wc-google-analytics-js.php#L282](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L278) +- [class-wc-google-analytics-js.php#L278](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L44) +- [class-wc-google-analytics-js.php#L44](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L235) +- [class-wc-google-analytics-js.php#L235](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-gtag-js.php#L126) +- [class-wc-google-gtag-js.php#L126](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-gtag-js.php#L484) +- [class-wc-google-gtag-js.php#L484](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-gtag-js.php#L323) +- [class-wc-google-gtag-js.php#L323](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-gtag-js.php#L88) +- [class-wc-google-gtag-js.php#L88](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/woocommerce-google-analytics-integration.php#L139) +- [woocommerce-google-analytics-integration.php#L139](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/woocommerce-google-analytics-integration.php#L139)