-
Notifications
You must be signed in to change notification settings - Fork 710
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
conventionalcommits preset broken #512
Comments
This is necessary, as conventionalcommits style is broken. See: conventional-changelog/conventional-changelog#512
Any updates on this ? |
I had to revert my fix, because it broke callback style presets. |
…eset without config object closes conventional-changelog#512
…eset without config object closes conventional-changelog#512
…eset without config object closes conventional-changelog#512
…eset without config object closes conventional-changelog#512
…eset without config object closes #512
@tommywo thanks for the fix. when can we expect a release? |
Is there a past release that I can use in the meantime where the |
@tommywo can we get an update on expected release timing? I'd like to use the conventionalcommits preset with the cli to generate a changelog that has a custom config but I can't find any version where that is working. Hoping this bug fix resolves it. |
@tommywo yes please |
Hi @thomasbottonari, @eshepelyuk, I've just made a release :) |
@tommywo that seems to be working for me. One thing I haven't been able to figure out from reading the docs/code is how to pass the |
@thomasbottonari I've answered you here |
Hi,
I have just installed the latest version of this, and the
conventionalcommits
preset seems to be broken.I did a bit of digging, and it seems to be breaking here:
https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-preset-loader/index.js#L36
But
path
is always a string for me, so the callback-style here:https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-conventionalcommits/index.js
I looked into other presets, and they either take a callback only, or directly return a promise. However, they do not seem to be taking any config or so, so not sure how to fix this, as the config is used in multiple places here.
So basically, these styles seem to be working:
But this is not working:
The text was updated successfully, but these errors were encountered: