<?xml version="1.0" encoding="UTF-8"?>
<changelogs>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>2.5</version>
    <change>
      <item>Runs on Joomla 5 and 6 with Behaviour Backward Compatibility disabled</item>
      <item>Editor button uses a service provider</item>
      <item>Editor button styles and script load through the Web Asset Manager</item>
    </change>
  </changelog>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>2.4</version>
    <change>
      <item>True OS fullscreen lightbox (Fullscreen API) with edge-to-edge viewing</item>
      <item>Vanilla JavaScript lightbox (no jQuery) with keyboard, swipe, play/pause, download, and share</item>
      <item>Social share menu: copy link, WhatsApp, X, and Facebook</item>
      <item>Editor button plugin to insert {fullscreen} shortcodes from the article toolbar</item>
      <item>Video slides: MP4, YouTube, and Vimeo (module slides + shortcode)</item>
      <item>Video demo variant with mixed YouTube / Vimeo / MP4 / still photos</item>
      <item>Folder-mode categories from filename prefix (Nature__lake.jpg) or subfolders</item>
      <item>Auto captions from filenames in folder mode</item>
      <item>Category filter pills on the grid</item>
      <item>Load more / initial count for large galleries</item>
      <item>Responsive srcset thumbnails and next/prev image prefetch</item>
      <item>Pinch-zoom on touch devices (plus scroll zoom and pan)</item>
      <item>Slideshow progress bar</item>
      <item>Lightbox fit modes: contain or cover</item>
      <item>Deep-link hash to open/share a specific slide</item>
      <item>Optional filmstrip inside the lightbox</item>
      <item>Focus trap and screen-reader announcements</item>
      <item>Schema.org ImageGallery JSON-LD option</item>
      <item>Optional right-click / drag protect</item>
      <item>Themes: Modern 2026, Minimal, Dark with accent colour</item>
      <item>Aspect-ratio lock, loading skeletons, hover zoom</item>
      <item>Package installs module + content plugin + editors-xtd together</item>
      <item>Rebuilt module and content plugin for Joomla 4 / 5 / 6 services architecture</item>
      <item>Modern CSS grid and masonry layout controls (columns, gap, width)</item>
      <item>Improved share UX with toast confirmation and deep-link aware copy</item>
      <item>Shortcodes skip examples inside / blocks</item>
      <item>Install package layout uses packages/ folder for nested extension zips</item>
      <item>Documentation, FAQs, and feature cards updated for 2.4</item>
      <item>Native fullscreen vs viewport-only overlay behaviour</item>
      <item>Grey stretch bars in the thumbnail grid</item>
      <item>Filmstrip scrolling the page; filmstrip now optional and off by default</item>
      <item>Slide sorting when values are nested arrays</item>
      <item>Lightbox alt text, Space key stealing focus, and hash clearing on exit</item>
      <item>Content plugin PSR-4 namespace registration</item>
      <item>Missing root index.html in content plugin package (install copy error)</item>
    </change>
  </changelog>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>2.3</version>
    <fix>
      <item>Fixed potential issues with empty image arrays in gallery processing</item>
    </fix>
    <change>
      <item>Improved error handling for missing image directories</item>
      <item>Enhanced validation for folder paths to prevent directory traversal issues</item>
      <item>Improved code structure and organization for better maintainability</item>
      <item>Enhanced image processing with better error checking and validation</item>
      <item>Optimized asset loading to prevent unnecessary resource loading</item>
      <item>Updated plugin metadata and version information</item>
    </change>
  </changelog>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>2.2</version>
    <fix>
      <item>Fixed critical type error where sortImages() method was receiving stdClass object instead of array when using slides mode</item>
      <item>Fixed issue where images were not displaying when using slides mode due to incorrect extraction of nested subform data structure</item>
    </fix>
    <addition>
      <item>Added better type validation, filtering, and array reindexing in the sortImages() helper method</item>
      <item>Added defensive checks to ensure items array is always properly initialized</item>
    </addition>
    <change>
      <item>Enhanced type validation and error handling throughout the module to prevent similar issues</item>
      <item>Updated slides extraction logic to properly handle Joomla&apos;s nested subform structure (slides0, slides1, etc.)</item>
      <item>Separated sorting logic for folder-based images vs slides - slides now maintain user-defined order</item>
    </change>
  </changelog>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>2.1</version>
    <security>
      <item>Improved security with HTML escaping and input sanitization</item>
    </security>
    <change>
      <item>Full Joomla 4, 5 and 6 compatibility with modern coding standards</item>
      <item>Shortcode examples tab with one-click copy in plugin configuration</item>
      <item>Enhanced plugin parameters, type safety, and content processing</item>
      <item>Optimized asset loading and image processing</item>
    </change>
  </changelog>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>2.0</version>
    <addition>
      <item>Added masonry layout</item>
    </addition>
    <change>
      <item>Supports Joomla 5 without Backward Compatibility Plugin</item>
      <item>Uses new image resizing</item>
      <item>Images can now be converted to WebP format</item>
      <item>Does not support Joomla 3</item>
    </change>
  </changelog>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>1.9</version>
    <fix>
      <item>Fixed PHP bug when no directory specified</item>
    </fix>
  </changelog>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>1.8</version>
    <fix>
      <item>Fixed PHP issues to support PHP 8</item>
    </fix>
    <change>
      <item>Updated JS files to support latest jQuery</item>
      <item>Plugin syntax modified and made simpler</item>
    </change>
  </changelog>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>1.7</version>
    <change>
      <item>Supports Joomla 4</item>
      <item>Supports PHP version 8</item>
    </change>
  </changelog>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>1.6</version>
    <change>
      <item>Code optimization</item>
      <item>Option to choose folder in the backend (module)</item>
      <item>Thumbnail zoom on hover option added</item>
    </change>
  </changelog>
  <changelog>
    <element>pkg_fullscreen_gallery</element>
    <type>package</type>
    <version>1.5</version>
    <fix>
      <item>PHP and jQuery issues fixed</item>
    </fix>
    <change>
      <item>Joomla updater integrated</item>
      <item>Option to add padding and margin around the thumbnail</item>
      <item>Additional CSS field in the backend</item>
      <item>Option to add border and border colour to the image</item>
      <item>Overlay option added</item>
    </change>
  </changelog>
</changelogs>
