Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@ghostwriter ghostwriter released this 09 Feb 19:48
· 38 commits to main since this release
233cb60

Removed

  • Constant Ghostwriter\Json\Interface\JsonInterface::DECODE was removed
  • Constant Ghostwriter\Json\Interface\JsonInterface::DEPTH was removed
  • Constant Ghostwriter\Json\Interface\JsonInterface::EMPTY was removed
  • Constant Ghostwriter\Json\Interface\JsonInterface::ENCODE was removed
  • Constant Ghostwriter\Json\Interface\JsonInterface::IGNORE was removed
  • Constant Ghostwriter\Json\Interface\JsonInterface::PRETTY was removed

Changed

  • The return type of Ghostwriter\Json\Interface\JsonInterface#decode() changed from mixed to array
  • Parameter 1 of Ghostwriter\Json\Interface\JsonInterface#encode() changed name from int $flags = 0 to bool $prettyPrint = false
  • Parameter 1 of Ghostwriter\Json\Interface\JsonInterface#validate() changed name from int $flags = 0 to bool $ignoreInvalidUtf8 = false

Full Changelog: 2.0.0...3.0.0