Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

6.0.0

Choose a tag to compare

@senadir senadir released this 29 Sep 08:25

Enhancements

  • Checkout v2: The checkout now supports inner blocks that allow for greater customizability. This update also includes an optional Terms and Conditions field. (4745)
  • Added global styles to All Reviews, Reviews by Category and Reviews by Product blocks. Now it's possible to change the text color and font size of those blocks. (4323)
  • Improve the Checkout Order Summary block accessibility by making more info available to screen readers. (4810)
  • Update canMakePayment to receive cart as argument and make it react to changes in billingData. Improve the performance of calculating canMakePayment after changes in the Checkout block. (4776)
  • Add support for extensions to filter express payment methods. (4774)

Bug Fixes

  • Checkout: Throw an exception if there is a shipping method required and one isn't selected at the time of placing an order. (4784)
  • Fix infinite recursion when removing an attribute filter from the Active filters block. (4816)
  • Show placeholder message in the shipping section when there are no rates. (4765)
  • Update All Reviews block so it honors 'ratings enabled' and 'show avatars' preferences. (4764)
  • Fix state validation if base location has a state, and the address has an optional state. (4761)
  • Products by Category: Moved renderEmptyResponsePlaceholder to separate method to prevent unnecessary rerender. (4751)
  • Fix validation message styling so they never overlap other elements. (4734)
  • Removed receiveCart method that was exposed in a couple of SlotFills by mistake. (4730)
  • Fix calculation of number of reviews in the Reviews by Category block. (4729)

Documentation

  • Add documentation for registerPaymentMethodExtensionCallbacks. (4834)

Performance

  • Removed wp-blocks dependency from several frontend scripts. (4767)