The fifth minor release of 2021, WooCommerce 5.4, has been officially released! Weโve been hard at work and this release has
- 336 commits from 25 contributorsย in WooCommerce Core
- 125 commits from 24 contributorsย in WooCommerce Admin
- 143 commits from 14 contributorsย in WooCommerce Blocks
This is another minor release and so you should expect everything included to be backwards compatible with the previous version.
As always, we recommend creating a backup of your site and making sure that the themes and plugins are compatible before updating. You can check outย this update guideย for more information.
Whatโs new in 5.4?
- jQuery 3 Compatibility: In preparation forย WordPress Coreโs plan to update jQuery, we have addressed our usage of it accordingly. (#29044)
- WooCommerce Blocks 5.1.0: The package update includesย 5.0.0ย andย 5.1.0. Please note that most content included in Blocks updates is not present in WooCommerce unless theย WooCommerce Blocks feature pluginย is active.
- WooCommerce Admin 2.3.1: This package update includes a number of fixes and quality of life tweaks.
These are just some of the changes that are included in WooCommerce 5.4. You can find the complete changelog for this release in theย changelog.txt file.
Compatibility Changes
Our aim is to maintain backwards compatibility through every release unless otherwise noted. This section contains any alternations that may be noteworthy for developers in pursuit of that.
REST API
Weโve added the dates_are_gmt
parameter to coupon, product, and order collection endpoints. When true
, this parameter causes the after
and before
date fields to check post_date_gmt
instead of the local time variant.
Actions & Filters
There are no changes to actions or filters in this release.
Database
There are no database changes in this release.
Templates
There are no changes to templates in this release.
Reposted from WooCommerce