Skip to content

7.0.0 - Going forward

Compare
Choose a tag to compare
@mikey179 mikey179 released this 31 Jul 11:14
· 119 commits to main since this release

BC breaks

  • raised minimum required PHP version to 7.0.0
  • introduced scalar type hints and strict type checking
  • renamed stubbles\input\AbstractRequest to stubbles\input\ParamRequest
  • removed methods deprecated in 6.0.0
    • stubbles\input\ValueReader::asSecureString(), use stubbles\input\ValueReader::asSecret() instead
    • stubbles\input\ValueReader::ifSatisfiesRegex(), use stubbles\input\ValueReader::ifMatches() instead
    • stubbles\input\ValueValidator::satisfiesRegex(), use stubbles\input\ValueValidator::matches() instead
  • removed support for @Request[SecureString], use @Request[Secret] instead, was deprecates in 6.0.0
  • stubbles\input\Filter is now an abstract class, not an interface
  • stubbles\input\Filter::apply() now accepts stubbles\values\Value instead of stubbles\input\Param and must return an array

Other changes

  • fixed bug that stubbles\input\ValueReader::asSecret() removed some characters
  • added optional parameter $checkdnsrr for stubbles\input\ValueReader::asExistingHttpUri() to influence which function is used for dns checks