Releases: karriereat/json-decoder
Releases · karriereat/json-decoder
PHP 8.3 + PHP 8.4
09 Jan 08:14
Compare
Sorry, something went wrong.
No results found
Added
Support for PHP 8.3. and PHP 8.4.
Changed
Code improvements to avoid type errors on runtime
Implicitly nullable parameters to nullable (PHP 8.4 deprecation)
v5.0.0
01 Mar 09:49
Compare
Sorry, something went wrong.
No results found
Added
Support for PHP 8.2.
Support for typed properties (in addition to the annotated properties)
[BREAKING] Type hints and return types
Changed
[BREAKING] Constructor order of Bindings
[BREAKING] Argument order of transform and transferRaw in JsonDecoder
Set dynamic properties only if AllowDynamicProperties attribute is set (on PHP 8.2. and greater)
Linting to pint
Unit tests to pest
Removed
For further information you can also take a look at the UPGRADE.md.
v4.2.0
11 Nov 10:38
Compare
Sorry, something went wrong.
No results found
Added
Support for using array-keys in ArrayBinding (#52 , #55 )
v4.1.1
17 Jan 13:27
Compare
Sorry, something went wrong.
No results found
Fixed
Avoid IDE warnings when passing Closure to CallbackBinding (#47 , #43 )
v4.1.0
02 Nov 06:52
Compare
Sorry, something went wrong.
No results found
v4.0.3
30 Nov 07:02
Compare
Sorry, something went wrong.
No results found
Fixed
Too strict param type in transform method
v4.0.2
15 Oct 12:27
Compare
Sorry, something went wrong.
No results found
Fixed
Another issue where CallbackBinding wasn't handled.
v4.0.1
15 Oct 08:00
Compare
Sorry, something went wrong.
No results found
Fixed
Still handle CallbackBinding when property name doesn't match a JSON fieldname.
v4.0.0
06 Oct 07:30
Compare
Sorry, something went wrong.
No results found
Added
support for magic class properties
auto casing for json field - class properties mapping
PHP CS Fixer for linting and fixing code style
Changed
Removed
v3.1.0
10 Apr 19:07
Compare
Sorry, something went wrong.
No results found
Added
DateTimeBinding for parsing date string