Changelog
Check out the latest releases from the WooCommerce project.
Subscribe to all release posts via our RSS feed.
-
Developer Advisory:
For the sake of transparency, here is a detailed account of why 7.2.1 was rolled back and necessitated a 7.2.2 fix release:
The details
- The WooCommerce 7.1.0 release updated the states for New Zealand to the CLDR standard. This introduced a bug as the database records did not get updated.
- WooCommerce 7.2.1 fixed the issue with the New Zealand states by creating a database migration helper to convert the NZ states to the new standard. Additionally, it included the state update and migration for Ukraine.
- The fix implemented in 7.2.1 inadvertently included a hard-coded table prefix for the migration. For sites with custom database prefixes (anything other than
wp_
), the update routine caused error messages to be logged which subsequently rescheduled the routine, filling the debug logs rapidly. - After realizing the severity of the issue, we began the work to release 7.2.2 and rolled back the 7.2.1 release entirely.
How can I tell if this affects me?
You will be able to quickly see if you are experiencing an issue by checking your log files. The bug produces the following error message:
WordPress database error Unknown column ‘wp_postmeta.post_id’ in ‘where clause’ for query...
What action should I take?
Regardless of impact, if you are currently using WooCommerce 7.2.1,
it is recommended that you roll back to version 7.2.0 until we have a fix available in 7.2.2.WooCommerce 7.2.2 is now available.
-
Beta 1 for the January 2023 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.
Highlights
- Add Pinterest and Codisto extensions to the onboarding wizard. (#36003, #36009)
- Add a warning banner to the user when the tax settings are mismatched and in conflict. (#36010)
- Product management: improve the UI for creating attributes (#35904) and guidance around product image size and format (#35834)
See the full changelog for more details.
Actions and Filters
This release adds 10 new actions.
- ‘woocommerce_’ . $this->order_type . ‘_list_table_custom_column’ Fires for each custom column for a specific order type. This hook takes precedence over the generic action
manage_{$this->screen->id}_custom_column
. - ‘woocommerce_’ . $this->order_type . ‘_list_table_request’ Allows 3rd parties to filter the initial request vars before defaults and other logic is applied.
- ‘woocommerce_’ . $this->order_type . ‘_list_table_prepare_items_query_args’ Same as
woocommerce_order_list_table_prepare_items_query_args
but for a specific order type. - ‘woocommerce_’ . $this->order_type . ‘_list_table_default_statuses’ Allows 3rd parties to set the default list of statuses for a given order type.
- ‘woocommerce_’ . $this->order_type . ‘_list_table_order_count’ Allows 3rd parties to modify the count of orders by status.
- ‘woocommerce_order_list_table_restrict_manage_orders’ Fires before the “Filter” button on the list table for orders and other order types.
- ‘woocommerce_order_list_table_extra_tablenav’ Fires immediately following the closing “actions” div in the tablenav for the order list table.
- ‘woocommerce_’ . $this->order_type . ‘_list_table_columns’ Filters the list of columns.
- ‘woocommerce_’ . $this->order_type . ‘_list_table_sortable_columns’ Filters the list of sortable columns.
- ‘woocommerce_order_applied_coupon’ Action to signal that a coupon has been applied to an order.
Database Changes
There are no database changes in this release.
Template Changes
-
A new version of WooCommerce Blocks has been released! Version 9.2.0 is now available for download from GitHub and WordPress.org.
This release includes lots of small bug fixes and enhancements that make some of the blocks more stable.
Cart & Checkout buttons are editable
On the Cart Block, the “Proceed to Checkout” button text is now editable in the editor. On the Checkout block, the “Place Order” button text is also editable. These will default to the original text if left empty
Simplified account creating settings in Checkout Block
We’ve removed some duplicate settings related to creating accounts and logging in during the checkout process. These settings are now pulled from WooCommerce Core and respected inside the Checkout Block.
Non-ASCII support for Filter by Attribute Block
You can now add non-ASCII product attributes and they will be respected by the Filter by Attribute Block.
Various other bug fixes, enhancements, and updates to documentation are detailed in the changelog below
Changelog
Enhancements
- Product Query: Add Product Visibility support. (7951)
- Remove account creation setting from Checkout block. (7941)
- Enable merchants to adjust the label of the
Place Order
button according to their needs. (7843) - Enable merchants to edit the button labels within the Mini Cart block. (7817)
- Fix Mini Cart icon color in Global Styles blocks customizer. (7762)
- Enable merchants to adjust the label of the Proceed to Checkout button according to their needs. (7733)
Bug Fixes
- Fix bug that was overriding the
archive-product
when saving a fallback template. (7975) - Fix: Add non-ASCII terms support to Filter by Attribute block. (7906)
- Fix: Ensure that the Checkout block respects the WooCommerce core settings for guest checkout and account creation. (7883)
- A notice is now displayed in the editor whenever the Filter by Rating block is used in a store that has no products with ratings. Additionally, users can now preview/update the content, settings, and color for the filter even when the store doesn’t have any ratings yet. (7763)
- Prevent invalid data being pushed to the server when validating fields on the checkout. (7755)
Documentation
- Added documentation for the selectors of the cart data store. (7708)
Technical debt
- Show notices to the shopper if an item in the cart’s quantity is updated automatically. (7938)
Various
- Remove hidden autocomplete fields in checkout. (7953)
-
WooCommerce 7.2.1 is now available for download.
What’s New?
- Add fixes for missing NZ and Ukranian states in various parts of WooCommerce: #35669 #35493 #35967
- Maintain compatibility with WordPress 5.8 #36054
Please update your database for these fixes!
When upgrading to 7.2.1 you will be prompted to update the Woo database. You will need to perform this step to ensure that you get fixes for NZ and Ukranian states/regions.
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 are pleased to announce the release of WooCommerce 7.2. This release should be backward compatible with the previous version.
This release contains:
- 204 commits from 60 contributors in WooCommerce Core
- 11 commits from 7 contributors in WooCommerce Blocks
As always, we recommend creating a backup of your site and making sure that your theme and any other plugins are compatible before updating. You can check out this update guide for more information.
What’s new in 7.2?
Stack layout for product task
The new stacked layout highlights recommended product types based on what the user declared during the onboarding wizard, while the least relevant ones are collapsed. It makes it easier to scan information, compare it and make a decision.
You can try out the new layout by going to
WooCommerce > Home > Add products
.Actions and Filters
This release adds new actions and new filters.
Actions
Action Description woocommerce_before_quantity_input_field Hook to output something before the quantity input field. Filter
Filter Description woocommerce_json_search_found_customers Filter to customize the display of the currently selected customer for an order in the order edit page.This is the same filter used in the ajax call for customer search in the same metabox. woocommerce_get_customer_payment_tokens_limit Controls the maximum number of Payment Methods that will be listed via the My Account page. Template Changes
Template Name /plugins/woocommerce/templates/cart/cart.php /plugins/woocommerce/templates/global/form-login.php /plugins/woocommerce/templates/global/quantity-input.php 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
WooCommerce Blocks
-
RC 2 for the December 2022 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.
Highlights
7.2 RC 2 includes several fixes, tweaks, and enhancements. For the complete list, view the changelog in the readme for this release.
Actions and Filters
This release does not contain any new actions.
Database Changes
This release does not contain any database changes.
Template Changes
Template Name /plugins/woocommerce/templates/global/quantity-input.php Release Schedule
We’re still on track for our planned December 13 release.
Version Release Release Candidate December 6th, 2022 Final Release December 13th, 2022 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.
-
A new version of WooCommerce Blocks has been released! Version 9.1.0 is now available for download from GitHub and WordPress.org.
This release includes the debut of Product Query powered Products block, a new set of patterns, alignment options for several blocks, and a bunch of bug fixes!
Products block
This release includes the first iteration of the Products Block.
With this block, you can choose what criteria affect the list of blocks displayed to shoppers as well as control the layout of the products in the list/grid by the various element blocks.
Developers, under the hood this is a variation of the WP Query Loop block so there is some built-in extensibility of this block.
It’s labelled beta because we’re still polishing this but look forward to any feedback you can provide on the block.
Patterns
This release also includes 3 “commerce-adjacent” patterns for WooCommerce stores. “Commerce adjacent” means that the patterns are not connected to any WooCommerce data, which gives a bit more flexibility around what you link to, the images used etc. We are working on patterns connected to WooCommerce data too, stay tuned!
Store Info Alternating Image and Text
The “Store Info Alternating Image and Text” commerce adjacent pattern is a block that can be used as inspiration for merchants wanting to showcase some basic information about the store. In the example pattern some details about the types of products and the store itself.
Product Hero 2 Column 2 Row
The “WooCommerce Product Hero 2 Column 2 Row” block pattern is a straightforward hero design that can be used by adding two attention-grabbing images, some custom product description text and customizing the button block to be linked to any page.
Just Arrived full hero
The “Just Arrived Full Hero” block pattern is also another straightforward hero design that can be used with an attention-grabber image some simple callout text, and a button block that can be linked to any page.
Changelog
Enhancements
- Introduce Products block in beta. (7815)
- Introduce “WooCommerce Alternating Image and Text” block pattern. (7827)
- Introduce “WooCommerce Product Hero 2 Column 2 Row” block pattern. (7814)
- Introduce “Just Arrived Full Hero” block pattern. (7812)
- Add to Cart Button: Add support for the alignment setting. (7816)
- Product Rating: Add support for the alignment setting. (7790)
- Rename Active Product Filters block to Active Filters. (7753)
- Products Block: Add support for filtering by attributes within the block. (7743)
- Align the font-sizes in filters. (7707)
Bug Fixes
- Mini Cart block: Load
wc-blocks-registry
package at the page’s load instead of lazy load it. (7813) - Hide the shipping address form from Checkout Block in Editor and rename the Billing Address label when “Force shipping to the customer billing address” is enabled. (7800)
- Product Price: Fix the alignment setting. (7795)
- Fix: Show tax label in Cart and Checkout block. (7785)
- Make Footer and Header patterns available in pattern chooser. (7699)
- Fix: Products block editor preview with Stock Status setting. (7682)
technical debt
- Clean up unused CSS code. (7751)
-
RC 1 for the December 2022 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.
Highlights
Since the release of 7.2 beta 2, no changes have been made.
Actions and Filters
This release does not contain any action or filter changes.
Database Changes
This release does not contain any database changes.
Template Changes
This release does not contain any template changes.
Release Schedule
We’re still on track for our planned December 13 release.
Version Release Release Candidate December 6th, 2022 Final Release December 13th, 2022 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.
-
WooCommerce 7.1.1 is available for download.
What’s New?
- WooCommerce Blocks has been updated to 8.7.6. This release contains two fixes for the mini cart block to address compatibility with the Page Optimize and Product Bundles plugins. #7794 & #7813
- The call-order of the action
woocommerce_before_delete_order
has been tweaked such that it happens prior to deleting the order. #35517
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.
-
Beta 2 for the November 2022 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.
Highlights
Since the release of 7.2 beta 1, the following changes have been made:
A bug-fix for custom date range calendar styling in WP 6.1
For the complete list, view the changelog in the readme for this release.
Actions and Filters
This release does not contain any action or filter changes.
Database Changes
This release does not contain any database changes.
Template Changes
This release does not contain any template changes.
Release Schedule
We’re still on track for our planned December 13 release.
Version Release Release Candidate December 6th, 2022 Final Release December 13th, 2022 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.