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\PopMethodTestclass. -
Josantonius\Json\Tests\ShiftMethodTestclass. -
Josantonius\Json\Tests\UnsetMethodTestclass. -
Josantonius\Json\Tests\UnshiftMethodTestclass. -
Josantonius\Json\Exceptions\NoIterableElementExceptionclass. -
Josantonius\Json\Exceptions\NoIterableFileExceptionclass. -
.markdownlint.jsonfile.
Removed
-
The
filepathmethod. Use thefilepathproperty instead. -
The option to handle remote files via their URL.
-
Spanish documentation.
-
Josantonius\Json\Tests\FilepathMethodTestclass. -
Josantonius\Json\Exceptions\UnavailableMethodExceptionclass.
Refactored
- The
getmethod now supports the$associativeparameter. - The
getmethod now returns a mixed value. - The
setmethod now supports the$dotparameter to indicate the array level using dot notation. - The
setmethod now returns the resulting content of the JSON file after performing the action. - The
mergemethod now supports the$dotparameter to indicate the array level using dot notation. - The
pushmethod now supports the$dotparameter to indicate the array level using dot notation.
Full Changelog: v2.0.7...v2.0.8