= 1.9.0 =
* Security hardening: Improved nonce verification across several admin and tracking functions.
* Security hardening: Enhanced input sanitization for role capabilities and file uploads.
* Code Quality: Resolved multiple WordPress Coding Standards (WPCS) warnings and PHPCS violations.
* Code Quality: Improved SQL query safety by ensuring proper placement of PHPCS annotations for dynamic table names.
* Maintenance: Cleaned up project structure by removing unnecessary configuration files.

= 1.8.3 =
* Added safety checks for get_field() and acf_add_local_field_group() to prevent crashes when Secure Custom Fields is not active.
* Refined cache clearing logic to target only the plugin's custom post type.
* Improved performance in the reporting dashboard by limiting ad filtering to the 100 most recent ads.
* Standardized asset versioning to use the plugin's version constant.
* Hardened dependency checks to support both 'Secure Custom Fields' and standard 'ACF' naming conventions.
* Updated bundled Chart.js to the latest stable version.
* Replaced direct script tags with WordPress enqueue APIs for reports and shortcode rendering.

= 1.7.2 =
* Removed external dependency on Chart.js CDN.
* Included Chart.js locally in the plugin to comply with WordPress.org guidelines.

= 1.7.1 =
* Renamed plugin to "Iteearmah Ad Rotation and Analytics" and updated slug to "iteearmah-ad-rotation-analytics".
* Updated text domain to "iteearmah-ad-rotation-analytics".

= 1.7.0 =
* Removed hidden .gitkeep file from languages directory to comply with WordPress.org guidelines.
* Added index.php to languages directory to maintain the folder structure safely.

= 1.6.0 =
* Finalized text domain migration to "adserver" across all files.
* Verified WordPress.org automated scan fixes and bumped version for clean submission.

= 1.5.0 =
* Fixed automated plugin scan issues: added sanitize_callback to register_setting() calls.
* Updated "Tested up to" to WordPress 7.0.
* Changed Text Domain to "adserver" to match plugin slug.
* Created languages directory for Domain Path compliance.

= 1.4.0 =
* Renamed plugin display name from "WP Iteearmah Ad Rotation and Analytics" to "Iteearmah Ad Rotation and Analytics" for WordPress.org directory compliance.

= 1.3.0 =
* Security audit: added input sanitization, output escaping, and URL validation across all files.
* Hardened click redirect with wp_http_validate_url() and wp_safe_redirect() fallback.
* Secured import functionality with uploaded file checks and post data sanitization.
* Replaced json_encode with wp_json_encode and date() with gmdate() for best practices.
* Added Text Domain and Domain Path headers for i18n compliance.
* Added proper cleanup of tracking table and transients on uninstall.
* Updated git configuration files (.gitignore, .gitattributes, .distignore, .editorconfig).

= 1.2.0 =
* Fixed ad serving reliability for non-public post types in AJAX contexts using direct database queries.
* Improved cache invalidation with versioned transients and hooks for all ad status changes.
* Enhanced administrator debug output with visitor context, filtering reasons, and ad status details.
* Standardized zone slug handling to lowercase across shortcodes and AJAX handlers.
* Added .gitattributes with export-ignore directives for clean distribution archives.

= 1.1.0 =
* Migrated the "Allowed Usernames" whitelist to a modern user selection system using Secure Custom Fields (SCF).
* Enhanced security and reliability by switching from username-based filtering to user ID-based filtering.
* Implemented a dependency enforcement system to ensure the "Secure Custom Fields" (SCF) plugin is installed and active.
* Improved UI/UX with a tabbed interface and modernized styling for the Access Settings page.

= 1.0.0 =
* Initial release.
* Modular architecture for better maintainability.
* Custom post type `itea_ad` for structured ad management.
* Weighted rotation system using `[itea_adserver]` shortcode.
* Advanced Geo-targeting capabilities.
* Ad scheduling and performance capping (impressions/clicks).
* Zone-based ad delivery.
* Detailed impression and click tracking with admin dashboard statistics.
