We are excited to announce that WooCommerce 4.4 is now publicly available! It has been in development since July 2020 and the core has been updated with about 450 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.4?
As with all minor releases, we are bringing you several new features that weโd like to highlight:
WooCommerce Blocks Update
This release includes numerous bug fixes and improvements across various blocks. Some notable changes include –
- Updating styles across all blocks to make them more consistent and also removed usage of dashicon classes.
- Blocks respect the product image cropping settings.
- Scripts only relevant to the front-end display of blocks are no longer loaded in the editor.
Centralized Coupon Management
Coupons management has been moved to the marketing hub in the WordPress sidebar. There will still be a coupon menu item in the old location, and anyone stumbling upon it will be guided here.
See more details in the original release post.
Filters and actions
We have added a few new filters and updated some of the existing ones:
Filters | Description |
---|---|
woocommerce_product_cross_sells_products_heading | Allows changing heading for cross selling product section. |
woocommerce_enable_nocache_headers | Allows not setting no-cache headers to improve performance. |
woocommerce_duplicate_product_exclude_meta | Added a new parameter $existing_meta_keys |
plugins_update_check_locales | The default value of the $locales parameter changed to include all locales. |
woocommerce_translations_updates_for_{$plugin_name} | Allows filtering plugin that are subscribed for automatic translation updates. |
woocommerce_bacs_accounts | Added a new parameter $order_id |
New action is also added in this release.
Action | Description |
---|---|
woocommerce_order_note_added | Runs after a new note is added to the order. |
Other notable fixes and improvements
There are lots of fixes and stability improvements in this release, including:
- Fixed the visibility of partially out of stock variable products when using the layered nav widget. (#26260)
- If you are manually creating a new order, stocks will be updated only after you have saved the order (in any status where stocks are supposed to be reduced like
on-hold
,completed
orprocessing
). Earlier, stocks would have been reduced even if the order was not saved (as soon as products were added). (#26642) - We have added/updated documentation of some deprecated functions (#27054).
- We have fixed a couple of issues that surfaced when using the upcoming version 5.5 of WordPress: removed new meta box arrows (#27173) and fixed the “product type” dropdown from product’s data meta box (#27170).
- After clicking to update WooCommerce, the user will now stay in the same page instead of being redirected to the “Settings” page (#27172).
- Improved order details UI to highlight “Paid” and “Net Payment” sections (#27142).
- We removed the
JETPACK_AUTOLOAD_DEV
define (#27185). - We now trigger the woocommerce_order_item_quantity filter when reserving stock (#27251).
You can find the complete changelog for this release on the changelog.txt file.
Database changes
This release does not require any core database alteration. However, the previous release, 4.3, did introduce a new table, so if you are upgrading from an earlier release than 4.3, make sure that WordPress user has permission to add a new table to the database.
A re-occurring worker will be scheduled after update to backfill product variation data. This worker will process variable products in batches of 100.
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.4 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 are still shifting some of the extensive testing upstream internally in order to decrease the feedback loop during WooCommerce Core releases.
- The shift to monthly releases has effectively decreases 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.
WooCommerce core
Konamiman | claudiosanches | vedanshujain | ObliviousHarmony | peterfabian | rrennick |
masteradhoc | budzanowski | vallter2 | timmyc | tammullen | xristos3490 |
hjoelr | matt-h | dependabot[bot] | yuliyan | james-allan | jonathansadowski |
Aljullu | nerrad | dhruvins | andrewminion-luminfire | om4csaba | mch0lic |
szamanis | jeffstieler | mahdiyazdani | juliaamosova | adamradocz |
WooCommerce Admin
jeffstieler | becdetat | octaedro | psealock | joshuatf | timmyc |
samueljseay | jconroy | jameskoster | harriswong | Ferdev | nerrad |
c-shultz | ayubadiputra | mattsherman | aaemnnosttv |
WooCommerce Blocks
Aljullu | nerrad | haszari | senadir | mikejolley | LevinMedia |
pkelbert |
REST API
vedanshujain | ObliviousHarmony |
Leave a Reply