From 4fd636b9060370f8dae716db45423a221123d0d1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 30 May 2023 18:24:42 +0200 Subject: [PATCH] Release: 10.0.5 (#9588) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Empty commit for release pull request * Fix Mini-Cart block conflict with Page Optimize and Product Bundles (II) (#9586) * Add 10.0.5 changelog * Update versiosn to 10.0.5 * Fix 10.0.4 testing notes markdown * Add 10.0.5 testing notes --------- Co-authored-by: github-actions Co-authored-by: Albert Juhé Lluveras --- composer.json | 2 +- .../testing/releases/1004.md | 9 ++++++--- .../testing/releases/1005.md | 18 ++++++++++++++++++ .../testing/releases/README.md | 1 + package-lock.json | 4 ++-- package.json | 2 +- readme.txt | 8 +++++++- src/Package.php | 2 +- woocommerce-gutenberg-products-block.php | 2 +- 9 files changed, 38 insertions(+), 10 deletions(-) create mode 100644 docs/internal-developers/testing/releases/1005.md diff --git a/composer.json b/composer.json index b516d4ab3a3..8463283ec06 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "WooCommerce blocks for the Gutenberg editor.", "homepage": "https://woocommerce.com/", "type": "wordpress-plugin", - "version": "10.0.4", + "version": "10.0.5", "keywords": [ "gutenberg", "woocommerce", diff --git a/docs/internal-developers/testing/releases/1004.md b/docs/internal-developers/testing/releases/1004.md index f5a4bd604e5..fa2cca65c2b 100644 --- a/docs/internal-developers/testing/releases/1004.md +++ b/docs/internal-developers/testing/releases/1004.md @@ -26,10 +26,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github. ### Use 'enqueue_block_assets' action when is available [(9332)](https://github.com/woocommerce/woocommerce-blocks/pull/9332) -*Pre-requisites* +#### Pre-requisites + - Make sure to have some other plugins installed and activated (for example: Stripe) -*Testing on the Site Editor* +#### Testing on the Site Editor + 1. Be sure that you have the Gutenberg trunk installed. 2. Open the Site Editor, and open the Single Product Template. 3. See that the placeholder image is loaded. @@ -37,7 +39,8 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github. 5. Open the Site Editor, and open the Single Product Template. 6. See that the placeholder image is loaded. -*Testing on the frontend* +#### Testing on the frontend + 1. With the Stripe plugin activated, go to your store; 6. Add a product to the cart; 6. Check if you are able to finish an order without errors; diff --git a/docs/internal-developers/testing/releases/1005.md b/docs/internal-developers/testing/releases/1005.md new file mode 100644 index 00000000000..a130aebb2af --- /dev/null +++ b/docs/internal-developers/testing/releases/1005.md @@ -0,0 +1,18 @@ +# Testing notes and ZIP for release 10.0.5 + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/11555954/woocommerce-gutenberg-products-block.zip) + +## WooCommerce Core + +### Fix Mini-Cart block conflict with Page Optimize and Product Bundles. [(9586)](https://github.com/woocommerce/woocommerce-blocks/pull/9586) + +1. Make sure you have WC core 7.7. +2. Enable a block theme. +3. Add the Mini-Cart block to the header of your store. +4. Install the Page Optimize and Product Bundles plugins (no need to change anything in their configuration). +5. Go to a page in the frontend that doesn't have any blocks besides the Mini-Cart you added to the header. +6. Open the Mini-Cart and verify there is no JS error: + +Before | After +--- | --- +![image](https://github.com/woocommerce/woocommerce-blocks/assets/3616980/307b07c5-0c59-4d04-9599-8cc38691ead9) | ![image](https://github.com/woocommerce/woocommerce-blocks/assets/3616980/108f21c1-a658-4441-9bad-910ec701bb36) diff --git a/docs/internal-developers/testing/releases/README.md b/docs/internal-developers/testing/releases/README.md index dee6a06cbfe..33be766adc3 100644 --- a/docs/internal-developers/testing/releases/README.md +++ b/docs/internal-developers/testing/releases/README.md @@ -141,6 +141,7 @@ Every release includes specific testing instructions for new features and bug fi - [10.0.2](./1002.md) - [10.0.3](./1003.md) - [10.0.4](./1004.md) + - [10.0.5](./1005.md) diff --git a/package-lock.json b/package-lock.json index 5c3ab6f019c..ede60c90e95 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@woocommerce/block-library", - "version": "10.0.4", + "version": "10.0.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@woocommerce/block-library", - "version": "10.0.4", + "version": "10.0.5", "hasInstallScript": true, "license": "GPL-3.0+", "dependencies": { diff --git a/package.json b/package.json index 0555072b040..49a032142a2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@woocommerce/block-library", "title": "WooCommerce Blocks", "author": "Automattic", - "version": "10.0.4", + "version": "10.0.5", "description": "WooCommerce blocks for the Gutenberg editor.", "homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/", "keywords": [ diff --git a/readme.txt b/readme.txt index bddd00124d7..8b385ee9751 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks Requires at least: 6.1 Tested up to: 6.2 Requires PHP: 7.3 -Stable tag: 10.0.4 +Stable tag: 10.0.5 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -80,6 +80,12 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/ == Changelog == += 10.0.5 - 2023-05-04 = + +#### Bug Fixes + +- Fix a conflict between the Mini-Cart block and the Page Optimize and Product Bundles extensions. ([9586](https://github.com/woocommerce/woocommerce-blocks/pull/9586)) + = 10.0.4 - 2023-05-04 = #### Bug Fixes diff --git a/src/Package.php b/src/Package.php index 57be1d94869..d08b8c80b29 100644 --- a/src/Package.php +++ b/src/Package.php @@ -109,7 +109,7 @@ public static function container( $reset = false ) { NewPackage::class, function ( $container ) { // leave for automated version bumping. - $version = '10.0.4'; + $version = '10.0.5'; return new NewPackage( $version, dirname( __DIR__ ), diff --git a/woocommerce-gutenberg-products-block.php b/woocommerce-gutenberg-products-block.php index f241de50d6b..f2d6a1a4afb 100644 --- a/woocommerce-gutenberg-products-block.php +++ b/woocommerce-gutenberg-products-block.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Blocks * Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block * Description: WooCommerce blocks for the Gutenberg editor. - * Version: 10.0.4 + * Version: 10.0.5 * Author: Automattic * Author URI: https://woocommerce.com * Text Domain: woo-gutenberg-products-block