Weโre excited to announce that WooCommerce 5.1 is now released! This is the third minor release of 2021 and has
- 279 commits from 37 contributorsย in WooCommerce core.
- 109 commits from 22ย contributorsย in the WooCommerce Admin package.
- 175 commits from 18 contributorsย in the WooCommerce Gutenberg Products Block package.
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 5.1?
- WooCommerce Blocks 4.4:ย Blocks package have been updated to 4.4.3.ย Please take a look at the release postย to see whatโs new and improved.
- WooCommerce Admin 2.0.2:ย WooCommerce Admin package has also been updated to 2.0.2 with this release of WooCommerce. This new package contains lots of bug fixes and stability improvements. Changes can be foundย here.
Notable fixes and improvements
- jQuery 3 deprecated items:ย This will be an ongoing effort to fully remove all deprecated jQuery 3 items from core.ย #28753
- Updating order tax:ย Previously after recalculating totals when tax setting has changed (such as name and/or rate), the tax name does not update in the order meta. This has been fixed.ย #28983
- Notices not going away:ย Previously when trying to close an admin notice such as the โDatabase has been updatedโ notice, this notice keeps reappearing. This has been fixed.ย #28500
You can find the complete changelog forย this release in the changelog.txt file.
Filters and actions
We have added two new filters in this release.
Filter | Description |
woocommerce_exporter_product_types | Filter to allow third-parties to filter the exportable product types. #28950 |
woocommerce_cancel_unpaid_orders_interval_minutes | Filter to change the interval minutes for holding stock on cancel/unpaid orders. #28933 |
Database Changes
This release does not introduce any database changes.
Template changes
This release does not introduce any changes to templates.
Reposted from WooCommerce