<?xml version="1.0" encoding="UTF-8"?>
<changelogs>
  <changelog>
    <element>readtime</element>
    <type>plugin</type>
    <version>1.8</version>
    <change>
      <item>Runs on Joomla 5 and 6 with the Behaviour Backward Compatibility plugins disabled</item>
      <item>The content plugin loads through the Joomla 5 service provider</item>
    </change>
  </changelog>
<changelog>
    <element>readtime</element>
    <type>plugin</type>
    <version>1.7</version>
    <addition>
      <item>Added Only Categories so reading time can be limited to selected categories. A new category stays out until you add it.</item>
    </addition>
  </changelog>
  <changelog>
    <element>readtime</element>
    <type>plugin</type>
    <version>1.6</version>
    <fix>
      <item>Fixed progress calculation to measure article boundaries by default</item>
      <item>Fixed root and subdirectory asset URL handling</item>
      <item>Fixed left, centre, and right indicator alignment</item>
    </fix>
    <addition>
      <item>Added Plain, Rounded Badge, and Information Card presentation layouts</item>
      <item>Added Clock, Open Book, and no-icon display options using accessible inline SVG</item>
      <item>Added Before Article, After Article, and exact {readtime} shortcode placement</item>
      <item>Added support for multiple ReadTime shortcodes in one article</item>
      <item>Added per-shortcode overrides for layout, style, icon, word count, finish time, seconds, label, WPM, alignment, progress scope, image allowance, and percentage</item>
      <item>Added optional word count and estimated finish time</item>
      <item>Added configurable seconds-per-image allowance</item>
      <item>Added minimum word-count threshold for short content</item>
      <item>Added Article Content and Entire Page progress scopes</item>
      <item>Added progress track colour and optional percentage label</item>
      <item>Added versioned assets for reliable cache invalidation</item>
      <item>Added accessible progressbar semantics and complete indicator labels</item>
      <item>Added reduced-motion, print, and responsive mobile handling</item>
      <item>Added four live demo variants: Minimal Line, Rounded Badge, Information Card, and Seconds Display</item>
    </addition>
    <change>
      <item>Improved Unicode word matching with CJK and Thai character fallback</item>
      <item>Moved CSS and JavaScript registration to Joomla Web Asset Manager</item>
      <item>Improved progress performance with requestAnimationFrame and transform-based updates</item>
      <item>Preserved all version 1.5 parameter names and exclusion settings</item>
      <item>Completed A-Z validation: 43 automated checks passed with zero failures</item>
    </change>
  </changelog>
  <changelog>
    <element>readtime</element>
    <type>plugin</type>
    <version>1.5</version>
    <addition>
      <item>Added download key (dlid) support for automatic updates</item>
    </addition>
  </changelog>
  <changelog>
    <element>readtime</element>
    <type>plugin</type>
    <version>1.4</version>
    <fix>
      <item>Fixed CSS and JS asset loading - assets now load directly from plugin folder</item>
    </fix>
    <addition>
      <item>Added document type check to ensure assets only load for HTML documents</item>
    </addition>
    <change>
      <item>Updated XML manifest to include assets folder in plugin files</item>
      <item>Improved asset path construction using direct document methods</item>
      <item>Enhanced script loading with proper defer attribute support</item>
    </change>
  </changelog>
  <changelog>
    <element>readtime</element>
    <type>plugin</type>
    <version>1.3</version>
    <security>
      <item>Code Optimization and Security Enhancements</item>
    </security>
    <fix>
      <item>Fixed CSS and JS paths to assets folder</item>
      <item>Fixed spacing issue in reading time text</item>
      <item>Fixed object to string conversion errors</item>
    </fix>
    <change>
      <item>Joomla 4, 5 &amp; 6 Compatibility</item>
      <item>Modern PHP 8.0+ Support</item>
      <item>JoomlaX Branding</item>
      <item>5 Style Presets (Default, Subtle, Bold, Minimal, Highlighted)</item>
      <item>Theme Color Customization</item>
      <item>Modal Article Selection for exclusions (handles thousands of articles)</item>
      <item>Improved View Exclusion with Radio Switchers</item>
      <item>Better handling of subform data structures</item>
    </change>
  </changelog>
  <changelog>
    <element>readtime</element>
    <type>plugin</type>
    <version>1.2</version>
    <change>
      <item>Fully compatible with Joomla 4.x, 5.x, and 6.x</item>
      <item>Updated XML manifest schema to version 4.0 for Joomla 4+ compatibility</item>
      <item>Enhanced plugin description with comprehensive feature list</item>
      <item>Updated update server URL to joomlax.com</item>
      <item>Updated header block to JoomlaX branding with proper PHPDoc format</item>
      <item>Verified all methods use modern Joomla 4+ APIs</item>
      <item>Code follows Joomla coding standards and best practices</item>
    </change>
    <remove>
      <item>Removed unused HTMLHelper import</item>
    </remove>
  </changelog>
  <changelog>
    <element>readtime</element>
    <type>plugin</type>
    <version>1.1</version>
    <fix>
      <item>Fixed progress bar showing when reading time is excluded on blog layouts</item>
      <item>Resolved duplicate CSS and JavaScript loading issues</item>
      <item>Fixed parameter name mismatch between PHP code and XML configuration</item>
    </fix>
    <addition>
      <item>Added comprehensive input validation and error handling</item>
      <item>Implemented static variable to prevent duplicate resource loading</item>
    </addition>
    <change>
      <item>Completely refactored plugin architecture for better performance and maintainability</item>
      <item>Enhanced blog layout detection with automatic fallback system</item>
      <item>Improved progress bar functionality with optimized JavaScript performance</item>
      <item>Improved exclusion logic for better reliability across different Joomla configurations</item>
      <item>Separated concerns into dedicated methods for better code organization</item>
      <item>Enhanced JavaScript with requestAnimationFrame for smoother performance</item>
    </change>
  </changelog>
  <changelog>
    <element>readtime</element>
    <type>plugin</type>
    <version>1.0</version>
    <change>
      <item>Basic reading time calculation based on word count and WPM settings</item>
      <item>Progress bar with scroll tracking functionality</item>
      <item>Customizable styling options for text and progress bar</item>
      <item>Exclusion options for categories, views, and specific articles</item>
      <item>Support for both minute and second display formats</item>
    </change>
  </changelog>
</changelogs>
