GateLink Client - Changelog

= 1.8.3 - 2024-10-14 =
* SECURITY: Fixed sanitization of $_SERVER['REMOTE_ADDR'] in REST API endpoints (class-rest.php lines 100, 163)
* SECURITY: Implemented proper IP address validation using filter_var() with FILTER_VALIDATE_IP
* SECURITY: Added support for both IPv4 and IPv6 address validation with fallback to 'unknown'
* COMPATIBILITY: Added defensive check for DONOTCACHEPAGE constant in class-cache-compatibility.php (line 111)
* COMPATIBILITY: Prevents fatal errors when other caching plugins (WP Super Cache, W3 Total Cache) define same constant
* COMPLIANCE: Resolved all WordPress.org Plugin Directory review issues - achieved full compliance
* COMPLIANCE: Enhanced security following WordPress.org "Sanitize Early, Escape Late, Always Validate" principles
* COMPLIANCE: Improved defensive programming practices with proper constant existence checks

= 1.8.2 =
* Removed trial support from Freemius configuration.

= 1.8.1 =
* FIX: Fixed Connect flow - proper nonce verification for Manager → Client REST handshake
* ENHANCEMENT: AJAX Add Site with automatic table refresh - no more page reloads
* COMPLIANCE: Enhanced nonce verification with dedicated connect_nonce for security
* UX: Improved error handling with detailed troubleshooting messages for connection failures

= 1.8.0 =
- SECURITY: Enhanced sanitization and validation of super-globals, notably $_SERVER['REMOTE_ADDR']
- STANDARDIZATION: Unified all prefixes to gate_client_ for consistent naming across the plugin
- MIGRATION: Added automatic migration logic to map old option names and keys to new unified names
- COMPATIBILITY: Maintained backward compatibility with existing installations - no data loss
- VALIDATION: Verified nonces and capability checks across all AJAX endpoints and admin forms

= 1.7.9 =
- VERSION SYNC: Updated to maintain version synchronization with Manager plugin v1.7.9
- COMPATIBILITY: Full compatibility with Manager's enhanced AJAX functionality and dashboard improvements
- No functional changes to Client plugin - maintains all existing security and connection features

= 1.7.8 =
- WORDPRESS.ORG READY: Complete WordPress.org compliance achieved - plugin ready for directory submission and approval
- COMPLIANCE: All WordPress.org requirements met including unique prefixes, proper security, and coding standards
- VERSION SYNC: Updated to maintain version synchronization with Manager plugin v1.7.8
- COMPATIBILITY: Full compatibility with Manager's enhanced error handling and troubleshooting guidance
- SECURITY: Maintains all existing security and connection features with HMAC-SHA256 validation
- No functional changes to Client plugin - maintains all existing security and connection features

= 1.6.2 =
- VERSION SYNC: Updated to maintain version synchronization with Manager plugin v1.6.0
- COMPLIANCE: Internal changes for PHPCS compatibility - no functional changes to Client plugin features
- COMPATIBILITY: Full compatibility with Manager's PHPCS compliance improvements

= 1.5.6 =
- Cache: Smart cache compatibility with LiteSpeed, NitroPack, Airlift - auto-purge plugin endpoints after trust/block actions
- Cache: Enhanced no-cache headers for REST endpoints (/health-check, /trust-manager, /sso-login) with DONOTCACHEPAGE
- Security: Automatic cleanup of expired nonces to prevent database bloat
- Performance: Scoped cache clearing after mutations (allow/block/delete manager, trust requests)
- Compatibility: Full synchronization with Manager v1.5.6 cache compatibility features

= 1.5.5 =
- Fix: Freemius license activation/reset flow stabilized; eliminated SDK warnings after license reset; unified plan detection; enforced site limits (Free 3 / Pro 20 / Business unlimited); dynamic Support/Contact menus via Freemius.

= 1.5.3 =
- VERSION SYNC: Updated to maintain version synchronization with Manager plugin v1.5.3
- COMPATIBILITY: Full compatibility with Manager's consolidated Support page and removed Diagnostics functionality
- No functional changes to Client plugin - maintains all existing security and connection features

= 1.5.2 =
- VERSION SYNC: Updated to maintain version synchronization with Manager plugin v1.5.2
- COMPATIBILITY: Full compatibility with Manager's enhanced Contact & Support system and improved diagnostics
- No functional changes to Client plugin - maintains all existing security and connection features

= 1.5.1 =
- VERSION SYNC: Updated to maintain version synchronization with Manager plugin v1.5.1
- COMPATIBILITY: Full compatibility with Manager's stabilized Freemius integration and unified plan API
- No functional changes to Client plugin - maintains all existing security and connection features

= 1.5.0 =
- VERSION SYNC: Updated to maintain version synchronization with Manager plugin v1.5.0
- COMPATIBILITY: Full compatibility with Manager's new Dashboard page and AJAX search functionality
- No functional changes to Client plugin - maintains all existing security and connection features

= 1.4.3 =
- Version sync with GateLink Manager 1.4.3
- Compatible with Manager's restored Settings page and enhanced reset functionality
- No functional changes to Client plugin features

= 1.4.2 =
- Version bump to maintain compatibility with GateLink Manager 1.4.2
- No functional changes in client plugin for this release

= 1.0.0 =
- Initial release
- Zero-config handshake for Manager verification
- Front-end one-click login handler (HMAC, short TTL)
- Optional REST health endpoint
- Tailwind-styled admin UI and logs
