This repository was archived by the owner on Feb 23, 2024. It is now read-only.
2.6.0
New Blocks
The Cart and Checkout blocks are released in this version for wider review and testing as a part of our consideration for including them in WooCommerce Core. You can read more about these blocks here.
Also, note that we are aware of the increased file size for the All Products and Filter blocks frontend JavaScript. It is from some dependency changes. We will be addressing this as soon as possible in a future release.
You can read more about the release here
- bug: Add placeholder to the on-sale products block when no results are found. #1519
- bug: Added correct ellipsis character in Product Search block #1672
- bug: If product is changed for featured product block, update the link in the button. #1894
- bug: Import from
@woocommerce/settings
in@woocommerce/block-settings
#2330 - dev: Accessibility of the All Products block and filter blocks has been improved. #1656
- dev: All Products Block: Update sorting labels to match frontend options #2462
- dev: Change PropType validation for Icon component #1737
- dev: Changed default rows and columns for product grid blocks to 3x3. #1613
- dev: Check for instance of WP_Block in render_callback #2258
- dev: Devs:
ENABLE_REVIEW_RATING
setting was renamed toREVIEW_RATINGS_ENABLED
and now it also verifies reviews are enabled, to better match WooCommerce API. #1374 - dev: Fix price filtering when stored prices do not match displayed prices (determined by tax settings). #1612
- dev: HTML editing is no longer supported in several blocks. #1395
- dev: Implement __experimentalCreateInterpolateElement for translations. #1736
- dev: Load WooCommerce Core translations for 'Sale!' and some other strings if translations are unavailable for WooCommerce Blocks. #1694
- dev: Prevent data hydration on REST requests #2176
- dev: Show relationship between terms in the active filters block. #1630
- dev: Table creation validation for install routine #2287
- dev: Update the icons used in the blocks. #1644
- enhancement: Add dropdown display style to Filter Products by Attribute block. #1255
- enhancement: Add option to display a Filter button to Filter Products by Attribute block. #1332
- enhancement: Add support for image for product categories block #1739
- enhancement: An error notice will be shown in All Product if the customer is trying to add a product above stock or sold individually. #2278
- performance: Improvements to REST API performance #2248
- performance: Avoid loading Assets API during REST requests #2286