Releases: markrogoyski/numverify-api-client-php
Releases · markrogoyski/numverify-api-client-php
v3.0.0
Breaking Changes
- Minimum PHP version updated from 7.2 to 8.2
Improvements
- Added explicit nullable type to
Apiconstructor parameter (PHP 8.2 deprecation) - Added
mixedreturn type toCollection::key()iterator method - Added explicit
psr/http-messageas a direct dependency - Updated CI to test PHP 8.2, 8.3, 8.4, 8.5
- CI reorganized into separate jobs for unit tests (all PHP versions), static analysis (PHP 8.5), and code coverage (PHP 8.5)
Static Analysis
- Added Psalm (level 1)
- Added Composer Require Checker
- Added Composer Unused
- Updated PHPStan to ^2.0 (level max)
- Updated PHP_CodeSniffer to ^3.10
- Organized all static analysis configs under
tools/directory - Removed deprecated
phploc
v2.2.0
Improvements
- Minor internal improvements
- CI build improvements
v2.1.0
Improvements
- Add optional country code to phone number validation API for working with local, non-E.164 phone numbers
v2.0.0
Improvements
- Improvements for newer versions of PHP (v7.2)
- Updates to Guzzle dependency (v6.0 to v7.0 due to PHP version change)
- Updates to testing dependencies (PHPUnit)
Breaking Changes
- Minimum PHP version changed from v7.0 to v7.2
Migration from v1.0.0
- Update to PHP v7.2
- Update to Guzzle v7.0
v1.0.0
Stable release of v1.0.0.
v0.1.0 - Initial Release
New Features
- Numverify phone number validation API
- Numverify countries API
Requirements
- PHP 7.0