Categories
Core

WooCommerce 4.5.0 Beta 1

Beta 1 for the September release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.

What’s new?

The WooCommerce 4.5 release contains primarily fixes and improvements.

New onboarding guide

welcome-modal

When you first visit your WooCommerce home screen, you’ll now see a guided tour that provides more information about the home screen. (#4890)

Notable fixes and improvements

There are many fixes and stability improvements in this release, including

  1. When you have “hide shipping costs until an address is entered”, the shipping cost is now hidden until the complete address is entered. This fixes an issue where previously shipping costs were displayed prior to the complete address being entered. (#27143)
  2. If you cancel a pending order, coupon holds for that order are now released. This fixes an issue where cancelling a PayPal checkout caused the coupons that were in the cart to become invalid because they were used in a previous canceled order. (#27179)
  3. When manually creating orders, searches for variations will now fallback to the parent SKU if a child SKU is not specified. (#27171)
  4. Coupon codes are now always stored with HTML entities encoded. This increases security by ensuring that we don’t store unfiltered input. There is a database migration in place when 4.5 is installed, so this is a non-breaking change. (#27140)

You can find the complete changelog for this release on the changelog.txt file.

REST API

This release merges the REST API (#27100), which was previously a separate repository, back into WooCommerce Core. Any issues with the REST API should now be logged to the Core WooCommerce repository.

Filters

We have added new filters:

FiltersDescription
woocommerce_cart_product_cannot_add_another_messageFilters message about more than 1 product being added to cart.
woocommerce_cart_product_out_of_stock_messageFilters message about a product being out of stock.
woocommerce_cart_product_not_enough_stock_messageFilters message about a product not having enough stock.
woocommerce_file_download_methodFilter download method.
woocommerce_query_for_reserved_stockAllows filtering of the query for getting reserved stock of a product.

Database changes

This release does not require any core database alteration. However, the 4.3 release did introduce a new table, so if you are upgrading from an earlier release than 4.3, make sure that WordPress user has permission to add a new table to the database.

A re-occurring worker will be scheduled after update to update coupon codes such that HTML entities are properly encoded. This will be done in batches and 10 and is backward compatible.

Release Schedule

This version of WooCommerce will be released as per this schedule:

VersionRelease
BetaAugust 20, 2020
Release CandidateAugust 25, 2020
4.5 Final ReleaseSeptember 8, 2020

Testing

As with the previous few releases, we have published testing instructions for 4.5 as well. We’d like to request that everyone help us in testing this release.

If you discover any bugs during the testing process, please let us know by logging a report in GitHub.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.