Skip to content

Address Autocomplete & Validation changelog

All notable changes to Address Autocomplete (kv_address_autocomplete) are documented here. The format follows Keep a Changelog and the project uses Semantic Versioning.

  • Compatibility: CS-Cart and Multi-Vendor 4.22.x
  • Rate limits can no longer be bypassed with a forged X-Forwarded-For header; new “Trusted proxies” setting (Settings > Client IP). Before, the hourly per-IP cap of address suggestions used the visitor address from CS-Cart’s fn_get_ip(), which believes X-Forwarded-For and other headers any visitor can send, so sending a new fake address with every request reset the limit. The add-on now uses the connection address (IPv6 visitors are counted per /64 network) and reads a forwarded header only from a proxy: it works out of the box behind Cloudflare (the official ranges are built in) and behind private reverse proxies such as nginx, Varnish (the 4.21 full page cache) or a load balancer on a loopback or private address, where X-Forwarded-For is read from the right and the first non-proxy address is the visitor. A proxy with a public address goes into the new “Trusted proxies” list; $config['kv_client_ip_mode'] / $config['kv_client_ip_trusted_proxies'] in config.local.php set it for every Kavio Labs add-on. Settings and data are kept on upgrade.
  • Address suggestions on the checkout (shipping and billing), My account and the Multi-Vendor vendor application street fields.
  • Google Places API (New) provider with session tokens and Geoapify provider, through a server proxy (the key never reaches the browser).
  • Fills street, address line 2, city, state code, country and zip code of the theme’s own fields; shipping rates recalculated in the core checkout.
  • Allowed countries and “follow the selected country”.
  • Cost protection: minimum characters, pause, caps per session, per IP and hour, per day.
  • Dashboard with usage, 30-day chart, setup checklist, connection test and key restriction guide.