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

Releases: woocommerce/woocommerce-blocks

4.5.1

16 Feb 18:09
@opr opr
Compare
Choose a tag to compare

Release of version 4.5.1. See readme.txt for details.

4.5.0

16 Feb 17:38
@opr opr
Compare
Choose a tag to compare

Enhancements

  • Login links on the checkout should use the account page. (3844)
  • Prevent checkout linking to trashed terms and policy pages. (3843)
  • Improved nonce logic by moving nonces to cart routes only. (3812)
  • If coupons become invalid between applying to a cart and checking out, show the user a notice when the order is placed. (3810)
  • Improve design of cart and checkout sidebars. (3797)
  • Improve error displayed to customers when an item's stock status changes during checkout. (3703)
  • Dev - Block Checkout will now respect custom address locales and custom country states via core filter hooks. (3662)
  • Update checkout block payment methods UI. (3439)

Bug Fixes

  • Fix JS warning if two cart products share the same name. (3814)
  • Align place order button to the right of the block. (3803)
  • Ensure special characters are displayed properly in the Cart sidebar. (3721)
  • Fix a bug where the total price of items did not include tax in the cart and checkout blocks. (3851)

4.4.2

05 Feb 16:32
Compare
Choose a tag to compare

Release of version 4.4.2.

Bug Fixes

  • Adds a default "features" array for payment methods which do not define supported features. Fixes conflicts with 3rd Party payment method integrations.

4.4.0

03 Feb 14:42
Compare
Choose a tag to compare

Enhancements

  • Design tweaks to the cart page which move the quantity picker below each cart item and improve usability on mobile. (3734)

Bug Fixes

  • Fix - Ensure empty categories are correctly hidden in the product categories block. (3765)
  • Fix - Added missing wrapper div within FeaturedCategory and FeatureProduct blocks. (3746)
  • Fix - Set correct text color in BlockErrorBoundry notices. (3738)
  • Hidden cart item meta data will not be rendered in the Cart and Checkout blocks. (3732)
  • Fix - Improved accessibility of product image links in the products block by using correct aria tags and hiding empty image placeholders. (3722)
  • Add missing aria-label for stars image in the review-list-item component. (3706)
  • Prevent "X-WC-Store-API-Nonce is invalid" error when going back to a page with the products block using the browser back button. (3770)

Compatibility

  • Hide the All Products Block from the new Gutenberg Widget Areas until full support is achieved. (3737)
  • Legacy star-rating class name has been removed from Product rating block (inside All Products block). That element is still selectable with the .wc-block-components-product-rating class name. (3717)

4.3.0

20 Jan 09:17
Compare
Choose a tag to compare

Bug Fixes

  • Update input colors and alignment. (3597)

Enhancements

  • Store API - Fix selected rate in cart shipping rates response. (3680)
  • Create get_item_responses_from_schema abstraction. (3679)
  • Show itemized fee rows in the cart/checkout blocks. (3678)
  • Extensibility: Show item data in Cart and Checkout blocks and update the variation data styles. (3665)
  • Introduce SlotFill for Sidebar. (3361)

4.2.0

06 Jan 09:27
Compare
Choose a tag to compare

Release of version 4.2.0.

Bug Fixes

  • Fix an error that was blocking checkout with some user saved payment methods. (3627)

4.1.0

24 Dec 14:28
df7b0f5
Compare
Choose a tag to compare

Release of version 4.1.0.

Enhancements

  • Add the ability to directly upload an image in Featured Category and Featured Product blocks. (3579)
  • Fix coupon code button height not adapting to the font size. (3575)
  • Fixed Coupon Code panel not expanding/contracting in some themes. (3569)
  • Fix: Added fallback styling for screen reader text. (3557)

Bug Fixes

  • Fix nonce issues when adding product to cart from All Products. (3598)
  • Fix bug inside Product Search in the editor. (3578)
  • Fix console warnings in WordPress 5.6. (3577)
  • Fixed text visibility in select inputs when using Twenty Twenty-One theme's dark mode. (3554)
  • Fix product list images skewed in Widgets editor. (3553)
  • Correctly validate fields containing white space on the checkout.
  • Add address validation to values posted to the Checkout via StoreApi. (3552)
  • Fix Fees not visible in Cart & Checkout blocks when order doesn't need shipping. (3521)

compatibility

  • Fix All Products block edit screen. (3547)

wp dependency

  • Bumped the minimum WP required version to 5.4. (3537)
  • Removed compatibility with packages in WordPress 5.3. (3541)

4.0.0

08 Dec 13:17
Compare
Choose a tag to compare

Release of version 4.0.0.

Enhancements

  • Dev: Change register_endpoint_data to use an array of params instead of individual params. (3478)
  • Dev: Expose store/cart via ExtendRestApi to extensions. (3445)
  • Dev: Added formatting classes to the Store API for extensions to consume.

Bug Fixes

  • Checkout block: Prevent Create an account from creating up a user account if the order fails coupon validation. (3423)
  • Make sure cart is initialized before the CartItems route is used in the Store API. (3488)
  • Fix notice close button color in Twenty Twenty One dark mode. (3472)
  • Remove held stock for a draft order if an item is removed from the cart. (3468)
  • Ensure correct alignment of checkout notice's dismiss button. (3455)
  • Fixed a bug in Checkout block (Store API) causing checkout to fail when using an invalid coupon and creating an account.
  • Checkout block: Correctly handle cases where the order fails with an error (e.g. invalid coupon) and a new user account is created. (3429)
  • Dev: Refactored and reordered Store API checkout processing to handle various edge cases and better support future extensibility. (3454)

3.9.0

25 Nov 20:20
d0e8ff7
Compare
Choose a tag to compare

Release of version 3.9.0.

Enhancements

  • Expose discount_type in Store API coupon endpoints. (3399)
  • Exclude checkout-draft orders from WC Admin reports and My Account > Orders. (3379)

Bug Fixes

  • Hide spinner on cart block's "Proceed to Checkout" link when page unloads. (3436)
  • Fixed express payment methods processing not completing when Stripe payment method active. (3432)
  • Refresh PaymentRequest after cancelling payment to prevent addresses remaining populated on repeat attempts. (3430)
  • Ensure "Add a note to your order" section is styled correctly when disabled. (3427)
  • Prevent checkout step heading text overlapping actual heading on small viewports. (3425)
  • Improve Stripe payment request API payment method availability. (3424)
  • Stop hidden products from being linked in cart and checkout blocks. (3415)
  • Show Express Payment Method Error Notices after Payment Failure. (3410)
  • Fix cart block isLarge console error in the editor when running WordPress 5.6 beta. (3408)
  • Fix: Orders not being placed when paying with an Express payment method from the Cart block. (3403)
  • Fix incorrect usage of static method in Stripe payment method integration. (3400)
  • Cart and checkout should respect the global "Hide shipping costs until an address is entered" setting. (3383)
  • Sync shipping address with billing address when shipping address fields are disabled. This fixes a bug where taxes would not reflect changes in billing address when they are set to be calculated from billing address (3358)

refactor

  • Support a plain js configuration argument to payment method registration APIs. (3404)

3.8.0

10 Nov 15:07
Compare
Choose a tag to compare

Release of version 3.8.0. See readme.txt for details.

Bugfixes

  • Show the phone number field in the billing section when shipping is disabled in settings. (3376)

Enhancements

  • Add new doc referencing feature flags and experimental interfaces. (3348)
  • Add __experimental_woocommerce_blocks_checkout_order_processed action. (3238)