Skip to content

Releases: xp-forge/json

6.0.1: PHP 8.5 deprecation fix

14 Aug 17:03

Choose a tag to compare

  • Fixed deprecation warning Non-canonical cast (double) is deprecated,
    use the (float) cast instead
    in PHP 8.5
    (@thekid)

6.0.0: JSON objects consistency

04 May 11:20

Choose a tag to compare

Heads up: Dropped support for PHP < 7.4, see xp-framework/rfc#343
(@thekid)

  • Merged PR #18: Extend Json::read() and Json::write() to accept
    files and streams
    (@thekid)
  • Made serialization of integer keys consistent with JSON.stringify()
    (@thekid)
  • Merged PR #16: Return {} as empty object instead of empty array
    (@thekid)
  • Added PHP 8.5 to test matrix - @thekid

5.1.0: XP 12 compatibility

24 Mar 11:42

Choose a tag to compare

  • Made compatible with XP 12 - @thekid
  • Added PHP 8.4 to test matrix - @thekid

5.0.4: Nesting level fix

17 Apr 19:38

Choose a tag to compare

  • Fixed an off-by-one in maximum nesting level calculation - @thekid
  • Merged PR #15: Migrate to new testing library - @thekid

5.0.3: WrappedFormat indentation fix

21 Oct 09:14

Choose a tag to compare

  • Merged PR #14: Fix WrappedFormat indentation, fixing #13 - @thekid

5.0.2: PHP 8.2 compatibility fix

26 Feb 10:43

Choose a tag to compare

  • Fixed "Creation of dynamic property" warnings in PHP 8.2 - @thekid

5.0.1: PHP 7.0 / 7.1 fix

21 Oct 18:49

Choose a tag to compare

5.0.0: Drop XP 9, add PHP 8.1, XP 11 compatibility

21 Oct 12:01

Choose a tag to compare

4.1.0: I/O string representations

18 Apr 14:29

Choose a tag to compare

  • Fixed up file-based input and output tests to clean up temporary files
    they create as their fixture
    (@thekid)
  • Made all of text.json.Format, text.json.Input and text.json.Output
    implement lang.Value and provide string representations
    (@thekid)

4.0.1: Iconv warnings fix

26 Dec 23:23

Choose a tag to compare

  • Fixed warnings from iconv library on Un*x systems - @thekid