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

Releases: woocommerce/woocommerce-blocks

10.4.2

13 Jun 08:33
Compare
Choose a tag to compare

Bug Fixes

  • Update the Product Collections: Featured Collections to replace the Unsplash image with a CCO licensed image from Pxhere. (9766)
  • Update the Featured Category patterns to replace the Unsplash image with a CCO licensed image from Pxhere. (9765)
  • Update the Product Details patterns to replace the Unsplash images with CCO licensed images from Pxhere. (9764)
  • Update the Hero Product Split pattern to replace the Unsplash image with a CCO licensed image from Pxhere. (9762)
  • Update the Hero Product Chessboard pattern to replace the Unsplash image with a CCO licensed image from Pxhere. (9761)
  • Update the banner pattern to replace the Unsplash image with a CCO licensed image from Pxhere. (9760)
  • Fix error on clearing customizations on Woo Templates that prevented WooCommerce Classic Template block from being displayed. (9759)

10.4.0

08 Jun 08:08
Compare
Choose a tag to compare

Enhancements

  • Enable Single Product Block. (9714)
  • Product Price: Remove underline on sale price. (9702)
  • Blockified Single Product Template: Use h1 for the Product Title. (9698)
  • Blockified Single Product Template: Add product-classes. (9697)
  • Blockified Single Product Template: Show upsells. (9636)
  • Template Placeholder Design for the Order Received Template. (9602)
  • Mini-Cart: Update cart error notices to be non-dismissable (to match the behavior of the regular Cart). (9578)
  • Classic Product Template block visible in the inserter. (9573)
  • Hide the Product Rating when the product has no reviews. Previously, a link to the Reviews section was displayed. (9556)
  • Reduced the amount of settings data consumed by the cart and checkout blocks. (9552)
  • Enable blockified templates. (9551)
  • Product Categories List: Add "Show child categories only" toggle. (9550)
  • Add Product Rating block to the default Single Product template. (9510)
  • Add support for the Product Rating block within the Single Product template. (9499)
  • The Mini-Cart block is now compatible with caching plugins. (9493)
  • On-Sale Badge: Use background and text color of the button element if not defined in theme.json. (9068)

