<?xml version="1.0" encoding="UTF-8"?>
<changelogs>
  <changelog>
    <element>mod_onpageload_form</element>
    <type>module</type>
    <version>2.2.0</version>
    <change>
      <item>Modern 2026 popup theme with badge, field icons, success state, and overlay blur</item>
      <item>Legacy Fancybox theme retained as an option</item>
      <item>Four triggers: page load (with delay), scroll %, exit intent, and CSS click selector</item>
      <item>Optional phone field, close-button / email-gate control, and spam honeypot</item>
      <item>Cookie on dismiss, redirect after submit, and customizable success message</item>
      <item>Appearance controls: accent, colors, radius, overlay opacity/blur, width</item>
      <item>FOUC-safe body portal so the form never flashes in the module position</item>
      <item>Joomla 4/5/6 services architecture (provider, Dispatcher, Helper, Field, WebAssetManager)</item>
      <item>Brand-aligned default colors and asset cleanup (assets/css/onpageload-form.css)</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_form</element>
    <type>module</type>
    <version>2.1</version>
    <change>
      <item>Fully compatible with Joomla 4.x, 5.x, and 6.x</item>
      <item>Updated to modern Joomla APIs (no backward compatibility plugin required)</item>
      <item>Migrated to WebAssetManager for asset loading</item>
      <item>Updated code to namespaced Joomla classes</item>
      <item>Improved structure, maintainability, and sanitization</item>
      <item>Updated branding to JoomlaX</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_form</element>
    <type>module</type>
    <version>2.0</version>
    <change>
      <item>Ajax based form submission</item>
      <item>Submitted data stored in CSV and downloadable from Advanced parameters</item>
      <item>Does not support Joomla 3.x</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_form</element>
    <type>module</type>
    <version>1.9</version>
    <change>
      <item>Support Joomla 5 without Backward Compatibility Plugin</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_form</element>
    <type>module</type>
    <version>1.8</version>
    <change>
      <item>Changes to the module backend</item>
      <item>JS load-in-body option removed; default head loading</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_form</element>
    <type>module</type>
    <version>1.7</version>
    <change>
      <item>Supports Joomla 4</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_form</element>
    <type>module</type>
    <version>1.6</version>
    <change>
      <item>Option to show/hide the name field</item>
      <item>Agree checkbox added with show/hide option</item>
      <item>Send button color options</item>
      <item>Extra CSS parameter in Advanced settings</item>
      <item>Supports multiple admin email addresses</item>
      <item>HTML5 form validation</item>
      <item>Changeable labels in the module backend</item>
      <item>Border radius for form elements</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_onpageload_form</element>
    <type>module</type>
    <version>1.5</version>
    <change>
      <item>Integrated Joomla Update System</item>
      <item>Name feature added</item>
      <item>Backend modified</item>
    </change>
  </changelog>
</changelogs>
