Include standards for large changelogs? #529
Replies: 5 comments
-
I like what Terraform does with their changelog. Basically since the |
Beta Was this translation helpful? Give feedback.
-
Oh @b-dean I love that idea, but you need to plan for it from the start by keeping the version number in your notes current. Go back to any of our release tags and the changelog would list the current release as "unreleased". I'm not sure how to switch to it given a existing project. In addition you can't really go back an amend old notes (without branching), but we can get old release notes wrong and have to go back and fix them. |
Beta Was this translation helpful? Give feedback.
-
Maybe add a link to the folder containing older changelogs inside the top level changelog. |
Beta Was this translation helpful? Give feedback.
-
@KeithHenry, I know what you're talking about and I've seen it a lot - where the But it seems pretty common to not do that. I see it in repos at my job all the time as well as open source stuff on github. Probably just oversight. That being said, if you have a tagged revision and the URL has the version number in there, it's not too difficult to interpret what the version is. In the link earlier to the Terraform changelog, I think they're actually linking to a branch for older changelogs. That way they could go update it if they wanted. Seems to me like the best practice would be to have the changelog current with the version being tagged (including the link to the comparison w/ the previous version) before the tag is applied. |
Beta Was this translation helpful? Give feedback.
-
Should these standards also include best practices for long running projects?
For instance, I have large project that's used this for a couple of years, but a weekly release schedule (plus a lot of patches) means
CHANGELOG.md
ends up many thousands of lines long.I want to keep the old release documentation, but only maintain the current releases.
My current solution is a
CHANGELOG
directory, containing0.md
,1.0.md
,1.1.md
etc, with each containing the minor releases (so1.1.md
holds1.1.0
to1.1.*
, and then1.2.0
moves to a new file).This ends up very idiosyncratic, and if there is a standard/best practice way to do this I want to follow it.
Should the standards FAQ sections here include common patterns for very large changelogs?
Beta Was this translation helpful? Give feedback.
All reactions