Skip to content

Releases: violet-php/streaming-json-encoder

Version 1.1.5

09 Dec 15:54
5cc3d50
Compare
Choose a tag to compare
  • Add support for PHP 8.2

Version 1.1.4

02 Jan 22:01
a347f5c
Compare
Choose a tag to compare
  • Improve Github action workflow
  • Fix additional PHP 8.1 deprecations
  • Fix issue with JsonStream::getContents() no returning buffer contents

Version 1.1.3

27 Dec 19:20
Compare
Choose a tag to compare
  • Add support for PHP 8.1

Version 1.1.2

29 Nov 13:20
Compare
Choose a tag to compare
  • HHVM support has been dropped due to HHVM's renewed focus on Hack
  • CI build has been migrated to github actions
  • The CI build now tests for PHP version from 5.6 to 8.0

Version 1.1.1

09 Jul 14:49
Compare
Choose a tag to compare
  • Return UNKNOWN_ERROR as error code if valid error constant is not found
  • Minor improvements to the travis build process
  • Slightly improve the bundled autoloader

Version 1.1.0

28 Jun 16:40
Compare
Choose a tag to compare
  • For json_encode() compatibility, all objects are encoded as JSON objects
    unless they implement Traversable and either return 0 as the first key or
    return no values at all.
  • Testing for associative arrays is now more memory efficient and fails faster.
  • JSON encoding errors now contain the error constant.
  • The visibility for StreamJsonEncoder::write() and BufferJsonEncoder::write()
    has been changed to protected (as was originally intended).
  • A new protected method AbstractJsonEncoder::getValueStack() has been added
    that returns the current unresolved value stack (for special write method
    implementations).
  • An overridable protected method AbstractJsonEncoder::resolveValue() has
    been added which is used to resolve objects (i.e. resolving the value of
    closures and objects implementing JsonSerializable).

Version 1.0.0

26 Feb 19:52
Compare
Choose a tag to compare
  • Initial release