WooCommerce 5.1 Released

We’re excited to announce that WooCommerce 5.1 is now released! This is the third minor release of 2021 and has

  1. 279 commits from 37 contributors in WooCommerce core.
  2. 109 commits from 22 contributors in the WooCommerce Admin package.
  3. 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?

  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.
  2. 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

  1. jQuery 3 deprecated items: This will be an ongoing effort to fully remove all deprecated jQuery 3 items from core. #28753
  2. 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
  3. 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.

FilterDescription
woocommerce_exporter_product_typesFilter to allow third-parties to filter the exportable product types. #28950
woocommerce_cancel_unpaid_orders_interval_minutesFilter to change the interval minutes for holding stock on cancel/unpaid orders. #28933

5.1 new filter hooks

Database Changes

This release does not introduce any database changes.

Template changes

This release does not introduce any changes to templates.

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

claudiosanches zhongruige roykho rrennick vedanshujain barryhughes
claudiosanches zhongruige roykho rrennick vedanshujain barryhughes
Konamiman tammullen louwie17 peterfabian artpi mikejolley
Konamiman tammullen louwie17 peterfabian artpi mikejolley
veljkho chickenn00dle moon0326 mattsherman ObliviousHarmony jonathansadowski
veljkho chickenn00dle moon0326 mattsherman ObliviousHarmony jonathansadowski
psealock Marcuzz octaedro nielslange
psealock Marcuzz octaedro nielslange

WooCommerce Admin

joshuatf samueljseay psealock hsingyuc louwie17 adrianduffell
joshuatf samueljseay psealock hsingyuc louwie17 adrianduffell
becdetat joelclimbsthings elizaan36 octaedro timmyc szepeviktor
becdetat joelclimbsthings elizaan36 octaedro timmyc szepeviktor
chickenn00dle ilyasfoo LevinMedia jorgeatorres tomalec ribaricplusplus
chickenn00dle ilyasfoo LevinMedia jorgeatorres tomalec ribaricplusplus
mattsherman nerrad moon0326
mattsherman nerrad moon0326

WooCommerce Blocks

opr mikejolley Aljullu nerrad senadir ralucaStan
opr mikejolley Aljullu nerrad senadir ralucaStan
budzanowski
budzanowski

Action Scheduler

barryhughes claudiosanches
barryhughes claudiosanches

Keep yourself in the loop!

Sign up for the WooCommerce developer newsletter:
This field is hidden when viewing the form
This field is hidden when viewing the form
This field is hidden when viewing the form


5 responses to “WooCommerce 5.1 Released”

  1. Daniel Avatar

    Thanks for the fixes and for, as always, keeeping things backward compatible, wc 5.1 works ok with wp 5.7

  2. […] You can see the original post over on the WooCommerce developer blog. […]

  3. […] WooCommerce 5.1 with updates for blocks & […]

  4. […] WooCommerce 5.1 was released on March 9, 2021. In addition to new versions of WooCommerce Admin and WooCommerce Blocks packages, this release also includes new filters for managing inventory holds for unpaid orders and modifying exportable product types. You can view a full list of changes and associated Pull Requests in the changelog.txt file. […]

  5. […] store owners, the 3.5 Plugin update is a minor Plugin release confirming compatibility with WooCommerce 5.1 and WordPress 5.7. We have also corrected a caching issue appearing on specific servers causing […]

Leave a Reply

Your email address will not be published. Required fields are marked *