Skip to content

Releases: hjson/hjson-php

v2.3.1

01 May 12:16
97c5cf2

Choose a tag to compare

Fix for PCRE2 10.45 which is used in Ubuntu 25.04 and later.

v2.3.0

20 Apr 15:43
5dccc53

Choose a tag to compare

  • In order to avoid stack overflows now throws an error if input Hjson contains a tree deeper than 10000 levels
  • Fix infinite loop for multiline-string on first Hjson line
  • Now properly escapes many unprintable Unicode code points, for example \uffff

v2.2.2

23 Oct 19:32
c0c76eb

Choose a tag to compare

Fixes issue where the number 0 was being skipped in output when being the only content on a line in a multiline-string.

v2.2.1

14 Sep 11:24
dc722da

Choose a tag to compare

Fixes for deprecation warnings in PHP 8.2.

v2.2.0

27 Dec 18:01
f2c9eb1

Choose a tag to compare

  • Fixes stringify assoc arrays
  • Faster parsing
  • Fixes stringification of falsy non-empty strings (eg. "0")

v2.1.0

18 Feb 23:04
8b25640

Choose a tag to compare

Adds support for single-quoted strings and partial support for utf8 characters.

v2.0.2

24 Jan 22:31
8cb5b59

Choose a tag to compare

Merge pull request #10 from nichtich/master

Support parsing into associative array (#5)

v2.0.1

19 Aug 19:20

Choose a tag to compare

fix err on bad \u char

v2.0.0

08 Aug 19:16

Choose a tag to compare

add stricter check for quoteless strings

v1.0.2

30 Apr 21:01

Choose a tag to compare

fix #4, ml string containing '0'