Changelog

  • This is the second release candidate for WooCommerce 6.3. Our final release is on track for March 8 release date.

    Changes

    Since the rc 1 release, the following change has been made:

    • WooCommerce Admin has been updated from 3.2.0 to 3.2.1. The changelog is available here.
    • Fixed permission check for reviews in v1 & v2 REST API.
    • Fixed Path Traversal in Importers.

    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.


  • WooCommerce 6.2.1 is available now. This release should be backwards compatible with the previous version and fixes two issues.

    Here’s what’s new:

    • Fixed permission check for reviews in v1 & v2 REST API.
    • Fixed Path Traversal in Importers.

    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’re excited to announce that the first release candidate for WooCommerce 6.3 is now available. We are currently on track for our planned March 8 release date.

    Changes

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

    • WooCommerce Admin has been updated from 3.2.0-RC to 3.2.0. The changelog is available here.
    • Create and fill the product attributes lookup table during a clean install of WooCommerce (#31911).
    • Add extra UI for aborting/resuming the product attributes lookup table filling (#31889).
    • Reverted #31593 that caused the returned line item price to be a string instead of a float. (#31935)

    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.0.0 is now available for download from GitHub and WordPress.org.

    More seamless styling control

    Our complete focus is to empower you with the best tools WordPress has to offer to customize your store in exactly the way you want and giving you the most seamless experience possible.

    In this release, we 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

    Version 7.0.0 focuses heavily on fixing bugs and making sure compatibility is solidly maintained.

    A note to devs

    We are increasing our effort to convert our blocks to TypeScript and support the stability of our features with solid E2E tests: these are things you might not see in the changelog entries, but are certainly happening under the hood, with many components being migrated to TypeScript in this very release!


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

    Changelog

    Enhancements

    • Add a remove image button to the WooCommerce Feature Category block. (5719)
    • Add support for the global style for the On-Sale Badge block. (5565)
    • Add support for the global style for the Attribute Filter block. (5557)
    • Category List block: Add support for global style. (5516)

    Bug Fixes

    • Fix wide appender buttons overlap in Cart & Checkout blocks in the Editor. (5801)
    • Fixed an issue where clear customizations functionality was not working for WooCommerce templates. (5746)
    • Fixed an issue where default block attributes were not being passed to the Checkout block correctly. (5732)
    • Fixed an issue where orders would break if they did not require a payment. (5720)
    • Fixed hover and focus states for button components. (5712)
    • Add to Cart button on Products listing blocks will respect the “Redirect to the cart page after successful addition” setting. (5708)
    • Fixes Twenty Twenty Two issues with sales price and added to cart “View Cart” call out styling in the “Products by Category” block. (5684)

  • Beta 1 for the March 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

    • 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.0-rc version of the feature plugin. See the changelog to find out what’s new.

    Filters and Actions

    This release adds new filters:

    FilterDescription
    woocommerce_set_cookie_enabledAdd cookie consent filter.
    woocommerce_cart_item_removed_because_modified_messageFilters on the cart item removed message.

    Database Changes

    • Product attributes lookup table – Add 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. This will bump the corresponding internal database version to 6.3.0.

    Template Changes

    There are no template changes in this release.

    Deprecations

    There are no deprecations in this release.

    Release Schedule

    VersionRelease
    BetaFebruary 15, 2022
    Release CandidateFebruary 22, 2022
    Final ReleaseMarch 8, 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.


  • We are pleased to announce the release of WooCommerce 6.2. 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.2?

    • WooCommerce Blocks: We’ve updated to the 6.7.3 version of the feature plugin. See the release posts for 6.6.0 and 6.7.0 to see what’s new.
    • WooCommerce Admin: We’ve updated to the 3.1.0 version of the feature plugin. See the changelog to find out what’s new.
    • New notice about upcoming minimum PHP 7.2 version bump coming in WooCommerce 6.5. (#31557)
    • Removed images referred to from deprecated functions. (#31395)

    These are just some of the changes that are included in WooCommerce 6.2. 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

    MrJnrman barryhughes rrennick Luc45 vedanshujain peterfabian
    MrJnrman barryhughes rrennick Luc45 vedanshujain peterfabian
    jeffstieler Konamiman claudiosanches lanej0 jonathansadowski joshbetz
    jeffstieler Konamiman claudiosanches lanej0 jonathansadowski joshbetz
    zhongruige puntope tyrann0us joshuatf helgatheviking dhjw
    zhongruige puntope tyrann0us joshuatf helgatheviking dhjw
    ilyasfoo oscarssanchez tammullen octaedro SadikurSadik roykho
    ilyasfoo oscarssanchez tammullen octaedro SadikurSadik roykho
    jimjasson veljkho gigitux azygis mrleemon menakas
    jimjasson veljkho gigitux azygis mrleemon menakas
    leskam linqiuyu kvnang
    leskam linqiuyu kvnang

    WooCommerce Admin

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

    WooCommerce Blocks

    gigitux mikejolley opr dinhtungdu alexflorisca tomasztunik
    gigitux mikejolley opr dinhtungdu alexflorisca tomasztunik
    nielslange tjcafferkey ralucaStan danieldudzic manospsyx senadir
    nielslange tjcafferkey ralucaStan danieldudzic manospsyx senadir

  • This is the second release candidate for WooCommerce 6.2, our final release is planned for February 8.

    Changes

    Since the RC 1 release, the following change has been made:

    • Tweak – Update store setup widget to use task list API. (#31755)

    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 6.9.0 is now available for download from GitHub and WordPress.org.

    This release brings support for global styles to the Featured Category 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.

    Bug Fixes

    Our last release introduced the ability for the LegacyTemplate block to be reinserted, only on WooCommerce block templates. This was a mistake and had some unintended consequences, so we reverted this change in this release.

    We also fixed some minor styling issues in the Cart and Checkout blocks and we also enabled Mini Cart template parts for experimental builds only.

    For more details please see the Changelog below:

    Changelog

    Enhancements

    • Add support for the global style for the Featured Category block. (5542)

    Bug Fixes

    • Revert “Allow LegacyTemplate block to be reinserted, only on WooCommerce block templates.”. (5643)
    • Enable Mini Cart template-parts only for experimental builds. (5606)
    • Show express payment button in full width if only one express payment method is available. (5601)
    • Wrapped cart item product contents in inner div. (5240)
    • Fix alignment issue with the “create account” section on the checkout block in the editor (5633)


  • Finally! After having been an opt-in feature for some time, the new product filtering mechanism we announced a few months ago is rolling out for everybody in WooCommerce 6.3. Here’s what you need to know as a shop administrator.

    What’s going to happen after I upgrade to/install WooCommerce 6.3?

    A database migration will kick in. This will create the new product attributes lookup table and will trigger a recursive scheduled action that will fill it; you can verify that this is the case by opening the WooCommerce tools page (WooCommerce – Status – Tools), you should see a new entry titled “Regenerate the product attributes lookup table” with a disabled button that displays a number:

    The number indicates how many products have been processed so far (10 products are processed in each batch by default, more on that later). Note that “processed” in this context means that the appropriate entries will have been created in the new lookup table. From the point of view of the products themselves, this is a read-only process and no modifications will happen whatsoever for any product.

    Once the process has finished the button will appear as enabled and its label will be “Regenerate”. But more interestingly, a new settings section will become available as well.

    The new settings

    Once the initial database migration has finished a new “Advanced” section will appear in the product settings tab (WooCommerce – Settings – Products – Advanced) with a couple of options related to this new feature:

    “Use the product attributes lookup table for catalog filtering” instructs WooCommerce to effectively use the new lookup table for the shop catalog display and filtering, it will have been enabled automatically after the database migration finishes but you can enable and disable it at will (when disabled, the posts table will be used instead, as it was the case when the lookup table wasn’t available).

    “Update the table directly upon product changes, instead of scheduling a deferred update” determines how the lookup table will be updated whenever a product is created or updated: when enabled, the update will happen immediately; otherwise, the action scheduler will do the update job some (short) time after the product is created or updated.

    Important: WooCommerce will always create or update the appropriate entry in the lookup table whenever a product is created or updated, even when the “Enable table usage” setting is off. This is necessary to guarantee data consistency in all cases, regardless of whether the table usage is set on or off.

    Regenerating the lookup table data

    As mentioned before, once the initial database migration is completed the “Regenerate the product attributes lookup table” tool will be available. You’ll see that there’s a product selector next to it, thus you can use this tool in two ways:

    • Select a product: the tool will regenerate the lookup data for only that product, immediately.
    • Don’t select a product: the tool will start over the initial data migration, by first emptying the table and then fillin in within a recursive scheduled action.

    Worth noting that while the full table regeneration is in progress the table usage will of course be disabled and you won’t be able to enable it via settings.

    This tool is intended as an emergency mechanism only, in case there’s something wrong with the implementation of the feature and the table ends up having missing or wrong data. As a general rule, we don’t recommend using this tool unless you are instructed to do so by a WooCommerce support person.

    Customizing the table (re)generation batch size

    By default, when the lookup table is being filled (during the initial database migration, or when you trigger a full table regeneration via the dedicated tool) 10 products will be processed in each run of the action scheduler. This number is slow on purpose, in order to keep the performance penalty of the ongoing migration to a minimum; but it can cause the entire process to take too much time in shops with a large number of products.

    This value can be customized by using the woocommerce_attribute_lookup_regeneration_step_size filter like this:

    add_filter('woocommerce_attribute_lookup_regeneration_step_size', function() {
        return 100;
    });

    You can use the WordPress code snippets plugin to add this piece of code.

    It’s worth noting that this filter can be added (or the returned value can be modified) even when the initial database migration or the manually triggered table regeneration is already running: the next action scheduler run will pick the new value and use it on all subsequent runs.


  • We’re excited to announce that the first release candidate for WooCommerce 6.2 is now available. We are currently on track for our planned February 8 release date.

    Changes

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

    • WooCommerce Admin has been updated from 3.1.0-RC to 3.1.0. The changelog is available here.
    • Fixed styling of “pay for order” form for 2022 theme. (#31682)
    • Search Blocks form for 2022 theme. (#31687)

    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.