Releases: Respect/Validation
Releases · Respect/Validation
Remove support for undocumented baseXX() shortcut
0.7.1 Release 0.7.1
First release of 0.7 series
New rules
Updated rules
Other changes
Fix SymbolicLinkException
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
- 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:
- Better version constraints on composer. (Kudos to @GrahamCampbell on #166)
- Syntax highlight and typo fix on README. (Kudos to @DavidePastore on #162 and #160)
- 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.
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)
- File system rules:
Thanks for every contributor who was not mentioned on the release, you are great!