packagist respect/validation 2.2.4
Release 2.2.4

latest releases: dev-workflows/update-regional-information, dev-dependabot/github_actions/peter-evans/create-pull-request-7, dev-main...
21 months ago

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)

Don't miss a new validation release

NewReleases is sending notifications on new releases.