* add changelog

* add testing notes

* Bumping version strings to new version.

Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
This commit is contained in:
github-actions[bot] 2021-06-25 12:08:53 +01:00 committed by GitHub
parent 837c58863a
commit 6f05e45622
6 changed files with 63 additions and 4 deletions

View File

@ -0,0 +1,38 @@
## Testing notes and ZIP for release 5.4.0
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/6694563/woocommerce-gutenberg-products-block.zip)
## Feature plugin only
### Show loading state in the express payments area whilst payment is processing or the page is redirecting. ([4228](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4228))
To test this properly you'll need Stripe setup locally in sandbox mode. You can test the express payments with Chrome/Edge Pay, or Apple Pay in Safari.
1. Add an item to the cart
2. Go to checkout and wait for express payment methods to display
3. Toggle to change shipping; express payments should show the loading spinner and be blocked until the request is complete
4. Pay using an express payment method
5. After clicking Pay, the express payments area will show a loading spinner. When the request is complete and the checkout starts to redirect, the express payments area will remain blocked (no spinner).
### Fix a warning shown when fees are included in the order. ([4360](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4360))
1. Add fees to your cart (using the extra fees extension https://woocommerce.com/products/extra-fees-for-woocommerce/ set up an order fee, or any other combination of fees).
2. Go to the cart/checkout blocks and ensure no console warning is shown.
### Prevent PHP notice for variable products without enabled variations. ([4317](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4317))
1. Create a variable product with one disabled variation and at least one variation attribute.
2. Create a new blog post with a "Product category" block and select the category that contains the newly created product.
3. Visiting the new blog post throws a PHP notice (NOTICE: PHP message: WordPress database error You have an error in your SQL syntax ...)
## Feature plugin and package inclusion in WooCommerce core
### Made script and style handles consistent. ([4324](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4324))
1. Smoke test blocks and make sure they're insertable.
### Allow products to be added by SKU in the Hand-Picked Products block. ([4366](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4366))
1. Insert the hand picked product block
2. See SKUs shown for products with a SKU
3. Try searching for a SKU. See results.

View File

@ -34,3 +34,4 @@ Every release includes specific testing instructions for new features and bug fi
- [5.2.0](./520.md)
- [5.3.0](./530.md)
- [5.3.1](./531.md)
- [5.4.0](./540.md)

View File

@ -2,7 +2,7 @@
"name": "@woocommerce/block-library",
"title": "WooCommerce Blocks",
"author": "Automattic",
"version": "5.4.0-dev",
"version": "5.4.0",
"description": "WooCommerce blocks for the Gutenberg editor.",
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
"keywords": [

View File

@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
Requires at least: 5.5
Tested up to: 5.8
Requires PHP: 7.0
Stable tag: 5.4.0-dev
Stable tag: 5.4.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@ -85,7 +85,27 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
== Changelog ==
= 5.4.0 - 2021-06-22 =
#### Enhancements
- Made script and style handles consistent. ([4324](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4324))
- Show loading state in the express payments area whilst payment is processing or the page is redirecting. ([4228](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4228))
#### Bug Fixes
- Fix a warning shown when fees are included in the order. ([4360](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4360))
- Prevent PHP notice for variable products without enabled variations. ([4317](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4317))
#### Various
- Allow products to be added by SKU in the Hand-Picked Products block. ([4366](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4366))
- Add Slot in the Discounts section of the Checkout sidebar to allow third party extensions to render their own components there. ([4310](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4310))
= 5.3.1 - 2021-06-15 =
- Fix Product Categories List block display in Site Editor ([#4335](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4335)).
- Make links in the Product Categories List block unclickable in the editor ([#4339](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4339)).
- Fix rating stars not being shown in the Site Editor ([#4345](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4345)).

View File

@ -106,7 +106,7 @@ class Package {
NewPackage::class,
function ( $container ) {
// leave for automated version bumping.
$version = '5.4.0-dev';
$version = '5.4.0';
return new NewPackage(
$version,
dirname( __DIR__ ),

View File

@ -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: 5.4.0-dev
* Version: 5.4.0
* Author: Automattic
* Author URI: https://woocommerce.com
* Text Domain: woo-gutenberg-products-block