Releases: iamchathu/changeset-conventional-commits
Releases · iamchathu/changeset-conventional-commits
v0.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 fromgit
.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
v0.2.3
Patch Changes
- #19
4d742d3
Thanks @iamchathu! - - Setup npm provenance.- Update minor dependencies.
v0.2.2
Patch Changes
- #15
2e103e6
Thanks @jakub-hajduk! - Fixed new line markers in git command causing errors
v0.2.1
Patch Changes
- #13
4849dd6
Thanks @iamchathu! - docs: 📝 update readme
v0.2.0
Minor Changes
- #10
0fa4c0b
Thanks @iamchathu! - feat: ✨ improve the changeset difference calculation
v0.1.1
Patch Changes
- #8
0c38ab6
Thanks @iamchathu! - fix: 🐛 release section missing in changesets
v0.1.0
Minor Changes
-
#6
9f6bf0f
Thanks @iamchathu! - feat: ✨ add case to handle poly repository -
#6
9f6bf0f
Thanks @iamchathu! - feat: ✨ handle duplicate changeset creation
Patch Changes
-
#6
9f6bf0f
Thanks @iamchathu! - revert: ⏪ revert git push tags from ci publish script -
#6
9f6bf0f
Thanks @iamchathu! - docs: 📝 update readme -
#6
9f6bf0f
Thanks @iamchathu! - ci: 👷 update github action to publish tags -
#6
9f6bf0f
Thanks @iamchathu! - docs: 📝 add changesets
v0.0.2
Patch Changes
- #4
96ea044
Thanks @iamchathu! - fix: 🐛 fix issue with sh bang
v0.0.1
Patch Changes
- #2
39c2ac2
Thanks @iamchathu! - Initial release