- Change
assert\required
argument$schema
as optional. - Add
assert\optional
. - Add
filter\strval
. - Add
filter\str
functions:nullempty
andstrip
. - Add
Check
interface.
- Rename
assert\dictkeys
toassert\keys
. - Move
filter\template
insideInvalid
. - Remove
filter\template
. - Move
Schema
,Invalid
andMultipleInvalid
to its own files. - Require all structure keys in
assert\dict
by default.
- Require PHP 7.2.
- Use
kahlan
for testing. - Add
validate
andcheck
functions. - Add
assert\datetime
andassert\iterable
. - Add
filter\template
andutil\repr
. - Re-arrange into
library/
directory. - Re-name exception
InvalidList
intoMultipleInvalid
. - Extract
Schema::compile
intocompile
function. - Fix
filter\vars
now returns in order.
- Better error messages in
assert\file
. - Add
filter\datetime
.
- Remove
assert\regexp
. - Now
Invalid
accepts template and parameters. - PHP >=5.6 required.
- Add
InvalidList::getMessages
. - Add
assert\file
as an alias ofassert\dict
.
- Mark
assert\regexp
as deprecated. - Add
filter\intl\alpha
yfilter\intl\alnum
. - Add
assert\dictkeys
.
- Add
assert\match
as wrapper aroundpreg_match
. - Add
filter\intl
namespace. - Add
filter\intl\chars
.
- Fix bug with calling
assert\object
with a non object and ask to be cloned. - Fix
$path
in schemas called byassert\all
. - Parameter extra for
assert\dict
accepts a schema dict.
- Move type validators outside closures.
- New
assert\iif
for simple conditionals. - Finish a basic
assert\object
.
- Add base to
filter\intval
. - Make
filter\boolval
php <5.5 compatible. - Make
Invalid
compatible withException
. - New
filter\sanitize
andfilter\vars
. - Parameter extra for
assert\dict
accept an array.
- Initial release