Changelog
Check out the latest releases from the WooCommerce project.
Subscribe to all release posts via our RSS feed.
-
WooCommerce 5.0 beta 2 is now available for testing! This version adds in the WooCommerce Admin version 1.9.0.You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.
This is a minor release focusing on bug fixes and performance improvements. See more details of our versioning changes in Developer Advisory: Changes to WooCommerce Versioning Scheme.
Notable fixes and improvements:
Since the first beta version, the following fixes/additions were added:
- WooCommerce Admin 1.9.0 (#28896)
- 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)
Testing
As with the previous several releases, we have published testing instructions for . We’d love your help in testing this release.
-
There’s a new version of WooCommerce Blocks! Version 4.3.0 is now available on WordPress.org and GitHub.
This release includes a fix to how our components are styled. Before the change, the UI inputs were difficult to see when the user was using a dark background. After the fix, the inputs are clearly visible. The rest of the changes are focused on laying the groundwork for future enhancement in the extensibility area of WooCommerce Blocks.
Changelog
Bug Fixes
- Update input colors and alignment. (3597)
Enhancements
-
WooCommerce 5.0 is now available for beta testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.
What’s new?
This is a minor release focusing on bug fixes and performance improvements. Just like other minor releases, this release also aims to be backward compatible with previous WooCommerce releases.
Versioning
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.
Highlights
- 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
- 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
- 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
- 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
- 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
Filters and actions
We have added one new action in this release.
Action Description woocommerce_activated_plugin Action 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.
Filter Description woocommerce_delete_variations_on_product_type_change Filter to prevent
variations from being deleted while switching from a variable product type to a variable product type. #27137woocommerce_new_order_email_allows_resend Filter to allow resending of the new order email to the admin. #28858 5.0 new filter hooks Database Changes
While there are no schema changes to the database tables, we want to highlight that there will be a migration 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 templates.
Release Schedule
This version of WooCommerce is scheduled to be released as follows:
Version Release Beta January 19th, 2021 Release Candidate January 26th, 2021 5.0 Final Release February 9th, 2021 Release schedule for 5.0 Testing
As with the previous several releases, we have published testing instructions for . We’d love your help in testing this release.
-
This release reverts a change that was added with 4.9.0 and was causing issues with mail being sent out for few extensions.
Changelog
This release contains only a single change:
Thanks to everyone for reporting this issue promptly and helping out with the fix release.
You can download the latest release of WooCommerce here or visit Dashboard → Updates to update the plugin from your WordPress admin screen.
As usual, if you spot issues in WooCommerce core, please log them in detail on GitHub. Found a security issue? Please submit a report via HackerOne.
-
We’re excited to announce that WooCommerce 4.9 is now released! This is the first minor release of 2021 and has
- 387 commits from 30 contributors in WooCommerce core.
- 169 commits from 25 contributors in the WooCommerce admin package.
- 91 commits from 14 contributors in the WooCommerce Blocks 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 4.9?
WooCommerce Admin 1.8.3
This release updates the WooCommerce admin package to 1.8.3 from 1.7.0. Mostly bugfixes and stability improvements are included in this update, including:
- Multiple compatibility changes are added for IE 11 including fixing an issue where sometimes the admin screen won’t render.
- Stock management and reviews management panels have been moved to the WooCommerce home screen. These used to be accessed via icons on the right side of the navigation bar.
- For stores based in India, another payment option Razorpay has been included in the onboarding task list.
- We are introducing a new customer survey utility to gather feedback from users around various product features. This will only be shown to users who have opted in to share usage data with us.
WooCommerce Blocks 4.0.0
WooCommerce blocks package has been updated to 4.0.0 in this release from 3.8.1. This update contains changes to behind the scenes logic in checkout flow so that the flow in which data is processed is more logical, along with some other bugfixes and improvements.
You can also view detailed release notes for WooCommerce Blocks 4.0.0.
Notable fixes and improvements
- API performance improvements: WooCommerce REST API responses have been made faster for product and order endpoints. To make use of increased speed, make sure to add the
_fields
parameter in the API call to specify only what you need, and WooCommerce will try to optimize internal SQL queries to reduce the load on the database. #27335
Note that we have reverted a part of this enhancement that was earlier included in the Beta after a bug was reported. We are intending to add this back in a future release after fixing the bug. #28745 - UK and Isle of Man removed from EU VAT zones: As a part of the Brexit effort, we have removed UK and IM from EU VAT zones. If you or your client’s store deal with EU taxes, then make sure to consult your accountant as just this change might not be enough. #28538
We have also published a guide for navigating Brexit here: Ready for Brexit: A Guide for WooCommerce Store Owners - Stock management fixes: Fixes have been made to make stock management more robust and prevent duplicate stock reduction. Thanks to all for reporting those issues promptly and in great detail. #28620
- Product review count: An issue related to incorrect review count has also been fixed. If you were impacted by this bug, then add/remove a product review manually to correct the review count. We are also working on another fix to update the product review count retro-actively for convenience. Again, thanks to all for reporting this issue promptly and in detail. #28624
- Better coupon error messages: When the coupon usage limit is reached after an incomplete or failed payment where the coupon was used, we will show better error messages. If the users are logged in, we will ask them to go to the MyAccount page (if enabled) to cancel or pay for the orders and recover/utilize the coupon. #28592
You can find the complete changelog for this release in the changelog.txt file.
Database Changes
This release does not introduce any changes to the database.
Template Changes
This release does not introduce any changes to template files.
Filters and actions
We have added two new actions in this release
Action Description woocommerce_variation_before_set_stock Action to signal that the value of ‘stock_quantity’ for a variation is about to change. #27558 woocommerce_product_before_set_stock Action to signal that the value of ‘stock_quantity’ for a product is about to change.#27558 list of new actions in 4.9 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
vedanshujain jonathansadowski rrennick roykho ObliviousHarmony rodrigoprimo Konamiman zhongruige claudiosanches peterfabian tammullen szepeviktor aheckler idofri sorensd lsinger codestor4 tyrann0us jlavoie13 bordoni joelclimbsthings paulochang tanvirulhaque psealock tivnet samueljseay garyc40 mikejolley timmyc pjv OlegApanovich zzap abhishek-pokhriyal nerrad mathiasdb WooCommerce Admin
joshuatf moon0326 psealock jeffstieler becdetat louwie17 adrianduffell samueljseay octaedro mattsherman joelclimbsthings ilyasfoo leewillis77 timmyc LevinMedia Aljullu Krovatkin millerf elizaan36 vbelolapotkov tomalec chickenn00dle WooCommerce Blocks
Aljullu mikejolley nerrad opr senadir haszari budzanowski LevinMedia MohammedFaragallah dependabot[bot] ettoredn Action Scheduler
Konamiman roykho
-
We have released a second release candidate for WooCommerce 4.9 and are still on track for our planned release tomorrow (January 12th).
Changes
This release candidate includes following changes:
- Reverts a part of performance enhancements for Orders and Products API after a bug was reported. #28745
- Bugfix in API to restore stock_status. #28731
- Additional protection in func_get_args_call for backwards compatibility. #28677
- Fix a bug in WooCommerce Admin for compatibility with IE11. #5987
Testing
If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from wordpress.org.
A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started.
If you discover any bugs during the testing process, please let us know by logging a report in GitHub.
Thanks to all of our testers and contributors!
-
There’s a new version of WooCommerce Blocks! Version 4.2.0 is now available on WordPress.org and GitHub.
This release includes a fix for an issue that was preventing completing checkout using saved payment methods in some circumstances. This was a regression introduced in the last version of WC Blocks and it was only affecting payment methods that had been saved directly from the My Account page, all other payment methods, including the ones saved directly in the payment process weren’t affected.
Changelog
- Fix an error that was blocking checkout with some user saved payment methods. (3627)
-
Today we released Storefront 3.1.0. The new version can be downloaded from WordPress.org and GitHub.
This release contains a compatibility fix for users who choose to disable the new WooCommerce admin interface, and some general improvements which improve coding standards and remove unused/legacy code.
Changelog
- Fix – Prevent a fatal error on activation if WooCommerce Admin is intentionally disabled.
- Fix – Removed legacy code targeting unsupported versions of WooCommerce. Storefront currently supports 4.2+.
- Dev – Update stylelint to use stylelint-config-wordpress\scss config and refactor SCSS files to follow WordPress CSS coding standards.
- Dev – Updated engines in package.json.
- Dev – Fixed PHP linting warnings.
Download the latest release of Storefront from WordPress.org, or venture over to
Dashboard → Updates
in your WordPress admin to update your theme.As usual, if you see any issues, please log them in detail on Github.
-
We are excited to announce that first release candidate is now available for WooCommerce 4.9! We are on track for our planned January 12th release date.
Changes
This release candidate includes some minor fixes in WooCommerce Admin and a compatibility fix for PHP8.
Testing
If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from wordpress.org.
A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started.
If you discover any bugs during the testing process, please let us know by logging a report in GitHub.
Thanks to all of our testers and contributors!
-
We released a new version of WooCommerce Additional Variation Images, this version packs some changes to the behavior, if you’re writing code that integrates with this plugin, read along.
The
1.8.0
fix release changes the way in which Additional Variation Images galleries are shown on product pages. This has resulted in a change to some of the jQuery event triggers available previously.In the old version, when a variation was chosen on a products page, an Ajax event would be fired to find variation images, and then these images would be injected into the existing product gallery. The images that were there previously were removed and stored in memory—events were fired based on this ‘swapping’ of images.
The problem with this approach we found was that:
- After swapping images, the gallery could fail to re-initialise.
- Some scripts used in the gallery (Flexslider) would break if re-initialised on the same parent element.
- Restoring the original gallery was overly complex due to the differences and complexities between the original gallery HTML on page load, and the HTML after Flexslider has initialised.
To avoid these issues, the new version does not manipulate gallery HTML, re-initialise components, or attempt to swap images. Instead, the HTML for a new gallery is inserted into the page, initialised once, and the old gallery is hidden from view (not removed from the page).
As well as fixing the original problem, there are some other side benefits to this approach including reduced complexity (no HTML needs to be directly manipulated), and no need to load the same variation images multiple times if variations are de-selected then re-selected; all galleries remain hidden on the page.
Developers need to be aware that as a result of these changes, some of the event triggers have been removed since they are no longer relevant. These include:
wc_additional_variation_images_frontend_on_reset
wc_additional_variation_images_frontend_on_reset_done
wc_additional_variation_images_frontend_image_swap_callback
wc_additional_variation_images_frontend_image_swap_done_callback
wc_additional_variation_images_frontend_ajax_default_image_swap_callback
wc_additional_variation_images_frontend_ajax_default_image_swap_done_callback
wc_additional_variation_images_frontend_reset_variation
wc_additional_variation_images_frontend_ajax_response_callback
The following events are still triggered in the new version:
wc_additional_variation_images_frontend_lightbox
wc_additional_variation_images_frontend_lightbox_done
wc_additional_variation_images_frontend_before_show_variation
wc_additional_variation_images_frontend_init
However, please note that these events were previously passed:
- the gallery div class name
- the main images div class name
- the original gallery HTML
- the original main images HTML
Since the gallery HTML is no longer manipulated, these values are no longer passed to the events.
To predict the impact of these changes we searched across https://wpdirectory.net/ and found no usage in plugins or themes of these events. GitHub revealed only a few instances of usage in themes, however, we noticed that these themes were also manipulating gallery HTML which is broken anyway, so since these events are no longer fired, the impact should be negligible.