Changelog

  • Hi all!

    We’re happy to announce a new version of the Action Scheduler library is out now! It brings you more stability, configuration options, and performance improvements.

    Changes

    UI

    You can now change how many actions to display per page in WordPress Admin Tools > Scheduled Actions. (#771)

    https://user-images.githubusercontent.com/537751/135826312-6f6eebc1-f5ac-40bf-bc2b-0e61043bb150.gif

    Performance

    To improve performance, you can now filter the ORDER BY portion of the SQL query that claims actions. In case you can be sure you don’t really care about strict ordering of planned overdue actions, you can e.g. remove ordering by scheduled_time_gmt, which considerably improves the speed of execution of the query and reduces the probability of deadlocks (#773).

    In addition, after extensive testing, we’ve decided to drop claim_id index, as it was causing slowdowns and was superfluous since we recently added a composite index that covers claim_id column (#774).

    API

    When the execution limit is set to 0 (i.e. no limit), then calling ActionScheduler_Compatibility::raise_time_limit( $new_limit ) for $new_limit > 0 won’t set the limit, as it would be imposing a new limit rather than raising it. (#755)

    Initialization

    There are several problems that might arise during version reconciliation when multiple plugins use Action Scheduler. By applying #731, we’re solving one class of those problems by not triggering autoload of AS classes when testing for the existence of the ActionScheduler and ActionScheduler_Versions classes.

    Code gardening

    PHP CS fixes and improvements:

    Contributors ❤️

    Thanks to all the contributors who improved Action Scheduler, tested the PRs and provided their input!

    Please test the new version on your staging environment before going into production and let us know on GitHub if you find any problems.


  • A new version of WooCommerce Blocks has been released!

    Version 6.2.0 is now available for download from GitHub and WordPress.org.

    The highlight of this release is the updated Cart Block! In addition, the release includes two enhancements as well as several bug fixes.

    The new Cart block

    The new iteration takes the existing design of the Cart Block and converts it to use Inner Blocks. For the user, this means that they are no longer constrained by a fixed layout but are instead given a cart constructed out of many smaller blocks, with more control over each individual block.

    As an example, look at the Order Summary section in the current Cart Block. All options are shown at the Cart Block level, including options related to the order summary:

    Now, the Order Summary has become its own block, with its own settings:

    The List view provides a good picture of the block’s new structure:

    This more flexible approach for example allows for some blocks like the Accepted Payment Methods to be repositioned. Additionally, it means the user can insert other blocks to the Cart without code:

    Changelog

    Enhancements

    • Cart v2: The cart block, like checkout block, now supports inner blocks that allow for greater customizability. (4973)
    • BlockTemplateController: Adds the ability to load and manage block template files. (4981)
    • Improve accessibility for the editor view of the Product search block. (4905)

    Bug Fixes

    • Fix custom classname support for inner checkout blocks. (4978)
    • Fix a bug in free orders and trial subscription products. (4955)
    • Remove duplicate attributes in saved block HTML. (4941)
    • Fix render error of Filter by Attribute block when no attribute is selected. (4847)
    • Store API – Ensure returned customer address state is valid. (4844)

  • We’re excited to announce that the first release candidate of WooCommerce 5.9 is now available. We are on track for our planned November 9th release date.

    Changes

    Since the beta release, the following changes have been made:

    • WooCommerce Admin is now 2.8.0 RC 3. See the changelog to know what’s new in 2.8.0, or this commit for the changes from RC 2 to RC 3.
    • We fixed a small issue in the fix for the tax location adjustment when adding line items to an order via admin that was included in the beta. #31015
    • We have renamed a transient used when showing featured content in the marketplace page, since the old name was already in use. #31002
    • New visual style for promoted cards in the marketplace page. #30861
    • #30862 (update Storefront banner width and track links in the marketplace page) was supposed to be included in the beta, and was even listed in the changelog, but by mistake it wasn’t; it’s included in the RC.

    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.


  • The first beta for WooCommerce 5.9.0 is now available as part of the November release cycle. You can download directly from WordPress.org or through our WooCommerce Beta Tester Plugin.

    Highlights

    • WooCommerce Blocks 6.1: Blocks package have been updated to 6.1. Please take a look at the release posts for 6.0.16.0.2 and 6.1.0 to see what’s new and improved.
    • WooCommerce Admin 2.8.0 RC 2: WooCommerce Admin package has also been updated to 2.8.0 RC 2 with this release of WooCommerce. See the changelog for details on what’s new in this version (and also on previous versions 2.7.1 and 2.7.2)
    • Marketplace page redesign: The WooCommerce marketplace page shows a refreshed look, and app cards shows additional bits of information like icons, ratings and reviews. See #30900 and #30840.
    • Variable product price caching fix: There was a caching issue that caused incorrect variable product prices to be displayed when VAT exemption was involved. #30889
    • Empty billing email via REST API: It is now possible to specify an empty billing email to remove it from an order via REST API. #30850
    • Unpaid order cancellation scheduling fix: When the scheduled action to cancel an unpaid order failed it wasn’t re-scheduled for retry. #30830
    • Tax location when adding products via admin fix: When a product was added to an order via admin, and the woocommerce_adjust_non_base_location_prices filter was set to return false (to calculate taxes based on the customer locattion, not thee shop location), the location for the taxes was being taken from the admin user, not from the user who performed the order. #30692

    Filters and Actions

    No new filters or actions have been added or modified in this release.

    Database Changes

    There are no database changes in this release.

    Template Changes

    There are no template changes in this release.

    Release Schedule

    VersionRelease
    BetaOctober 19, 2021
    Release CandidateOctober 26, 2021
    Final ReleaseNovember 9, 2021

    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 5.8. This is a minor release and everything 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 5.8?

    • The REST API now supports modified_before and modified_after fields for product, order and coupon endpoints (#29461).
    • A set of usability problems with dropdown fields have been resolved (#28966 and #30607).
    • A bug that was impacting the featured status of products during quick-editing has been resolved. (#30471).
    • Small fixes for the in-app marketplace (#30624 and #30625).
    • Improvements made to our messaging when removing line items from within the order editor (#30650).

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

    Compatibility Changes

    While we try to deliver releases that are free from breaking changes, it is worth highlighting a potential breaking change within the WooCommerce Admin package, stemming from the removal of a number of settings from the wc_admin namespace within the wc/data store. This may impact some third party code that aims to integrate with WooCommerce Admin.

    Actions and Filters

    Two new filters have been added:

    FilterDescription
    woocommerce_quantity_input_min_adminAllows the minimum value for the product quantity selector (within the order editor) to be changed.
    woocommerce_quantity_input_step_adminAllows the step value for the product quantity selctor (within the order editor) to be changed.

    One filter has been changed:

    FilterDescription
    woocommerce_order_actionsOrder object is now available to callbacks via a second parameter.

    Database changes

    There are no database changes in this release.

    Template changes

    There are no template changes in this release.

    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

    Konamiman Melebius NekoJonez andfinally barryhughes claudiosanches
    Konamiman Melebius NekoJonez andfinally barryhughes claudiosanches
    danielbitzer jonathansadowski joshuatf moon0326 nerrad opr
    danielbitzer jonathansadowski joshuatf moon0326 nerrad opr
    rodelgc roykho rrennick vedanshujain zhongruige
    rodelgc roykho rrennick vedanshujain zhongruige

    WooCommerce Admin

    LevinMedia NekoJonez adrianduffell andfinally aprea frosso
    LevinMedia NekoJonez adrianduffell andfinally aprea frosso
    haszari hsingyuc htdat ilyasfoo jeffstieler joelclimbsthings
    haszari hsingyuc htdat ilyasfoo jeffstieler joelclimbsthings
    joshuatf louwie17 madeincosmos mattsherman moon0326 octaedro
    joshuatf louwie17 madeincosmos mattsherman moon0326 octaedro

    WooCommerce Blocks

    Aljullu diazoxide frontdevde grogou mikejolley nerrad
    Aljullu diazoxide frontdevde grogou mikejolley nerrad
    nielslange opr ralucaStan senadir tjcafferkey
    nielslange opr ralucaStan senadir tjcafferkey

    Action Scheduler

    jonathansadowski barryhughes claudiosanches danielbitzer vedanshujain
    jonathansadowski barryhughes claudiosanches danielbitzer vedanshujain


  • Today we released a new version of WooCommerce Blocks!

    Version 6.1.0 is now available on WordPress.org and GitHub.

    In this release we made several bug fixes, such as ensuring the Filter button lines up properly with the dropdown menu in the Filter Products by Attribute block, and fixing the Product Categories List block where incorrect indentation would be used when displaying several levels of nested categories.

    Correctly nested categories in the Product Categories List block

    We also fixed an issue where translations would not load correctly in the All Products block.

    As well as these bug fixes, we made an accessibility improvement where we ensured screen readers would read the correct values on the Filter Products by Price slider.

    Changelog

    Bug Fixes

    • Fix the dropdown list in Product Category List Block for nested categories (4920)
    • Fixed string translations within the All Products Block. (4897)
    • Filter By Price: Update aria values to be more representative of the actual values presented. (4839)
    • Fixed: Filter button from Filter Products by Attribute block is not aligned with the input field. (4814)
    • Remove IntersectionObserver shim in favor of dropping IE11 support. (4808)

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

    This is a patch release to fix a fatal error in websites that were running WooCommerce 5.6 or earlier, WooCommerce Blocks 6.0.0/6.0.1, and a third-party plugin that integrates with WooCommerce Blocks.

    WooCommerce Blocks 6.0.2 fixes that issue, and reduces the required WC version to 5.6.

    This means, if you’re running WooCommerce Core 5.6.0, 5.6.1, 5.7.0, 5.7.1. WooCommerce Blocks would work fine. If you’re running WooCommerce Core 5.5 or earlier, WooCommerce Blocks will not load, but it will also not break your website.

    Changelog

    Bug fixes

    • Fix fatal error when loading WooCommerce Blocks and one of its integration on an earlier version of WooCommerce Core.


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

    This release is packed with new features, an updated Checkout block, a new Terms and Condition block, global styles for reviews blocks, new extensibility for filtering payment methods, and several bug fixes!

    What’s New in the Checkout block?

    The new iteration takes the existing design of the Checkout Block and converts it to use Inner Blocks. What this means for the end-user is that instead of having a fixed layout Checkout Block, they are instead given a checkout constructed out of many smaller blocks, with more control over each.

    As an example, look at the Contact Information section in the existing Checkout. All options are shown at Checkout Block level, including options related to contact Information:

    Now, this has become its own block, with its own settings:

    Additionally, blocks such as the Contact Information Block have their own Inner Block areas, meaning a user can insert other optional blocks in this area without code:

    From a developer perspective, this means the Checkout block is more extensible than ever because new blocks can be registered and either force inserted into a specific area, or made available to users in the Block inserter.

    Terms and Conditions Block

    We heard your suggestions, and took the opportunity to also introduce a Terms and Conditions block. This block was one of the main motivations for this update to the Checkout block. To create a Terms and Condition block, we needed to make the editing experience easier.

    The block can function as a required checkbox, or just as text.

    Extending the Checkout block

    The Checkout block can now be extended by introducing third-party blocks inside it. Developers can create blocks that forced into the Checkout layout or optional (like the Terms and Conditions block). Keep an eye on this blog as we will share a guide into how to extend the Checkout block soon.

    What’s happening next

    This release includes a lot of leg work needed to update the Cart block to use innerBlocks as well, so keep an eye for that soon. Are you wondering what we have we’re working on currently and in the future? Read more over on our recent post giving you a peek into the WooCommerce Blocks roadmap.

    Global Styles for reviews blocks

    WooCommerce Blocks 6.0.0 adds the ability to style the All Reviews, Reviews by Product, and Reviews by Category blocks:

    Updating the styles can be done a block basis using the new sidebar panels:

    Or, if you’re using a theme that supports full site editing, you can update them on Global Styles panel in the Site Editor:

    imatge

    Changelog

    You can read a detailed changelog into what changed in this release:

    Enhancements

    • Checkout v2: The checkout now supports inner blocks that allow for greater customizability. This update also includes an optional Terms and Conditions field. (4745)
    • Added global styles to All Reviews, Reviews by Category and Reviews by Product blocks. Now it’s possible to change the text color and font size of those blocks. (4323)
    • Improve the Checkout Order Summary block accessibility by making more info available to screen readers. (4810)
    • Update canMakePayment to receive cart as argument and make it react to changes in billingData. Improve the performance of calculating canMakePayment after changes in the Checkout block. (4776)
    • Add support for extensions to filter express payment methods. (4774)

    Bug Fixes

    • Checkout: Throw an exception if there is a shipping method required and one isn’t selected at the time of placing an order. (4784)
    • Fix infinite recursion when removing an attribute filter from the Active filters block. (4816)
    • Show placeholder message in the shipping section when there are no rates. (4765)
    • Update All Reviews block so it honors ‘ratings enabled’ and ‘show avatars’ preferences. (4764)
    • Fix state validation if base location has a state, and the address has an optional state. (4761)
    • Products by Category: Moved renderEmptyResponsePlaceholder to separate method to prevent unnecessary rerender. (4751)
    • Fix validation message styling so they never overlap other elements. (4734)
    • Removed receiveCart method that was exposed in a couple of SlotFills by mistake. (4730)
    • Fix calculation of number of reviews in the Reviews by Category block. (4729)

    Documentation

    • Add documentation for registerPaymentMethodExtensionCallbacks. (4834)

    Performance

    • Removed wp-blocks dependency from several frontend scripts. (4767)

    6.0.1 patch release

    This post includes both the release post for 6.0.0 but also 6.0.1 which was released right after 6.0.0 to fix a migration bug in Checkout block on the frontend. This bug affects Checkout blocks that have custom class names or alignment added to them, which prevented the block from loading in the frontend unless resaved.


  • We’re excited to announce that the first release candidate is now available for WooCommerce 5.8. We are on track for our planned October 12th release date.

    Changes

    Since the beta release, the following changes have been made:

    • The latest changes that shipped in our recent 5.7.1 release have been included.
    • WooCommerce Admin is now 2.7.1 RC 1.
    • WooCommerce Blocks is now 5.9.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.


  • Today we released a patch version of WooCommerce Blocks to fix an issue with the “Active Product Filters” block. Pressing the “Clear all” button would cause the page to stop responding if attribute filters were in use.

    Version 5.9.1 is now available on WordPress.org and GitHub

    Changelog

    Bug fixes

    • Fix infinite recursion when removing an attribute filter from the Active filters block. (4816)