Skip to content

v1.8.0

Compare
Choose a tag to compare
@eemeli eemeli released this 07 Mar 19:57

New Features

  • Add ES module exports + set type in package.json (Fixes #138)
  • Add custom identifiers for core tags
  • Add sortMapEntries option (#44)
  • Use ES modules in browser build (supported by all modern bundlers and other packagers)

Bugfixes

  • Create missing intermediate collections in addIn & setIn (Fixes #131)
  • Account for initial indentation when stringifying values (Fixes #133)
  • Use a Map for prevObjects in createNode (#137)
  • YAML.createNode sets tag in the result, if explicitly given
  • Drop Node 6 tests due to incompatibility with Jest 25 (transpilation remains as Node 6)
  • cst: Minor refactoring to improve legibility, add some comments
  • cst: Drop Node.atCollectionItem as unused since 93a8a44
  • cst: Drop Directive.endOfDirective as unused since 307df17
  • Clean up YAML 1.1 & JSON boolean tag objects
  • Add tests to improve code coverage
  • Update dependencies