Skip to content

Releases: eemeli/yaml

v2.6.0

13 Oct 10:38
Compare
Choose a tag to compare
  • Use a proper tag for !!merge << keys (#580)
  • Add stringKeys parse option (#581)
  • Stringify a Document as a Document (#576)
  • Add sponsorship by Manifest

v2.5.1

03 Sep 23:14
Compare
Choose a tag to compare
  • Include range in flow sequence pair maps (#573)

v2.5.0

24 Jul 10:40
Compare
Choose a tag to compare
  • Add --indent option to CLI tool (#559, with thanks to @danielbayley)
  • Require newline in all cases for props on block sequence (#557)
  • Always reset indentation in lexer on ... (#558)
  • Ignore minContentWidth if greater than lineWidth (#562)
  • Drop unused Collection.maxFlowStringSingleLineLength (#522, #421)

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)