Bug Fixes

  • Fix aria-label displaying wrong information on mini-cart. (9672)
  • Allow plugin based template parts in templates. (9667)
  • Prevent horizontal shift when opening the Mini-Cart drawer if scrollbars are visible. (9648)
  • Fix text alignment issue on various widths for Just arrived full hero pattern. (9640)
  • Product Image Gallery Block: Reintroduce filters and override-restore the global product variable. (9630)
  • Remove propTypes definitions from Product List container. (9616)
  • Remove propTypes definitions from Add to Cart. (9615)
  • Revalidate the postcode when changing country in the Checkout form. (9611)
  • Fix an issue where changing country could cause shipping rates to constantly reload. (9606)
  • Fix non visible cart button on mini cart in certain themes. (9603)
  • Fix Mini-Cart badge not visible in themes without a <body> background color. (9601)
  • Fix Cambodian postcode validation. (9597)
  • Product Image Gallery block: Fix magnifying glass appearing outside the block content area. (9594)
  • Exclude already-enqueued scripts from scripts to lazy load in the Mini Cart block. (9587)
  • Fix: Ensure the global product variable is restored to its original value after being overridden within the Add to Cart with Options block. (9581)
  • Fix alignment of the close button in the Mini-Cart drawer when it has borders. (9507)
  • Add to Cart with Options Block: Remove global variable overwrite. (9457)
  • Fix total shipping display info when no shipping method is available. (8819)
  • Blockified Single Product Template: use h1 for the Product Title when transforming from Classic template. (9748

10.3.0

24 May 13:04
Compare
Choose a tag to compare

Enhancements

  • Add Banner pattern. (9434)
  • Update Mini-Cart block editor sidebar with a clearer design and texts. (9420)
  • Add product details pattern. (9408)
  • Modernize the block registration for the Add to Cart button. (9404)
  • Fix alignment issue with 'Add Coupon Code' button in WooCommerce Blocks. (9392)
  • Add new Product collections: Featured collections pattern. (9388)
  • Classic Product Block: Improve layout and user experience to migrate to blockified templates. (9386)
  • Add the new Product Details: Product listing pattern. (9383)
  • Mini cart: Add color and typography styles on the mini cart title block. (9382)
  • Add new Product listing with gallery pattern. (9347)
  • New Mini Cart count badge which is only visible if there is at least one item in the cart. (9259)
  • [Pattern] Add new Hero product chessboard pattern. (9180)
  • Trigger the set-billing-address from the shipping step. (8841)

Bug Fixes

  • Fix an issue that caused the color of the Product Meta block icon to not change when the block was selected in the Site Editor's List View. (9506)
  • Fix an issue that caused the color of the Product Details block icon to not change when the block was selected in the Site Editor's List View. (9503)
  • Fix Checkout block stepped sections numbers overlapping. (9497)
  • Fix compatibility between the checkout block and the template editor. (9495)
  • Product Search Results Template: Fix compatibility layer when the Product Catalog isn't blockified. (9492)
  • Product Details block: Show the block when used along the Post Content block. (9479)
  • Fix: Remove the global variable overwrite for the Product Gallery block while still keeping support for the Single Product block. (9475)
  • Archive Templates - Compatibility Layer: Avoid woocommerce_before_shop_loopandwoocommerce_after_shop_loop are injected when any products is rendered. (9464)
  • Allow Shipping method prices to inherit global styles text color. (9456)
  • Product Archive Template: Fix compatibility Layer with Product Recommendations extension. (9452)
  • Fixed appearance of checkout form step headings in the editor. (9437)
  • Global Styles: Fix radio control overlap when font-size is small. (9436)
  • Fix COD availability on checkout. (9375)
  • Addressed an issue where a fatal error could sometimes be thrown if a plugin modified a shipping package's rates incorrectly. (9351)
  • Mini Cart block no longer uses the Modal component from @wordpress/components. (9345)
  • Fix: ensure the global product variable is restored to its original value after being overridden within the Add to Cart with Options block. (9581)

Performance

  • Removed the block-editor dependency on the frontend. (9251)

10.2.0

11 May 11:21
Compare
Choose a tag to compare

Enhancements

  • Add Shop by Price pattern. (9373)
  • Convert featured category triple pattern to use WP core blocks. (9340)
  • Add Featured Category pattern. (9322)
  • [Pattern] Add new Hero product 3 split pattern. (9319)
  • Add featured category cover image pattern. (9284)
  • Add featured category triple pattern. (9269)
  • Add new Product Collections: Featured Collection pattern. (9246)
  • Make Mini Cart footer border follow the current text color. (9245)
  • [Pattern] Add new Product Collections: Newest Arrivals pattern. (9240)
  • Add the new WooCommerce Hero Product – Split pattern. (9191)
  • Add product hero pattern. (9181)
  • Related Products: Make Product Title a link by default. (9179)
  • [Patterns] Add new Footer with 3 menus menu. (9175)
  • [Patterns]: Add new Header Centered Search pattern. (9081)
  • Add the new WooCommerce Featured Products 5-item grid pattern. (9006)
  • Products block: Using nested selectors to add consistent spacing between Product elements. (8993)
  • Products (Beta): Add a filter to allow merchants to hand-pick a subset of products. (7925)

Bug Fixes

  • Fix a regression which caused the Mini Cart drawer not to open until its contents have completely loaded. (9329)
  • Prevent email being cleared when changing shipping method or when first entering shipping informaiton. (9328)
  • Product Image Gallery: Fix resize width when the window resizes. (9299)
  • Product Image Gallery: Fix the inline displayed issue. (9297)
  • Single Product Template - Related Products: Fix items per page option. (9286)
  • Fix shipping notices when cart contains multiple packages. (9285)
  • Prevent Product Price global styles leaking into the Mini Cart, Cart and Checkout blocks. (9276)
  • Fix consistency between editor and frontend button styling. (9260)
  • Fix Mini Cart block not respecting Add-to-Cart behaviour attribute when adding the first product. (9257)
  • Make it so wide widths are correctly applied to the Mini Cart Contents block in the editor. (9201)
  • Performance: Removed lodash dependency on the frontend. (9161)
  • Fix bug in which optional postcodes were still validated. (9377)

Various

  • Update the icon and description for the Product Meta block. (9243)
  • Update the icon and description for the Product Details block. (9241)
  • Rename Add To Cart Form to Add To Cart Options. (9238)

10.1.0

26 Apr 15:08
Compare
Choose a tag to compare

Enhancements

  • Add spacing around the Customer Account block to make it more easily clickable on the Editor page (9009)
  • Mini-cart: make the title customizable. (8905)
  • Mini-cart: allow customizing the drawer width. (8930)
  • StoreAPI: add new "/wc/store/v1/products/:slug" endpoint, allow searching products by slug with "/wc/store/v1/products?slug=product-slug" and return new field slug from the product endpoints. (9017)
  • Display Mini Cart overlay in template part editor to better reflect the frontend experience. (9014)
  • Product Stock indicator: Add support for background color, margin, padding & various typography controls (8954)
  • Products: Optimise loading in the Editor (9021)
  • useStoreProducts: Improve the logic of choosing the product from the outcome (9079)
  • Mini cart settings: Replace ToggleGroupControl with ToggleControl. (9098)
  • Checkout: Display special characters when they are part of a city name. (9117)
  • Cart: Use body background color as the Cart block sticky footer background color. (9103)
  • Checkout page: Add: pointer cursor to checkbox and radio input fields. (9102)
  • Minimal Header pattern: Update design (9126)
  • Add theme-level global styles to Cart and Checkout block. (8809)
  • Add new Testimonials 3 columns pattern. (9159)
  • Add new Featured Products 2 columns pattern. (9072)

Bug Fixes

  • Fix the product counts for the filter by attribute block now match the displayed products with different filter combinations, including filter by price, by rating, by stock, and by other attributes as well. (8599)
  • Give user customized Mini Cart template part priority over the template part from the theme. (9005)
  • Product Meta block: Block is not being displayed on the frontend. (9032)
  • Fix JS error visible in the editor caused by Mini Cart Contents buttons. (9039)
  • Remove excessive margin between cart items in the Mini Cart block. (9051)
  • Fix "Order received" page does not display the payment method information. (9092)
  • Match editor "Place Order" button UI with frontend. (9094)
  • Filter by Price block: Fix slider thumb position on wide screens. (9118)
  • Filter by Stock Status block: Fix dropdown ordering. (9127)
  • Disable "Hide shipping costs until an address is entered" option when Local Pickup is in use. (8964)
  • Mini Cart block: fix slide in animation. (9195)
  • Set minimum width for the Mini Cart Contents block. (9196)

10.0.3

21 Apr 08:42
Compare
Choose a tag to compare

Bug Fixes

  • Fix image editor in Featured Product/Category blocks on WP 6.2. (9142)

10.0.2

19 Apr 08:04
Compare
Choose a tag to compare

Bug Fixes

  • Fix infinite loop with the registration of Single Product Block (and inner blocks) breaking WP Post and Page editors in WP 6.1. (9090)

10.0.1

18 Apr 12:23
Compare
Choose a tag to compare

Bug Fixes

  • Product Price Block: Remove ProductSelector support. (8980)
  • Single Product Compatibility Layer: add support for custom HTML Blocks. (9075)
  • Fix: tax_query should be calculated only if __woocommerceAttributes is valid. (9049)

10.0.0

11 Apr 13:43
@opr opr
d77e994
Compare
Choose a tag to compare

Enhancements

  • Filter by Price: Simplify the interface by removing the decimals. (8975)
  • Moved editor-only placeholders to the block inspector to improve the appearance of the checkout block in the post editor. (8957)
  • Enhance Product SKU block styling capabilities with additional support for color, typography & spacing. (8913)
  • Enhance Product Price block styling capabilities with additional support for background color, line height, font family, letter spacing, and padding. (8906)
  • Enable users to migrate to the blockified Single Product template. (8902)
  • Set Cart and Checkout blocks to have the wide alignment by default when first added to a page. (8899)
  • Add padding support for Product Image block. (8895)
  • Added the “Products Review” block. (8857)
  • New styles for error, info, and success notices across notices created by blocks. Additionally, existing notices in core receive new styles when Cart and Checkout Blocks are in use. (8659)
  • Add additionalCartCheckoutInnerBlockTypes checkout filter to allow additional block types to be inserted into the Cart and Checkout blocks in the editor. (8650)
  • Add Single Product block that allows merchant to select and display a single product on their store. (8610)
  • Product Rating: Normalize the height of rating icons and the add review link. (8399)
  • Show the collection address in the shipping section of the Checkout sidebar when using a Local Pickup method. (8305)

Bug Fixes

  • Prevent the shipping/billing address forms from breaking when entering postcodes for specific countries. (8987)
  • Product Archive Compatibility Layer: Fix duplicated content. (8915)
  • Product Archive compatibility layer: Fix the woocommerce_after_shop_loop_item_title hook positioning. (8911)
  • Fix image placeholder for the Product Image Gallery block that was not fitting inside its wrapper component. (8901)
  • Add Cart and Checkout blocks to the Style Book. (8888)
  • Fix duplicated "Shipping Method" Block on the front-end. (8861)
  • Replace the Notice component with the Skeleton component for the Add to Cart Form block. (8842)

9.9.0

30 Mar 21:01
Compare
Choose a tag to compare

Enhancements

  • Move Related Products's notice component to the Inspector Control section. (8843)
  • Product SKU Block: Don't render the prefix when the SKU isn't defined. (8837)
  • Mini-cart: Add the option to change the style between 'Outline' and 'Fill' in all the buttons. (8835)
  • Product SKU: Make the block focusable in editor. (8804)
  • Add Fill & Outline styles, width settings & new typography controls for Product(Add to cart) button block. (8781)
  • Allow themes to remove the Mini Cart title on overridden template parts. (8779)
  • Add style to the Mini Cart buttons. (8776)
  • Add the ability to change the background and text colors of the Mini Cart block "Start shopping" button. (8766)
  • Mini-cart: Add setting to not render the block on the cart & checkout pages. (8700)
  • Ensure shipping rates do not show in the Checkout block if the "Hide shipping costs until an address is entered option is selected". (8682)
  • Move option to hide shipping costs until an address is entered to the Checkout block. (8680)
  • Remove certain Shipping settings from WooCommerce -> Settings -> Shipping -> Shipping Options when using the Cart or Checkout blocks, these have been moved to setting on the blocks. (8679)
  • Add spacing between Mini Cart title and products list when scrolled. (8676)
  • Add new ExperimentalOrderLocalPickupPackages Slot/Fill. (8636)
  • Add default Single Product HTML template. (8515)
  • Validate postcodes client-site instead of server-side. (8503)
  • Added support for woocommerce_available_payment_gateways to the Store API. (8441)

Bug Fixes

  • Fix border styles not visible in the editor in Featured Product and Featured Category blocks. (8838)
  • Add decoding to product names titles that are in HTML entities. (8824)
  • Fix react 18 error in the editor when using cart/checkout blocks. (8820)
  • Filter by Stock and Filter by Rating: Fix the potential endless redirection loop when used on a search results page. (8784)
  • Fix "Save changes" default behavior bug in the Firefox browser. (8754)
  • Store API - Apply woocommerce_cart_item_permalink filter to cart item permalinks. (8726)
  • Add validation error to prevent checkout when there is no shipping method available. (8384)
  • Fix Markdown table in payment-method-integration.md > external contribution #8158. (8258)

Various

  • Display pickup location details in order confirmations. (8727)
  • Local Pickup: Merge country and state into same field in location modal. (8408)
  • Enable users to migrate to the blockified Single Product template. (8324)