Skip to content

Releases: guide42/plan

Version 0.5

21 Jun 16:00

Choose a tag to compare

  • Change assert\required argument $schema as optional.
  • Add assert\optional.
  • Add filter\strval.
  • Add filter\str functions: nullempty and strip.
  • Add Check interface.

Version 0.4 // Version Changed

16 Feb 08:01

Choose a tag to compare

  • Rename assert\dictkeys to assert\keys.
  • Move filter\template inside Invalid.
  • Remove filter\template.
  • Move Schema, Invalid and MultipleInvalid to its own files.
  • Require all structure keys in assert\dict by default.

Version 0.3.0

21 Jan 13:48

Choose a tag to compare

PHP >= 7.2 compatible release!

  • Use kahlan for testing.
  • Add validate and check functions.
  • Add assert\datetime and assert\iterable.
  • Add filter\template and util\repr.
  • Re-arrange into library/ directory.
  • Re-name exception InvalidList into MultipleInvalid.
  • Extract Schema::compile into compile function.
  • Fix filter\vars now returns in order.

Version 0.2.1: filter\datetime

03 May 00:34

Choose a tag to compare

  • Better error messages in assert\file,
  • Add filter\datetime.

Version 0.2.0

03 Dec 20:34

Choose a tag to compare

PHP >= 5.6 compatible release!

  • Remove assert\regexp.
  • Now Invalid accepts template and params.
  • PHP >= 5.6 required.

Version 0.1.3

08 Nov 19:04

Choose a tag to compare

  • Add InvalidList::getMessages.
  • Add assert\file as an alias of dict.

Version 0.1.2

26 Oct 15:07

Choose a tag to compare

Changes:

  • Mark assert\regexp as deprecated,
  • Add filter\intl\alpha y filter\intl\alnum,
  • Add assert\dictkeys.

Version 0.1.1-bis

20 Sep 02:57

Choose a tag to compare

Changes:

  • Add assert\match as wrapper around preg_match.
  • Add filter\intl namespace.
  • Add filter\intl\chars.

Version 0.1.1

13 Sep 22:32

Choose a tag to compare

Changes:

  • Fix bug with calling assert\object with a non object and ask to be cloned,
  • Fix $path in schemas called by assert\all,
  • Parameter extra for assert\dict accepts a schema dict.