diff --git a/docs/testing/releases/330.md b/docs/testing/releases/330.md new file mode 100644 index 00000000000..7f65042ea12 --- /dev/null +++ b/docs/testing/releases/330.md @@ -0,0 +1,71 @@ +## Testing notes and ZIP for release 3.3.0 + +[![Create Todo list](https://raw.githubusercontent.com/senadir/todo-my-markdown/master/public/github-button.svg?sanitize=true)](https://git-todo.netlify.app/create) + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/5159231/woocommerce-gutenberg-products-block.zip) + +### Enhancements + +#### Cart block: Show express payment methods in the Cart block (for example: Apple Pay, Chrome Pay). + +- [ ] This feature requires the following: + - [WooCommerce Stripe extension](https://woocommerce.com/products/stripe) installed and active. + - One or more express payment methods supported and enabled on the store and client system (OS, browser). Note that Chrome Pay and Apple Pay are not supported in all regions. Please refer to documentation for Apple Pay and Chrome Pay for more information. +- [ ] Go to `Dashboard > WooCommerce > Settings > Payments` and activate `Stripe – Credit Card`. +- [ ] Click `Manage` button for `Stripe – Credit Card`. +- [ ] Ensure `Payment Request Buttons` checkbox is enabled, and click `Save changes`. +- [ ] Add the Cart block to a page and publish the page (for example, the main store `cart` page). +- [ ] In the editor, the Cart block should show a preview of express payment options (for example, Apple Pay button). +- [ ] View store front end in a browser with an express payment method enabled and configured. For example Chrome or Safari. +- [ ] Add some products to cart. +- [ ] View cart. If express payment is supported and available, you should see relevant express payment buttons above the cart `Proceed to checkout` button. + - Note: if you don't see any express payment options, confirm that they are working in the Checkout block, product page, or shortcode checkout page. + - The cart block should include the same express payment options as other store pages. + + +### Enhancements (shipped in 3.1.0) + +The following enhancements shipped in WooCommerce Blocks 3.1.0 but were missed in the changelog. Including testing instructions here. + +#### All Products block: Can now customize text size, color and alignment in Product Title child block. + +- [ ] Add an all products block. +- [ ] Click the `Edit` (pencil icon) button to edit the layout of products within the grid. +- [ ] Select the product title block, or add it if needed. +- [ ] In the block toolbar, change the alignment option to center or right. +- [ ] In the block toolbar, select a different heading level. +- [ ] In the settings inspector, change the text size and colour options. +- [ ] Publish the page or update to save changes. +- [ ] Verify the product title shows as customized in editor and front end. + +#### All Products block: Can now customize text size, color and alignment in Product Price child block. + +- [ ] Add an all products block. +- [ ] Click the `Edit` (pencil icon) button to edit the layout of products within the grid. +- [ ] Select the product price block, or add it if needed. +- [ ] In the block toolbar, change the alignment option to center or right. +- [ ] In the settings inspector, change the text size and colour options. +- [ ] Publish the page or update to save changes. +- [ ] Verify the product price shows as customized in editor and front end. + +### Bug Fixes + +#### Cart block: Fix alignment of discounted prices. + +- [ ] Add a product on sale to the Cart and visit the Cart block. +- [ ] Verify regular and discounted prices are both aligned to the right. + +#### Checkout block: Fix an issue with products sold individually (max of 1 per cart); the Checkout block now shows a notice if shopper attempts to add another instance of product via an add-to-cart link. + +- Configure your store so the Checkout block is used on the checkout page. +- [ ] Set a `Sold individually` option on a product: + - Edit a product. Note down the product ID. + - Scroll down to `Product data` box, select `Inventory` tab. + - Enable `Sold individually` option, and click `Update` to save changes to the product. +- [ ] As a shopper on front end, add the product to your cart. You should have 1x of the product in your cart. +- [ ] Navigate to a url with add-to-cart URL param for the product ID, for example: `https://one.wordpress.test/checkout/?add-to-cart=19`. This will attempt to add a second item to the cart. + - Note: Replace `one.wordpress.test` with your test site URL and `19` with the ID of the product you modified. + - You can navigate to this URL directly - paste the url. OR you can add a button block linking to the url, simulating a "Buy" button on a landing page for the product. +- [ ] Proceed to checkout block and verify there is an error notice informing shopper why there is a single item in the cart. +- [ ] Ensure the checkout block works correctly and shopper can complete purchase. + diff --git a/docs/testing/releases/README.md b/docs/testing/releases/README.md index ec0f569f791..f5f313368d5 100644 --- a/docs/testing/releases/README.md +++ b/docs/testing/releases/README.md @@ -6,3 +6,7 @@ Every release includes specific testing instructions for features and bug fixes - [2.7.1](./271.md) - [2.8.0](./280.md) - [2.9.0](./290.md) +- [3.0.0](./300.md) +- [3.1.0](./310.md) +- [3.2.0](./320.md) +- [3.3.0](./330.md) diff --git a/package.json b/package.json index edb989cb781..aee9fa0e17c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@woocommerce/block-library", "title": "WooCommerce Blocks", "author": "Automattic", - "version": "3.3.0-dev", + "version": "3.3.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 5d8d6d227eb..17fdab65a04 100644 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,10 @@ === WooCommerce Blocks === -Contributors: automattic, claudiulodro, tiagonoronha, jameskoster, ryelle, levinmedia, aljullu, mikejolley, nerrad, joshuawold, assassinateur, haszari +Contributors: automattic, woocommerce, claudiulodro, tiagonoronha, jameskoster, ryelle, levinmedia, aljullu, mikejolley, nerrad, joshuawold, assassinateur, haszari 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.3.0-dev +Stable tag: 3.3.0 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -45,7 +45,7 @@ Use this plugin if you want access to the bleeding edge of available blocks for = Minimum Requirements = * WordPress 5.3 or greater -* WooCommerce 4.0 or greater +* WooCommerce 4.2 or greater * PHP version 5.6 or greater (PHP 7.2 or greater is recommended) * MySQL version 5.0 or greater (MySQL 5.6 or greater is recommended) @@ -85,6 +85,13 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/ == Changelog == += 3.3.0 - 2020-09-02 = +- enhancement: Show express payment methods in the Cart block (for example: Apple Pay, Chrome Pay). [3004](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3004) +- bug: Fix alignment of discounted prices in Cart block. [3047](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3047) +- bug: Fix an issue with products sold individually (max of 1 per cart); the Checkout block now shows a notice if shopper attempts to add another instance of product via an `add-to-cart` link. [2854](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2854) +- bug: Fixed styling options of the Product Title block (in All Products). [3095](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3095) + + = 3.2.0 - 2020-08-17 = - Fix 'Add new product' link in All Products block 'No products' placeholder. [#2961](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2961) - Fix an undefined variable PHP notice related to Product REST API. [#2962](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2962) @@ -108,6 +115,8 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/ - Fix missing permissions_callback arg in StoreApi route definitions [#2926](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2926) - Fix 'Product Summary' in All Products block is not pulling in the short description of the product [#2913](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/2913) - dev: Add query filter when searching for a table [#2886](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2886) 👏 @pkelbert +- All Products block: Can now customize text size, color and alignment in Product Title child block. Heading level option is now in block toolbar (was in settings sidebar). [#2860](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2860) +- All Products block: Can now customize text size, color and alignment in Product Price child block. [#2881](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2881) = 3.0.0 - 2020-07-20 = diff --git a/src/Package.php b/src/Package.php index a2bbe6c5c77..4f95356ee6b 100644 --- a/src/Package.php +++ b/src/Package.php @@ -101,7 +101,7 @@ public static function container( $reset = false ) { NewPackage::class, function ( $container ) { // leave for automated version bumping. - $version = '3.3.0-dev'; + $version = '3.3.0'; return new NewPackage( $version, dirname( __DIR__ ) diff --git a/woocommerce-gutenberg-products-block.php b/woocommerce-gutenberg-products-block.php index 4420c602f2e..14df857b809 100644 --- a/woocommerce-gutenberg-products-block.php +++ b/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.3.0-dev + * Version: 3.3.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.0 + * WC requires at least: 4.2 * WC tested up to: 4.4 * * @package WooCommerce\Blocks