WooCommerce 5.0 Released

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

  1. 255 commits from 30 contributors in WooCommerce core.
  2. 163 commits from 26 contributors in the WooCommerce admin 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.0?


Previous to this release, we’ve partially followed the Semantic Versioning (Semver) schema. Going forward we’ve decided to follow the WordPress versioning schema. This means that although we’re releasing version 5.0 (which usually means a backwards compatible breaking release under Semver), we will maintain backwards compatibility.

See more details in Developer Advisory: Changes to WooCommerce Versioning Scheme.

WooCommerce Admin 1.9.0

This release updates the WooCommerce admin package to 1.9.0 from 1.8.3. Mostly bugfixes and improvements are included in this update, including:

  • Help tooltip will now appear when a task has not been completed the second time to give additional help for the merchant. (#5826)
  • Home screen task extensibility. Allows 3pd to add their own tasks. (#5794).
  • Added “unread” indicator to inbox messages. This helps to quickly see which inbox messages have not been read. (#6047)

Notable fixes and improvements

  1. Product Review Count: Previously in 4.9, we fixed the product review count from this PR #28624. This worked for all new comments being created however it did not correctly fix the issue that already happened. So we’ve put in a migration script which will fix the review count when new reviews are added. #28814
  2. Deprecate legacy reports: Since WooCommerce 4.0, it has added a new and improved WooCommerce Analytics. We’re encouraging users to start using the new WooCommerce Analytics and thus we have soft deprecated the legacy reports with a notice in the legacy reports section. #28799
  3. CSS Variables: We’ve added WooCommerce prefixed CSS variables to the stylesheet. This provides easier extendibility when developers need to utilize the same WooCommerce default styling without needing to recreate the CSS. #28709
  4. Restoring products, orders and coupons: Previously after trashing orders, products or coupons — when restoring, it puts these items into “draft” status. Now it will restore to the same status as what it was before to prevent issue. #28690
  5. Changing product type with attached files: Previously when an order is placed with a product that had downloadable files and when you change the product type to say a variable product, the permission for the downloadable files would be lost and access would be denied. This has been fixed so that it now recognizes the change of product type and when you go to use the same downloadable file, it would recognize it and recreate the permissions for the same customer. #28521

You can find the complete changelog for this release in the changelog.txt file.

Database Changes

While there are no schema changes to the database tables, we want to highlight that there will be a script that runs in the database that fixes any potential issues with the product review counts. #28814. This in turn will bump the database version to 5.0.0.

Template Changes

This release does not introduce any changes to template files.

Filters and actions

We have added one new action in this release.

woocommerce_activated_pluginAction to signal that packages such as WC Admin has been activated. #28698
5.0 new action hooks

We have added two new filters in this release.

woocommerce_delete_variations_on_product_type_changeFilter to prevent
variations from being deleted while switching from a variable product type to a variable product type. #27137

woocommerce_new_order_email_allows_resendFilter to allow resending of the new order email to the admin. #28858
5.0 new filter hooks

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 roykho rrennick vedanshujain Konamiman veljkho
claudiosanches roykho rrennick vedanshujain Konamiman veljkho
peterfabian helgatheviking jonathansadowski zhongruige mfs-mindsize menakas
peterfabian helgatheviking jonathansadowski zhongruige mfs-mindsize menakas
lsinger ObliviousHarmony Dan-Q psealock Aljullu budzanowski
lsinger ObliviousHarmony Dan-Q psealock Aljullu budzanowski
stevegrunwell JoseeWouters sc0ttkclark jahir07 mehrshaddarzi paulochang
stevegrunwell JoseeWouters sc0ttkclark jahir07 mehrshaddarzi paulochang
jffng kevinruscoe raicem ilyasfoo
jffng kevinruscoe raicem ilyasfoo

WooCommerce Admin

samueljseay joshuatf joelclimbsthings louwie17 octaedro moon0326
samueljseay joshuatf joelclimbsthings louwie17 octaedro moon0326
hsingyuc psealock adrianduffell ilyasfoo becdetat johndcoy
hsingyuc psealock adrianduffell ilyasfoo becdetat johndcoy
ribaricplusplus nerrad manjeet-wisetr tomalec
ribaricplusplus nerrad manjeet-wisetr tomalec

8 responses to “WooCommerce 5.0 Released”

  1. I literally started reading this post thinking it was a big release, given it’s 5.0. Only to find out it’s not. sigh

    1. I just saw that WC had a new version available and that it was version 5.0, so I went straight to the changelog, in part hoping to see a mention about the dedicated products and orders tables, but was astonished to see no big advancement (don’t get me wrong, I am not discounting all the work that has been put into this release) while the first digit of the version changed. Which made me reach for the WC Dev blog to discover THIS!

      It’s WP which should change its versioning not WC.

    2. Yes, it’s like we have announced during beta and RC πŸ™‚

      1. My brain can’t remember this silly versioning, when I’m used to the proper way.

  2. Great move changing to wp versioning, no problem updating from 4.9.x. Backward compatibility is crucial when thereis no LTS, improvements are important, but could break a lot of sites without backward compatibility. there are a lot of sites around the world with a bit of legacy code that keep running our business in Latin America and Africa where gateways are not always updated so fast. Thanks for all the fixes, the woo team is amazing!

  3. This update causes console error in crocoblock WooProductGallery..

  4. Vitold Avatar

    thank you for your work!

Leave a Reply

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