Skip to content
This repository was archived by the owner on Feb 5, 2018. It is now read-only.

v0.0.16

Compare
Choose a tag to compare
@stevemao stevemao released this 24 Jul 09:09
· 78 commits to master since this release

Bug Fixes

Features

  • fieldPattern: should support string format (ec55256)
  • hash: drop support (ca6fd85)
  • headerParts: headerParts can be anything (a7e23a4), closes #10
  • otherFields: other fields are possible to be included (32c1b41)

BREAKING CHANGES

  • hash is no longer supported. This parser should just parse raw commit messages. Also text fields are appended with a newline "\n".
  • headerParts does not limit to type, scope and subject. They can now be defined in options.headerCorrespondence and the order is the order of capturing group in options.headerPattern. If part is missing in options.headerCorrespondence it is undefined. If part is not captured but is not missing in options.headerCorrespondence it is null.