Skip to content

Latest commit

 

History

History
123 lines (77 loc) · 5.94 KB

CHANGELOG.md

File metadata and controls

123 lines (77 loc) · 5.94 KB

changeset-conventional-commits

0.2.5

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)
      );
    };

0.2.4

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.

0.2.3

Patch Changes

0.2.2

Patch Changes

0.2.1

Patch Changes

0.2.0

Minor Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

Patch Changes

0.0.2

Patch Changes

0.0.1

Patch Changes