This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Releases: woocommerce/woocommerce-blocks
Releases · woocommerce/woocommerce-blocks
6.0.0
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)
5.9.1
5.9.0
5.8.0
Changelog
Enhancements
- Introduced the
__experimental_woocommerce_blocks_checkout_update_order_from_request
hook to the Checkout Store API. (4610) - Add "Filter Products by Stock" block. (4145)
Bug Fixes
- Prevent Product Category List from displaying incorrectly when used on the shop page. (4587)
- Add label element to
<BlockTitle>
component. (4585)
Documentation
5.7.0
Enhancements
- Featured Category Block: Allow user to re-select categories using the edit icon. (4559)
- Checkout: Switch from select element to combobox for country and state inputs so contents are searchable. (4369)
Bug Fixes
- Adjusted store notice class names so that error notices show the correct icons. (4568)
- Fix autofill triggering validation errors for valid values in Checkout block. (4561)
- Reviews by Category: Show review count instead of product count. (4552)
- Add server side rendering to search block so the block can be used by non-admins. (4551)
- Twenty Twenty: Fix broken sale badge left alignment. (4549)
- Twenty Twenty-One: Adjust removable chip background color. (4547)
- Fix handpicked product selections when a store has over 100 products. (4534)
- Replace .screen-reader-text with .hidden for elements that are not relevant to screen readers. (4530)
Various
- Performance improvements in the Cart and Checkout block extensibility points. (4570)
5.6.0
Enhancements
- Ensure payment method icons are constrained to a reasonable size in the Cart and Checkout blocks. (4427)
- Update pagination arrows to match core. (4364)
Bug Fixes
- Remove unnecessary margin from Cart block loading skeleton to avoid content jump. (4498)
- Fixed the SKU search on the /wc/store/products endpoint. (4469)
- Ensure cart totals displayed within a Panel component are aligned well and do not have extra padding. (4435)
- Fix memory leak when previewing transform options for the All reviews block. (4428)
Various
- Deprecate snackbarNotices filter in favour of snackbarNoticeVisibility to allow extensions to hide snackbar notices in the Cart and Checkout blocks. (4417)
5.5.1
Security
Security fix release to address a critical vulnerability in all minor versions of WooCommerce Blocks from 2.5 to 5.5.
More information about these changes will be published here: https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/
5.5.0
Enhancements
- Add screen reader text to price ranges. (4367)
- Allow HTML in All Products Block Product Titles. (4363)
Bug Fixes
- Ensure product grids display as intended in the editor. (4424)
- Wrap components in the Cart and Checkout sidebar in a TotalsWrapper. This will ensure consistent spacing and borders are applied to items in the sidebar. (4415)
- Remove
couponName
filter and replace it withcoupons
filter. (4312) - Fix filtering by product type on Store API. (4422)
Documentation
- Add documentation for the IntegrationInterface which extension developers can use to register scripts, styles, and data with WooCommerce Blocks. (4394)
5.4.0
Enhancements
- Made script and style handles consistent. (4324)
- Show loading state in the express payments area whilst payment is processing or the page is redirecting. (4228)
- Allow products to be added by SKU in the Hand-Picked Products block. (4366)
Bug Fixes
- Fix a warning shown when fees are included in the order. (4360)
- Prevent PHP notice for variable products without enabled variations. (4317)
Various
- Add Slot in the Discounts section of the Checkout sidebar to allow third party extensions to render their own components there. (4310)