All notable changes to this project are documented on this page. The latest changes are on the top of each section.
Find more information about the changelog format and semantic version numbers.
Google Address Autocomplete – complete changelog #
= 1.2.5 – 2023-09-13 =
- Bump tested up to WordPress 6.3 and WooCommerce 8.1
- Added: Compatibility with plugin WooCommerce Checkout Field Editor PRO by ThemeHigh.
= 1.2.4 – 2023-08-04 =
- Added: Compatibility with plugin Colissimo shipping methods for WooCommerce.
- Added: Load scripts with
defer
attribute when using WordPress 6.3+ - Improved: Change the way duplicate Google Maps scripts are handled, when added by other plugins. Removes duplicate Google Maps scripts, preserving any parameters and dependencies.
- Improved: Support for state field in Mexico.
= 1.2.3 – 2023-05-29 =
- Bump tested up to WooCommerce 7.7.0
- Added: New option to define language of Google Places API search interface and address data returned.
- Added: Compatibility with plugin Litespeed Cache. Excludes Google Maps APIs and the Google Address autocomplete scripts from optimizations.
- Improved: Output JS settings object directly to the page head element without being associated with enqueued scripts.
- Removed: Hook
fc_gaa_settings_script_localization_handle
because JS settings object is now output directly to the page head element.
= 1.2.2 – 2023-04-21 =
- Bump tested up to WooCommerce 7.6.0
- Improved: Revert to execute scripts on
load
instead of pageDOMContentLoaded
for better compatibility. Most notably with Cloudflare Rocket Loader. - Fixed: Reset address search input placeholder after checkout fragments are updated and after country has been changed.
= 1.2.1 – 2023-04-06 =
- Bump tested up to WordPress 6.2 and WooCommerce 7.5.1
- Added: Compatibility with theme Divi when using the theme’s custom sections for the checkout page.
- Reverted: Set focus back to the search field when an address is selected. This was causing the search box to stay open after selection, blocking the view of other fields and sections.
= 1.2.0 – 2023-03-13 =
- Added: New feature to autocomplete the company field when the information is available for the selected address.
- Added: New feature to allow searching for businesses in the company field.
- Added: Translation to Durch, French, German, Italian, Polish, Portuguese, Spanish, Swedish and Turkish.
- Improved: Set focus back to the search field when an address is selected.
- Fixed: State field not updated correctly when newly selected address is on a different country.
- Fixed: Do not trigger Brasil API autocomplete when field value has not changed yet.
= 1.1.19 – 2023-03-08 =
- Bump tested up to WooCommerce 7.4.1
- Improved: Add security check to dismiss admin notice links and fix related PHP 8.1 deprecated notices.
- Improved: Address mapping for Denmark addresses, adding
subpremise
to theaddress_1
field.
= 1.1.18 – 2023-01-03 =
- Bump tested up to WooCommerce 7.2.2
- Improved: Execute script on
DOMContentLoaded
instead of pageload
event to enable interactive elements earlier. - Improved: Address mapping for New Zealand addresses, use
sublocality_level_1
for the City field if it is available, otherwise uselocality
which is the default data used for the City field.
= 1.1.17 – 2022-12-05 =
- Fixed: State field not autocompleting for addresses in New Zealand after change to values on WooCommerce 7.1.0.
= 1.1.16 – 2022-11-21 =
- Bump tested up to WordPress 6.1.1 and WooCommerce 7.1.0
- Added: Compatibility with the WooCommerce HPOS (High Performance Order Storage).
- Improved: Changed labels and clarified descriptions of some plugin settings.
- Fixed: Brasil API feature conditionals depending on the Google Address Autocomplete feature to be enabled. Now you won’t need to enter a Google API key to use only the Brasil API autocomplete feature.
= 1.1.15 – 2022-10-28 =
- Bump tested up to WordPress 6.0.3 and WooCommerce 7.0.0
- Improved: Only add extra field components and separators when they return a value from the Google Places API.
- Improved: Add mapping for sublocality components from the Google Places API.
- Improved: Better performance while loading plugin and theme compatibility classes on websites with a big database. Replaced use of options (from database) with filter hooks.
= 1.1.14 – 2022-07-12 =
- Bump tested versions to WP 6.0 and WC 6.6.1.
- Fixed: Autofill “County” field for addresses in the UK.
= 1.1.13 – 2022-06-09 =
- Added: New feature to replace the address field placeholder text.
- Improved: Add default Google Address Autocomplete locale component settings to the JS settings from PHP to allow for easier customizations.
= 1.1.12 – 2022-05-24 =
- Improved: Do not load scripts on the Order Received page.
= 1.1.11 – 2022-05-17 =
- Added: New JS option
defaultLocale
for Google Address Autocomplete to set the default country for when Google Places API does not return the country value. - Improved: Show admin notices for required plugins when Fluid Checkout is not activated.
- Improved: Detect if WooCommerce is already installed and show an activation link on the required plugin notice.
= 1.1.10 – 2022-05-12 =
- Bump tested versions to WP 5.9.3 and WC 6.4.1.
- Added: New hook
fc_gaa_google_places_api_language
to let developers change the language used by the Google Places API. - Added: New hook
fc_gaa_settings_script_localization_handle
to let developers change the script handle to attach the plugin JS settings object when thewoocommerce
script is not available. - Added: New hook
fc_gaa_google_places_api_url_parameters
to let developers change the parameters for the Google Maps API URL. - Added: New hook
fc_gaa_google_places_api_script_dependencies
to let developers change the enqueue dependencies for the Google Maps API script. - Added: Compatibility with plugin Shipmondo.
- Improved: Try to prevent enqueuing duplicate Google Maps API scripts.
- Improved: Change enqueue hook priority to
100
for better compatibility with plugins, previously value was10
. - Improved: Change the way
change
event for select2 fields is triggered to avoid JS errors if theselect2
function is not completely loaded. - Improved: Use original value for mapped fields when a mapped value is not available.
- Improved: Do not validate allowed countries when country field is hidden, ie. when selling or shipping to only one country.
= 1.1.9 – 2022-05-09 =
- Fixed: JS error preventing address fields from being completed when State field is missing.
= 1.1.8 – 2022-04-12 =
- Improved: Change the way checkout fields arguments are changed to follow Fluid Checkout standards.
= 1.1.7 – 2022-02-24 =
- Fixed: JS error preventing the address suggestings from working when the country field is missing in one or more field groups.
= 1.1.6 – 2022-02-15 =
- Fixed: JS error while trying to set a value for the State field when the field value was not returned by the Google Places API.
= 1.1.5 – 2022-02-07 =
- Bump tested versions to WP 5.9 and WC 6.1.
- Improved: Support for province/region and neighborhood field in Turkey.
= 1.1.4 – 2022-02-01 =
- Improved: Support for addresses with sub-premise and regions in Australia.
= 1.1.3 – 2022-01-19 =
- Improved: Support for addresses with sub-premise and regions in New Zealand.
= 1.1.2 – 2021-12-20 =
- Bump minimum required version to PHP 7.4.
- Added: Use fallback values from Google Maps API when original field data is missing.
- Improved: Trigger checkout update event after address fields are autocompleted for Google Maps API and Brasil API.
- Improved: Added support and license key activation links on the plugins list.
- Improved: Show success message when a license key is activated successfully.
- Fixed: Fix missing city value for some locations. For instance, all addresses in “Brooklyn – NY”.
= 1.1.1 – 2021-11-05 =
- Removed: License verification preventing plugin settings from appearing after saving license key.
= 1.1.0 – 2021-11-01 =
- Added: New feature to allow the use of the Brasil API to autofill address from CEP/Postcode field.
- Improved: License key validation messages.
= 1.0.1 – 2021-09-25 =
- Added: New option to choose the types of search results to return from the Google Places API search. Allows enabling search by zip code. Defaults to “Precise addresses”.
- Added: New option to enable “Debug mode”. When enabled, the selected “Place” details will be logged to the browser console.
- Added: Compatibility with the plugin “Brazilian Market on WooCommerce – by Claudio Sanches”.
- Fixed: Target only real form fields when looking for fields to fill, instead of looking only for the element
id
.
= 1.0.0 – 2021-09-20 =
- First public release.