Releases: woocommerce/woocommerce-blocks
2.9.0
Minor bug-fix release (no new features).
- bug: Correctly sort translated state and country drop-down menus in Checkout block. #2779
- dev: Add storybook story for icon library. #2787
- dev: Add custom jest matcher
toRenderBlock
, used for confirming blocks are available in the editor in e2e tests. #2780 - dev: Use consistent Button component in Cart & Checkout blocks. #2781
2.8.0
2.7.1
- bug: Use IE11 friendly code for Dashicon component replacement. #2708
- bug: Fix PHP warnings produced by StoreAPI endpoints when variations have no prices. #2722
- bug: Fix missing scoped variable in closure and missing schema definitions. #2724
- bug: Fix undefined index notice for query_type on the produc
2.7.0
See the release post in the WooCommerce development blog.
This release fixes the bundle size increase in the All Products and Filter blocks introduced in 2.6.0.
- bug: Fix bug in Checkout block preventing a retry of credit card payment when first credit card used fails and a new one is tried. #2655
- bug: Avoid some theme style properties leaking into the Cart and Checkout select controls. #2647
- bug: Fixes to the product grid blocks in Twenty Twenty: discounted prices are no longer underlined and the On Sale badge is correctly positioned in the All Products block. #2573
- bug: Improved alignment of credit card validation error messages. #2662
- bug: Show the 'No shipping methods' placeholder in the editor with the Checkout block if there are shipping methods but all of them are disabled. #2543
- enhancement: Filter block font sizes have been adjusted to be in line with other blocks. #2594
- enhancement: The All Products block and the other product grid blocks now share more styles and the markup is more similar (see release post or docs to learn how to undo this change). #2428 [DN]
- enhancement: The Cart and Checkout blocks now use the heading styles provided by the theme. #2597
- enhancement: The Cart block titles have been merged into one. #2615
- enhancement: The item count badges of the Checkout block have been updated so it looks better in light & dark backgrounds. #2619
- enhancement: Checkout step progress indicator design has been updated to match the theme headings style. #2649
- performance: Reduce bundlesize of blocks using @wordpress/components directly. #2664
2.6.1
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
2.6.0-rc1
This is the first release candidate for 2.6.0, which includes the new Cart & Checkout Blocks.
Testing Plan: Go here.
Changelog
Changes made since 2.6.0.beta3
- Various styling improvements to blocks (#2405, #2420, #2431, #2448, #2465, #2461, #2478, #2479, #2494)
- Fix
X-WC-Store-API-Nonce updates
(#2429) - Fix multiple extra stripe
createSource
requests happening than necessary (#2444) - Fix saved payment method selection not working for purchases (#2425, #2453, #2455)
- Introduce
ContainerQueryContextProvider
(#2432) - Add 'Handpicked Products' block keyword (#2463)
- Fix product link not updating in button for Featured Product block when product changed (#1894)
- Update labels to match frontend sorting dropdown (#2462)
- Update usage of deprecated
@wordpress
package functions to current. Bump minimum version support for WordPress and WooCommerce (#2434) - Account for middlewares as having side-effects (#2469)
- Ensure email and phone are persisted through
setBillingData
(#2477). - Update Stripe Method to display generic icon and text in label, with additions to payment method interface api (and also adding additional icons for use in label) (#2466)
- Multiple bug fixes with Express Payment method shipping connections (#2482, #2484)
- Fix and swap rate pricing for preview data (#2496)
- Implement Reakit for payment method tabs (#2371)
- Remove
ProductPreview
component (#2499)
2.6.0-beta3
This is the third beta release for 2.6.0 which includes the new Cart & Checkout Blocks.
Testing Plan: Go here.
Changelog
These are all the changes made since 2.6.0-beta2
- Fix Cart block interaction in the editor (mobile) (#2354)
- Fix Payment Method error notices issues (#2352)
- Improve Checkout block order summary styles (#2355 and #2368)
- Add a
placeOrderButtonLabel
property to the payment methods registration configuration options. (#2362) - Make all font sizes accessible + add docs about
font-size()
mixin (#2291) - Only show checkout login prompt if store allows it (#2364)
- Fix image alignment issues for Inner Blocks on Empty Cart view in Editor (#2366)
- Rename discount section when discount total is zero (#2367)
- Fix checkout linking to "random page" for Terms and Conditions when site does not have a Terms and. Conditions page configured (#2369)
- Ensure Stripe Payment request
canMakePayment
callback uses the set country for the store (#2372) - Fix long product names regression (#2391)
- Don't show checkout block for logged out users unless store is configured to allow guest checkout (#2375)
- Decode HTML entities in
ProductName
component (#2389) - Remove radius from Checkout submit to be consistent with theme buttons (#2390)
- Use container queries to load Cart and Checkout responsive styles (#2370)
- Move checkout submit & related elements into "main" element (#2400)
- Clarify various checkout block editor sidebar wording (#2401)
- Improve local billing address state for shoppers that toggle between using same address as shipping or not (#2374)
- Remove "summaries" from the REST API in favor of client side summary calculation (#2387)
- Update Stripe payment method notices (#2417)
- Improve focus of text inputs on mount (#2416)
2.6.0-beta.2
Release of version 2.6.0-beta-2.
Testing plan: https://github.com/woocommerce/woocommerce-gutenberg-products-block/tree/master/docs/testing/cart-checkout
Changelog:
Note: this release will break compatibility with previously created Cart and Checkout blocks, this is expected behavior, you should remove and insert those blocks again.
- Paypal core payment method is supported.
- Order note has been removed until fully supported.
- Table validation on install to better support reserve_stock option.
- Fix an issue with invalid coupons breaking the cart.
- Fix an issue with shipping rates not updating.
And many style tweaks and fixes.
2.6.0-beta.1
2.6.0-beta.1
Testing plan: https://github.com/woocommerce/woocommerce-gutenberg-products-block/tree/master/docs/testing/cart-checkout