GDPR features, tweaks, and settingsThis release introduces several tools, tweaks, and settings to help with GDPR compliance:
- User data export, erasure, and anonymization tools.
- Settings for enabling automatic data cleanup or removal.
- New Customizer settings for checkout fields and policy notices on the Checkout page.
- Tweaks to logging to ensure personal data does not get logged.
GeoLite2 integrationWooCommerce uses the MaxMind GeoLite database for geolocation during checkout to automatically select the customer’s correct country. The GeoLite database has been discontinued by MaxMind, and GeoLite2 is the replacement. This release adds support for and integrates WooCommerce with GeoLite2 to ensure geolocation will continue working correctly for the forseeable future. The whole process is automatic and no further action is needed on the store owner’s part to keep geolocation working correctly. The library that integrates with GeoLite2 requires a minimum PHP version of 5.4. As a necessary step WooCommerce will not support geolocation using GeoLite2 on PHP versions less than 5.4. On sites running those PHP versions geolocation will be done through other APIs. The API-based geolocation is a slower method, and it is recommended you update your PHP version if you are running a version less than 5.4. If you need help upgrading your PHP version, we have a guide available.
Features for store ownersHere’s some other new features you may find useful while using WooCommerce:
- A multisite dashboard widget that shows order information from across all sites.
- Wildcard email support for coupon restrictions. Using the wildcard character you can set up coupons restricted to groups of similar email addresses (.edu email accounts, corporate email accounts from a certain business, etc.).
- Users can now set their display name on the My Account page.
- Improvements to the admin product search, including the ability to search for multiple products in the same query.
Features for store builders and developersIf you’re building stores for clients, or just developing on top of WooCommerce, here’s some new toys at your disposal:
- We’ve moved all photoswipe styles to their own CSS file to make them easy to dequeue if needed.
- You can declare a custom data sanitization callback in the settings API.
- We’ve added support for additional HTML5 input types for settings and checkout forms.
- Lots of new filters and actions to increase the customizability of WooCommerce.
Upgrading to 3.43.4 is a minor update and should be compatible with sites running any version of WooCommerce greater than or equal to 3.0. We still recommend testing and backing up prior to upgrading just to be safe. Note: There are a few post-update database upgrade routines that need to run after updating. These may run for a while if you have a large amount of data in your database. If you’re a developer and have somehow missed the beta and RC, the following information may be useful.
Deprecations in 3.4
WC_Geo_IPhas been deprecated since the legacy GeoLite database has been deprecated. See the the top of this article for more info.
- The Product Type column in the admin Products screen has been removed and released as a feature plugin. See this post for more info. If you’d like to keep the column, simply install the feature plugin and you’re set.
WC_Widget_Product_Tag_Cloud::_get_current_taxonomyhas been deprecated for
WC_Widget_Product_Tag_Cloud::_topic_count_texthas been deprecated for
Template file changes in 3.4
How we tested 3.43.4 beta was released on April 18th 2018 and remained in beta until the RC on May 9th 2018. During this time we tested internally, tested our own extensions and themes, tested popular premium themes, did some managed updates for actual customers on staging sites to pick up on any conflicts or bugs before the public release, and tested the update on WooCommerce.com. If you spot any issues please let us know on GitHub. Thanks to everyone who helped test 3.4!
We ContributorsA massive thanks to everyone in the community who have contributed, be that via issue reports, fixes, translation, testing, supporting other users or simply spreading the word.