Skip to content

Releases: simple-as-fuck/php-validator

0.6.3

31 Jul 10:56
Compare
Choose a tag to compare

Full Changelog: 0.6.2...0.6.3

0.5.16

31 Jul 10:51
Compare
Choose a tag to compare

Full Changelog: 0.5.15...0.5.16

0.4.17

31 Jul 10:48
Compare
Choose a tag to compare

Full Changelog: 0.4.16...0.4.17

0.6.2

26 Jul 14:29
Compare
Choose a tag to compare

Full Changelog: 0.6.1...0.6.2

0.6.1

28 Apr 16:34
Compare
Choose a tag to compare

Full Changelog: 0.6.0...0.6.1

0.6.0

17 Mar 18:54
Compare
Choose a tag to compare

Full Changelog: 0.5.15...0.6.0

0.6.0 has many break changes

removed classes

SimpleAsFuck\Validator\Rule\String\InRule

classes with removed methods

SimpleAsFuck\Validator\Rule\ArrayRule\ArrayOfString
SimpleAsFuck\Validator\Rule\ArrayRule\ArrayRule
SimpleAsFuck\Validator\Rule\Object\ObjectRule
Removed deprecated method nullable, now removed method is in parent class and has different usage and interface.

SimpleAsFuck\Validator\Rule\ArrayRule\Collection
Removed deprecated method notNull, now is called method from parent with different behaviors, if you need old functionality use nullable() ?? [].

SimpleAsFuck\Validator\Rule\General\Rules
Removed deprecated method nullable without replacement.

SimpleAsFuck\Validator\Rule\String\StringRule
Removed constructor, now is used from parent.
Removed deprecated method parseNumeric.

non final classes with new method or properties

SimpleAsFuck\Validator\Rule\General\Comparison
SimpleAsFuck\Validator\Rule\General\Max
SimpleAsFuck\Validator\Rule\General\Min
SimpleAsFuck\Validator\Rule\General\Rule
Classes has new protected properties.

SimpleAsFuck\Validator\Rule\General\IntRule
Has new factory method enum for Enum rule.

SimpleAsFuck\Validator\Rule\General\Rule
Has new methods callable, notNull, nullable.

method with removed parameters

SimpleAsFuck\Validator\Rule\ArrayRule\StringTypedKey::string
SimpleAsFuck\Validator\Rule\ArrayRule\TypedKey::string
SimpleAsFuck\Validator\Rule\General\Rules::string
SimpleAsFuck\Validator\Rule\Object\Property::string
SimpleAsFuck\Validator\Rule\String\StringRule::make
Removed deprecated parameter $emptyAsNull, parameter is now in SimpleAsFuck\Validator\Rule\String\StringRule::notEmpty.

SimpleAsFuck\Validator\Rule\Numeric\ParseNumeric::__construct
Removed deprecated parameter $allowNegative.

classes with changed interface

SimpleAsFuck\Validator\Rule\ArrayRule\Collection
Method max return different rule instance with changed method notNull (same way as notNull in Collection class).

SimpleAsFuck\Validator\Rule\Url\Component
SimpleAsFuck\Validator\Rule\Url\Scheme
SimpleAsFuck\Validator\Rule\Url\ParseQuery
Constructor and extends template type was changed.

SimpleAsFuck\Validator\Rule\Url\ParseUrl
Extend template type was changed and method port now return IntRule instead of Component.

SimpleAsFuck\Validator\Rule\ArrayRule\Collection
SimpleAsFuck\Validator\Rule\Custom\CustomRule
SimpleAsFuck\Validator\Rule\DateTime\ParseDateTime
SimpleAsFuck\Validator\Rule\General\Comparison
SimpleAsFuck\Validator\Rule\General\FloatRule
SimpleAsFuck\Validator\Rule\General\ForwardRule
SimpleAsFuck\Validator\Rule\General\InRule
SimpleAsFuck\Validator\Rule\General\IntRule
SimpleAsFuck\Validator\Rule\Numeric\BoolRule
SimpleAsFuck\Validator\Rule\Numeric\Numeric
SimpleAsFuck\Validator\Rule\Object\ClassFromArray
SimpleAsFuck\Validator\Rule\Object\ClassRule
SimpleAsFuck\Validator\Rule\String\NotEmpty
SimpleAsFuck\Validator\Rule\String\ParseBool
SimpleAsFuck\Validator\Rule\String\ParseIp
SimpleAsFuck\Validator\Rule\String\Regex
SimpleAsFuck\Validator\Rule\String\StringRule
SimpleAsFuck\Validator\Rule\Url\Component
SimpleAsFuck\Validator\Rule\Url\UrlRule
Now not extending SimpleAsFuck\Validator\Rule\General\ReadableRule.

0.5.15

10 Mar 14:39
Compare
Choose a tag to compare

Full Changelog: 0.5.14...0.5.15

0.5.14

09 Mar 17:29
Compare
Choose a tag to compare

Full Changelog: 0.5.13...0.5.14

0.5.13

09 Mar 17:10
Compare
Choose a tag to compare

Full Changelog: 0.5.12...0.5.13

0.5.12

02 Jan 17:06
Compare
Choose a tag to compare

Full Changelog: 0.5.11...0.5.12