Skip to content

Releases: eemeli/yaml

v2.6.1

Choose a tag to compare

@eemeli eemeli released this 19 Nov 10:51
  • Do not strip :00 seconds from !!timestamp values (#578, with thanks to @qraynaud)
  • Tighten regexp for JSON !!bool (#587, with thanks to @vra5107)
  • Default to literal block scalar if folded would overflow (#585)

v2.6.0

Choose a tag to compare

@eemeli eemeli released this 13 Oct 10:38
  • 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

Choose a tag to compare

@eemeli eemeli released this 03 Sep 23:14
  • Include range in flow sequence pair maps (#573)

v2.5.0

Choose a tag to compare

@eemeli eemeli released this 24 Jul 10:40
  • 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

Choose a tag to compare

@eemeli eemeli released this 08 Jun 21:45
  • Improve tab handling (#553, yaml-test-suite tests DK95 & Y79Y)

v2.4.4

Choose a tag to compare

@eemeli eemeli released this 08 Jun 16:26

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

Choose a tag to compare

@eemeli eemeli released this 02 Jun 09:10
  • 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

Choose a tag to compare

@eemeli eemeli released this 28 Apr 09:34
  • Restrict YAML 1.1 boolean strings to their explicit capitalization (#530)
  • Add sponsorship by Scipress (#536)

v2.4.1

Choose a tag to compare

@eemeli eemeli released this 06 Mar 11:54
  • 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

Choose a tag to compare

@eemeli eemeli released this 25 Feb 15:36
  • Add a command-line tool (#523)
  • Use the lineWidth option for line breaking in flow collections (#522)