Skip to content

Releases: wrk-flow/php-get-typed-value

v0.8.4

27 Mar 12:57
1606edb
Compare
Choose a tag to compare

👮‍♀️ Pass full key in ArrayItem/ArrayItemGetterTransformer

BREAKING CHANGE: if you used $key (low chance) then now you will get full key including the looped item key

v0.8.3

12 Oct 11:26
1457180
Compare
Choose a tag to compare

🎉 Laravel: GetValueFactory->command() wraps command arguments / options for type safe access. docs
🎉 Laravel: You can extend GetValueFactoryCommand that wraps command arguments / options in GetValue $inputData property you can access within your command. docs

v0.8.2

25 Jul 12:32
0597fd5
Compare
Choose a tag to compare

⛑️ Add support for accessing arrays by numeric index in XML
🚀 Add support for accessing XML childrens using namespace prefix

v0.8.1

11 Oct 10:56
c762949
Compare
Choose a tag to compare

🚀 getFloat: Add support for float values using comma

Full Changelog: v0.8.0...v0.8.1

v0.8.0

23 Sep 10:29
34d67ca
Compare
Choose a tag to compare

⛑ 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 to TransformerStrategyContract
  • Empty string values are automatically converted to null.

Full Changelog: v0.7.1...v0.8.0

v0.7.1

22 Sep 11:40
8ae6b2d
Compare
Choose a tag to compare

🚀 Add ability to automatically build GetValue instance within FormRequest instance. Docs

Full Changelog: v0.7.0...v0.7.1

v0.7.0

12 Sep 14:12
0a55171
Compare
Choose a tag to compare

🚀 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

23 Aug 13:21
f735e12
Compare
Choose a tag to compare

⛑ Fix enum rule with int enum but value in string (xml)

Full Changelog: v0.6.3...v0.6.4

v0.6.3

19 Aug 10:51
acf9411
Compare
Choose a tag to compare

🚀 Add GetValueFactory for dependency injection usages

Full Changelog: v0.6.2...v0.6.3

v0.6.2

18 Aug 17:43
6b05299
Compare
Choose a tag to compare

🚀 Add getRequiredObject variant

Full Changelog: v0.6.1...v0.6.2