Skip to content

Releases: eemeli/yaml

v2.4.5

08 Jun 21:45
Compare
Choose a tag to compare
  • Improve tab handling (#553, yaml-test-suite tests DK95 & Y79Y)

v2.4.4

08 Jun 16:26
Compare
Choose a tag to compare

With special thanks to @RedCMD for finding and reporting all of the following:

  • Allow comment after top-level block scalar with explicit indent indicator (#547)
  • Allow tab as indent for line comments before nodes (#548)
  • Do not allow tab before block collection (#549)
  • In flow collections, allow []{} immediately after : with plain key (#550)
  • Require indentation for ? explicit-key contents (#551)
  • Require indentation from block scalar header & flow collections in mapping values (#553)

v2.4.3

02 Jun 09:10
Compare
Choose a tag to compare
  • Improve error when parsing a non-string value (#459)
  • Do not parse -.NaN or +.nan as NaN (#546)
  • Support # within %TAG prefixes with trailing #comments
  • Check for non-node complex keys when stringifying with simpleKeys (#541)

v2.4.2

28 Apr 09:34
Compare
Choose a tag to compare
  • Restrict YAML 1.1 boolean strings to their explicit capitalization (#530)
  • Add sponsorship by Scipress (#536)

v2.4.1

06 Mar 11:54
Compare
Choose a tag to compare
  • cst: Do not drop trailing newline after line comment in block-map if followed by unindented block-seq value (#525)
  • Stringify flow collection comments in parent (#528)
  • Do not skip folding lines after the first in indented block scalars (#529)

v2.4.0

25 Feb 15:36
Compare
Choose a tag to compare
  • Add a command-line tool (#523)
  • Use the lineWidth option for line breaking in flow collections (#522)

v2.3.4

03 Nov 01:43
Compare
Choose a tag to compare
  • Do not throw for carriage return in tag shorthand (#501)

v2.3.3

14 Oct 08:37
Compare
Choose a tag to compare
  • Do not throw error on malformed URI escape in tag (#498)

v2.3.2

28 Aug 15:02
Compare
Choose a tag to compare
  • Fix docs typo (#489)
  • Do not require quotes for implicit keys with flow indicators (#494)
  • Update Prettier to v3 & update ESLint config

v2.3.1

26 May 10:40
Compare
Choose a tag to compare
  • Drop npm from package.json "engines" config (#476)