diff --git a/docs/internal-developers/testing/releases/941.md b/docs/internal-developers/testing/releases/941.md new file mode 100644 index 00000000000..08bcb9263ad --- /dev/null +++ b/docs/internal-developers/testing/releases/941.md @@ -0,0 +1,15 @@ +# Testing notes and ZIP for release 9.4.1 + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/10478793/woocommerce-gutenberg-products-block.zip) + +## Feature plugin and package inclusion in WooCommerce + +### Prevent Cart and Checkout notices from disappearing immediately after adding. ([8253](https://github.com/woocommerce/woocommerce-blocks/pull/8253)) + +1. Add an item to your cart. Open the same item in the editor. +2. In a new tab go to the Cart block. +3. In the editor set the item to be out of stock. +4. In the Cart block, update the item's quantity, ensure you see a notice. +5. Open the console. Type: `wp.data.dispatch( 'core/notices' ).createNotice( 'error', 'error from console', { context: 'wc/cart', } );` +6. Ensure your error appears alongside the out of stock notice. +7. Repeat for the mini-cart. diff --git a/package.json b/package.json index a4340deceef..53cc39c238e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@woocommerce/block-library", "title": "WooCommerce Blocks", "author": "Automattic", - "version": "9.4.0", + "version": "9.4.1", "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 df8b6d281f9..3c604292dfd 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.1 Tested up to: 6.1.1 Requires PHP: 7.2 -Stable tag: 9.4.0 +Stable tag: 9.4.1 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 == += 9.4.1 - 2023-01-23 = + +#### Bug Fixes + +Prevent Cart and Checkout notices from disappearing immediately after adding. ([8253](https://github.com/woocommerce/woocommerce-blocks/pull/8253)) + = 9.4.0 - 2023-01-16 = #### Enhancements diff --git a/src/Package.php b/src/Package.php index a9d7f238c61..f750f35f6de 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 = '9.4.0'; + $version = '9.4.1'; return new NewPackage( $version, dirname( __DIR__ ), diff --git a/woocommerce-gutenberg-products-block.php b/woocommerce-gutenberg-products-block.php index af9f0be108a..75244e8a69f 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: 9.4.0 + * Version: 9.4.1 * Author: Automattic * Author URI: https://woocommerce.com * Text Domain: woo-gutenberg-products-block