Changelog

  • A new version of WooCommerce Blocks has been released! Version 7.4.2 is now available for download from GitHub and WordPress.org.

    This release introduces the new Cart & Checkout Inner Blocks architecture and contains a Filter Products by Price improvement, and some bug fixes.

    Cart & Checkout: Customization & Extensibility

    In making the Cart & Checkout blocks more customizable, we are working on breaking them down into inner blocks. This will allow us to insert, move, edit & optimize each inner block:

    • Insert: Inserting blocks into available areas in the block, just like you would insert a regular block.
    • Move: Using the native, accessible moving API that Gutenberg exposes.
    • Edit: Every step and third-party section is a full-fledged block with its settings and editing capabilities.
    • Optimize: The checkout experience by safeguarding the checkout flow and order.

    You can test the power of Inner Blocks with the Cart Block and Checkout Block “order summary” new structure:

    Cart block before:
    The Order summary block

    Cart block after:
    The Order summary block

    Selection of an Order summary Inner block

    For more details please see the Changelog below:

    Changelog

    v7.4.0

    Enhancements

    • Allow adding the Filter Products by Price block to Product Catalog templates to filter products. (6146)
    • The order summary area for the Cart and Checkout Blocks is now powered by Inner Blocks allowing for more customizations and extensibility. (6065)

    Bug Fixes

    • Increase Cart product quantity limit. (6202)
    • Mini Cart block: Fix translations loading. (6158)
    • Fix Featured Product and Featured Category buttons misalignment in Twenty Twenty Two theme. (6156)
    • Remove the ToggleButtonControl in favor of ToggleGroupControl. (5967)
    • Decode HTML entities when formatting Store API error messages. (5870)

    v7.4.1

    Bug Fixes

    • Fix page load problem due to incorrect URL to certain assets. (6260)

    v7.4.2

    Bug Fixes

    • Ensure errors during cart/checkout API requests are shown on the front-end. (6268)

  • WooCommerce 6.4.1 is available for download. This release rolls back a change to WooCommerce menu item sorting. It also updates WooCommerce Blocks to 7.2.2 to resolve an error when loading certain assets.

    What’s new?

    • Reverted #31779. The initial change was in response to a WordPress Core change that never made it to production. (#32623)
    • Updated WooCommerce Blocks to 7.2.2. (#32641)

    You can download the latest release of WooCommerce here or visit Dashboard → Updates to update the plugin from your WordPress admin screen.

    As usual, if you spot issues in WooCommerce core, please log them in detail on GitHub. Found a security issue? Please submit a report via HackerOne.


  • We are pleased to announce the release of WooCommerce 6.4. This release should be backwards compatible with the previous version.

    This release contains:

    As always, we recommend creating a backup of your site and making sure that your theme and any other plugins are compatible before updating. You can check out this update guide for more information.

    What’s new in 6.4?

    • WooCommerce Blocks: We’ve updated to the 7.2.1 version of the feature plugin. See the release posts for 7.1.0 and 7.0.0 to see what’s new.
    • WooCommerce Admin: We’ve updated to the 3.3.2 version of the feature plugin. See the changelog to find out what’s new.
    • With many of the preliminary decisions made, we’ve started working towards an implementation of custom tables for orders!

    These are just some of the changes that are included in WooCommerce 6.4. You can find the complete changelog for this release in the changelog.txt file.

    Much 💜 to all the contributors

    Finally a big thanks to everyone in the community who has contributed via issue reports, fixes, translation, testing, supporting other users, or simply spreading the word.

    WooCommerce Core

    Luc45
    octaedro
    ilyasfoo
    jeffstieler
    tammullen
    iamdharmesh
    shoheitanaka
    shuaixiaoqiang
    dinhtungdu
    joshbetz
    alopezari
    joshuatf
    ObliviousHarmony
    rrennick
    jorgeatorres
    jonathansadowski
    mikejolley
    roykho
    n3f
    helgatheviking
    sebcode
    jobthomas
    dnwjn
    xristos3490
    lanej0
    sicelo
    opr
    Saggre
    claudiosanches
    MrJnrman
    Konamiman
    peterfabian
    barryhughes
    szepeviktor
    felipelousantos
    louwie17
    vedanshujain

    WooCommerce Admin

    bgrgicak
    Mte90
    travisw
    louwie17
    joshuatf
    jacob-sewell
    adrianduffell
    rjchow
    octaedro
    chihsuan
    ilyasfoo
    moon0326
    psealock
    jaclync
    mattsherman

    WooCommerce Blocks

    danieldudzic
    sunyatasattva
    dinhtungdu
    mikejolley
    ralucaStan
    tjcafferkey
    mrleemon
    senadir
    PanosSynetos
    colinleroy
    tarhi-saad
    nielslange
    gigitux
    opr
    xristos3490
    Aljullu
    alexflorisca
    kaznovac
    tomasztunik
    frontdevde
    tarunvijwani

  • We’re excited to announce that the first release candidate for WooCommerce 6.4 is now available. We are currently on track for our planned April 12th, 2022 release date.

    Changes

    Since the beta release, the following change has been made:

    • Updated WooCommerce Admin to 3.3.0-rc.2
    • Updated WooCommerce Blocks to 7.2.1

    Testing

    If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from WordPress.org.

    A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started.

    If you discover any bugs during the testing process, please let us know by logging a report in GitHub.


  • A new version of WooCommerce Blocks has been released! Version 7.3.0 is now available for download from GitHub and WordPress.org.

    This release contains some changes for Mini Cart Block, WooCommerce block templates and more.

    Mini Cart

    This release brings the Mini Cart block to the WooCommerce Blocks Feature Plugin. Meaning with the plugin now installed and activated it will be available from the Site Editor (when using a block theme) and the widget screen (when using a classic theme).

    Legacy Block to Classic Block

    We’ve also renamed all instances of the “Legacy Block” (The placeholder block which renders Woo PHP templates on the frontend) to the “Classic Block”.

    Product Ratings Block

    We were able to add Global Styles font size and spacing support to the Product Rating block. This means you can now include this block in a template if you’re using the full site editor, and change its appearance everywhere it appears on your site from one place.

    Changelog

    Enhancements

    • Prevent deprecation messages causing PHP warnings. (6074)
    • Product Ratings: Add Global Styles font size and spacing support. (5927)
    • Add resource hinting for cart and checkout blocks to improve first time performance. (5553)
    • Add Mini Cart block to feature plugin (6127)

    Bug Fixes

    • Show warnings when form is incomplete on Checkout. (6116)
    • Filter Products by Attribute: Make dropdown search case sensitive. (6096)
    • Stop showing the price slider skeleton when moving the slider handles. (6078)

    Various

    • Rename Legacy Template block to Classic Template block. (6021)

  • Beta 1 for the April 2022 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.

    Highlights

    For all of the changes in this release, see the full changelog.

    Actions and Filters

    This release adds two new filters.

    FilterDescription
    woocommerce_admin_order_should_render_refundsDetermines whether the refund UI should be rendered in the order editor.
    woocommerce_refund_restock_noteDetermines whether or not an order note is added when a refund restocks an item.

    Database Changes

    This release contains two database changes.

    • Added rate_limit_remaining column to wc_rate_limits table.
    • Added primary key to wc_product_attributes_lookup table.

    Template Changes

    There are no template changes in this release.

    Deprecations

    There are no deprecations in this release.

    Release Schedule

    VersionRelease
    BetaMarch 22nd, 2022
    Release CandidateMarch 29th, 2022
    Final ReleaseApril 12th, 2022

    Testing

    If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from WordPress.org.

    A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started.

    If you discover any bugs during the testing process, please let us know by logging a report in GitHub.


  • A new version of WooCommerce Blocks has been released! Version 7.2.0 is now available for download from GitHub and WordPress.org. WooCommerce Blocks 7.2.0 will also be included in WooCommerce 6.4.

    This release contains some fixes for the Mini Cart Block, and some further improvements for the Store API in preparation for the next release of WooCommerce core.

    Dev Notes

    Renamed headers

    As part of finalising the Store API, we’ve removed all X- prefixes from the customer response headers (doing so is no longer a recommended practice).

    The X-WC-Store-API-Nonce header has been renamed to Nonce, so if you’ve been consuming the experimental Store API, this will need to be renamed in your client.

    This change also includes X-WC-Store-Api-Nonce-Timestamp to Nonce-Timestamp and X-WC-Store-User to User-ID.

    See #6020 for further details.

    Renamed classes and namespaces

    Also part of finalising the Store API, we renamed some of our classes and namespaces.

    The ExtendRestApi class is now ExtendSchema and it now lives under the Automattic\WooCommerce\StoreApi\Schemas namespace.

    The Automattic\WooCommerce\Blocks\RestApi class has been renamed to Automattic\WooCommerce\StoreApi\StoreApi.

    The namespace Automattic\WooCommerce\Blocks\StoreApi is now Automattic\WooCommerce\StoreApi.

    Read #5982 for more details.

    ExtendRestApi ExtendSchema public functions

    You no longer need to call the package manager and get ExtendRestApi ExtendSchema from it, you can call those public functions for the same task:

    • woocommerce_store_api_register_endpoint_data( $args )
    • woocommerce_store_api_register_update_callback( $args )
    • woocommerce_store_api_register_payment_requirements( $args )
    • woocommerce_store_api_get_formatter( $name )

    Those functions receive the same args as the class ones (they’re wrappers).

    See #5941.

    Changelog

    Bug Fixes

    • StoreAPI: Clear all wc notice types in the cart validation context #5983
    • Fix loading more WC core translations in locales where WC Blocks is not localized for some strings. #6036
    • Ensure shipping address is set for virtual orders to prevent missing country errors. #6050

    Enhancements

    • Memoize/cache filter results so that we don’t call third party filters too often #5143

    Various

    • Remove v1 string from Store Keys. (5987)
    • Introduce the InvalidCartException for handling cart validation. (5904)
    • Renamed Store API custom headers to remove X-WC-Store-API prefixes. #5983
    • Normalised Store API error codes #5992
    • Deprecated woocommerce_blocks_checkout_order_processed in favour of woocommerce_store_api_checkout_order_processed
    • Deprecated woocommerce_blocks_checkout_update_order_meta in favour of woocommerce_store_api_checkout_update_order_meta
    • Deprecated woocommerce_blocks_checkout_update_order_from_request in favour of woocommerce_store_api_checkout_update_order_from_request

  • We’ve just started rolling out automatic updates with patches for WooCommerce 3.5–6.3. This fix contains important security improvements for the PayPal Standard payment gateway (deprecated since July 2021). Please make sure to update your site if you don’t get the update automatically.

    For users who still run the PayPal Standard payment gateway, we strongly recommend switching to PayPal Payments plugin, as PayPal Standard is no longer actively developed. We’ve prepared a handy upgrade guide to make the migration process easier.

    All users of older WooCommerce versions (pre-3.5) need to disable PayPal Standard and migrate to the PayPal Payments plugin to be safe, if they wish to continue using PayPal.

    Please find below the list of fix releases:

    Fix releases
    6.3.1
    6.2.2
    6.1.2
    6.0.1
    5.9.1
    5.8.1
    5.7.2
    5.6.2
    5.5.4
    5.4.4
    5.3.3
    5.2.5
    5.1.3
    5.0.3
    4.9.5
    4.8.3
    4.7.4
    4.6.5
    4.5.5
    4.4.4
    4.3.6
    4.2.5
    4.1.4
    4.0.4
    3.9.5
    3.8.3
    3.7.3
    3.6.7
    3.5.10

  • We are pleased to announce the release of WooCommerce 6.3. This release should be backwards compatible with the previous version.

    This release contains:

    As always, we recommend creating a backup of your site and making sure that your theme and any other plugins are compatible before updating. You can check out this update guide for more information.

    What’s new in 6.3?

    • WooCommerce Blocks: We’ve updated to the 6.9.0 version of the feature plugin. See the release posts for 6.8.0 and 6.9.0 to see what’s new.
    • WooCommerce Admin: We’ve updated to the 3.2.1 version of the feature plugin. See the changelog to find out what’s new.
    • Product attributes lookup table – Added two database indices to the product attributes lookup table, these are intended to improve the performance of the table querying when there’s a lot of products and attributes.

    These are just some of the changes that are included in WooCommerce 6.3. You can find the complete changelog for this release in the changelog.txt file.

    Much 💜 to all the contributors

    Finally a big thanks to everyone in the community who has contributed via issue reports, fixes, translation, testing, supporting other users, or simply spreading the word.

    WooCommerce Core

    dhjw
    jimjasson
    SadikurSadik
    tyrann0us
    Konamiman
    puntope
    roykho
    alexflorisca
    leskam
    louwie17
    rodelgc
    vedanshujain
    veljkho
    barryhughes
    masteradhoc
    carlalexander
    kvnang
    anitaa1990
    linqiuyu
    lanej0
    mrleemon
    joshuatf
    tammullen
    MrJnrman
    zhongruige
    kkmuffme
    peterfabian
    nielslange
    siliconforks
    oscarssanchez
    jonathansadowski
    ilyasfoo
    paulochang
    johnregan3
    gigitux
    jeffstieler
    helgatheviking
    Luc45
    claudiosanches
    octaedro
    joshbetz
    erikdemarco
    oscargare
    azygis
    menakas
    rrennick

    WooCommerce Admin

    joelclimbsthings
    louwie17
    mattsherman
    adrianduffell
    rjchow
    moon0326
    NeosinneR
    jacob-sewell
    ilyasfoo
    jeffstieler
    octaedro
    chihsuan
    joshuatf

    WooCommerce Blocks

    ralucaStan
    malithsen
    mikejolley
    tomasztunik
    dinhtungdu
    Aljullu
    alexflorisca
    sunyatasattva
    gigitux
    manospsyx
    nielslange
    tjcafferkey
    opr
    senadir
    jonny-bull

  • A new version of WooCommerce Blocks has been released! Version 7.1.0 is now available for download from GitHub and WordPress.org.

    Seamless styling control

    Our continued focus is to empower you with the best tools WordPress has to offer to customize your store the way you want.

    In this release, we continue to add Global Styles support to even more blocks and improve the editor capabilities and options to give you control where and when you need it.

    More is happening behind the scenes, so, if you haven’t yet gotten excited about global styles, now it’s the time to dive in and learn more about them!

    A commitment to stability and compatibility

    As we work towards the inclusion of the Store API in WooCommerce Core, we introduce versioning to the Store API in this release. This means endpoints can now be reached via wc/store/v1/ as well as wc/store/. We’ve ensured this does not break compatibility with the existing structure which continues to map to v1.

    For more details and stability improvements, please take a look at the changelog below:


    Changelog

    Enhancements

    • Add Global Styles support to the Product Price block. (5950)
    • Add Global Styles support to the Add To Cart Button block. (5816)
    • Store API – Introduced wc/store/v1 namespace. (5911)
    • Renamed WooCommerce block templates to more e-commerce related names. (5935)
    • Featured Product block: Add the ability to reset to a previously set custom background image. (5886)

    Bug Fixes

    • Fixed typo in wooocommerce_store_api_validate_add_to_cart and wooocommerce_store_api_validate_cart_item hook names. (5926)
    • Fix loading WC core translations in locales where WC Blocks is not localized for some strings. (5910)