Interview Prep/DevOps Fundamentals/Branching, versioning & releases

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:

  1. 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 API or a BREAKING CHANGE: footer → major bump
    • chore:, docs:, ci: → usually not shown to users
  2. 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).
  3. 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.

All DevOps Fundamentals questions

More on Branching, versioning & releases