What is a changelog, and how can it be automated?
BeginnerConceptBranching, versioning & releases
Answer
In one line: A changelog is a list of notable changes in each version of a project — new features, fixes, breaking changes — and it can be generated automatically from well-structured commit messages.
A typical changelog entry:
## [2.5.0] - 2026-11-20
### Added
- Wishlist feature for logged-in users.
### Fixed
- Cart total wrong when a coupon is removed.
### Changed
- Upgraded base image to node:20-alpine.
Why changelogs matter:
- Users and other teams know what changed and whether upgrading is safe.
- Support and QA know what to test and what might cause new issues.
- During incidents, you can quickly see what changed in the last release.
Automating it:
- Conventional Commits — write commit messages in a standard format:
feat: add wishlist→ new feature (minor version bump)fix: correct cart total→ bug fix (patch bump)feat!: remove v1 APIor aBREAKING CHANGE:footer → major bumpchore:,docs:,ci:→ usually not shown to users
- Tools read these commits and create the version, changelog and release:
- semantic-release, release-please (Google), standard-version / commit-and-tag-version, GitHub's auto-generated release notes (based on PR titles and labels).
- Enforce the format — use commitlint in CI or a PR title check.
Example flow: PRs are squash-merged with Conventional Commit titles → release-please opens a "Release 2.5.0" PR with the updated CHANGELOG.md → merging it creates the tag v2.5.0 and a GitHub Release → the tag triggers the build and deploy pipeline.
Tip for interviews: mention Conventional Commits and one tool you've used; it shows you think about release automation end to end.
More on Branching, versioning & releases
What is a branching strategy, and why does it matter?BeginnerWhat is trunk-based development?BeginnerWhat is GitFlow, and when would you use it?BeginnerWhat is semantic versioning?BeginnerWhat is a Git tag, and how are tags used in releases?BeginnerWhat is a pull request, and what makes a good code review?Beginner