-
-
Notifications
You must be signed in to change notification settings - Fork 344
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.7.0 #642
Release 2.7.0 #642
Conversation
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.
I did not review all the changes in case we decide to reduce the list. If not I will continue.
My point of view is:
Implement
keyword should be reserved for actual new features of the library.
The CHANGELOG should help the user to see what's new. If he want a technical history of the repository, he/she can use the GIT history.
Our CHANGELOG and release notes should mention only new features and features changes in the public API (and eventually protected scope).
That should not include in my opinion:
- Code style (if no risk of behavior change)
- Settings changes of tooling (Travis, PHPUnit, Scrutinizer)
- Documentation or any part that are not in the final downloaded package
- Comments (except eventually for PHPDoc of public methods/property/classes)
- Typos (change of wording in descriptions, in --help, options explanation)
The CHANGELOG should mention initial commits rather than merge commit whenever possible to keep the authorship.
Each change should appear only once in the CHANGELOG.
We should add a BC notice, in this release we have minimum > maximum as a break change. Even if it was an obvious mistake, users may have started to use it and will need to correct their settings. A small explanation: "We're aware it's a BC and apologize for the disturbance, we couldn't reasonably upgrade to a major release and had to make a pragmatic choice regarding the renaming of this option."
I agree with @kylekatarnls that the changelog should contain the changes for the user and not the other changes (code style, typos in documentation, ...) Maybe it is also an idea to have some headers between the different parts: Added:
Fixed
|
Thank you for your feedback. I guess I should have explained myself better. Instead of doing what I personally would prefer to do, I went and did what we have done in the past. I'm not sure what we included and what we excluded, so I went through all the commits and tried to include (almost) everything. At least I wanted to add each and every PR that went in.
This is word is auto-generated through the Ant target. Like I said, that's the way it used to be.
I agree on that in principial. For me there are three or four distinct things:
And yes, the change log should not be a 1:1 copy of any of the other two, nor a full combined list.
It should contain a list of things that could be relevant for the maintainers, contributors and/or end developers, whatever it is. And website buildng & documentation changes could be relevant for some of them in some cases. The release notes can be trimmed down to the most relevant and link to the change log. This way the visibility is the greatest for the most important stuff but people can easily learn more.
Well, personally, I wouldn't do that in the future, since we merge through PRs, we can simply link to the related PR(s).
Agreed. If something is mentioned twice, it's just my fault.
Great idea. Thanks for bringing this up. I will include it in the GitHub releae text, as it is most visible there. But we can change the current text of the related text to better show what has changed, too.
See my explanations above.
In the future, I'd like to adopt Keep a Changelog, as previously discussed. |
With that explained, please let's review the changes.xml. |
Two reasons on why I haven't removed all the "unimportant" changes:
By the way in the release notes, I've planned to only mention the most important ones and link to the change log. Interested parties can follow that link. S, please, let's review this and get it flying. |
It is a big list to review, so for me it will take some time. |
Sure, take your time. A day or two more won't hurt after 2 and a half years 馃樇
Nope, it's "hand-made" but the CHANGELOG is generated based on the changes.xml by a Ant target. |
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.
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.
Thank you for your changes, @kylekatarnls
Please, have a look at my comments.
Now, this needs to wait for #643 and then we should include the change entry just below the original bump change. |
- Add reminder for BC breaking change in release intro - Add PHP bump in release intro - Reorder changes to (more or less) reflect their importance (new features first, then improvements & fixes, later dependency & build changes, style & documentation last) - Remove duplicated entries - Improve wording of entries
fa070cb
to
15aecae
Compare
As Manuel doesn't actively maintain it anymore. People shouldn't bother him, they can write us, the team which is now behind PHPMD.
Makes clear it's a CI. Name is without dash, appartently.
Makes clear it's a CI. Name is without dash, appartently.
We are finally ready to release PHPMD 2.7.0! 馃殌
This release contains a lot changes, actually over 250 commits.
The release, which includes new features, improvements & fixes is long overdue.
It really needs to get out of the window.
Nonetheless, it should not be rushed.
I targeted the actual merge of this and the tag & GH release for tomorrow, 29.07.2019.
I kindly ask you to review this thoroughly.
For this, I created a check list:
Please, take note that you cannot simply use the comparison between 2.6.0 and master, as it only shows the 250 newest changes. For the first few commits, you have to use the commit history starting after the last commit for 2.6.0.
Please state which checks you performed in your review.