<?xml version="1.0" encoding="UTF-8"?>
<changelogs>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>6.1</version>
    <change>
      <item>Runs on Joomla 5 and Joomla 6 with the Behaviour - Backward Compatibility plugin disabled.</item>
      <item>Article access checks use the current user identity.</item>
      <item>Random article ordering uses the Joomla database service.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>6.0</version>
    <fix>
      <item>Fixed page jumping when the close button is used.</item>
    </fix>
    <addition>
      <item>Added Joomla services architecture with a namespaced Dispatcher and Helper.</item>
      <item>Added support for Joomla 4, Joomla 5, and Joomla 6 with PHP 8.0 or newer.</item>
      <item>Added a clear choice between Joomla Articles and Manual Cards.</item>
      <item>Added multiple category selection for Joomla articles.</item>
      <item>Added sorting by published date, created date, modified date, article ordering, hits, or random order.</item>
      <item>Added ascending and descending sort direction.</item>
      <item>Added article count control from 1 to 24 items.</item>
      <item>Added independent controls for article image, title, intro text, read-more hint, and HTML stripping.</item>
      <item>Added repeatable Manual Cards with image, caption, popup type, and popup content fields.</item>
      <item>Added manual popup types for formatted HTML, YouTube, Vimeo, Google Maps, and iframe URLs.</item>
      <item>Added Responsive Grid, Horizontal Row, and Vertical Stack layouts.</item>
      <item>Added desktop grid selection from 2 to 6 columns.</item>
      <item>Added Light, Dark, Glass, and Brand card themes.</item>
      <item>Added accent colour and card corner-radius controls.</item>
      <item>Added card width, card gap, optional card height, and optional image-area height.</item>
      <item>Added Cover, Contain, and Fill image modes.</item>
      <item>Added Auto, Square, Standard 4:3, Widescreen 16:9, and Classic 3:2 image ratios.</item>
      <item>Added configurable image zoom on hover.</item>
      <item>Added caption overlay with colour and opacity controls.</item>
      <item>Added Light, Dark, and Brand lightbox themes.</item>
      <item>Added Zoom, Fade, and Slide up opening effects.</item>
      <item>Added responsive lightbox width and maximum-height controls.</item>
      <item>Added backdrop opacity and blur controls.</item>
      <item>Added an option to place the close button at the popup top-right or browser window top-right.</item>
      <item>Added optional title bar and gallery counter.</item>
      <item>Added previous and next navigation with optional looping.</item>
      <item>Added Left Arrow, Right Arrow, and Escape keyboard controls.</item>
      <item>Added internal scrolling for long content while keeping the popup inside the viewport.</item>
      <item>Added mobile safe-area support and reduced-motion support.</item>
      <item>Added optional shareable URL hashes for individual gallery items.</item>
      <item>Added a configurable URL hash prefix.</item>
      <item>Added scrollbar-width compensation to prevent layout shifting.</item>
      <item>Added accessible dialog labels and descriptive labels for icon-only controls.</item>
      <item>Added card background, border colour, border width, and border-radius controls.</item>
      <item>Added caption colour, size, weight, and font-family controls.</item>
      <item>Added system/custom, Inter, Poppins, Montserrat, and Open Sans font choices.</item>
      <item>Added full Top, Right, Bottom, and Left labels.</item>
      <item>Added linked and unlinked value modes.</item>
      <item>Added px, rem, em, and percent units.</item>
      <item>Added lazy loading, empty-message, module-class, custom-CSS, and alternative-layout controls.</item>
      <item>Added modern language strings and system description.</item>
      <item>Added a clean Joomla 4, 5, and 6 install manifest.</item>
      <item>Added Article Grid, Manual Cards, YouTube Strip, Glass Gallery, Dark Cinema, and Google Maps demos.</item>
    </addition>
    <change>
      <item>Rebuilt the gallery and lightbox with vanilla JavaScript and modern CSS.</item>
      <item>Discontinued Joomla 3 support. Joomla 3 sites must continue using the legacy 5.x package.</item>
      <item>Article popups now include the Full Article Image, with Intro Image fallback.</item>
      <item>Article popups now render prepared intro text, full text, and Joomla content-plugin output.</item>
      <item>Horizontal Row cards now fit the available width without a horizontal scrollbar.</item>
      <item>Row cards wrap on tablets and stack on phones.</item>
      <item>Video, map, and iframe content now fills the popup edge to edge.</item>
      <item>Media popups automatically hide the standard content title bar.</item>
      <item>Navigation controls no longer overlap popup text.</item>
      <item>Navigation controls move to safe positions on smaller screens.</item>
      <item>Direct hash URLs automatically open the matching gallery item.</item>
      <item>Changing items updates the hash without navigating or moving the page.</item>
      <item>Closing the popup restores the original URL without changing the page position.</item>
      <item>Reworked page scroll locking to prevent background movement while the popup is open.</item>
      <item>The exact horizontal and vertical page position is restored after closing.</item>
      <item>Keyboard focus returns to the gallery card that opened the popup.</item>
      <item>Improved keyboard focus visibility and minimum touch-target sizes.</item>
      <item>Rebuilt the four-side padding field without jQuery.</item>
      <item>Reorganised parameters into Content Source, Gallery Cards, Lightbox, Typography &amp; Colors, and Advanced tabs.</item>
      <item>Reduced the final package to the 13 files required by version 6.0.</item>
      <item>Expanded documentation for installation, configuration, sharing, migration, demos, and troubleshooting.</item>
    </change>
    <remove>
      <item>Removed jQuery, FancyBox, animate.css, legacy sprites, and all obsolete front-end assets.</item>
      <item>Removed duplicate field IDs and improved responsive admin layout.</item>
      <item>Removed the confusing legacy General and Styling fieldsets.</item>
    </remove>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>5.1</version>
    <addition>
      <item>Added Joomla 6 compatibility.</item>
    </addition>
    <change>
      <item>Improved WebAssetManager integration and cache busting.</item>
      <item>Improved PHP 8 type safety, validation, escaping, and error handling.</item>
      <item>Improved semantic template markup, ARIA labels, and keyboard navigation.</item>
      <item>Optimised article queries and image handling.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>5.0</version>
    <addition>
      <item>Added initial Joomla 6 support.</item>
    </addition>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>4.9</version>
    <addition>
      <item>Added animate.css opening and closing effects.</item>
      <item>Added animation type, duration, and delay parameters.</item>
    </addition>
    <change>
      <item>Announced the end of Joomla 3 support and updates.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>4.8</version>
    <addition>
      <item>Added Joomla 5 support without the Backward Compatibility plugin.</item>
    </addition>
    <change>
      <item>Optimised the module code.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>4.7</version>
    <addition>
      <item>Added download-key support through Joomla Update Sites.</item>
    </addition>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>4.6</version>
    <change>
      <item>Adjusted legacy jQuery loading behaviour.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>4.5</version>
    <fix>
      <item>Fixed multiple popup instances on Joomla 4.</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>4.4</version>
    <fix>
      <item>Fixed a Joomla 4 file-not-found issue.</item>
    </fix>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>4.3</version>
    <addition>
      <item>Added Joomla 4 support.</item>
      <item>Added updates through Joomla Update Manager.</item>
      <item>Added download-key configuration for automatic updates.</item>
    </addition>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>4.2</version>
    <change>
      <item>Updated administrator parameters.</item>
      <item>Integrated the Joomla update system.</item>
    </change>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>4.1</version>
    <addition>
      <item>Added image zoom on hover.</item>
      <item>Added hover overlay text.</item>
      <item>Added overlay-opacity control.</item>
    </addition>
  </changelog>
  <changelog>
    <element>mod_lightbox_popup</element>
    <type>module</type>
    <version>4.0</version>
    <fix>
      <item>Fixed backend tab visibility with Advanced Module Manager.</item>
    </fix>
    <addition>
      <item>Added Styling and Content tabs.</item>
    </addition>
    <change>
      <item>Used the Joomla jQuery framework for Joomla 3.</item>
      <item>Adjusted JavaScript and CSS to reduce jQuery conflicts.</item>
    </change>
  </changelog>
</changelogs>
