Skip to content
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

fix: fix load-parser-config #515

Closed
wants to merge 2 commits into from
Closed

fix: fix load-parser-config #515

wants to merge 2 commits into from

Conversation

tkdaj
Copy link

@tkdaj tkdaj commented Aug 28, 2023

It appears that the current code does not work when the value of loadedConfig is an async function.

After updating our project to use version 7 of conventional-changelog-conventionalcommits, semantic-release stopped working due to this bug because the preset results in an async function being assigned to loadedConfig. This patch allows for loadedConfig to also be an async function.

@lukehsiao
Copy link

This might be paired well with #512

@travi
Copy link
Member

travi commented Aug 29, 2023

appreciate the investigation and contribution on this @tkdaj

we arent ready to accept this yet, though, since we will likely drop support for loading the previous major versions of the conventional-changelog presets in favor of the new format, as mentioned in semantic-release/semantic-release#2929. the downside of the decision to take the breaking approach is that we will need to release our change a bit more slowly to work the breaking changes through our dependency hierarchy and through our core package. we will likely at least reference this approach in our solution.

@tkdaj
Copy link
Author

tkdaj commented Aug 29, 2023

No problem. Thank you for all your work on this package!

@travi
Copy link
Member

travi commented Sep 6, 2023

superceded by #519

@travi travi closed this Sep 6, 2023
Copy link

@loginglive loginglive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ramsalm

Copy link

@loginglive loginglive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants