Skip to content

Releases: iamchathu/changeset-conventional-commits

v0.2.5

20 Mar 18:31
50bf163
Compare
Choose a tag to compare

Patch Changes

  • #27 e526cfb Thanks @mblackrittr! - fix: duplicate generation of changesets (#26)

    The same changesets were generated again, because the duplicate detection failed on trailing line breaks (\n) it got from git.

    Details Imagine this data it holds while duplicate checking:

    const changesets = ...:

    // Data from Commits
    [
      {
        releases: [[Object], [Object]],
        summary: "chore(root): add two test packages\n",
        packagesChanged: [[Object], [Object]],
      },
    ];

    const currentChangesets = ...:

    // Data from Changesets
    [
      {
        releases: [[Object], [Object]],
        summary: "chore(root): add two test packages",
        packagesChanged: [[Object], [Object]],
      },
    ];

    Truncating the linebreak at line 165 of src/utils/index.ts fixed it:

    const compareChangeSet = (a: Changeset, b: Changeset): boolean => {
      // return a.summary === b.summary && JSON.stringify(a.releases) == JSON.stringify(b.releases);
      return (
        a.summary.replace(/\n$/, "") === b.summary &&
        JSON.stringify(a.releases) == JSON.stringify(b.releases)
      );
    };

v0.2.4

30 Jan 17:35
a4d3246
Compare
Choose a tag to compare

Patch Changes

  • #23 9aaa449 Thanks @nerdgore! - fix: read full git commit message

    Fixes an issue where the body of a git
    commit message was ignored.

v0.2.3

07 Jan 21:34
6dd9f3a
Compare
Choose a tag to compare

Patch Changes

v0.2.2

27 Sep 22:35
831a45b
Compare
Choose a tag to compare

Patch Changes

v0.2.1

03 Sep 12:46
3b4627b
Compare
Choose a tag to compare

Patch Changes

v0.2.0

13 Aug 18:26
ba19e15
Compare
Choose a tag to compare

Minor Changes

v0.1.1

13 Aug 14:42
1c885ec
Compare
Choose a tag to compare

Patch Changes

v0.1.0

13 Aug 14:17
cf743c9
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v0.0.2

12 Aug 16:19
b2a98c2
Compare
Choose a tag to compare

Patch Changes

v0.0.1

12 Aug 16:08
78eec2e
Compare
Choose a tag to compare

Patch Changes