Skip to content

Releases: Respect/Validation

2.3.11

13 Dec 11:15
Compare
Choose a tag to compare

What's Changed

  • Update Regional Information by @github-actions in #1484

Full Changelog: 2.3.10...2.3.11

2.3.10

05 Dec 18:52
39d604c
Compare
Choose a tag to compare

Full Changelog: 2.3.9...2.3.10

2.3.9

28 Nov 09:50
c96758e
Compare
Choose a tag to compare

Full Changelog: 2.3.8...2.3.9

2.3.8

28 Nov 09:49
25ce44c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.7...2.3.8

2.3.7

13 Apr 09:48
Compare
Choose a tag to compare

What's Changed

  • Update Regional Information by @github-actions in #1455

Full Changelog: 2.3.6...2.3.7

2.3.6

24 Mar 18:51
263ae11
Compare
Choose a tag to compare

Full Changelog: 2.3.5...2.3.6

2.3.5

15 Mar 11:06
Compare
Choose a tag to compare

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

27 Jan 19:43
8d7d783
Compare
Choose a tag to compare

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 in Not.
  • Phone now uses giggsey/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

04 Mar 03:59
Compare
Choose a tag to compare
2.3.0-RC Pre-release
Pre-release

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 in Not.
  • Phone now uses giggsey/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

15 Feb 01:15
Compare
Choose a tag to compare

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)