BM: Baca dalam Bahasa Melayu
World 12: Career Quest
Docs and changelogs
You will learn: how to tell users what changed, with a changelog.
The problem
Your notes app got an update. A button moved. Users ask: what changed? Your log only says “wip” and “stuff”.
Watch
Tap the line that names this version and its date.
0 of 1 found
A changelog: A list of the changes in each version, written for people. is a diary for users. Each version lists what was added, changed or fixed. The newest version sits on top.
Try it
A popular style, Keep a Changelog, groups entries under headings. Sort each entry.
Drag a card into a box. Or tap the card, then tap the box.
Hint
New thing? Added. Different thing? Changed. Broken thing that works now? Fixed.Predict
You fix a bug today. The next version ships next week. Where does the note go?
Pick one answer.
Try it
Your CHANGELOG.md is written. Save it in a commit. Start the message with docs:.
- Empty
- 3 save points
- fix again
- stuff
- wip
Hint
Two steps:git add CHANGELOG.md, then git commit -m "docs: add changelog".Check
Good docs grow with the code. Judge each habit.
Swipe right for good, left for needs work. Or use the buttons.
Update the README in the same PR as the feature
You did it!
You can now keep a changelog that users understand.
Go deeper (optional)
Conventional Commits help here. feat: commits often become Added. fix: commits become Fixed. World 6 covers this style. Some tools draft a changelog from your commits. A human should still edit it. Keep a Changelog also has Deprecated, Removed and Security headings.
Bahasa Melayu
Aplikasi nota anda dapat kemas kini. Satu butang berpindah. Pengguna tanya: apa yang berubah? Log anda cuma tulis “wip” dan “stuff”.
Changelog (senarai perubahan) ialah diari untuk pengguna. Setiap versi senaraikan apa yang ditambah, diubah atau dibaiki. Versi terbaru duduk di atas.
Satu gaya yang popular, Keep a Changelog, kumpulkan entri bawah tajuk. Susun setiap entri.
Anda baiki pepijat hari ini. Versi seterusnya keluar minggu depan. Di mana nota itu ditulis?
CHANGELOG.md anda dah siap ditulis. Simpan dalam satu commit (titik simpan). Mulakan mesej dengan docs:.
git add CHANGELOG.md, kemudian git commit -m "docs: add changelog".Dokumentasi yang bagus membesar bersama kod. Nilai setiap tabiat.
Kini anda boleh jaga changelog yang pengguna faham.
You finished this before. Practice is always welcome!
Official docs: Keep a Changelog · About READMEs · About releases · Conventional Commits
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?