-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Changelog file grows too large #15609
Comments
It seems rather straightforward to let I'm interested in opinions whether we should keep the full changelog in tree. For example, that could be a |
I'd propose splitting the changelog per minor versions into a |
Random assortment of ideas I've had:
I personally think terraform's approach is the best. The root changelog file still exists to see changes in the latest version, easy links to older releases, that in tern link to older releases, and so on. I also rather each feature version branch having its own more focused changelog than some non-standard place that is just going to be bloated with files over time. Esp given we keep a This does mean there isn't a "see changes from all releases in one place", but probably be easy enough to render the markdown into the book or something to handle that? |
CHANGELOG.md
has reached a size where GitHub struggles with rendering a preview (e.g. https://github.com/crystal-lang/crystal/blob/changelog/1.16.0/CHANGELOG.md fails with "This blob took too long to generate.").I'm not sure what's the exact threshold for that, but it's clear that such a large file is impractical in many ways. And it's ever only growing, on average ~25 kB (or ~300 loc) on every release.
We've been there before at #12897 (comment). At that time, we cut off all older changes before 1.0 and moved them to
CHANGELOG.0.md
in #12898. But this was only a temporary fix. The currentCHANGELOG.md
has already outgrown the pre-1.0 changelog.I believe it probably makes sense to break out the current changelog, i.e. the changes since the last release. That's the relevant stuff which is actively worked on.
All the changes from older releases are just an archive.
We could consider keeping just a
CHANGELOG.md
with changes since last release in each branch. Every release branch contains its changes from the previous one. You could get the full changelog by concatenating theCHANGELOG.md
files from allrelease/*
branches.I think there's good value in having a compiled version of the entire changelog, though. But I suppose that could be provided out of tree, for example on the website (for example: https://curl.se/changes.html).
The text was updated successfully, but these errors were encountered: