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

v0.0.12

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

Bug Fixes

  • error: change error type and wordings (860053b)

Features

  • correspondence: add headerCorrespondence and improve commit parts (7eac8e0), closes #6
  • parser: notes can have more than one paragraph (0923ed5), closes #3
  • references: support other formats of references (29bdfe1), closes #4 #8

BREAKING CHANGES

  • body and footer will be null if they are not found. type and subject are nullable too.
  • closes now becomes references and it is loosely based the links above.
  • The regex for matching notes are loosen. The semicolon and space are optional. The notes object is no longer a key-value object but an array of note object, such as
{
  title: 'BREAKING AMEND',
  text: 'some breaking change'
}

The detection of notes, closes, continueNote and isBody are mutually exclusive.