<?xml version="1.0" encoding="UTF-8"?>
<changelogs>
    <changelog>
    <element>mod_fancy_slider</element>
    <type>module</type>
    <version>3.7</version>
    <addition>
      <item>Download Key support on the update site (dlid).</item>
    </addition>
  </changelog>
<changelog>
    <element>mod_fancy_slider</element>
    <type>module</type>
    <version>3.6</version>
    <change>
      <item>Runs on Joomla 5 and 6 with Behaviour Backward Compatibility disabled</item>
      <item>Module uses the service provider layout</item>
    </change>
  </changelog>
<changelog>
    <element>mod_fancy_slider</element>
    <type>module</type>
    <version>3.5</version>
    <security>
      <item>Fix: XSS vulnerability in Extra CSS field - added strip_tags() sanitization and changed filter to safehtml</item>
    </security>
    <fix>
      <item>Fix: Defense-in-depth escaping for caption HTML output in template</item>
      <item>Fix: Assets folder missing from manifest - CSS, JS, and images now correctly included in install package</item>
      <item>Fix: Removed non-existent index.html from manifest to prevent installer warnings</item>
      <item>Fix: Pagination type default changed from invalid &quot;1&quot; to &quot;num&quot;</item>
      <item>Fix: Slideshow effects default changed from invalid &quot;1&quot; to &quot;random&quot;</item>
      <item>Fix: Added explicit default for resize field</item>
      <item>Fix: Stale image cache - resized images now invalidated when source file changes (filemtime in cache key)</item>
      <item>Fix: Removed missing loading.gif reference from CSS (eliminated 404)</item>
      <item>Fix: Pagination bottom margin now removed when pagination is set to none</item>
      <item>Fix: Replaced deprecated jQuery .bind() with .on() in Nivo Slider JS</item>
      <item>Fix: Replaced deprecated JS substr() with charAt()</item>
      <item>Fix: Scoped global jQuery selectors for .nivo-slice and .nivo-box to slider instance (multi-instance safe)</item>
      <item>Fix: Added parseInt() for implicit type coercion in control nav click handler</item>
      <item>Fix: Caption opacity field changed from free-text to validated number field (0-1 range)</item>
      <item>Fix: Removed dead addfieldpath pointing to non-existent admin/elements directory</item>
      <item>Fix: Spacer fields given proper name attributes to avoid Joomla form issues</item>
      <item>Fix: Corrected module attribute usage in manifest (only on main entry-point file)</item>
      <item>Fix: Random Start default changed to OFF to match JS plugin default</item>
      <item>Fix: Typo &quot;thge&quot; corrected to &quot;the&quot; in Random Start description</item>
      <item>Fix: Copyright years standardized to 2026 across all files</item>
      <item>Fix: Modernized require_once to use __DIR__ instead of dirname(__FILE__)</item>
      <item>Fix: Updated documentation to include WebP and AVIF in supported formats list</item>
      <item>Fix: Removed empty tmpl/css and tmpl/js placeholder directories</item>
      <item>Fix: Cleaned up trailing blank lines in JSON and Markdown files</item>
    </fix>
    <change>
      <item>New: Image Fit option - choose between Cover (fill &amp; crop) or Contain (full image with letterboxing)</item>
      <item>New: Image Vertical Alignment - position images at top, center, or bottom within the slider frame</item>
      <item>New: Pagination Position - place pagination below the slider or overlaid inside the bottom of the image</item>
      <item>New: Lazy loading and fetchpriority attributes on slider images for better performance</item>
      <item>New: Width and height attributes on img tags to reduce Cumulative Layout Shift (CLS)</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_fancy_slider</element>
    <type>module</type>
    <version>3.4</version>
    <security>
      <item>Enhanced Security - comprehensive path traversal protection, XSS prevention, and input sanitization</item>
      <item>Modern Image Processing - replaced timthumb with Joomla&apos;s native Image class for better performance and security</item>
      <item>Path Security - realpath() validation to prevent directory traversal attacks</item>
      <item>XSS Protection - proper HTML escaping for all user-generated content including captions</item>
      <item>Comprehensive QA Testing - all security vulnerabilities and logic bugs fixed</item>
    </security>
    <change>
      <item>Full Joomla 4, 5 &amp; 6 Compatibility with modern coding standards and best practices</item>
      <item>Complete Code Rewrite - optimized code structure with improved type hints, return types, and error handling</item>
      <item>Smart Image Caching - automatic image caching system in images/fancy_slider/ directory</item>
      <item>Improved Helper Class - new ModFancySliderHelper class with optimized image processing methods</item>
      <item>Better Type Safety - enhanced type hints throughout the codebase (string, int, bool types)</item>
      <item>Enhanced Error Handling - graceful fallbacks and improved exception handling</item>
      <item>Optimized Asset Loading - proper WebAssetManager integration with static flag to prevent duplicate loading</item>
      <item>Improved Image Processing - better file existence checks, validation, and error handling</item>
      <item>Input Validation - comprehensive parameter validation with bounds checking for all numeric values</item>
      <item>File Validation - strict file type checking and readability validation</item>
      <item>Cache Filename Sanitization - secure cache filename generation with regex sanitization</item>
      <item>Improved Template Code - better conditional logic, null checks, and output escaping</item>
      <item>Production Ready - clean code with no debugging artifacts, ready for production use</item>
      <item>Modern PHP Syntax - PHP 7.4+ features for better performance and compatibility</item>
      <item>Better Code Organization - improved method structure and comprehensive documentation</item>
      <item>Enhanced Module Configuration - improved parameter defaults and validation</item>
      <item>Improved Template Rendering - better HTML structure and proper escaping</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_fancy_slider</element>
    <type>module</type>
    <version>3.3</version>
    <change>
      <item>Supports Joomla 5 without Backward Compatiblity Plugin</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_fancy_slider</element>
    <type>module</type>
    <version>3.2</version>
    <change>
      <item>Supports Joomla 4</item>
      <item>Supports PHP 8</item>
    </change>
    <remove>
      <item>Removed loading jQuery in Body. By default loads in head.</item>
    </remove>
  </changelog>
  <changelog>
    <element>mod_fancy_slider</element>
    <type>module</type>
    <version>3.1</version>
    <fix>
      <item>PHP Warning Fixed</item>
    </fix>
    <change>
      <item>Joomla Slides Added [Take a Backup of the slides before installing 3.1 version]</item>
      <item>Changes to Backend</item>
      <item>Extra CSS Parameters Added</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_fancy_slider</element>
    <type>module</type>
    <version>3.0</version>
    <change>
      <item>Joomla Update System Integrated</item>
    </change>
  </changelog>
</changelogs>
