# hjson-js History

- v3.2.1
  - fix stringifying with comments
- v3.2.0
  - add `sortProps` option to deterministically sort object properties
- v3.1.1
  - set exit code for cli tool
- v3.1.0
  - add condense mode for stringify
- v3.0.2
  - fix stringify for keys containing single quotes
- v3.0.1
  - add option to turn off legacy support for omitting root braces
- v3.0.0
  - add support for single quoted strings
- v2.4.3
  - fix throw error on string containing newline
- v2.4.2
  - add error hint for incorrect single quotes
- v2.4.1
  - fix tty colors
- v2.4.0
  - new stringify options:
    - quotes for keys and strings (SamVerschueren)
    - comma separator (SamVerschueren)
    - multiline strings output (hmalphettes)
- v2.3.1
  - add comments api (merge/extract)
- v2.3.0
  - improved comment round trip
- v2.2.0
  - stringify will always emit root braces
- v2.1.0
  - add DSF (domain specific formats), experimental
  - refactor, use browserify for output (see bundle)
  - fix emit root braces by default (was off)
- v2.0.8 (not released)
- v2.0.7
  - added stringify color option (CLI)
- v2.0.6
  - show better messages for parsing errors on a root object without braces
  - include error hint when a missing closing } or ] is part of a string
- v2.0.5
  - fix stringify for strings staring with a punctuator char
- v2.0.4
  - move to hjson org
- v2.0.3
  - fix stringify regression
  - add test
- v2.0.2
  - remove obsoletes
- v2.0.1
  - simpler stringify
- v2.0.0
  - add stricter check for {}[],: at the start of a quoteless string
- v1.8.4
  - fix multiline stringify
- v1.8.3
  - fix stringify for key names containing comments/control characters
- v1.8.2
  - better parse for single JSON values
- v1.8.1
  - detect EOF when looking for a key name
- v1.7.6
  - fix trailing whitespace in keyname
- v1.7.4
  - fix trailing space in quoteless strings
  - fix default braces
- v1.7.3
  - fix root check
  - better error messages
- v1.7.2
  - fixed stringify, see hjson/hjson#29
  - optional root braces, see hjson/hjson#28
- v1.6.3
  - added stringify options
- v1.6.1
  - fixed stringify with options===null
- v1.6.0
  - Added `rt` (roundtrip) shortcut.
- v1.5.0
  - Added support for the simplified syntax for keys. Previously only alphanumeric keys were allowed without quotes.
  - Fixed multiline strings: OS/file independent (EOL is always `\n`). Also the last LF is removed.
- v1.4.0
  - Changed the browser interface to match the node api (which didn't change).
  - Fixed parse for leading zeros ("00") and trailing comments.
  - Fixed stringify for /**/ and //
  - Added more test cases.
- v1.3.0
  - Added support for the simplified syntax.
- v1.2.0
  - Added old fashioned /**/ comments.
  - Fixed the missing EOL (cli only).
- v1.1.0
  - add // support
- v1.0.2
  - stringify bug fixes
- v1.0.0
  - Switched to v1 for semver.
  - Adds editing support via the `{ keepWsc: true }` option.
  - Removes stringify(value, replacer, space) replacer support
  - You can still use this syntax but replacer will no longer be called. This was removed in favor of editing support and because replacer provided an incomplete solution.
