Releases: stubbles/stubbles-values
Releases · stubbles/stubbles-values
11.0.1 - Objectify
11.0.0 - Ocean's?
BC breaks
- raised minimum required PHP version to 8.2
- removed
stubbles\values\Secret::substring(), deprecated since 10.0.0
Other changes
stubbles\values\pattern()->matches()now throws a more specificstubbles\values\PatternMatchFailedinstead of the generic\RuntimeException. However,
the new exception extends\RuntimeException, so no bc break should come from that.
10.0.0 - Ten forward
BC breaks
- raised minimum required PHP version to 8.0
- removed decprecated second parameter of
stubbles\values\ResourceLoader::load(), usestubbles\values\ResourceLoader::loadWith()instead stubbles\values\ResourceLoader::load()now throws astubbles\values\ResourceLoadingFailurewhen loading the resource fails- The following methods of
stubbles\values\Parsewill now throw aTypeErrorwhen they fall back to the default value in case the type of the specified default value doesn't match the expected return type:asInt()asFloat()asList()asMap()asRange()asClass()
- fixed bug with
stubbles\values\Parse::asBool()not returningfalsewhen both value and default are null - deprecated
stubbles\values\Secret::substring(), will be removed with 11.0.0
Other changes
stubbles\values\Secret::create()has been amended with the #[\SensitiveParameter] attribute for its parameter to further prevent possibilities for leaks of secrets- New default backing for
stubbles\values\Secretis ext_sodium
9.2.0 - Only with you
- added
stubbles\values\ResourceLoader::loadWith(), deprecated second parameter ofstubbles\values\ResourceLoader::load(), will be removed with 10.0.0
9.1.2 - Green path
- fixed path issues under Windows with
stubbles\values\Rootpathandstubbles\values\ResourceLoader
9.1.1 - More specific, please
- fixed too wide return type hint of
stubbles\values\Properties::section(), returnsarray<string,string>only
9.1.0 - Hint, hint
- added more phpstan related type hints
9.0.1 - Respect the specs
- fixed
stubbles\values\Parse::toBool()now returnsfalsewhen given value isnullaccording to description
9.0.0 - Ever more strict
- removed
stubbles\values\Secret::BACKING_MCRYPT, deprecated since 8.0.0 - raised minimum required PHP version to 7.3
- fixed various possible bugs due to incorrect type usage
8.1.0 - Strictly no value
- added
stubbles\values\Value::isNull() - added
stubbles\values\Value::isEmpty() - added possibility to enforce strict type check in
stubbles\values\Value::isOneOf() - added possibility to use a different character as separator for list values in
stubbles\values\Parse::toList()andstubbles\values\Parse::asList() - added
stubbles\values\Rootpath::default()