-
Notifications
You must be signed in to change notification settings - Fork 43
Doesn't list commits inside a changelog due to version mismatches #207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just realized that perhaps I don't have the full story here because the |
Is that a patch for I'm keen to get the core updated - but it needs a migration to ESM, so it's not a small amount of work. |
The highlighted code is from conventional-changelog-writer 6.0.1, to be specific. |
I have the same issue with commit-and-tag-version v12.5.0 on node 23. |
Thanks. I'm going to look at the ESM conversion later this month, which should allow us to update all the dependencies. |
Describe the bug
[email protected]
creates a CPS-styletransform
function (never returns, callscb(null, commit)
)[email protected]
tries to use it in a non-CPS style (commit = transform(commit, context)
, resulting incommit
being null)commits
is given to the CHANGELOG.md generator, and that returnswithout any commits listed.
Current behavior
No commits are listed in the generated CHANGELOG.md
Expected behavior
Commits are listed in the generated CHANGELOG.md
Environment
commit-and-tag-version
version(s):12.5.0
Possible Solution
Hopefully updating
conventional-changelog
to something new-ish (currently used version is4.0.0
while the newest version seems to be6.0.0
according to npmjs.com) would help? I haven't tried this.Looking at the current
master
version ofconventional-changelog
:core
still uses CPS in mergeConfigwriter
has been substantially rewritten and the closest code seems to be here, though it looks like it has the same bug. Maybe I'm missing some promisification happening elsewhere.Additional context
I'm using
commit-and-tag-version
from within[email protected]
. It listsas a dependency automatically for all TS projects.
The text was updated successfully, but these errors were encountered: