Releases: Wixel/GUMP
Releases · Wixel/GUMP
v2.3.2
Overview
This release brings 33 new validators, improved code quality with 100% test coverage, and comprehensive documentation updates. GUMP now offers 76 validators and 16 filters for PHP data validation.
Improvements
- 100% Test Coverage - Comprehensive test suite covering all validators and filters
- Code Quality - PHP-CS-Fixer applied for consistent code formatting
- Documentation - README updated with all 76 validators and 16 filters documented
- Translation Files - All 19 language files updated with new validator messages
Bug Fixes
- Fixed filter documentation for trim()
- Fixed inconsistent validator method signatures for PHP 8.1+
- Fixed deprecated PHP function calling/handling
- Fixed CSV handling in polyfill_filter_var_string()
Compatibility
- PHP: 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4+
- Full backwards compatibility with previous versions
Installation
composer require wixel/gump
v2.3.1
v2.3.0
Release v2.3.0 Major improvements and fixes: Core Fixes: - Fixed critical XSS vulnerability in polyfill_filter_var_string() - Standardized all validator method signatures for PHP 8+ compatibility - Fixed PHP 7.1 compatibility issues (assertIsArray, German umlaut tests) Testing: - Added comprehensive test coverage for missing validators and filters - Created 5 new test files with 100+ additional test cases - Fixed all PHPUnit configuration issues for cross-version compatibility Documentation: - Updated README with complete validator/filter documentation (41 validators, 16 filters) - Added CI-compatible documentation generation system - Comprehensive real-world usage examples CI/CD: - Enhanced coverage reporting with dynamic PHPUnit config generation - Added cross-version compatibility scripts for PHP 7.1-8.4+ - Improved Coveralls integration with graceful fallbacks Security: - Fixed string sanitization vulnerability - Enhanced XSS protection in filter methods - Secure by default configuration improvements All tests passing: 440 tests, 489 assertions ✅
v2.2.2
Release v2.2.1
This release removes deprecation notices for process_error_message() and adds return statements to validation_rules() and filter_rules().
✅ Merged PR #358
Release 2.2.0
This release only includes a new language.
✅ Added simplified Chinese translation #338
Great improvements were made to the CI to check the languages after each commit.
Release 2.1.1
One fix and improvements on CI.
✅ Support php 8.2, 8.3, 8.4 (ci tests added too)
🔧 Fixed: https://github.com/Wixel/GUMP/issues/353
Release 2.1.0
Careful! This release includes breaking ch
- ✅ Added 2 new methods:
GUMP::has_validator($rule);
GUMP::has_filter($rule);- ✅ Added Czech language.
- 🔧 Added missing rule for German language #349.