Changelog
Check out the latest releases from the WooCommerce project.
Subscribe to all release posts via our RSS feed.
-
WC 2.5 codename “Dashing Dolphin” has been tagged for testing. This release has seen a short development cycle of ~3 months and comprises of ~1000 commits from 21 contributors.
Release Highlights
2.5 mostly contains enhancements to existing functionality, but we have added some new features which developers will appreciate such as WP CLI support!
The WooCommerce CLI (command line interface) lets you perform many actions on your store via the command line, such as creating customers and coupons. This should be useful for power users.
The post here has more details on the CLI.
The WooCommerce REST API has been further enhanced with some new endpoints:
- /products/shipping_classes to update product shipping classes.
- POST, PUT, and DELETE for product categories and tags.
- Added support to filter products by tag, category, shipping class, and attribute.
- Added tax and tax_class endpoints for setting tax rates.
The REST API documentation will be updated with this new endpoints soon.
For performance and scalability reasons we’re introducing a new session handler which uses custom tables, rather than the WordPress options table. You can read more about this feature here.
Also related to performance, we’ve improved the way in which verified reviews are stored and retrieved, and we’ve improved backend searches.
Some admin screens have been tweaked; most notably the tax settings screen which is now ajax enhanced/faster and supports search.
The email settings screen has also been tweaked to remove the sub-navigation links in favour of a table.
The checkout and order flows have also had some adjustment:
- When only 1 gateway is enabled, the radio buttons will be hidden.
- We now only display the coupon form on the checkout if a coupon hasn’t yet been applied.
- We have added a handy ‘pay’ link to the order screen which you can send to customers.
- We have added the terms and conditions checkbox to the pay page, which was previously only shown on checkout.
- Password strength indicators are now displayed on checkout when creating an account.
- If payment fails, admin will receive an email.
- When a WordPress user is deleted, their orders turn into guest orders.
- When calculating order taxes, tax settings are respected and default to the base country.
- Order notes are added to record manual email sends to customers.
Other notable tweaks include:
- Variations are now generated in a logical order using a new wc_array_cartesian function.
- Variations will fade in to avoid the initial ‘flicker’ during page load.
- Reports now show both net and gross averages.
- The welcome screen is no more.
You can see the full changelog in the readme file.
Template changes
For frontend templates we’ve changed some files to make templating more flexible:
- Product archive anchors are now hooked into templates rather than hard coded.
- We’ve added template files for the customer details list in emails (emails/email-customer-details.php)
- Revised single variation cart template. Template files now exist for variations, and the cart button will display (disabled) when no selections are made.
- New star ratings. The old one was 5 separate buttons. This new one consolidates the 5 options into one element making it leaner visually and more intuitive. Works in IE9+ with a graceful degradation for IE8.
The following template files have been version bumped in 2.5 and may require theme updates:
- single-product/review.php – Added new action hooks + verified reviewer code
- single-product/add-to-cart/variable.php – Correctly escape variation data.
- order/order-details.php – woocommerce_purchase_note_order_statuses filter.
- order/order-details-item.php – woocommerce_purchase_note_order_statuses filter.
- loop/add-to-cart.php – Uses supports_ajax_add_to_cart method.
- global/quantity-input.php – Changed min and max attributes.
- content-widget-product.php – File was missing version.
- content-product.php – Action hooks to handle anchor output.
- content-product_cat.php – Action hooks to handle anchor output.
- checkout/payment.php – Support for new terms.php template file.
- checkout/form-pay.php – Support for new terms.php template file.
- cart/mini-cart.php – URL escaping.
- cart/cart-shipping.php – Extra filters and some simplification of strings.
The following template files are new in 2.5.0:
- single-product/add-to-cart/variation.php
- single-product/add-to-cart/variation-add-to-cart-button.php
- emails/email-customer-details.php
- emails/plain/email-customer-details.php
- emails/admin-failed-order.php
- product-searchform.php
- checkout/terms.php
Release Schedule
Beta 1 is out today (Nov 9th) and the beta testing period will run through to the end of the year to avoid a release during the holiday season. Subsequent betas will be released as needed.
If all goes to plan, Release Candidate 1 will be tagged sometime between Jan 4th–8th 2016, with the final release dropping a week later.
How to beta test
We posted a nice little write-up on beta testing here which should get you started. Please read that and jump right in!
-
The WooCommerce 2.4.9 release is now available on WordPress.org or automatic update in your administration panel. A total of ~18 commits made it into this release fixing a few small issues, the main one being the error handling in our Geo IP library. See the changelog for the full details.
An XSS issue within the price.php template file was also fixed, however this one would require edit/admin permissions to take advantage of. The template version was bumped just in case, so if you’ve overridden this file you’ll want to update your copy. See this commit.
If you spot any further issues, please report them to us in detail on Github so the development team can review – comments on this post are closed.
-
The WooCommerce 2.4.8 release is now available via WordPress.org or automatic update in your administration panel. A total of 30 commits made it into this release fixing several small issues and making a few tweaks to the API. See the changelog for the full details.
If you spot any further issues, please report them to us in detail on Github so the development team can review – comments on this post are closed.
-
The WooCommerce 2.4.7 release is now available via WordPress.org or automatic update in your administration panel. A total of 164 commits made it into this release.
Here are the highlights:
- For geolocation with static cache support, ensure hash is appended during form submission.
- Remove use of ‘input’ event in checkout scripts to prevent IE11 triggering updates on placeholder change.
- Added missing monthly cron schedule.
- Only run maybe_set_cart_cookies if cart was loaded to prevent notices.
- Escape add to cart messages to stop translations from breaking cart events.
- AJAX variations not being found in some cases when product version was < 2.4, but attributes were updated after sync().
- To prevent discounts being applied in ‘random’ order (based on order added to cart), sort cart items based on subtotal during calculate_totals.
- We changed the way prices are cached for variable products.
We also made some smaller fixes and tweaks based on feedback. See the changelog for details.
Not shown above, we’re also experimenting with a method of keeping prices the same regardless of tax rate (some systems call this universal pricing). This is experimental and subject to change, but to enable this functionality you can use
add_filter( 'woocommerce_adjust_non_base_location_prices', '__return_true' );
Use at your own risk though!If you spot any further issues, please report them to us in detail on Github so the development team can review – comments on this post are closed.
-
The WooCommerce 2.4.6 release is now available via WordPress.org or automatic update in your administration panel.
A total of 41 commits made it into this release. Here are the highlights:
- Fixed grouped product is_purchasable check during add to cart.
- Improved bulk variation editing.
- Final fixes for ajax variation < 2.4 attribute name handling.
- During updates, only recreate .htaccess if not using redirect download method.
- Handle non standard decimals in flat rate costs.
We also made some smaller tweaks based on feedback. See the changelog for details.
If you spot any further issues, please report them to us in detail on Github so the development team can review – comments on this post are closed.
-
The WooCommerce 2.4.5 release is now available via WordPress.org or automatic update in your administration panel.
A total of 76 commits made it into this release. Here are the highlights:
- Fixed a case where global text based attributes were not saving correctly.
- Fixed a case where display name was not checked/set correctly when editing your account.
- Fixed ‘no shipping’ messages for state-less countries.
- Fixed cache flushing after scheduled sales ending.
- Allowed users to install translations for the current language during the Setup Wizard.
We also made some smaller tweaks based on feedback. See the changelog for details.
If you spot any further issues, please report them to us in detail on Github so the development team can review – comments on this post are closed.
-
The WooCommerce 2.4.4 release is now available via WordPress.org or automatic update in your administration panel.
A total of 24 commits made it into this release. We’ve continued going through the forums and issue reports on Github to find any edge-case issues missed during beta. Thanks for the reports!
We have included fixes for the following issues:
- Fixed a case whereby having > 20 variations with ‘any’ attribute set would return no matches
- Fixed some entity issues with attributes containing quote characters
- Fixed an issue where COD was checking for shipping even if the order was virtual
We also made some smaller tweaks based on feedback. See the changelog for details.
If you spot any further issues, please report them to us in detail on Github so the development team can review – comments on this post are closed.
-
The WooCommerce 2.4.3 release is now available via WordPress.org or automatic update in your administration panel.
A total of 16 commits made it into this release. We’ve continued going through the forums and issue reports on Github to find any edge-case issues missed during beta. Thanks for the reports!
We have included fixes for the following issues:
- The wc_customer_bought_product() function was returning false. This query has been corrected.
- Some themes using older markup for tabs were not showing/hiding correctly.
- There was a problem with AJAX variations on the frontend when using quotes in attribute names.
- When removing a variation in the backend,the current page is now maintained.
- Refund email subjects were fixed when a downloadable product was inside the order.
We also made some smaller tweaks based on feedback. See the changelog for details.
If you spot any further issues, please report them to us in detail on Github so the development team can review – comments on this post are closed.
-
The WooCommerce 2.4.2 release is now available via WordPress.org or automatic update in your administration panel.
A total of 22 commits made it into this release. We’ve spent the last 24 hours going through the forums and issue reports on Github to find any edge-case issues missed during beta. Thanks for the reports!
We have included fixes for the following issues:
- There was a case whereby if a variation was out of stock, it’s price was not reflected in the parent variable products price display
- If ajax add to cart was disabled, 2 products would be added to the cart instead of 1
- We’ve fixed the ordering args you can pass into the [product_category] shortcode
- There was a minor rounding issue with prices including tax with certain combinations of prices (half rounding issue)
We also made some smaller tweaks based on feedback. See the changelog for details.
If you spot any further issues, please report them to us in detail on Github so the development team can review – comments on this post are closed.
-
The WooCommerce 2.4.1 release is now available via WordPress.org or automatic update in your administration panel.
A total of 8 commits made it into this release.
This release fixes some issues reported by users during the upgrade to 2.4.0 WooCommerce:
- Emails being fired for old orders about refunds.
- Variations that became free after upgrade (for variations created before WooCommerce 2.2).
- Fixed some notices when calling
get_shipping_classes()
(As always, the comments on this post are closed because this is not the right platform for support requests.)