* Empty commit for release pull request

* Add 5.6.0 changelog

* Add 5.6.0 testing notes

* Bumping version strings to new version.

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
This commit is contained in:
github-actions[bot] 2021-08-02 16:48:10 +02:00 committed by GitHub
parent db9b84d837
commit 23bf14ea3a
6 changed files with 96 additions and 4 deletions

View File

@ -0,0 +1,73 @@
## Testing notes and ZIP for release 5.6.0
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/6916635/woocommerce-gutenberg-products-block.zip)
## Feature plugin and package inclusion in WooCommerce core
### Fix SKU search in the Store API ([4469](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4469))
Try some search requests via the Store API, for example:
`https://store.local/wp-json/wc/store/products?search=woo-album`
Ensure matched results match your query. Try searching for both titles and SKUs.
### Fix all review memory leak on block transform ([4428](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4428))
- Create an empty page and add the All Reviews block.
- Select the block and in the toolbar select the transform option
- Hover on one option and hover out before the preview is loaded
- Check the console is free of error warnings
### Switch arrow unicode characters ([4364](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4364))
View the pagination rendered on the all products block and confirm the symbol matches the screenshot above.
| Before | After |
| --- | --- |
| ![Before](https://user-images.githubusercontent.com/90977/122258064-8bd97f00-cec8-11eb-8e0a-a82e62a4804a.png) | ![After](https://user-images.githubusercontent.com/90977/122258089-9136c980-cec8-11eb-90a0-543ca30dc482.png) |
## Feature plugin only
### Add missing class to Cart skeleton title ([4498](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4498))
1. Load the Cart block and verify the margin under the `Your cart` title doesn't change between the rendered block and the loading skeleton.
| Before | After |
| --- | --- |
| ![Before](https://user-images.githubusercontent.com/3616980/126756563-6771d730-1379-4eef-99b5-0d4823ba969f.gif) | ![After](https://user-images.githubusercontent.com/3616980/126756468-3b2f898d-c60f-46a8-bfbb-8c716f6c11a5.gif) |
### Add styles to stop totals items being padded inside panels ([4435](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4435))
1. Add a subscription product to your cart with WC Subscriptions.
2. Go to the Cart and Checkout blocks.
3. Expand the "Daily/Weekly/Monthly recurring total" section at the bottom of the sidebar in both blocks.
4. Ensure there is no extra padding and that the totals for each recurring section are aligned well.
| Before | After |
|---|---|
| ![image](https://user-images.githubusercontent.com/5656702/124741599-c8225d00-df13-11eb-8650-2fd3cdabac5f.png) | ![image](https://user-images.githubusercontent.com/5656702/124741331-7d084a00-df13-11eb-9ccf-34a7dd398d1d.png) |
### Make payment method icons display well even if theme tries to override their height/width ([4427](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4427))
1. Add some custom CSS to your theme, do something that will "accidentally" catch all images in the Cart/Checkout blocks, e.g:
```css
.wp-block-woocommerce-cart img,
.wp-block-woocommerce-checkout img {
height: auto !important;
width: 100% !important;
}
```
2. Go to the Cart and Checkout blocks and ensure that the payment method icons display correctly and are not too large.
3. Experiment with a few different themes and ensure this works for each one you test.
#### Cart
| Before | After |
|---|---|
| ![Before](https://user-images.githubusercontent.com/5656702/124503622-dbbbaf80-ddbd-11eb-9465-3647810ce35d.png) | ![After](https://user-images.githubusercontent.com/5656702/124503569-c3e42b80-ddbd-11eb-9dd3-c9cd83ee771d.png) |
#### Checkout
| Before | After |
|---|---|
| ![image](https://user-images.githubusercontent.com/5656702/124503666-ed04bc00-ddbd-11eb-9da1-f9bf9fe3c274.png) | ![After](https://user-images.githubusercontent.com/5656702/124503503-9eefb880-ddbd-11eb-9bd9-e3d0e7145169.png) |

View File

@ -37,3 +37,4 @@ Every release includes specific testing instructions for new features and bug fi
- [5.3.2](./532.md)
- [5.4.0](./540.md)
- [5.5.0](./550.md)
- [5.6.0](./560.md)

View File

@ -2,7 +2,7 @@
"name": "@woocommerce/block-library",
"title": "WooCommerce Blocks",
"author": "Automattic",
"version": "5.6.0-dev",
"version": "5.6.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.8
Tested up to: 5.8
Requires PHP: 7.0
Stable tag: 5.6.0-dev
Stable tag: 5.6.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@ -84,6 +84,24 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
== Changelog ==
= 5.6.0 - 2021-08-01 =
#### Enhancements
- Ensure payment method icons are constrained to a reasonable size in the Cart and Checkout blocks. ([4427](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4427))
- Update pagination arrows to match core. ([4364](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4364))
#### Bug Fixes
- Remove unnecessary margin from Cart block loading skeleton to avoid content jump. ([4498](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4498))
- Fixed the SKU search on the /wc/store/products endpoint. ([4469](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4469))
- Ensure cart totals displayed within a Panel component are aligned well and do not have extra padding. ([4435](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4435))
- Fix memory leak when previewing transform options for the All reviews block. ([4428](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4428))
#### Various
- Deprecate snackbarNotices filter in favour of snackbarNoticeVisibility to allow extensions to hide snackbar notices in the Cart and Checkout blocks. ([4417](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4417))
= 5.5.1, 5.4.1, 5.3.2, 5.2.1, 5.1.1, 5.0.1, 4.9.2, 4.8.1, 4.7.1, 4.6.1, 4.5.3, 4.4.3, 4.3.1, 4.2.1, 4.1.1, 4.0.1, 3.9.1, 3.8.1, 3.7.2, 3.6.1, 3.5.1, 3.4.1, 3.3.1, 3.2.1, 3.1.1, 3.0.1, 2.9.1, 2.8.1, 2.7.2, 2.6.2, 2.5.16 - 2021-07-14 =
#### Security fix

View File

@ -106,7 +106,7 @@ class Package {
NewPackage::class,
function ( $container ) {
// leave for automated version bumping.
$version = '5.6.0-dev';
$version = '5.6.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.6.0-dev
* Version: 5.6.0
* Author: Automattic
* Author URI: https://woocommerce.com
* Text Domain: woo-gutenberg-products-block