Skip to content

feat: upgrade dependency versions #63

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

Merged
merged 1 commit into from
Aug 10, 2022
Merged

Conversation

notrev
Copy link

@notrev notrev commented Jul 7, 2022

Upgrade dependency versions to fix security issues and adjust code to reflect changes

commitizen has been replaced by @ryansonshine/commitizen because the latest version published in NPM has critical security issues and it appears that the developers can't publish new versions to NPM. @ryansonshine/commitizen has fixed the critical issues and published a newer version in NPM. Read this comment for more information.

Upgrade dependency versions to fix security issues and adjust code to reflect
changes
@juliuscc
Copy link
Collaborator

juliuscc commented Jul 13, 2022

This looks good to me! 😁

I only have one small question and that is: Is this commit breaking? Would it still work if I just updated this library or is it necessary to change to @ryansonshine/commitizen?

If so it's important that the commit message includes a migration guide, and a [BREAKING]-footer. Otherwise, you can just merge.

Regardless, I approve 👍 😁

@notrev
Copy link
Author

notrev commented Jul 14, 2022

@juliuscc, who can I ping to get this PR merged?

@juliuscc
Copy link
Collaborator

I thought there was someone at DR who had merge-access @notrev. I am out of town over the weekend but can merge on Tuesday if no one has merged before that.

@juliuscc
Copy link
Collaborator

juliuscc commented Jul 19, 2022

I can merge it now. I just want to know if it's a breaking change. Then I will keep the PR message but add BREAKING CHANGE: before the last paragraph. Like this:

feat: upgrade dependency versions #63

Upgrade dependency versions to fix security issues and adjust code to reflect changes

BREAKING CHANGE: `commitizen` has been replaced by `@ryansonshine/commitizen` because the latest version published in NPM has critical security issues and it appears that the developers can't publish new versions to NPM. You will have to replace 'commitizen' with `@ryansonshine/commitizen` in your workflow to upgrade `@digitalroute/cz conventional-changelog-for-jira`. `@ryansonshine/commitizen` has fixed the critical issues and published a newer version in NPM. Read https://github.com/commitizen/cz-cli/issues/914#issuecomment-1131383383 for more information.

@notrev
Copy link
Author

notrev commented Aug 10, 2022

@juliuscc, codewise, there does not seem to be any breaking changes. When checking the commits in @ryansonshine/commitizen, they are mostly for C.D/C.I, documentation and dependency updates. There are no new features.

But, this is a dependency replacement. I don't know if we should consider this a breaking change.

If we consider code changes, this is not a breaking change. If we consider dependency replacement, it could be a breaking change.

@juliuscc
Copy link
Collaborator

I define a breaking change as anything that requires extra actions above doing npm install --save-dev @digitalroute/cz-conventional-changelog-for-jira@latest. Will this adapter still work with the regular version of commitizen or does the users have to update to @ryansonshine/commitizen?

@notrev
Copy link
Author

notrev commented Aug 10, 2022

It still works with the regular version. The dependency was replaced only to solve a critical security issue, as described in this PR description.

@juliuscc
Copy link
Collaborator

Perfect then it seems non-breaking to me 👍 Let's merge it

@juliuscc juliuscc merged commit 4421466 into digitalroute:master Aug 10, 2022
@juliuscc
Copy link
Collaborator

The new version of semantic-release requires a higher version of Node than we run in our GitHub actions. So the action failed and the package was not released.

Could you submit a PR that updates the Node version that we use in the GitHub action? @notrev

@github-actions
Copy link

🎉 This PR is included in version 7.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants