Skip to content

Releases: guide42/plan

Version 0.5

Choose a tag to compare

@jm42 jm42 released this 21 Jun 16:00
  • 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

Choose a tag to compare

@jm42 jm42 released this 16 Feb 08:01
  • 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

Choose a tag to compare

@jm42 jm42 released this 21 Jan 13:48

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

Choose a tag to compare

@jm42 jm42 released this 03 May 00:34
  • Better error messages in assert\file,
  • Add filter\datetime.

Version 0.2.0

Choose a tag to compare

@jm42 jm42 released this 03 Dec 20:34

PHP >= 5.6 compatible release!

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

Version 0.1.3

Choose a tag to compare

@jm42 jm42 released this 08 Nov 19:04
  • Add InvalidList::getMessages.
  • Add assert\file as an alias of dict.

Version 0.1.2

Choose a tag to compare

@jm42 jm42 released this 26 Oct 15:07

Changes:

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

Version 0.1.1-bis

Choose a tag to compare

@jm42 jm42 released this 20 Sep 02:57

Changes:

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

Version 0.1.1

Choose a tag to compare

@jm42 jm42 released this 13 Sep 22:32

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.