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

Releases: tunnckoCoreLabs/parse-commit-message

v2.1.1

27 Jul 17:55
Compare
Choose a tag to compare

v2.1.1 (2018-07-27)

🐛 Bug Fixes

v2.1.0...v2.1.1

v2.1.0

27 Jul 17:28
Compare
Choose a tag to compare

v2.1.0 (2018-07-27)

🎉 New Features

  • rewrite to TypeScript, use Pnpm (0dd4cf9)

v2.0.3...v2.1.0

v2.0.3

26 Jul 19:11
Compare
Choose a tag to compare

v2.0.3 (2018-07-26)

🐛 Bug Fixes

v2.0.2...v2.0.3

v2.0.2

25 Jul 05:32
Compare
Choose a tag to compare

v2.0.2 (2018-07-25)

🐛 Bug Fixes

  • deps: update dependency xaxa to v2 (#44) (ed5207d)

v2.0.1...v2.0.2

v2.0.1

25 Jul 03:16
Compare
Choose a tag to compare

v2.0.1 (2018-07-25)

🐛 Bug Fixes

v2.0.0...v2.0.1

v2.0.0

25 Jul 02:22
Compare
Choose a tag to compare

v2.0.0 (2018-07-25)

😱 BREAKING CHANGES ‼️

  • release: refactor and more tests (da4d07a)

type, scope and subject are no more in the returned object, but
in the commit.header; header property is no more a string, but object like {type, scope, subject, toString() }, where toString is a function returning a concationation of type, scope and subject

Example

import { parse, plugins } from 'parse-commit-message';

const msg = `feat: foo bar baz

Some multiline body
Alleluah

So there is some updated things
fixes #34
resolves #225
`;

const commit = parse(msg, plugins);
  // => {
  //   header: {
  //     type: 'feat',
  //     scope: undefined,
  //     subject: 'foo bar baz',
  //     toString: [Function: toString],
  //   },
  //   body: 'Some multiline body\nAlleluah',
  //   footer: 'So there is some updated things\nfixes #34\nresolves #225\n',
  //   increment: 'minor',
  //   isBreaking: false,
  // }

resolves #27

v1.1.2...v2.0.0

v1.1.2

12 Feb 19:08
Compare
Choose a tag to compare

v1.1.2 (2018-02-12)

🐛 Bug Fixes

  • detection: improve breaking change string detection (682fde8)

v1.1.1...v1.1.2

v1.1.1

08 Dec 08:56
8875a54
Compare
Choose a tag to compare

v1.1.1 (2017-12-08)

🐛 Bug Fixes

  • readme: codesponsor.io is shutting down (8875a54)

v1.1.0...v1.1.1

v1.1.0

24 Nov 06:36
Compare
Choose a tag to compare

v1.1.0 (2017-11-24)

🎉 New Features

  • tests: add some basic tests and ensure immutability (89a1fd7)

v1.0.0...v1.1.0

v1.0.0

24 Nov 06:22
Compare
Choose a tag to compare

v1.0.0 (2017-11-24)

😱 BREAKING CHANGES ‼️

  • release: initial github source push (cc12c73)

v0.0.0...v1.0.0