diff --git a/plugins/woocommerce-blocks/docs/testing/releases/350.md b/plugins/woocommerce-blocks/docs/testing/releases/350.md new file mode 100644 index 00000000000..c60a21a5a0f --- /dev/null +++ b/plugins/woocommerce-blocks/docs/testing/releases/350.md @@ -0,0 +1,68 @@ +## Testing notes and ZIP for release 3.5.0 + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/5298708/woocommerce-gutenberg-products-block.zip) + + +## The following are changes that only impact Feature Plugin release. + + +### Use light default background colour for country/state dropdowns in Cart and Checkout blocks + +- Test light mode / default +- [ ] Add checkout block to a page. Disable Dark mode inputs option and publish. +- [ ] View checkout on front end and expand country or state input. +- [ ] Background/colours should be consistent - e.g. white background, black text. + +- Test dark mode +- [ ] Add checkout block to a page. Enable Dark mode inputs option and publish. +- [ ] View checkout on front end and expand country or state input. +- [ ] Background/colours should look reasonable; text should be white on black. + +### Fix broken Express Payment Method use in the Checkout block for logged out or incognito users. + +- [ ] Make sure you are either logged out or using an incognito mode browser instance. +- [ ] Add a product to cart. +- [ ] Load the page with the checkout block. +- [ ] Click express payment (Chrome Pay if using Chrome, Apple Pay if using Safari). +- [ ] Choose account details in the express payment modal and submit. Verify that the checkout processes correctly. + +### Use noticeContexts from useEmitResponse instead of hardcoded values + +- [ ] Install & activate WooCommerce Stripe. +- [ ] Enable Stripe CC payment method - don't add an api key (or delete the option). +- [ ] Add checkout block to checkout page. +- [ ] On front end, add something to cart and proceed to checkout with an **admin user**. +- [ ] Verify an error appears in the express payment methods section and in the payment methods step. + +![checkout-errors](https://user-images.githubusercontent.com/3616980/93592030-b803b600-f9b1-11ea-976e-70c7b594f474.png) + +### Fix State label for Spain + +- [ ] Go to the Checkout block and change the country to Spain. +- [ ] Verify the field below the country changes its label to Province instead of State. + +### Don't throw an error when registering a payment method fails + +#### Confirm other payment methods are shown if Stripe is not configured. +- [ ] Install & activate WooCommerce Stripe. +- [ ] Enable Stripe CC payment method - don't add an api key (or delete the option). +- [ ] Enable BACS or other payment methods (e.g. cheque). +- [ ] Add checkout block to checkout page. +- [ ] On front end, add something to cart and proceed to checkout. +- [ ] Make sure you have an admin user with saved payment methods* and a user without saved payment methods (or a guest). +- [ ] With those two users, check the Checkout page in the frontend. Also open the Checkout page in the editor. +- [ ] Verify the statements below are true. 👇 + +| Scenario | With Stripe API key | Without Stripe API key | +| --- | --- | --- | +| Admin with saved payment methods / Editor | | | +| Guest user | | | + +* In order to save a payment method with a user. Enable the WooCommerce Stripe plugin, set the keys and make a purchase with a user selecting the `Save payment information to my account for future purchases.` option. Next time you visit the Checkout with that user, the saved payment method will show up. + +#### Stripe Saved credit cards are not available when the 'Enable Payment via Saved Cards' option is unchecked. + +- Assuming you already have a user with saved credit cards in Stripe from the steps above. +- [ ] Go to Stripe settings and uncheck `Enable Payment via Saved Cards`. Make sure you have added back the API keys that you might have removed in the steps above. +- [ ] Start a purchase with a user that has saved payment methods and go to the Checkout block. +- [ ] Verify saved credit cards are not shown in the Payment method options. \ No newline at end of file diff --git a/plugins/woocommerce-blocks/package.json b/plugins/woocommerce-blocks/package.json index f1ef451b6d1..805d5e70fbd 100644 --- a/plugins/woocommerce-blocks/package.json +++ b/plugins/woocommerce-blocks/package.json @@ -2,7 +2,7 @@ "name": "@woocommerce/block-library", "title": "WooCommerce Blocks", "author": "Automattic", - "version": "3.5.0-dev", + "version": "3.5.0", "description": "WooCommerce blocks for the Gutenberg editor.", "homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/", "keywords": [ diff --git a/plugins/woocommerce-blocks/readme.txt b/plugins/woocommerce-blocks/readme.txt index 05d2d500bdf..0ce78318cf5 100644 --- a/plugins/woocommerce-blocks/readme.txt +++ b/plugins/woocommerce-blocks/readme.txt @@ -3,8 +3,8 @@ Contributors: automattic, woocommerce, claudiulodro, tiagonoronha, jameskoster, Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks Requires at least: 5.3 Tested up to: 5.5 -Requires PHP: 5.6 -Stable tag: 3.5.0-dev +Requires PHP: 7.0 +Stable tag: 3.5.0 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -85,6 +85,19 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/ == Changelog == += 3.5.0 - 2020-09-29 = + +#### Bug Fixes + +- Use light default background colour for country/state dropdowns. ([3189](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3189)) +- Fix broken Express Payment Method use in the Checkout block for logged out or incognito users. ([3165](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3165)) +- Fix State label for Spain. ([3147](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3147)) +- Don't throw an error when registering a payment method fails. ([3134](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3134)) + +#### refactor + +- Use noticeContexts from useEmitResponse instead of hardcoded values. ([3161](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3161)) + = 3.4.0 - 2020-09-14 = #### Bug Fixes diff --git a/plugins/woocommerce-blocks/src/Package.php b/plugins/woocommerce-blocks/src/Package.php index bc6644f2309..1442d627bd6 100644 --- a/plugins/woocommerce-blocks/src/Package.php +++ b/plugins/woocommerce-blocks/src/Package.php @@ -95,7 +95,7 @@ class Package { NewPackage::class, function ( $container ) { // leave for automated version bumping. - $version = '3.5.0-dev'; + $version = '3.5.0'; return new NewPackage( $version, dirname( __DIR__ ) diff --git a/plugins/woocommerce-blocks/woocommerce-gutenberg-products-block.php b/plugins/woocommerce-blocks/woocommerce-gutenberg-products-block.php index f922a85d7b0..4e1d2edcbf8 100644 --- a/plugins/woocommerce-blocks/woocommerce-gutenberg-products-block.php +++ b/plugins/woocommerce-blocks/woocommerce-gutenberg-products-block.php @@ -3,13 +3,13 @@ * Plugin Name: WooCommerce Blocks * Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block * Description: WooCommerce blocks for the Gutenberg editor. - * Version: 3.5.0-dev + * Version: 3.5.0 * Author: Automattic * Author URI: https://woocommerce.com * Text Domain: woo-gutenberg-products-block * Requires at least: 5.3 - * Requires PHP: 5.6 - * WC requires at least: 4.2 + * Requires PHP: 7.0 + * WC requires at least: 4.3 * WC tested up to: 4.5 * * @package WooCommerce\Blocks