You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,23 +10,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
-**DNS Prefetch Security Enhancement**: Enhanced DNS prefetch validation to reject file paths, query parameters, and fragments - only clean domains are now accepted
11
11
-**Documentation Enhancement**: Added @since version tags to all PHPDoc blocks for better change tracking
12
12
-**Developer Guidelines**: Created comprehensive CONTRIBUTING.md file with development standards, security requirements, and contribution workflow
13
+
-**Comprehensive Unit Testing**: Implemented complete testing infrastructure with PHPUnit, WP_Mock, and 80% coverage requirement
14
+
-**Test Coverage**: 18 core functions with comprehensive unit and integration tests
15
+
-**Security Testing**: XSS prevention, DNS validation, CSRF protection, and input sanitization validation
16
+
-**Performance Testing**: Caching mechanisms, optimization effects, and conditional loading verification
17
+
-**CI/CD Integration**: GitHub Actions workflow with multi-PHP version testing (7.4-8.4) and automated quality checks
13
18
14
19
### Enhanced
15
20
-**DNS Prefetch Optimization**: Improved DNS prefetch function with static caching, duplicate removal, AJAX detection, and enhanced domain validation
16
21
-**Security Validation**: Strengthened DNS prefetch domain validation to prevent file path injection (e.g., `https://google.com/file.php` is now rejected)
17
22
-**User Experience**: Updated DNS prefetch textarea description to clearly explain that only clean domains are allowed
18
23
-**Code Quality**: Enhanced function documentation and maintained WordPress coding standards compliance
24
+
-**Testing Infrastructure**: Complete test suite with fixtures, helpers, and comprehensive coverage reporting
19
25
20
26
### Security
21
27
-**Domain Validation**: Enhanced DNS prefetch security to block file paths, query parameters, and URL fragments
22
28
-**Input Sanitization**: Maintained comprehensive input validation and output escaping throughout all changes
23
29
-**Clean Domain Output**: DNS prefetch now automatically strips paths and returns only clean domain URLs for security
30
+
-**Security Testing**: Comprehensive security validation tests including XSS prevention and malicious input handling
24
31
25
32
### Performance
26
33
-**Reduced Database Queries**: Option caching system minimizes repeated database calls
27
34
-**Conditional Loading**: Admin assets only load when needed, reducing unnecessary resource usage
28
35
-**Optimized DNS Prefetch**: Enhanced processing efficiency with static caching and validation improvements
29
36
37
+
### Developer Experience
38
+
-**Testing Framework**: PHPUnit with WP_Mock for WordPress-specific testing
39
+
-**Code Coverage**: 80% minimum coverage requirement with detailed reporting
40
+
-**Quality Assurance**: PHPCS, PHPMD, and PHPStan integration for code quality
41
+
-**Development Workflow**: Automated testing with GitHub Actions CI/CD pipeline
42
+
30
43
## [1.5.12] - 2025-08-02
31
44
### Added
32
45
-**Disable Post via Email**: New option to disable the post-via-email feature for enhanced security and performance.
0 commit comments