Changelog

  • We’ve just shipped another release that contains two bugfixes for the WC Admin and Blocks packages. Here is the changelog for the release:

    
    **WooCommerce Admin 1.3.1**
    * Fix - PHP Fatal errors when columns are missing from the Notes table: 
    https://github.com/woocommerce/woocommerce-admin/pull/4831
    **WooCommerce Blocks 2.7.2**
    * Enhancement: Move Draft order logic behind feature flag: 
    https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/2874

    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 any other issues in the WooCommerce core, please log them in detail on GitHub. Found a security issue? Please submit a report via HackerOne.


  • We are excited to announce that WooCommerce 4.3 is now publicly available! It has been in development since April 2020 and the core has been updated with 272 commits from 24 contributors.

    This is a minor release, which means everything is backward compatible with the previous version.

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

    What’s new in 4.3?

    As with all minor releases, we are bringing you several new features that we’d like to highlight:

    New Home page experience

    We’re bringing you a completely new home page for a more focused experience that enables easier store management. It includes just the 3 most important items for merchants to glance at:

    • the inbox messages,
    • a quick overview of the common store metrics, and
    • shortcuts pointing to the most used settings

    We’re happy to hear your feedback and thoughts on the new home page and hope we can make it into a central place of the WooCommerce experience.

    The new home page is available for all new customers by default. If you’re upgrading from an earlier version, you can turn it on via WooCommerce > Settings > Advanced > Features > Home Screen.

    You can also check out our new documentation section that covers the Home Screen functionality.

    Blocks update

    With this release, we’re including a lot of improvements from the Blocks world. Among others:

    • A new status for orders: “draft”
    • All “Product Grid” type blocks now default to 3 rows instead of one for the initial settings
    • HTML editing is no longer supported in several blocks to prevent accidental breakage
    • More options available for Filter Products by Attribute block
    • Improved handling of taxes for Filter Products by Price block
    • Styling consistency and CSS improvements

    If you have any of the Product Grid blocks (except All Products) in use on your site, and you never changed any of the default settings for the block, then the block will update to 3 rows instead of 1 row for the rendered products. However, if the block was saved to your content with settings changed, then the rendered content will not be affected. So you will want to double-check your blocks after the update.

    Please note that for now, Cart and Checkout blocks are not enabled in the bundled version of Blocks. If you want to use those, please install the separate Blocks plugin.

    Miscellaneous improvements

    Besides adding new features, we are continuously working on improving the experience of the core plugin as well. We have:

    • improved concurrency handling for stock level management
    • added a new Verify database tool to rebuild the database schema
    • fixed CSV import and export tool bugs
    • improved template caching in container environments
    • fixed erroneous behavior of add-to-cart links

    If you would like to know more, please review our full changelog.

    PHP version support

    As the world of WordPress is preparing for upgrading PHP version recommendation to PHP to 7.2+, we are following the suit. With WooCommerce 4.3, to provide enough lead time for merchants and store owners, we will start displaying a recommendation to update to PHP 7.2+.

    PHP versions up to 7.1 are not receiving security updates anymore, so we definitely recommend not postponing this decision.

    Extension compatibility warning

    After discussions with our teams and with external teams developing extensions, we have decided to remove the warning for compatibility for minor WooCommerce versions and only display it for major versions.

    Since we strive to produce backward compatible releases and we decided to increase the cadency of our releases to monthly, releasing extensions just to declare compatibility with the new WooCommerce became a burden for developers. We believe our focus on ensuring compatibility and improved testing procedures would enable us to catch potential problems early. Therefore, we think this step can ease the burden of development teams without negative effects on our customers and merchants. We will keep evaluating this decision through our support channels to identify potential problems in this approach.

    New Hooks and Functions

    We’ve added some new hooks in this release:

    FilterDescription
    woocommerce_before_get_rates_for_packageFires before getting shipping rates for a package.
    woocommerce_after_get_rates_for_packageFires after getting shipping rates for a package.
    woocommerce_add_payment_method_form_is_validVerify the received form data when adding a new payment method.
    woocommerce_add_payment_method_form_bottomAdd additional markup at the bottom of the form to add a new payment method.
    woocommerce_status_widget_low_in_stock_count_pre_queryCustomize the low stock threshold to use for the low stock status widget.
    woocommerce_status_widget_out_of_stock_count_pre_queryCustomize the no stock threshold to use for the no stock status widget.
    woocommerce_hide_base_tables_missing_nagCustomize the notice that appears when database tables are missing.
    woocommerce_checkout_order_createdFired after an order is created.
    woocommerce_checkout_order_exceptionFired when an order is discarded due to Exception.
    woocommerce_before_get_rates_for_packageFires before getting shipping rates for a package.
    woocommerce_after_get_rates_for_packageFires after getting shipping rates for a package.
    woocommerce_get_path_define_tokensCustomize the list of constants to be used in path tokenization.
    woocommerce_hold_stock_for_checkoutAllows enable/disable hold stock functionality on checkout.
    woocommerce_rest_performance_indicators_data_valueCustomize admin reports.
    admin_body_classAdd theme class to admin body.
    woocommerce_blocks_register_script_dependenciesAdd payment method script handles as script dependencies.
    enqueue_block_editor_assetsEnqueue assets used for rendering the block in editor context.
    wc_order_statusesRegister custom order status for orders created via the API during checkout.
    woocommerce_register_shop_order_post_statusesRegister custom order post status for orders created via the API during checkout.
    woocommerce_valid_order_statuses_for_paymentAppend draft status to a list of statuses.
    woocommerce_cleanup_draft_ordersDelete too old draft orders.

     

    Minimum WordPress Requirement

    This version keeps the minimum WordPress version of 5.2 that was introduced in 4.2. Remember that you can read all about the new WordPress support policy in the developer blog post detailing it.

    How was 4.3 tested?

    We’ve been hard at work iterating on our testing procedures over the last few releases and we’re very satisfied with the level of stability we’ve managed to achieve in being so meticulous.

    • We have decided to continue using an external agency. Their manual testing of our product on a variety of browsers and operating systems has proven effective in finding bugs before the release.
    • We have started to shift some of the extensive testing upstream internally in order to decrease the feedback loop during WooCommerce Core releases.
    • The shift the monthly releases will dramatically decrease the testing surface, leading to smaller and more stable releases.

    Much 💜 to all the contributors

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

    WooCommerce Core

    ObliviousHarmonyclaudiosanchespeterfabianvedanshujainrrennickmattsherman
    ObliviousHarmonyclaudiosanchespeterfabianvedanshujainrrennickmattsherman
    juliaamosovajoshuatfKonamimanAljullubor0tsteur
    juliaamosovajoshuatfKonamimanAljullubor0tsteur
    tivnettimmycspacedmonkeyDan-QYasienDwiebhelgatheviking
    tivnettimmycspacedmonkeyDan-QYasienDwiebhelgatheviking
    jasonandmontejobthomasbarryhughes   
    jasonandmontejobthomasbarryhughes   

    WooCommerce Admin

    joshuatfpsealockmattshermanjeffstielerbecdetatrrennick
    joshuatfpsealockmattshermanjeffstielerbecdetatrrennick
    jconroydechovoctaedrodanielbitzertimmycclaudiosanches
    jconroydechovoctaedrodanielbitzertimmycclaudiosanches

    WooCommerce Blocks

    Aljullunerradmikejolleyhaszarisenadirthenbrent
    Aljullunerradmikejolleyhaszarisenadirthenbrent

    Action Scheduler

    rrennick     
    rrennick     

    REST API

    vedanshujain     
    vedanshujain     

  • Hi all! After publishing the second release candidate for WooCommerce 4.3, we’ve discovered a problem between Jetpack and WooCommerce that resulted in WooCommerce creating a lot of unnecessary options in the database. As we prefer the stability of the platform, we’ve decided to publish one more release candidate–RC3 today to test the problematic parts of code more thoroughly on our testing and production platforms, and, if everything goes well, we plan to publish the final 4.3 version later this week.

    Changes

    Please find below the list of changes since RC2:

    WooCommerce core

    • Dev – Removed type hints from src folder. #26963

    WooCommerce Admin

    • Fix – Added default value to the note icon. #4745
    • Fix – Unnecessary REST API usage leading to potential overflow of Jetpack option sizes. #4755
    • Dev – Add deprecation notice for install_plugin() #4713
    • Dev – Only load non-minified js files when SCRIPT_DEBUG is on, and env is development or plugin. #4747

    Testing

    As usual, 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.

    Thanks to all of our testers and contributors!


  • Today we are releasing WC Blocks 2.9.0! It’s available for download from GitHub and WordPress.org. This is a small bug-fix release.

    Read the full changelog below:

    • bug: Correctly sort translated state and country drop-down menus in Checkout block. #2779
    • dev: Add storybook story for icon library. #2787
    • dev: Add custom jest matcher toRenderBlock, used for confirming blocks are available in the editor in e2e tests. #2780
    • dev: Use consistent Button component in Cart & Checkout blocks. #2781

  • Storefront 2.5.8 has been tagged for release and uploaded to WordPress.org. This is another small maintenance release.

    As a part of this release, Storefront now specifies the “Tested up to:” and “Requires PHP” version checks. Currently, the required PHP version is 5.6.0, but this will likely be bumped in future versions to align with WooCommerce core.

    Here’s what’s new in 2.5.8 (pulled directly from the changelog):

    • Fix – Stylesheet storefront-woocommerce-style has storefront-style and storefront-icons as explicit dependencies, so child themes can define storefront-woocommerce-style as a dependency without the risk of breaking the stylesheets order. #1369
    • Fix – Removed woocommerce-legacy.css stylesheets for unsupported versions of WooCommerce (< 4.0). #1368
    • Dev – Adopt RenovateBot for managing dependencies. #1363
    • Dev – Update various dependencies, including major updates:
      • @wordpress/babel-preset-default v4 #1387
      • stylelint v13 #1390

    Download the latest release of Storefront from WordPress.org, or venture over to Dashboard → Updates in your WordPress admin to update your theme.

    As usual, if you see any issues, please log them in detail on Github.


  • Hi all! Last week, we published the first release candidate for WooCommerce 4.3 and thing has been working quite well and we’ve also seen a couple of bug reports, mostly for features related to the WooCommerce Admin package. To keep the feedback loop for testers tight, we’re bringing you the second release candidate today.

    We are still on track for our planned July 7th final release date.

    Changes

    Please find below the list of changes from RC1:

    WooCommerce core

    • Tweak – Fix redundant setting of object cache when attribute taxonomies are not being used. #26518

    WooCommerce Admin

    • Tweak – Tweak the embed page CSS so the top content sits better. #4622
    • Tweak – Update summary number placeholder styles. #4682
    • Fix – Check that the possibly_add_note function exists before calling it. #4680
    • Fix – Remove unnecessary rest_api_init action that caused incompatibility issues with other plugins. #4691
    • Fix – Fix dashboard task list menu placement. #4664
    • Fix – Added styles to the unread notes counter in the inbox panel. #4690
    • Fix – Fix spacing between stats overview and store management cards. #4681

    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.

    Thanks to all of our testers and contributors!


  • The upcoming WooCommerce 4.3 release on July 7th introduces a brand-new Home screen. The current dashboard does a great job helping a merchant stay on top of the statistics and data that matter most to a store, but we want to go beyond that. In the new Home experience, merchants can navigate to any area of their stores; find information about WooCommerce, store achievements, and useful content; and stay on top of store stats, all in one spot.

    The new Home Screen in WooCommerce

    A sneak peek of what’s included

    Inbox 

    The Inbox was already available via the Activity Panel. Now you’ll also find it on the new Home screen — and it includes a “dismiss” option, so store owners can close out the messages and reduce on-screen clutter. 

    Stats Overview

    Use this for a quick overview of a store’s most important performance indicators, as defined by the store owner. Select up to six data points — choose from options like Total Sales, Orders, or Items sold — for quick access to detailed reports on each metric. 

    Store Management

    The Store Management area offers quick access to some of the most important areas of a store, such as adding products or editing specific settings. Future enhancements to the Home screen include the abilities to accomplish tasks like fulfilling orders and tweak specific settings without ever leaving the screen.

    Accessing the new Home

    The new WooCommerce Home will be the default home screen for all new stores as of WooCommerce 4.3, which comes out on July 7th. If you have an existing store, you get to decide when to start using it: it will be disabled by default, and you can enable it by heading to WooCommerce > Settings > Advanced > Features.

    We’re just getting started

    This is just the beginning of a Home experience that will help merchants effectively manage day-to-day operations from one central,  customized home screen. A Home that evolves with their business. 

    We’re keen to hear your feedback. Feel free to share your ideas on our Ideas Board or on the GitHub repository where we’re building this new experience.


  • Today we are releasing WC Blocks 2.8.0! It’s available for download from GitHub and WordPress.org.

    Beginning with 2.6.0, in which we included the preview for the Cart and Checkout blocks, WooCommerce Blocks has gone back to a bi-weekly release schedule. This allows us to ship improvements faster and get feedback earlier as a part of the development process.

    More Cart and Checkout blocks improvements

    This release introduces several improvements to how our blocks work with different themes. Blocks will inherit font colors of your theme, as well as interpolate border colors from the text color. Along with several updates and fixes to styles, this release also fixes an issue with Product Categories List block when used on full width, addresses respecting the tax settings in the shipping methods, and adds the ability to use cropped images in the All Products, Cart, Checkout, and All Reviews blocks.

    Screenshot
    cropped images in the Cart block.

    You can read the full changelog below:

    • bug: Cart and Checkout blocks display shipping methods with tax rates if that’s how it’s set in the settings. #2748
    • bug: Fix an error appearing in the Product Categories List block with Full Width align. #2700
    • enhancement: Added aria-expanded attribute to Change address button in the Cart block #2603
    • enhancement: Fix updating the wc_reserve_stock stock_quantity value after making changes to the cart inbetween checkouts. #2747
    • enhancement: Remove background color from Express checkout title. #2704
    • enhancement: Several style enhancements to the Cart and Checkout blocks sidebar. #2694
    • enhancement: The Cart and Checkout blocks now use the font colors provided by the theme. #2745
    • enhancement: Update some class names to match the new guidelines. Check the docs in order to see which class names have been updated. #2691 [DN]
    • enhancement: Blocks now respect the product image cropping settings. For the All Products block, the user can switch between the cropped thumbnail and the full size image. #2755

  • We’ve just shipped another release which contains a minor bugfix for SelectWoo. Here is the changelog for the release:

    **WooCommerce**
    * Fix - Put back the remove element for multiselects on selectWoo. #26849

    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 any other issues in the WooCommerce core, please log them in detail on GitHub. Found a security issue? Please submit a report via HackerOne.


  • After releasing the beta version last week, we haven’t seen many bug reports. Therefore, we are moving ahead according to the plan and are excited to announce that the release candidate is now available! We are also on track for our planned July 7th final release date.

    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.

    Thanks to all of our testers and contributors!