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
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.
3 replies on “WooCommerce 4.2 is now available!”
Updates my sites…works like a charm upgrading from 4.1.1, thanks for the fixes! Keep up the amazing job of making woocommerce a great product…please always choose stability and backward compatibility for future releases…there’s a lot of custom legacy code in plugins, custom themes and rare payment gateways for previous versions of woo that needs to be still functional all around the globe…Thanks a lot!
LikeLiked by 5 people
Great work, I upgraded all my WooCommerce sites and they work very well.
LikeLiked by 1 person
Very glad to here new version has been released. Thanks for Updating in 4.2.