Changelog

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

    In this release, we are including some minor bug fixes and improvements.

    Top of the list is the improvement we made to the Featured Product block:

    • Ability to set the product image as Fixed image and Repeated image via new media controls

    We also fixed a bug in the All Products block:

    • The bold font-weight style no longer overflows from the product title to all sections of the product

    Finally, we added a “lock” for blocks in Cart & Checkout to ensure the integrity of the inner blocks and prevent them from being deleted.

    Changelog

    Enhancements

    • Add the Fixed image and Repeated image media controls to the Featured Product block. (6344)

    Bug Fixes

    • Remove bold styles from All Products block. (6436)
    • Fix an issue where the Cart & Checkout could have some of the locked inner blocks removed. (6419)

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

    • Bumped the version of WordPress tested for WooCommerce to 6.0. #33025
    • Fix a potential error during install with PHP 8.0. #32685

    The complete list of changes, tweaks, fixes, and improvements included in this release can be viewed in the readme.txt for the release.

    Actions and Filters

    This release adds 1 new action.

    ActionDescription
    before_woocommerce_pay_formTriggered right before the Pay for Order form, after validation of the order and customer.

    And 1 new filter.

    FilterDescription
    woocommerce_orders_cot_and_posts_sync_step_sizeFilter to customize the count of orders that will be synchronized in each step of the custom orders table to/from posts table synchronization process.

    Database Changes

    There are no database changes in this release.

    Template Changes

    There are no template changes in this release.

    Deprecations

    There are no deprecations in this release.

    Release Schedule

    VersionRelease
    BetaMay 24, 2022
    Release CandidateMay 31, 2022
    Final ReleaseJune 14, 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.


  • WooCommerce 6.5.1 is available for download.

    What’s new?

    • Approved Download Directories: Specify a maximum index size for the URL column in the Download Directories table. This fixes the missing database tables issue. [#32968]
    • WooCommerce Admin: Fix issue where FeaturePlugin class caused a conflict with older WooCommerce Admin versions. This fixes the fatal error seen in certain cases. [#32966]

    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.5. This release should be backwards compatible with the previous version.

    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.5?

    • WooCommerce Blocks: We’ve updated to the 7.4.3 version of the feature plugin. See the release posts for 7.4.3 to see what’s new.
    • WooCommerce Admin: All of WooCommerce Admin’s code and assets have been merged into Core and the feature plugin has been deprecated. These are the folders that were moved and the new location of the contained files.
      • packages/woocommerce-admin/src -> src/Admin
      • packages/woocommerce-admin/src-internal -> src/Internal
      • packages/woocommerce-admin/includes -> includes/react-admin
      • packages/woocommerce-admin/dist -> assets/client/admin
      • packages/woocommerce-admin/images -> assets/images
    • Approved Download Directories: To give site owners additional control over product downloads. Check here for more details.

    These are just some of the changes that are included in WooCommerce 6.5. 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
    bgrgicak
    Mte90
    travisw
    louwie17
    joshuatf
    jacob-sewell
    adrianduffell
    rjchow
    octaedro
    chihsuan
    ilyasfoo
    moon0326
    psealock
    jaclync
    mattsherman
    vedanshujain

    WooCommerce Blocks

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

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

    In this release, we have worked hard to improve some of our blocks, adding new features and fixing bugs.

    Top of the list are the improvements we made to the Featured Category and Featured Product Blocks, these are:

    • Ability to set the background colour on the block and with global styles in the appearance editor
    • Ability to edit background images from within the block, including an ability to crop, zoom, rotate or change aspect ratio of an image.
    • Ability to add custom “alt” text on the background image.

    We also added the ability to disable images on Product Grid blocks, these are:

    • Hand-picked Products
    • Products by Tag
    • Products by Attribute
    • Products by Category
    • Best Selling Products
    • Newest Products
    • On Sale Products
    • Top Rated Products

    We also fixed some bugs in three of our blocks:

    • Reviews by Category Block will now correctly list only reviews for selected categories if multiple categories were selected
    • Mini Cart Block can now be inserted into the template when opening the template editor from the page editor sidebar.
    • Filter Products by Attribute Block will now work correctly with the Product Catalogue template when inserted on the page in the template editor.

    Finally, we also removed the Product Tag Cloud widget.

    Dev notes

    Due to a bug in WP Core (which was fixed in WordPress/WordPress@257b634), current_theme_supports-{*} filters aren’t applied if there is no argument passed to current_theme_supports(). The Template panel relies on supportsTemplateMode setting which is set by current_theme_supports( 'block-templates' ) WordPress 6.0 will fix this.

    Changelog

    Enhancements

    • Featured Category: Add background color option. (6368)
    • Featured Product: Add background color option. (6367)
    • Added media controls allowing the user to edit images within the editor on a Featured Category block. (6360)
    • Added media controls allowing the user to edit images within the editor on a Featured Product block. (6348)
    • Add the alt text control to the Featured Category block media settings. (6341)
    • Hide the Product Tag Cloud from the Widgets screen in classic themes. (6327)
    • Add the alt text control to the Featured Product block media settings. (6308)
    • GridContentControl: Add product image control. (6302)

    Bug Fixes

    • Fix: Align Empty Mini Cart Contents block center in the Site Editor. (6379)
    • Remove the Template panel from the Setting Sidebar for Shop page. (6366)
    • Parse categories coming from the back-end as a json array. (6358)
    • Update the default width of Classic Template to Wide width. (6356)
    • Fix: Mini Cart block is not available from the Edit template screen. (6351)
    • Fix Filter Products by Attribute block not working on PHP templates when Filter button was enabled. (6332)

  • We’re excited to announce that the second release candidate for WooCommerce 6.5 is now available. We are currently on track for our planned May 10, 2022 release date.

    Changes

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

    • Updating an existing downloadable file to a bad path should trigger an admin notice(#32776)
    • Protect against inappropriate use of saved download links (#32771)
    • Fix WCA fatal with bail conditions for WCA execution paths (#32814)
    • Fix customizer fatal error for bundled woocommerce-blocks package (#6317)
    • Updated WC Blocks to 7.4.3.

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

    This release contains changes for the Featured Category block, Featured Product block and Checkout block, as well as the Store API.

    Featured Category block and Featured Product block

    We’ve added the ability to modify the duotone, overlay gradients, custom inner padding, and image fit in Featured Category block and Featured Product block. This means you can now choose how your featured category and product image looks and acts when the block is resized.

    Checkout block

    We’ve added the ability to display the display brand & last 4 digits of the saved payment method in the Checkout Block. 

    For more details, please see the Changelog below:

    Changelog

    Enhancements

    • Add PHP templates support to the Active Product Filters block. (6295)
    • Enhanced styles customization in the Featured Category block (6276)
    • Allow adding the Filter Products by Stock block to Product Catalog templates to filter products. (6261)
    • Enhanced styles customization in the Featured Product block (6181)
    • Allow saved payment methods labels other than card/eCheck to display brand & last 4 digits if present. (6177)

    Bug Fixes

    • Filter Products by Attribute: Fix the page reload which happens when clicking the filter button on Woo templates using the Classic Template block. (6287)
    • Store API: Show visible attributes in simple products, and hidden attributes in variable products. (6274)
    • Enable Draft orders in WooCommerce Core. (6288)
    • Add RTL support for the Mini Cart icon. (6264)
    • Fix page load problem due to incorrect URL to certain assets. (6260)
    • Fix: Make Filters Products by Price work with Active Filters block for the PHP rendered Classic Template. (6245)
    • Fix page refresh when using filters with the All Products block on non-product archive templates for WooCommerce. (6324)
    • Fix Customizer fatal error on PHP 8. (6317)
    • Fix Featured Product block frontend mismatch. (6263)
    • Fix attribute filter dropdown list z-index level. (6294)
    • Product Query: Pass any product taxonomies existing in the URL parameters. (6152)

  • We’re excited to announce that the first release candidate for WooCommerce 6.5 is now available. We are currently on track for our planned May 10, 2022 release date.

    Changes

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

    • Changes to reduce the risk of admin error messages being discarded prematurely. (#32540)
    • Fixing bug on sectioned task list for tasks with actionUrl property. (#32723)
    • Addressing issues with certain tasks in task list experiment leading to blank page. (#32742)

    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.


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

    • Bumped minimum required PHP version to 7.2+.
    • Introduced new features to secure downloadable products, read more in Approved download directories.
    • WooCommerce Blocks 7.3.0 & 7.4.0 & 7.4.1.
    • This is our first release since we merged WooCommerce Admin into the core repository.

    Actions and Filters

    This release adds three filters.

    FilterDescription
    woocommerce_download_parse_remote_file_pathFilter the remote filepath for download.
    woocommerce_download_parse_file_pathFilter the filepath for download.
    woocommerce_generate_{$type}_htmlAllow the generation of custom field types on the settings screen.

    And four new actions.

    ActionDescription
    woocommerce_order_tracking_form_startAction hook fired at the beginning of the form-tracking form.
    woocommerce_order_tracking_formAction hook fired in the middle of the form-tracking form (before the submit button).
    woocommerce_order_tracking_form_endAction hook fired at the end of the form-tracking form (after the submit button).
    woocommerce_webhook_optionsFires within the webhook editor, after the Webhook Data fields have rendered. This action was introduced a long time ago but now includes a new $webhook attribute.

    And woocommerce_product_csv_importer_check_import_file_path action was removed, use woocommerce_csv_importer_check_import_file_path instead.

    Database Changes

    This release contains two database changes.

    • Fixed two typo in wc_order_operational_data table. New keys are download_permission_granted and shipping_total_amount. See #32034
    • New wc_orders_meta table introduced. See #32034

    Note: All WooCommerce Admin database installation routines were moved to core.

    Template Changes

    There is only one template template change in this release.

    TemplateDescription
    templates/order/form-tracking.phpInclusion of 3 new actions (actions listed above).

    Deprecations

    There are no deprecations in this release.

    Release Schedule

    VersionRelease
    BetaTuesday, April 19, 2022
    Release CandidateTuesday, April 26, 2022
    Final ReleaseTuesday, May 10, 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.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)