From df51f3b8d2e053f9c89e9ec2c6233fb40603267b Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Fri, 17 Jan 2025 08:47:58 -0700 Subject: [PATCH 1/3] Version bump to 4.8.5 --- package-lock.json | 4 ++-- package.json | 2 +- readme.txt | 2 +- woocommerce-square.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3533e76e..cd63b556 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "woocommerce-square", - "version": "4.8.4", + "version": "4.8.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "woocommerce-square", - "version": "4.8.4", + "version": "4.8.5", "license": "GPL-3.0-or-later", "dependencies": { "@codeamp/block-components": "^0.0.1-beta.13", diff --git a/package.json b/package.json index 2b56eb2f..20092dc3 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "url": "git://github.com/woocommerce/woocommerce-square.git" }, "title": "WooCommerce Square", - "version": "4.8.4", + "version": "4.8.5", "homepage": "https://woocommerce.com/products/woocommerce-square/", "scripts": { "build": "composer install --no-dev && npm run build:webpack && npm run makepot && npm run archive", diff --git a/readme.txt b/readme.txt index f1869276..cf69892c 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: credit card, square, woocommerce, inventory sync Requires at least: 6.5 Tested up to: 6.7 Requires PHP: 7.4 -Stable tag: 4.8.4 +Stable tag: 4.8.5 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/woocommerce-square.php b/woocommerce-square.php index e83034d5..bb0899df 100644 --- a/woocommerce-square.php +++ b/woocommerce-square.php @@ -2,7 +2,7 @@ /** * Plugin Name: WooCommerce Square * Requires Plugins: woocommerce - * Version: 4.8.4 + * Version: 4.8.5 * Plugin URI: https://woocommerce.com/products/square/ * Requires at least: 6.5 * Tested up to: 6.7 @@ -29,7 +29,7 @@ defined( 'ABSPATH' ) || exit; if ( ! defined( 'WC_SQUARE_PLUGIN_VERSION' ) ) { - define( 'WC_SQUARE_PLUGIN_VERSION', '4.8.4' ); // WRCS: DEFINED_VERSION. + define( 'WC_SQUARE_PLUGIN_VERSION', '4.8.5' ); // WRCS: DEFINED_VERSION. } if ( ! defined( 'WC_SQUARE_PLUGIN_URL' ) ) { From eb91f2d92965e25d9aee9005d8bff62c3d06e954 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Fri, 17 Jan 2025 08:50:29 -0700 Subject: [PATCH 2/3] Update changelogs --- changelog.txt | 8 ++++++++ readme.txt | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/changelog.txt b/changelog.txt index 39bd9cc5..5ad62120 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,13 @@ *** WooCommerce Square Changelog *** += 4.8.5 - 2025-01-20 = +* Fix - Unblock the Checkout page UI, and show a generic error when buyer verification fails. +* Fix - Ensure inventory sync works correctly for variable products when Square sync is enabled through quick or bulk edit. +* Dev - Bump WooCommerce "tested up to" version 9.6. +* Dev - Bump WooCommerce minimum supported version to 9.4. +* Dev - Use the `@woocommerce/e2e-utils-playwright` NPM package for E2E tests. +* Dev - Updates GitHub `actions/cache`, `actions/upload` and `actions/download` to v4 due to deprecation. + = 4.8.4 - 2024-12-09 = * Fix - Resolved the product duplication issue on the Square side when WooCommerce is set as the SOR. * Fix - Remove `woocommerce_loop_add_to_cart_link` filter to standardize "Buy Gift Card" and "Add to Cart" button styles across themes. diff --git a/readme.txt b/readme.txt index cf69892c..b6d94ae5 100644 --- a/readme.txt +++ b/readme.txt @@ -72,6 +72,14 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o == Changelog == += 4.8.5 - 2025-01-20 = +* Fix - Unblock the Checkout page UI, and show a generic error when buyer verification fails. +* Fix - Ensure inventory sync works correctly for variable products when Square sync is enabled through quick or bulk edit. +* Dev - Bump WooCommerce "tested up to" version 9.6. +* Dev - Bump WooCommerce minimum supported version to 9.4. +* Dev - Use the `@woocommerce/e2e-utils-playwright` NPM package for E2E tests. +* Dev - Updates GitHub `actions/cache`, `actions/upload` and `actions/download` to v4 due to deprecation. + = 4.8.4 - 2024-12-09 = * Fix - Resolved the product duplication issue on the Square side when WooCommerce is set as the SOR. * Fix - Remove `woocommerce_loop_add_to_cart_link` filter to standardize "Buy Gift Card" and "Add to Cart" button styles across themes. From 06697c417ccb6c102f32a412f07902192ae46930 Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Mon, 20 Jan 2025 11:39:08 +0530 Subject: [PATCH 3/3] E2E: Fix flakiness in save settings. --- tests/e2e/specs/c4.product-import.spec.js | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/e2e/specs/c4.product-import.spec.js b/tests/e2e/specs/c4.product-import.spec.js index 287233de..1b264aa4 100644 --- a/tests/e2e/specs/c4.product-import.spec.js +++ b/tests/e2e/specs/c4.product-import.spec.js @@ -114,7 +114,6 @@ test( 'Handle missing products @sync', async ( { page } ) => { await page.getByTestId( 'sync-settings-field' ).selectOption( { label: 'Square' } ); await page.getByTestId( 'hide-missing-products-field' ).check(); await saveSquareSettings( page ); - await page.reload(); await page.goto( '/wp-admin/admin.php?page=wc-settings&tab=square§ion=update' ); await page.locator( '#wc-square-sync' ).click();