From 808b1db0d0de89c0d562124955701abb5d098783 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 10 May 2021 11:14:05 -0400 Subject: [PATCH] Release: 5.1.0 (#4185) * Empty commit for release pull request * Add changelog * update testing notes * Bumping version strings to new version. Co-authored-by: github-actions Co-authored-by: Darren Ethier --- docs/testing/releases/510.md | 23 +++++++++++++++++++++++ docs/testing/releases/README.md | 1 + package.json | 2 +- readme.txt | 14 +++++++++++++- src/Package.php | 2 +- woocommerce-gutenberg-products-block.php | 2 +- 6 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 docs/testing/releases/510.md diff --git a/docs/testing/releases/510.md b/docs/testing/releases/510.md new file mode 100644 index 00000000000..c51586e2e7d --- /dev/null +++ b/docs/testing/releases/510.md @@ -0,0 +1,23 @@ +## Testing notes and ZIP for release 5.1.0 + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/6452221/woocommerce-gutenberg-products-block.zip) + +## Feature plugin only + +### General smoke testing + +The following are related to various changes impacting existing flows, so smoke testing is needed to verify there are no regressions: + +- Place orders via the Checkout block and ensure the following: + - All payment methods included with the blocks work as expected for completing the order. + - Intentionally triggering payment errors for various payment methods surface the errors as expected and another payment method can be tried. + - Express payment methods (via Stripe) work as expected in both the Cart context and Checkout context. + +### Fixed bug with clearing email and phone fields when using separate billing address. + +Test both guest and logged in scenarios for the following: + +- On checkout, fill out email address, shipping fields, and phone number. +- Uncheck "use shipping for billing" checkbox. +- Verify email and phone fields still have their values. +- Submit the order and make sure those values persist on the server with the order. diff --git a/docs/testing/releases/README.md b/docs/testing/releases/README.md index 1a98eddb399..8524cdd4fe9 100644 --- a/docs/testing/releases/README.md +++ b/docs/testing/releases/README.md @@ -30,3 +30,4 @@ Every release includes specific testing instructions for new features and bug fi - [4.9.0](./490.md) - [4.9.1](./491.md) - [5.0.0](./500.md) +- [5.1.0](./510.md) diff --git a/package.json b/package.json index 91cfe0e2f11..268300d72ac 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@woocommerce/block-library", "title": "WooCommerce Blocks", "author": "Automattic", - "version": "5.1.0-dev", + "version": "5.1.0", "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 24ffcb2f679..3e2bae401f5 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks Requires at least: 5.5 Tested up to: 5.7 Requires PHP: 7.0 -Stable tag: 5.0.0 +Stable tag: 5.1.0 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -85,6 +85,18 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/ == Changelog == += 5.1.0 - 2021-05-10 = + +#### Enhancements + +- Improve error message displayed when a payment method didn't have all its dependencies registered. ([4176](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4176)) +- Improvements to `emitEventWithAbort`. ([4158](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4158)) + +#### Bug Fixes + +- Fix issue in which email and phone fields are cleared when using a separate billing address. ([4162](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4162)) + + = 5.0.0 - 2021-04-28 = #### Enhancements diff --git a/src/Package.php b/src/Package.php index cc4c812d892..bef807c0351 100644 --- a/src/Package.php +++ b/src/Package.php @@ -106,7 +106,7 @@ public static function container( $reset = false ) { NewPackage::class, function ( $container ) { // leave for automated version bumping. - $version = '5.0.0'; + $version = '5.1.0'; return new NewPackage( $version, dirname( __DIR__ ), diff --git a/woocommerce-gutenberg-products-block.php b/woocommerce-gutenberg-products-block.php index 5835a09e20b..b77a19fcac2 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: 5.1.0-dev + * Version: 5.1.0 * Author: Automattic * Author URI: https://woocommerce.com * Text Domain: woo-gutenberg-products-block