WooCommerce team announce the release of WooCommerce 6.0. This release should be backwards compatible with the previous version.
This release contains:
- 356 commits from 27 contributors in WooCommerce Core
- 117 commits from 20 contributors in WooCommerce Admin
- 194 commits from 25 contributors in WooCommerce Blocks
As always, recommendation is create 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 6.0?
- WooCommerce Blocks: WooCommece team updated it to the 6.3.3 version of the feature plugin. See the release posts for 6.3.2 and 6.2.0 to find out what’s new.
- WooCommerce Admin: WooCommerce team updated it to the 2.9.4 version of the feature plugin. See the changelog](https://github.com/woocommerce/woocommerce-admin/blob/release/2.9.4/changelog.txt) to find out what’s new.
- Product Attribute Filtering: With this release, WooCommerce team are entering the final stages of delivering WooCommerce revamp of product attribute filtering. WooCommerce team have removed the need for a code snippet to show the feature; both the feature flag and system tool is now available for all merchants.
- Rate Limit Table: In order to address the performance issues caused by storing rate limits in the options table, WooCommerce team have created a new table to hold rate limit entries. See #30960 for more details.
These are just some of the changes that are included in WooCommerce 6.0. You can find the complete changelog for this release in the changelog.txt file.
Actions and Filters
This release adds two actions:
woocommerce_product_options_shipping_product_data
After the shipping options in the product data metabox. #30876
woocommerce_after_variations_table
After the variations table on the add-to-cart form. #29642
This release adds two filters:
woocommerce_quantity_input_autocomplete
Allows filtering the ‘autocomplete’ attribute for quantity inputs. #31196
woocommerce_has_block_template
Filters the return value of the block template check. #30997
Database Changes
New woocommerce_rate_limits
table. #30960
Template Changes
templates/emails/customer-new-account.php
Removed the generated password and replaced with a reset link.
templates/emails/plain/customer-new-account.php
Removed the generated password and replaced with a reset link.
templates/myaccount/form-login.php
Changed the text informing users that the password will be emailed to them to inform them that a reset link will be sent to them.