Skip to content

v1.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Nov 15:37
· 1 commit to master since this release
ee69a6a
  • Fixed: StringSchema::min(), max(), regex() and regexUnchecked() no longer discard a format set earlier in the chain (Schema::string()->format(Format::Email)->min(3) accepted any string and exported no format). regex() / regexUnchecked() on a schema that already has a format now throw the "mutually exclusive" InvalidArgumentException, as format() after regex() always did. Fixes #38.