What's Changed
- Release/v2.0.8 by @josantonius in #24
PHP 8.0 is no longer supported.
Added
-
Josantonius\Json\Json->pop()
method. -
Josantonius\Json\Json->shift()
method. -
Josantonius\Json\Json->unshift()
method. -
Josantonius\Json\Json->unset()
method. -
Josantonius\Json\Tests\PopMethodTest
class. -
Josantonius\Json\Tests\ShiftMethodTest
class. -
Josantonius\Json\Tests\UnsetMethodTest
class. -
Josantonius\Json\Tests\UnshiftMethodTest
class. -
Josantonius\Json\Exceptions\NoIterableElementException
class. -
Josantonius\Json\Exceptions\NoIterableFileException
class. -
.markdownlint.json
file.
Removed
-
The
filepath
method. Use thefilepath
property instead. -
The option to handle remote files via their URL.
-
Spanish documentation.
-
Josantonius\Json\Tests\FilepathMethodTest
class. -
Josantonius\Json\Exceptions\UnavailableMethodException
class.
Refactored
- The
get
method now supports the$associative
parameter. - The
get
method now returns a mixed value. - The
set
method now supports the$dot
parameter to indicate the array level using dot notation. - The
set
method now returns the resulting content of the JSON file after performing the action. - The
merge
method now supports the$dot
parameter to indicate the array level using dot notation. - The
push
method now supports the$dot
parameter to indicate the array level using dot notation.
Full Changelog: v2.0.7...v2.0.8