Changelog
Check out the latest releases from the WooCommerce project.
Subscribe to all release posts via our RSS feed.
-
Today we’re pleased to announce that WooCommerce 3.4 is available for beta testing!
You can download it directly here or WooCommerce prerelease versions are also now available at WordPress.org.
Release highlights
3.4 is the second minor release this year. Being a minor release, all new functionality should exist in a backwards-compatible manner. Updating from any version since 3.0 should be hassle free!
Here is what to look out for in the update.
GDPR compliance
Enforcement of the EU General Data Protection Regulation (GDPR) begins shortly after the release of WooCommerce 3.4. We have added tools and features to help store owners become GDPR-compliant and deal with GDPR requests from customers.
Some of these features include:
- Ability to add privacy policy text to checkout and account pages
- Integration with the exporter coming in WordPress core (soon)
- Tools to clean up (trash) and anonymize old orders which don’t need processing.
- Tools to remove some optional fields from the checkout.
You can read more about how we’re tackling GDPR in WooCommerce core here, or read the readme for the full list.
GeoLite2 integration
WooCommerce uses the MaxMind GeoLite database for geolocation during checkout to automatically select the customer’s correct country. The GeoLite database has been discontinued by MaxMind, and GeoLite2 is the replacement. This release adds support for and integrates WooCommerce with GeoLite2 to ensure geolocation will continue working correctly for the forseeable future. The whole process is automatic and no further action is needed on the store owner’s part to keep geolocation working correctly.
The library that integrates with GeoLite2 requires a minimum PHP version of 5.4. As a necessary step WooCommerce will not support geolocation using GeoLite2 on PHP versions less than 5.4.
On sites running those PHP versions geolocation will be done through the REST API. The API-based geolocation is a slower method, and it is recommended you update your PHP version if you are running a version less than 5.4.
If you need help upgrading your PHP version, here is our handy guide.
Beginning this release, the recommended PHP version for WooCommerce is 7.2.
Multisite dashboard widget
WooCommerce 3.4 introduces a new dashboard widget for multisite installs. This widget shows processing and on hold orders the user has access to from across the multisite network. This lets store owners and managers easily see orders that need action without having to manually go and check each site.
This should be a big time-saver for anyone that runs multiple WooCommerce stores using multisite!
Everything else . . .
Other features include:
- Wildcard email support for coupon restrictions. Using the wildcard character you can set up coupons restricted to groups of similar email addresses (.edu email accounts, corporate email accounts from a certain business, etc.).
- Users can now set their display name on the My Account page.
- Improvements to the admin product search, including stopword support and the ability to search for multiple products in the same query.
On top of the new features, there are a variety of minor tweaks, new hooks, and fixes. We won’t go into detail here, but you can see the full list of changes in the readme if you’re interested!
Template file changes
auth/form-login.php
– Named nonces and usednbsp;
to separate the*
in required fields to prevent awkward line breaks.cart/cart.php
– Named nonces and added filter around backorder notification text.cart/shipping-calculator.php
– Named nonces.checkout/form-coupon.php
– Useno-js
class to to hide forms/content that require JavaScript.checkout/form-login.php
– Useno-js
class to to hide forms/content that require JavaScript.checkout/form-pay.php
– Named nonces.checkout/payment.php
– Named nonces.checkout/terms.php
– Make sure terms page exists and isn’t trashed. Usednbsp;
to separate the*
in required fields to prevent awkward line breaks.emails/plain/email-customer-details.php
– Fixed converting letters with accents to uppercase.emails/plain/email-downloads.php
– Makewoocommerce_email_downloads_column_
hook format aware.emails/plain/email-addresses.php
– Fixed converting letters with accents to uppercase.emails/plain/customer-reset-password.php
– Removed user login from reset password link.emails/plain/email-order-details.php
– Fixed converting letters with accents to uppercase.emails/customer-reset-password.php
– Removed user login from reset password link.emails/email-downloads.php
– Makewoocommerce_email_downloads_column_
hook format aware.global/form-login.php
– Usednbsp;
to separate the*
in required fields to prevent awkward line breaks.global/quantity-input.php
– Escape and strip tags to prevent broken HTML.myaccount/form-add-payment-method.php
– Named nonces.myaccount/form-edit-account.php
– Added autocomplete attributes. Usednbsp;
to separate the*
in required fields to prevent awkward line breaks.myaccount/form-edit-address.php
– Named nonces.myaccount/form-login.php
– Added class and autocomplete attributes to form. Usednbsp;
to separate the*
in required fields to prevent awkward line breaks.myaccount/form-lost-password.php
– Named nonces and added autocomplete attributes.myaccount/form-reset-password.php
– Named nonces and added autocomplete attributes. Usednbsp;
to separate the*
in required fields to prevent awkward line breaks.order/form-tracking.php
– Named nonces.single-product/add-to-cart/grouped.php
– Addedwoocommerce_add_to_cart_form_action
filter and class to form.single-product/add-to-cart/simple.php
– Addedwoocommerce_add_to_cart_form_action
filter.single-product/add-to-cart/variable.php
– Addedwoocommerce_add_to_cart_form_action
filter and fixed variation URL bug when using special characters.single-product/review-meta.php
– Add escaping to publish date to prevent broken HTML.templates/archive-product.php
– Usewoocommerce_product_loop
instead ofhave_posts
.
Deprecated functions and methods
WC_Geo_IP
has been deprecated since the legacy GeoLite database has been deprecated. See the begining of this article for more info.WC_Widget_Product_Tag_Cloud::_get_current_taxonomy
has been deprecated forWC_Widget_Product_Tag_Cloud::get_current_taxonomy
.WC_Widget_Product_Tag_Cloud::_topic_count_text
has been deprecated forWC_Widget_Product_Tag_Cloud::topic_count_text
.
Release schedule and testing
We’re hoping to keep WooCommerce 3.4 in beta for the next 5 weeks. If you’re a developer please check extensions and themes are compatible to be safe.
Release Candidate 1 should be tagged on May 9th and will remain in RC for a further 2 weeks until May 23rd which is our target launch date.
If you’d like to help us test, you can download the release from Github. We posted a nice little write-up on beta testing here which should get you started. Please read that and jump right in!
If you’d like to help translate 3.4, you’ll find it on the development branch on translate.wordpress.org.
Thanks to all of our testers and contributors!
-
WooCommerce 3.3.5 is now available. ~32 commits made it into this release and the full changelog is below.
* Fix - Shop page notice should not appear when edting the "Hello World!" page. * Fix - Inconsistent order item refund sign. * Fix - Change `wc_get_price_excluding_tax` to not round the return value so calculations in admin are not pre-rounded. * Fix - Use minimum price instead of maximum price when ordering variable products from low to high on term archives. * Fix - `order` and `orderby` on shop page when using rewrite rules. * Fix - Ajax loading spinner when using twentyseventeen theme. * Fix - Out of Stock products change stock to On Backorder when imported to update existing products. * Fix - Visibility dropdown not responding in quick edit when stock management is disabled. * Fix - Featured paramenter in products endpoint on REST API. * Fix - Linebreaks in order item meta. * Fix - Product rating count when updated by admin. * Tweak - Define array before attempting to append to it. * Tweak - Change WC WP-CLI commands default per_page value to 100. * Tweak - Ensure background process class returns `data` as an array. * Tweak - Increase orders table checkbox column size on small devices. * Tweak - Better support for infinite scroll in Jetpack.
Download the latest release of WooCommerce here or venture over to Dashboard → Updates to update your plugins from WordPress.
As usual, if you spot any other issues in WooCommerce core please log them in detail on Github, and to disclose a security issue to our team, please submit a report via HackerOne here. Comments on this post are closed.
-
WooCommerce 3.3.4 is now available. ~30 commits made it into this release and the full changelog is below.
* Fix - Fixed undefined index after running setup wizard two times on fresh install. * Fix - wc_get_loop_class; force columns to be a minimum of 1. * Fix - Added loading spinner to WC panels in menu admin. * Fix - Use relative scheme for AJAX endpoint to avoid errors when using a mix of HTTP and HTTPS. * Fix - Fix SelectWoo templateSelection property. * Fix - Layered nav support on unsupported theme archives. * Fix - Prevent full refresh when editing store notice in the customizer. * Fix - Only append tax label in email content if taxes are enabled. * Fix - More reliable Jetpack detection. * Fix - Check if product has weight before calculate weight total in cart. * Fix - Correctly handle default ordering on the search page. * Fix - Fix default product category handling in installer. * Fix - Properly check slugs when updating attributes. * Fix - Use gallery thumbnail size for variation image switcher. * Fix - Clear subcategory cache when updating product categories. * Fix - Round fractional cents when out of base. * Fix - Inherit 'is variation' from existing attribute during csv import. * Fix - Set is_shortcode loop prop when outputting subcategories. * Fix - Reload gateways after updating the order. * Tweak - Use wc_get_default_products_per_row as the default for product shortcodes. * Tweak - Add post_excerpt to product search. * Tweak - Update the description of the user tracking notice in the onboarding wizard. * Tweak - Add extra data in order mobile view (status and date). * Tweak - Add profile link to order screen.
Download the latest release of WooCommerce here or venture over to Dashboard → Updates to update your plugins from WordPress.
As usual, if you spot any other issues in WooCommerce core please log them in detail on Github, and to disclose a security issue to our team, please submit a report via HackerOne here. Comments on this post are closed.
-
WooCommerce 3.3.3 is now available. ~9 commits made it into this release.
This fixes some issues with comma based currency settings, and the variation image switcher for variable products. The full changelog is below.
* Fix - Fixed is_numeric check which was affecting order subtotals/totals when using comma decimal separator. * Fix - Add missing direct script access checks to loop templates. * Fix - Added wp-post-image class to main image so variation images are swapped correctly. * Fix - API - Adjusted schema for products shipping_class_id to integer. * Fix - Made init tooltips event more specific to avoid conflict with Product Invoices extension.
Download the latest release of WooCommerce here or venture over to Dashboard → Updates to update your plugins from WordPress.
As usual, if you spot any other issues in WooCommerce core please log them in detail on Github, and to disclose a security issue to our team, please submit a report via HackerOne here. Comments on this post are closed.
-
WooCommerce 3.3.2 is now available. ~85 commits made it into this release. The full changelog is below.
* Fix - Fixed admin product SKU searching and searching non-published products. * Fix - PHP7.1 notice when image height is empty. * Fix - Prevent repeated update_option calls on page load due to php type juggling. * Fix - Only do unsupported template rendering in the loop to prevent conflicts with other shortcodes on the shop page. * Fix - Don't prepend regular shortcodes with categories. * Fix - If using get_catalog_ordering_args. remove the args when finished. * Fix - Remove "Type" column on attributes table by default unless custom types are defined. * Fix - Use verbose page rules when shop is in the URL, including shop base with category, to prevent 404s. * Fix - Set woocommerce_hide_invisible_variations to true so disabled variation attributes are hidden on product pages. * Fix - Help tip for webhook status. * Fix - Shipping zone documentation help link was printing wrong. * Fix - Stop background processing images when disabled via the filter. * Fix - Only search when a search term is provided. Ignore empty strings. * Fix - Fix check for external resources. * Fix - Show full date for future orders. * Fix - Prevent JS error is 'orders' row is disabled on order screen. * Fix - Fix save of tax settings when no changes have been made. * Fix - Add nonce to logout link on my account page so you do not need to confirm the action. * Fix - API - Set status after order is created/updated so triggered emails are current. * Fix - API - Fix single webhook endpoint. * Tweak - Added help text for background image processing. * Tweak - Added notice when background image processing is running, with cancel button. * Tweak - Run background image processing less often by tracking changes. * Tweak - Added system status tool to run background image processing manually. * Tweak - If using Jetpack Photon, use that instead of background image processing. * Tweak - Gallery thumbnail image size to handle small, square cropped images. * Tweak - Helper function (and template version bump for image templates) to render gallery images. * Tweak - Add help text for the default category to explain usage. * Tweak - Allow changing the default product category. * Tweak - Tweak mobile view of order preview to improve layout in non-english. * Tweak - If selecting text, don't link to order on row click. * Localization - Remove isle of man state.
Download the latest release of WooCommerce here or venture over to Dashboard → Updates to update your plugins from WordPress.
As usual, if you spot any other issues in WooCommerce core please log them in detail on Github, and to disclose a security issue to our team, please submit a report via HackerOne here. Comments on this post are closed.
-
Storefront 2.2.8 has been tagged for release and uploaded to WordPress.org.
Here’s what’s changed pulled directly from the changelog:
* Fix - Image bleed from next image in the gallery. * Fix - H1 site title tag on Front page instead of Posts page. * Fix - Number of columns and rows can now be changed in the Customizer. * Fix - Logo image size in Internet Explorer. * Fix - Prevent sidebar from overflowing the content at small sizes on cart page. * Fix - 404 page responsive layout. * Tweak - Updated development blog links. * Feature - WooCommerce Memberships integration.
Download the latest release of Storefront here or venture over to Dashboard → Updates to update your theme from WordPress.
As usual, if you spot any other issues, please log them in detail on Github.
-
WooCommerce 3.3.1 is now available. This release fixes conflicts with a handful of themes running template files from 3.2.x that were thus incompatible with the 3.3.0 update.
You may have seen that 3.3.0 was removed from WordPress.org soon after release; this was to give the team time to look deeper into the conflicts being reported and avoid more users running into the same issues.
The issue affected themes with template overrides from 3.2.x that hadn’t been made compatible with 3.3. In general, we recommend that themes use hooks instead of template overrides. Themes such as Storefront (which does not use template overrides) were compatible at launch.
To resolve these issues, we selected a set of the most common themes running on WooCommerce stores and then tested for compatibility with the 3.3.1 release. In addition, some theme authors have tested and released updates to ensure compatibility as well.
Want to read about current best practices around templates and overrides? Read this wiki post.This has been a learning experience for us, and has highlighted problems in the extensibility of the template system, and a disconnect between our team and theme authors operating on external marketplaces. We hope to find solutions to these problems in the near future.
We’re hopeful the majority of the problems are now resolved and we can push ahead. ~90 commits made it into this release. The full changelog is below.
* Fix - Added `woocommerce_output_product_categories` to replace `woocommerce_product_subcategories` function to prevent outdated theme template files from outputting categories on the shop and category pages in err. * Fix - Prevented columns from being set to anything lower than 1. * Fix - Added extra error checking in Webhooks API to prevent notices when deleting Webhooks. * Fix - Prevented list table classes being loaded multiple times. This also fixes compatibility with Smart Coupons extension. * Fix - Removed stray debug string from order email template and fixed some typos. * Fix - Set up the loop when calling wc_get_loop_prop. Fixes compatibility with some themes. * Fix - Remove multiple application of filter 'woocommerce_order_item_product'. * Fix - Protect against theme support being defined too late. Fixes some issues with custom themes defining WooCommerce support incorrectly. * Fix - Add fallback for themes that just get the pagination template. * Fix - Made the on-the-fly image regen also regenerate missing sizes. * Fix - Fixed missing user_id in webhook migration script. * Fix - Allow uncategorized category to be sorted like the others. * Fix - If theme support changes, we may need to flush permalinks since some are changed based on this flag. * Fix - Fire hooks for pagination etc only when pagination is enabled. * Fix - Default HTML in end wrapper template. * Fix - Prevent regular pagination showing on archives for unsupported themes. * Fix - Fix shop when shown as homepage in unsupported themes. * Fix - Fix SKU mapping for placeholders during CSV import. * Fix - Use CRUD search helper in admin products table so partial SKU search works. * Fix - Fix bulk sale/regular price percentage handling. * Fix - More specificity on smallscreen style override for columns. * Tweak - Add notice for moved store notice setting. * Tweak - Allow removing coupons on editable orders only. * Tweak - Extended the background processing library to avoid changing methods in the library. * Tweak - Do not show row settings if something is managing the number of products per page. * Tweak - Allow devs to add 'no-link' class to elements to prevent order view link being triggered on row click. * Tweak - Made woocommerce_resize_images filter more useful by calling it later. * Tweak - Revert default columns back to 4 so it's consistent with 3.2.
Download the latest release of WooCommerce here or venture over to Dashboard → Updates to update your plugins from WordPress.
As usual, if you spot any other issues in WooCommerce core please log them in detail on Github, and to disclose a security issue to our team, please submit a report via HackerOne here.
-
As you may have seen, 3.3.0 was removed from WordPress.org soon after release on Wednesday; this was to give the team time to look deeper into some theme conflicts being reported and to avoid more users running into the same issues.
The severity of the issue was relatively low, however, the volume of users running the impacted themes was potentially high, so we chose to take this safer approach.
The issue affected themes with template overrides from 3.2.x which hadn’t been made compatible with 3.3. In general, we recommend that themes use hooks instead of template overrides. Themes such as Storefront (which does not use template overrides) were compatible at launch.
If you’re unsure if your theme was affected, users have shared their experiences with various themes on the WordPress.org forum around this issue.
Why does WordPress.org list 3.2.6 and not 3.3.0?
To prevent further users downloading 3.3.0 as an automated update from WordPress admin, we reverted the stable version back to 3.2.6.
When 3.3.1 is released, the auto update will be available again for all users.
What should I do if I updated to 3.3?
If you’re running 3.3 already and your theme is compatible, you don’t need to make any changes.
If you have upgraded and saw issues with your theme, check to see if a compatibility update was released – these updates will likely fix issues on your site. For example, Genesis Connect for WooCommerce was affected and has since released a fix.
If you have upgraded, are seeing issues, and no compatibility updates have been released, you have three options:
-
- Just wait for 3.3.1 to be released officially: This path makes sense if you’re not too concerned about the issues you’re seeing.
- Update to our pre-release version of 3.3.1 available here: We only recommend this route if you’re comfortable with pre-release versions. More below on what’s already gone into 3.3.1.
- Downgrade to 3.2.6 using the WP Rollback plugin: We only suggest going this route if you’re seeing issues you’re concerned about and don’t want to take the risk of a pre-release version.
Aside from the theme issues mentioned above, 3.3 is looking pretty stable. We are running it ourselves on woo.com without problems, so please only downgrade if absolutely neccessary.
How do I install the pre-release of 3.3.1?
3.3.1-rc.1 can be found on GitHub.
- Download the new zip file.
- Unzip of your computer.
- Upload the
woocommerce
plugin folder to your site manually following any of these instructions:
Using this pre-release or downgrading should not affect your WooCommerce data as long as you never ‘uninstall’ via admin.
What are you doing to resolve this issue?
To resolve the issues, we selected a set of the most common themes running on WooCommerce stores and then tested for compatibility with the 3.3.1 release. We’ve already tested with more than 40 themes, and we believe 3.3.1 is relatively stable, but are taking the extra time to test more thoroughly.
The fixes already made to 3.3.1 can be found here on GitHub.
When will 3.3.1 be out?
Subject to our continued testing, we’re aiming to have 3.3.1 out early next week (the week of the 5th Feb, 2018). Any further updates or deviations from this will be added to this post as needed.
Thanks for your support.
-
-
Today we’re excited to release WooCommerce 3.3 into the wild! 3.3 has been in development since October, and has had over 1581 commits from 80 contributors.
3.3 is a minor update. All changes should be backwards compatible with sites running any version of WooCommerce since 3.0, but we do still recommend ensuring extensions and themes are compatible before upgrading by testing on a staging site, and making backups for peace of mind.(more…)
-
WooCommerce 3.3.0 RC2 is available for testing. This includes some fixes for issues identified during RC1.
To test WooCommerce 3.3.0 RC2, you can use our WooCommerce Beta Tester plugin or you can download the release candidate here (zip).
Think you’ve found a bug? Please post in detail to Github.
The final version of 3.3 is due for release January 30 2018. Huge props to everyone who has sent feedback about this release so far or found bugs.