Skip to content

Releases: Respect/Validation

Remove support for undocumented baseXX() shortcut

23 Jan 18:00
Compare
Choose a tag to compare

First release of 0.7 series

08 Jan 02:51
Compare
Choose a tag to compare

New rules

Updated rules

Other changes

  • #175: Wrong exception name
  • #231: Define names for children in composite rules
  • #229: Static declaration for rules in Validator class
  • #224: Add missing exceptions
  • #214: Fixed constant Respect\Validation\Exceptions::IDENTICAL.
  • #182: Use PSR-4 standard instead of PSR-0.
  • #238: Use PSR-2 standard

Fix SymbolicLinkException

11 Jul 06:49
Compare
Choose a tag to compare

Using the SymbolicLink rule, causing the trigger of its Exception would start PHP output and prevent setting any HTTP headers after it.

Support for 5.6 and HHVM

26 Jun 05:56
Compare
Choose a tag to compare
  • Official support for PHP 5.6 and HHVM (Kudos @malukenho and @alganet on #177)
  • New nfeAccessKey validation rule. (Kudos to @andreyknupp on #138 and #147)
  • Domain rule allows skipping TLD check and internationalized domains. (Kudos to @mta59066 on #148)
  • House keeping:
  • Bug fixes:
    • sf (Symfony) validation rule. (Kudos to @sharpner for relating #139)
    • cnpj rule with missing Exception. (Kudos to @leonnleite on #151)
    • UploadException with proper name. (Kudos to @kodok-buncit on #175)
    • DK added to country list. (Kudos to @jhmilan on #170)
    • Better phone validator for Brazillian 9th digit rule. (Kudos to @henriqueoliveira on #167)

Thanks a lot for everyone who contributed and cared to open bugs! You are awesome! 🐼

Naming conventions and ctype.

10 Dec 03:18
Compare
Choose a tag to compare

This is more of a house-cleaning tag than anything. We've been using develop branch for quite some time instead of doing proper releases, some updates related to master (+1 year from the last tag!) are:

  • PHP 5.5 is officially supported. (along with 5.3 and 5.4)
  • Some naming conventions (prefer rules on singular instead of plural)
  • Use of ctype functions when possible (by @ramaciotti)
  • New validation rules:
    • File system rules: file, exists, symbolicLink, readable, writable, uploaded. (by @henriquemoody)
    • Testing rules: alwaysValid, alwaysInvalid. (by @alganet)
    • Country abbreviation following ISO-3166-1 alpha2 rules: countryCode (by @alganet)
    • A base validator, for numerical (binary, octal, hexadecimal, decimal) and custom bases. (by @caferrari)
    • A phone rule. (by @mf on #123)

Thanks for every contributor who was not mentioned on the release, you are great!