Add support for generating Changelog.md file
See original GitHub issueIt’s great the github releases are automatically generated, but as a user of changelogs I find it more useful to just look at a single Changelog.md
file instead of having to page through (sometimes) numerous pages of github releases to understand all the changes that happened between the version I was at and the latest.
It would be great if release were to also automatically generate and update a Changelog.md file and drop it into the root of the repository.
Edit: I would be happy to implement this if it would be used for the generation of releases in next.js
This is following up a discussion had with @timneutkens in the next.js channel.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
How To Automatically Generate A Helpful Changelog From ...
This article describes some tools that can help to automate the changelog creation based on the Git history. Let's start with some basics....
Read more >A Beginner's Guide to Git — What is a Changelog and How to ...
A "CHANGELOG.md" file in a GitHub repository. A Changelog section on your ... These guidelines help you add some structure to your commits....
Read more >Changelogs: To write or to generate? - Depfu Blog
One is simply creating a file called CHANGELOG.md (analoguous to the infamous README.md) in your project root folder.
Read more >Changelog entries - GitLab Docs
Each list item, or entry, in our CHANGELOG.md file is generated from the subject line of a Git commit. Commits are included when...
Read more >Automatically generate and release a changelog using Node.js
Increases the SemVer version number from 1.0.0 to 1.1. · Creates a CHANGELOG.md file, adding the required content to it · Commits the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Qix- thanks for your detailed response. You bring up some very valid points that I hadn’t considered
This tool isn’t for generating changelogs though. It’s to automate the process of releasing an npm package to the central repository and including the relevant details on the Github release page as a convenience to users.
But realistically, anyone inside of a Git repository looking at a changelog could just run the relevant git command if that’s what they’re after.
Correct, sorry. I meant
git log
- the syntax of the commit range remains the same.I use both commands frequently to do my job as I don’t like to rely on humans to tell me what parts of code have changed. If I care to know exactly what happened between two points in time, I will trust a
git diff
- even a lengthy one - over a changelog any day of the week, personally.So you’re right, I’ve not had an unfortunate experience. But to each their own, I understand Git has a little bit of a learning curve.
Right - but the problem with changelog files themselves is that they are an artifact of information derived from the repository contents. Artifacts are generally considered bad practice to include in a repository for two reasons:
While changelogs aren’t (normally) a risk to include, philosophically they do not belong in the repository as the git log contents are to be considered the source of truth.