-
Notifications
You must be signed in to change notification settings - Fork 140
chore(deps): bump minimum peer dependency bound with semantic-release
#916
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
Conversation
Yea, this I did with 85d0ad0 and 0843ffe but the PR was failing CI with the error below in some unit tests....
...hence I thought to revert.
This looks good YES, but does that will mean we do a "Merge Commit"?? If so, maybe it will be better to just redo this PR in-order to avoid the "Revert" commits showing up in release notes and on master branch commit history (this is assuming we're good to allow the PR fly regardless of the failing unit test in CI) 🤔 What'd you think? |
the good news about this is that the tests were failing for a good reason. they were highlighting that changing the peer dependency was not enough for the new usage of the new logger function to work properly. keep in mind that a peer-dependency definition is only declaring the range that is considered to be compatible with the intended usage. to satisfy the peer-dependency requirement, we also need to actually depend on a compatible version. we take care of that requirement by capturing a dev-dependency on semantic-release for usage in the tests. for that to work in your updated usage and related tests, that dev-dependency declaration also needs to be updated to be compatible with the new peer-dependency update (this would be a
yes. personally, i tend to prefer normal merges most of the time because it allows us to tell more of the story than a single commit does. semantic-release does a great job of communicating the details when it has more commits to work with.
we can worry about this part once we are ready to merge. lets get the changes to the point of everything passing and have the final changes that we want. after that, we can decide what story we want to tell with the steps in the commits. honestly, i dont think it is all that bad to include the reverts, but if we want to clean those up, we can. starting over as a new PR is an option, but git also has great flexibility to modify the history of a branch, so we could choose to take the steps to clean up the story in the existing branch that is tied to this PR. i think there is value in learning those capabilities of git at some point in anyone's learning journey, and i'm happy to help if youre interested as part of this. however, if that sounds too advanced for the goals of this PR, a separate PR to replay the steps that we confirm in the first attempt is totally acceptable as well. |
awesome! great work! might need to do it one more time, though. since we'll be doing a normal merge rather than a squash, we need to make sure that we include the
ah, that makes sense. quick fix for that situation, then. unfortunately, that doesnt add a lot of confidence that the combination of the core update and the usage in this plugin integrate successfully, just because the integration is mocked. do you happen to be aware whether that is exercised by the integration test? this is pretty low risk, and i see no reason to expect it not to work, but knowing that it is executed somewhere without resulting in an error would help some with confidence. |
Yea, will do... gotta be the case since we're merging commits 😉
Yea, it is captured in the integrations test for sure, BUT I'll give this is real-life test for that confidence YES
Yes, I remember that when you said it #910 (comment), But how do we go about it??? |
BREAKING CHANGE: the minimum required version of semantic-release to use @semantic-release/github is now v24.1.0
So, I found a possible Here's what we're doing #920 (comment) |
…rty data type. BREAKING CHANGE: the commit associatedPR and relatedIssues `label` prop is now an array of objects with more properties
…ommentCondition`; updated information on relatedIssue type of issue
Yea, following this BREAKING CHANGE, we still have to do a feature release to trigger this plugin update on core I believe
So, what do you say??? We go get this one merged... and Look towards planning the GHES Support policy, with a check in the verify lifecycle for it, and documenting supported range. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
🎉 This PR is included in version 11.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR Bumps the minimum bound of the
semantic-release
peer dependency in order to allow the plugin to consume the newwarn
function added in semantic-release/semantic-release#3423BREAKING CHANGE: the minimum required version of
semantic-release
to use@semantic-release/github
is now v24.1.0Related Issue
Resolves #902
Fixes #920