Gravity Forms Address Enhanced v1.20.3 has been released with support for subdivisions in 28 additional countries from Europe, and some code refinements.
v1.20.3 fixes TypeErrors
Version 1.20.0 was released recently with a couple of bugs — an uncaught TypeError exception when running on PHP 7.x, and another uncaught TypeError on a filter hook for conditional logic. Sorry about that! Please update to v1.20.3 for all the fixes.
Additional countries covered
Another 28 countries now have Smart States support. Most are not supported by WooCommerce (probably because the state/province isn’t needed for addressing parcels), so they require the “Not in WooCommerce” option to be set. The countries are:
- Armenia
- Austria
- Azerbaijan
- Belgium
- Belarus
- Bosnia and Herzegovina
- Croatia
- Cyprus
- the Czech Republic
- Denmark
- Estonia
- Finland
- France
- Georgia
- Iceland
- Latvia
- Lithuania
- Luxembourg
- Montenegro
- the Netherlands
- North Macedonia
- Norway
- Poland
- Portugal
- Russia
- Slovakia
- Slovenia
- Sweden
There are now 96 countries supported by smart states and provinces!
Code refinements
WooCommerce subdivision codes for countries not supported by WooCommerce are now the subdivision’s name. This will make the transition to WooCommerce easier if WooCommerce adds drop-down support for those countries later on.
Smart States scripts no longer load on post archives when excerpts suppress form display, reducing page size for those pages.
The PHP code has had some refinements: stricter typing, final classes. If you have a custom integration that directly accesses the classes in GF Address Enhanced, please check your points of access for any changes.
You can update to the latest version from your WordPress plugin admin page. Here’s the full changelog for Gravity Forms Address Enhanced.