All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Laravel framework integration
- Minimal required PHP version now is
7.2
#PR6 - GitHub actions as main CI #PR6
JsonEncodeDecodeException::*
now returnself
insteadstatic
#PR6- Some anonymous functions now static #PR6
- Docker as development environment #PR6
- Dependency
ext-mbstring
#PR6 - Dev-dependency
phpstan/phpstan
with maximal level #PR6 declare(strict_types=1);
into each PHP file #PR6- Type definitions in methods parameters and return values, where it possible #PR6
- Autoload paths in
composer.json
(eg.:src
→src/
) #PR6 - Object iteration method in
Json::emptyArraysToObjects()
now usesget_object_vars()
instead direct #PR6
decode
function annotation
- Encode options (this options can be applied for
Json::encode()
method only):JSON_EMPTY_ARRAYS_TO_OBJECTS
for converting empty arrays[]
into empty objects{}
JSON_PRETTY_PRINT_2_SPACES
for using 2 (instead 4) whitespaces in returned data to format it
- Package Makefile
- Maximal
laravel/laravel
package version now is5.7.*
- Maximal PHP version now is undefined
- CI changed - using now Travis-CI
- Laravel facade renamed from
JsonWrapperFacade
toJson
- Default exceptions codes now equals
JSON_ERROR_*
codes
- First release