Skip to content

v3.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Aug 23:41
· 193 commits to master since this release

3.0.0 (2022-08-08)

Bug Fixes

  • unified and unist missing, breaking ci (6b4dbab)
  • change screenshot link to raw github (9d65364)
  • correct typings + coercition for ast prop (69766fd)

Features

  • major rehaul w. type safety, guards + errors (4dd0dad)

BREAKING CHANGES

    • Root and YAML from types/mdast`
  • isNode from yaml
  • vfile.message instead of pushing to vfile.messages
  • parse YAML once and use toJS()
  • vFile cwd instead of process.cwd()

Guards / Errors for:

  • JSON Schema not found (wrong path)
  • JSON Schema malformed
  • YAML Schema parsing error
  • YAML Frontmatter parsing error (doesn't seems to occur anyway)

Also, splitting functions a bit, adding some explanations and ideas.

Thanks a lot @remcohaszing 👏