Releases
v6.0.0
BC breaks
Raised minimum required PHP version to 5.6
deprecated stubbles\input\ValueReader::asSecureString()
, use stubbles\input\ValueReader::asSecret()
instead, will be removed with 7.0.0
deprecated @Request[SecureString]
, use @Request[Secret]
instead, will be removed with 7.0.0
removed stubbles\input\ValueReader::asEnum()
deprecated stubbles\input\ValueReader::ifSatisfiesRegex()
, use stubbles\input\ValueReader::ifMatches()
instead, will be removed with 7.0.0
deprecated stubbles\input\ValueValidator::satisfiesRegex()
, use stubbles\input\ValueValidator::matches()
instead, will be removed with 7.0.0
removed support for @Request[File]
and @Request[Directory]
removed stubbles\input\ValueReader::ifIsFile()
and stubbles\input\ValueReader::ifIsDirectory()
moved stubbles\input\console\ConsoleRequest
to stubbles\console\input\ConsoleRequest
in stubbles/console
moved stubbles\input\console\BaseConsoleRequest
to stubbles\console\input\BaseConsoleRequest
in stubbles/console
Other changes
stubbles\input\ValueReader::asJson()
now allows to specify the allowed maximum length of the JSON input
added proper error message texts for JSON filter errors JSON_INPUT_TOO_BIG
, JSON_INVALID
and JSON_SYNTAX_ERROR
You can’t perform that action at this time.