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

Releases: woocommerce/woocommerce-blocks

3.7.1

05 Nov 12:42
ece1bc4
Compare
Choose a tag to compare

Release of version 3.7.1.

Bug Fixes

  • Ensure that accounts are not created via checkout block request if account registration is disabled for WooCommerce (#3371)

3.7.0

29 Oct 19:28
Compare
Choose a tag to compare

Enhancements

  • Allow shoppers to sign-up for an account from the Checkout block. (3331)
  • Standardise & refactor colors scss to align with Gutenberg colors and WooCommerce brand. (3300)

Bug Fixes

  • Fix PHP 8 error when argument is not invocable in AssetsDataRegistry::Add_data. (3315)
  • Improve layout of Cart block line item quantity selector & price on smaller screens. (3299)
  • Correctly process orders with $0 total (e.g. via coupon) in Checkout block. (3298)
  • Respect Enable Taxes setting for checkout block taxes display. (3291)
  • Fix 3D secure payment errors. (3272)
  • Show current selected attributes when re-edit Products by Attribute block. (3185)

3.6.0

12 Oct 15:35
Compare
Choose a tag to compare

Release of version 3.6.0.

Bug Fixes

  • Make 'retry' property on errors from checkoutAfterProcessingWithSuccess/Error observers default to true if it's undefined. (3261)
  • Ensure new payment methods are only displayed when no saved payment method is selected. (3247)
  • Load WC Blocks CSS after editor CSS. (3219)
  • Restore saved payment method data after closing an express payment method. (3210)

refactor

  • Don't load contents of payment method hidden tabs. (3227)

3.5.0

29 Sep 15:14
6df77c0
Compare
Choose a tag to compare

Release of version 3.5.0:

Bug Fixes

  • Use light default background colour for country/state dropdowns. (3189)
  • Fix broken Express Payment Method use in the Checkout block for logged out or incognito users. (3165)
  • Fix State label for Spain. (3147)
  • Don't throw an error when registering a payment method fails. (3134)

refactor

  • Use noticeContexts from useEmitResponse instead of hardcoded values. (3161)

3.4.0

15 Sep 12:10
d64a261
Compare
Choose a tag to compare

Release of version 3.4.0.

Bug Fixes

  • Ensure shopper saved card is used as default payment method (default was being overwritten in some circumstances). (3131)
  • Fix Cart & Checkout sidebar layout broken in some themes. (3111)
  • Fix product reviews schema date fields to use new (WP 5.5) date-time format. (3109)
  • Use wp_login_url instead of hardcoding login path. (3090)
  • Fix an issue with COD not showing when first enabled. (3088)
  • Fix JS console error when COD is enabled and no shipping method is available. (3086)

performance

  • Create DebouncedValidatedTextInput component. (3108)

refactor

  • Merge ProductPrice atomic block and component. (3065)

3.3.0

02 Sep 00:38
Compare
Choose a tag to compare
  • enhancement: Show express payment methods in the Cart block (for example: Apple Pay, Chrome Pay). 3004
  • bug: Fix alignment of discounted prices in Cart block. 3047
  • bug: Fix an issue with products sold individually (max of 1 per cart); the Checkout block now shows a notice if shopper attempts to add another instance of product via an add-to-cart link. 2854
  • bug: Fixed styling options of the Product Title block (in All Products). 3095

3.2

18 Aug 16:48
Compare
Choose a tag to compare
3.2

Release of version 3.2.0.

  • Fix 'Add new product' link in All Products block 'No products' placeholder. #2961
  • Fix an undefined variable PHP notice related to Product REST API. #2962
  • Fixed an issue that was making some blocks not to render correctly in the Empty cart template. #2904
  • Fixed an issue that was not rendering the Checkout block in editor when guest checkout was not allowed. #2958
  • Hide the discount badge from Cart items if the value is negative. #2955
  • Hide saved payment methods if their payment gateway has been disabled. #2975
  • Add dark colors and background for Cart & Checkout blocks inputs to support dark backgrounds. #2981
  • The Checkout block allows customers to introduce an order note. This feature can be disabled in the editor. #2877
  • Cart and Checkout form fields show autocapitalized keyboard on mobile depending on the expected value. #2884
  • Cart and Checkout will show a live preview inside the block inserter and style selector. #2992
  • Payment gateways are shown in the correct order as configured in store settings. #2934
  • Fix a cosmetic issue where payment form errors sometimes overlap with card icons. #2977
  • Fixes a styling issue in the Product Search block in the editor. #3014
  • Improved focus styles of error states on form elements. #2974
  • Removed generic icons for Check and Stripe Credit Card to reduce visual clutter in Checkout block. #2968
  • Deprecate wc.wcSettings.setSetting function. #3010
  • Improve behaviour of draft order cleanup to account for clobbered custom shop order status. #2912

3.1.0

29 Jul 15:45
Compare
Choose a tag to compare

This release adds support for WordPress 5.5. You can read more in the release post.

  • Fix missing permissions_callback arg in StoreApi route definitions #2926
  • Fix 'Product Summary' in All Products block is not pulling in the short description of the product #2913
  • dev: Add query filter when searching for a table #2886 👏 @pkelbert

3.0.0

22 Jul 13:34
cc00da6
Compare
Choose a tag to compare

This release adds support for Cash on Delivery and Bank Transfer payment methods to the checkout block. The payment method extension api for the blocks has an update to the canMakePayment property. You can read more about that update in the release post.

  • build: Updated the automattic/jetpack-autoloader package to the 2.0 branch. #2847
  • enhancement: Add support for the Bank Transfer (BACS) payment method in the Checkout block. #2821
  • enhancement: Several improvements to make Credit Card input fields display more consistent across different themes and viewport sizes. #2869
  • enhancement: Cart and Checkout blocks show a notification for products on backorder. #2833
  • enhancement: Chip styles of the Filter Products by Attribute and Active Filters have been updated to give a more consistent experience. #2765
  • enhancement: Add protection for rogue filters on order queries when executing cleanup draft orders logic. #2874
  • enhancement: Extend payment gateway extension API so gateways (payment methods) can dynamically disable (hide), based on checkout or order data (such as cart items or shipping method). For example, Cash on Delivery can limit availability to specific shipping methods only. #2840 [DN]
  • enhancement: Support Cash on Delivery core payment gateway in the Checkout block. #2831
  • performance: Don't load shortcode Cart and Checkout scripts when using the blocks. #2842
  • performance: Scripts only relevant to the frontend side of blocks are no longer loaded in the editor. #2788
  • performance: Lazy Loading Atomic Components #2777
  • refactor: Remove dashicon classes #2848

2.7.2

16 Jul 18:04
22a1969
Compare
Choose a tag to compare

Release of version 2.7.2.

This release is not deployed to WordPress.org but is for accompanying WooCommerce 4.3.1 release.

Changeset

  • enhancement: Move Draft order logic behind feature flag. #2874