Release: 9.6.3 (https://github.com/woocommerce/woocommerce-blocks/pull/8552)
* Empty commit for release pull request * Add changelog in readme.txt * Add testing notes * Remove change from testing notes This requires AvaTax credentials for testing. So, we'll test for regressions instead * Check for null session before going forward (https://github.com/woocommerce/woocommerce-blocks/pull/8537) * Fix Payment Options settings crash in the editor (https://github.com/woocommerce/woocommerce-blocks/pull/8535) * Ensure express payment buttons are visible next to each other (https://github.com/woocommerce/woocommerce-blocks/pull/8548) * Update ZIP file * Bumping version strings to new version. --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Saad Tarhi <saad.trh@gmail.com> Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com> Co-authored-by: Niels Lange <info@nielslange.de>
This commit is contained in:
parent
83192c7c4f
commit
959a0195dc
|
@ -88,6 +88,7 @@ $border-radius: 5px;
|
|||
|
||||
.wc-block-components-express-payment__event-buttons {
|
||||
> li {
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
width: 50%;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import { __ } from '@wordpress/i18n';
|
|||
import { Icon, external } from '@wordpress/icons';
|
||||
import { VisuallyHidden } from '@wordpress/components';
|
||||
import { sanitizeHTML } from '@woocommerce/utils';
|
||||
import { alert } from '@woocommerce/icons';
|
||||
import { Alert } from '@woocommerce/icons';
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
|
@ -50,7 +50,7 @@ const ExternalLinkCard = ( {
|
|||
) }
|
||||
{ warning ? (
|
||||
<span className="wc-block-editor-components-external-link-card__warning">
|
||||
<Icon icon={ alert } />
|
||||
<Icon icon={ <Alert status="error" /> } />
|
||||
<span>{ warning }</span>
|
||||
</span>
|
||||
) : null }
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
# Testing notes and ZIP for release 9.6.3
|
||||
|
||||
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/10841107/woocommerce-gutenberg-products-block.zip)
|
||||
|
||||
|
||||
## WooCommerce Core
|
||||
|
||||
### Fix the Checkout Blocks "Payment Options" settings crash in the editor. ([8535](https://github.com/woocommerce/woocommerce-blocks/pull/8535))
|
||||
|
||||
1. Install and enable an incompatible payment gateway plugin with the `Cart` & `Checkout` Blocks. (e.g., [IDPay Payment Gateway for Woocommerce](https://wordpress.org/plugins/woo-idpay-gateway/))
|
||||
2. Create a new page and add the `Checkout` Block
|
||||
3. Select the Checkout Block or any of its Inner Blocks (except for the `Payment Options` Inner Block). Ensure our incompatible payment gateway (e.g., IDPay) is listed under the incompatible gateways notice:
|
||||
|
||||
<img width="500" alt="image" src="https://user-images.githubusercontent.com/14235870/221174704-1d12e2bc-6c6c-4089-a2d2-a7bedc7f55c3.png">
|
||||
|
||||
4. Select the `Payment Options` Inner Block. Ensure its settings are correctly displayed, the incompatible gateways notice is showing and our incompatible payment Gateway is highlighted under `Settings -> Block -> Methods`
|
||||
|
||||
<img width="500" alt="image" src="https://user-images.githubusercontent.com/14235870/221178227-e4e12f08-dd88-4aac-824c-3990bde13a89.png">
|
||||
|
||||
| Before | After |
|
||||
| ------ | ----- |
|
||||
| <img width="1874" alt="image" src="https://user-images.githubusercontent.com/14235870/221171831-6245b687-a377-4730-92ab-8710360ee060.png"> | <img width="1208" alt="image" src="https://user-images.githubusercontent.com/14235870/221178227-e4e12f08-dd88-4aac-824c-3990bde13a89.png"> |
|
|
@ -121,6 +121,7 @@ Every release includes specific testing instructions for new features and bug fi
|
|||
- [9.6.0](./960.md)
|
||||
- [9.6.1](./961.md)
|
||||
- [9.6.2](./962.md)
|
||||
- [9.6.3](./963.md)
|
||||
|
||||
|
||||
<!-- FEEDBACK -->
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "@woocommerce/block-library",
|
||||
"title": "WooCommerce Blocks",
|
||||
"author": "Automattic",
|
||||
"version": "9.6.2",
|
||||
"version": "9.6.3",
|
||||
"description": "WooCommerce blocks for the Gutenberg editor.",
|
||||
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
|
||||
"keywords": [
|
||||
|
|
|
@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
|
|||
Requires at least: 6.1.1
|
||||
Tested up to: 6.1.1
|
||||
Requires PHP: 7.2
|
||||
Stable tag: 9.6.2
|
||||
Stable tag: 9.6.3
|
||||
License: GPLv3
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
|
@ -80,6 +80,14 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 9.6.3 - 2023-02-27 =
|
||||
|
||||
#### Bug Fixes
|
||||
|
||||
- Fix: Ensure that Express Payment buttons are visible next to each other. ([8548](https://github.com/woocommerce/woocommerce-blocks/pull/8548))
|
||||
- Check if session is set before returning updated customer address. ([8537](https://github.com/woocommerce/woocommerce-blocks/pull/8537))
|
||||
- Fix the Checkout Blocks "Payment Options" settings crash in the editor. ([8535](https://github.com/woocommerce/woocommerce-blocks/pull/8535))
|
||||
|
||||
= 9.6.2 - 2023-02-22 =
|
||||
|
||||
#### Bug Fixes
|
||||
|
|
|
@ -109,7 +109,7 @@ class Package {
|
|||
NewPackage::class,
|
||||
function ( $container ) {
|
||||
// leave for automated version bumping.
|
||||
$version = '9.6.2';
|
||||
$version = '9.6.3';
|
||||
return new NewPackage(
|
||||
$version,
|
||||
dirname( __DIR__ ),
|
||||
|
|
|
@ -283,6 +283,10 @@ class ShippingController {
|
|||
* @return array
|
||||
*/
|
||||
public function filter_taxable_address( $address ) {
|
||||
|
||||
if ( null === WC()->session ) {
|
||||
return $address;
|
||||
}
|
||||
// We only need to select from the first package, since pickup_location only supports a single package.
|
||||
$chosen_method = current( WC()->session->get( 'chosen_shipping_methods', array() ) ) ?? '';
|
||||
$chosen_method_id = explode( ':', $chosen_method )[0];
|
||||
|
|
|
@ -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: 9.6.2
|
||||
* Version: 9.6.3
|
||||
* Author: Automattic
|
||||
* Author URI: https://woocommerce.com
|
||||
* Text Domain: woo-gutenberg-products-block
|
||||
|
|
Loading…
Reference in New Issue