We are excited to announce that WooCommerce 4.2 is now publicly available! It has been in development since April 2020 and has about 294 commits from 28 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 guide for more information.
What’s new in 4.2?
As with our previous release, we have been continuing to focus on stability and performance in this cycle. These are the major changes being shipped in this release:
New Hooks and Functions
We’ve added one new hook in this release:
|woocommerce_menu_order_count||Enables filtering for the count of processing orders shown in the menu.|
We’ve also made some changes to a few hooks:
|woocommerce_matched_rates||Added the customer as a third argument.|
|woocommerce_attribute_label||Fixed a bug that caused the prefix of global attributes to be removed from the second argument.|
Minimum WordPress Requirement
While this release does not change the minimum PHP version, it does increase the minimum WordPress version to 5.2. From this release on we will be adhering to our new L-2 support policy for WordPress. You can read all about this new policy in the developer blog post detailing it.
How was 4.2 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