Releases: wrk-flow/php-get-typed-value
v0.8.4
v0.8.3
v0.8.2
v0.8.1
🚀 getFloat: Add support for float values using comma
Full Changelog: v0.8.0...v0.8.1
v0.8.0
⛑ In default strategy ensure that empty string
values are converted to null in all value types.
🚀 Improve validation exception text with value description: (null)
, (array with count X)
, (empty string)
, string value with maximum of 30 characters.
Breaking changes (small chance):
TransformerStrategy
renamed toTransformerStrategyContract
- Empty string values are automatically converted to null.
Full Changelog: v0.7.1...v0.8.0
v0.7.1
v0.7.0
🚀 Add value to ValidationException message.
Breaking change
ExceptionBuilderContract
has new function signature.
public function validationFailed(string $key, string $ruleClassName): Exception
to
public function validationFailed(string $key, string $ruleClassName, ?string $value): Exception
Full Changelog: v0.6.4...v0.7.0
v0.6.4
⛑ Fix enum rule with int enum but value in string (xml)
Full Changelog: v0.6.3...v0.6.4
v0.6.3
🚀 Add GetValueFactory for dependency injection usages
Full Changelog: v0.6.2...v0.6.3
v0.6.2
🚀 Add getRequiredObject
variant
Full Changelog: v0.6.1...v0.6.2