Releases: Respect/Validation
2.3.11
What's Changed
- Update Regional Information by @github-actions in #1484
Full Changelog: 2.3.10...2.3.11
2.3.10
Full Changelog: 2.3.9...2.3.10
2.3.9
Full Changelog: 2.3.8...2.3.9
2.3.8
What's Changed
- Fix bug when
Multiple
is passed an invalid value by @dmjohnsson23 in #1467
New Contributors
- @dmjohnsson23 made their first contribution in #1467
Full Changelog: 2.3.7...2.3.8
2.3.7
What's Changed
- Update Regional Information by @github-actions in #1455
Full Changelog: 2.3.6...2.3.7
2.3.6
Full Changelog: 2.3.5...2.3.6
2.3.5
What's Changed
- Update Regional Information by @github-actions in #1450
Full Changelog: 2.3.4...2.3.5
First release of 2.3 series
Versioning Changes:
- Dropped support for PHP 8.0 and below.
- Updated dev dependencies
Deprecations:
- Symfony façade validators are no longer supported and were
removed.
Fixes:
KeySet
now reports which extra keys are causing the rule to fail.- Ensure empty strings are never a valid currency code
- Do not hide messages on EachException
- Dot not throw exception when validating an uninitialized property
Changes:
- You can no longer wrap
KeySet
inNot
. Phone
now usesgiggsey/libphonenumber-for-php
, this package needs
to be installed if you want to use this validator.Phone
now supports the parameter$countryCode
to validate phones
of a specific country.
2.3.0-RC
2.3-RC
Versioning Changes:
- Dropped support for PHP 7.4.
- Updated dev dependencies
Deprecations:
- Symfony façade validators are no longer supported and were
removed.
Fixes:
KeySet
now reports which extra keys are causing the rule to fail.
Changes:
- You can no longer wrap
KeySet
inNot
. Phone
now usesgiggsey/libphonenumber-for-php
, this package needs
to be installed if you want to use this validator.Phone
now supports the parameter$countryCode
to validate phones
of a specific country.
Release 2.2.4
The Respect team is proud to announce the release of Respect\Validation 2.24 🐼 This version is also already available on packagist.
This is a dusting-off release with most of the PRs since 2.2.3 being merged, compatibility for newer PHP versions adjusted and a new lead maintainer (@alganet, which is the original library author).
It is expected that 2.2.4 will be the last release of the 2.2.x series, with 2.3 following soon after.
Feedback and bug reports are highly appreciated. Feel free to get in touch either via Issues or Discussions.
Happy Validatin'
Meta:
- CHANGELOG.md is being written once again to provide an overview
of active changes to the API and codebase.
Versioning Changes:
- Dropped PHP 7.3 support.
- Added support for PHP 8.0 and PHP 8.1. This will be the
last release with PHP 7.4 support. Support for PHP 8.2 is considered
experimental, local development should be done at 8.1.
Deprecations:
- Zend Framework façade validators are no longer supported and were
removed. - Symfony façade validators are no longer suggested, and will be
removed in release 2.3. - v::dateTime('z') is not supported anymore in PHP8, and should not be relied upon
Fixes:
- Updated bin/update-currency-codes to fetch XML from another source.
- Updated bin/update-iso-codes to new file format.
- Updated regionals (CountryCode.php, CurrencyCode.php, Tld.php) (2023-02-13).
- Added RuPay card validation (thanks @rakshit087)
- Fixed
v::decimal()
for float values (thanks @scruwi) - Added
v::portugueseNif()
to validate Número de Identificação Fiscal in Portugal (thanks @goncalo-andrade). - Allow 5-digit and 6-digit postal codes for Cambodia (thanks @omega3000)
v::intval()
now handles negative values with trailing zeroes better (thanks @l-x)