Skip to content

Web Push Campaigns changelog

All notable changes to Web Push Campaigns (kv_web_push) 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 subscription limit per visitor 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.
  • Browser push notifications sent by the store itself: VAPID keys created on install, messages encrypted with aes128gcm, no push service account.
  • Permission card, bell button and product alert buttons; the browser prompt opens only after a click.
  • Campaigns with title, text, link, large image and icon, live preview, send now or at a set time, audience by customer type, language and storefront.
  • Back-in-stock and price-drop alerts with a minimum drop.
  • Counters for sent, failed, expired and clicks; subscriber list with test message.
  • Cron batches, retries, expired subscriptions removed; joins the CS-Cart 4.21 core service worker next to the PWA add-on.