<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ajarcoronet5415-commits</title>
    <description>The latest articles on DEV Community by ajarcoronet5415-commits (@ajarcoronet5415commits).</description>
    <link>https://dev.to/ajarcoronet5415commits</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3947435%2F51bba2d9-ec89-440d-a7ee-6923bd8cca48.png</url>
      <title>DEV Community: ajarcoronet5415-commits</title>
      <link>https://dev.to/ajarcoronet5415commits</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ajarcoronet5415commits"/>
    <language>en</language>
    <item>
      <title>Reviving changelog.py: How I Brought My Zero-Dependency Changelog Generator Back to Life</title>
      <dc:creator>ajarcoronet5415-commits</dc:creator>
      <pubDate>Sat, 23 May 2026 12:55:37 +0000</pubDate>
      <link>https://dev.to/ajarcoronet5415commits/reviving-changelogpy-how-i-brought-my-zero-dependency-changelog-generator-back-to-life-2p4</link>
      <guid>https://dev.to/ajarcoronet5415commits/reviving-changelogpy-how-i-brought-my-zero-dependency-changelog-generator-back-to-life-2p4</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github-2026-05-21"&gt;GitHub Finish-Up-A-Thon Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;changelog.py&lt;/strong&gt; is a zero-dependency Python tool that generates structured CHANGELOG files directly from git history. It uses the standard library only — no external packages, no npm, no virtualenv required.&lt;/p&gt;

&lt;p&gt;I started this project months ago during a late-night session. The idea was simple: every project needs a changelog, but parsing git log output manually is tedious. I wanted something that could take &lt;code&gt;git log --oneline --decorate&lt;/code&gt; and produce a clean, categorized, markdown-formatted CHANGELOG.md.&lt;/p&gt;

&lt;p&gt;The first version was functional but rough. Then the project sat in a drawer for weeks while I moved on to other things.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Revival
&lt;/h2&gt;

&lt;p&gt;For the Finish-Up-A-Thon, I picked changelog.py back up and addressed everything on my "someday" list:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Added release grouping&lt;/strong&gt; — automatically organizes commits by semver tag&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skilled up the output&lt;/strong&gt; — clear sections for Features, Bug Fixes, Breaking Changes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wrote a proper SKILL.md&lt;/strong&gt; — documentation that makes the tool immediately usable&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Added &lt;code&gt;--from-last-tag&lt;/code&gt; flag&lt;/strong&gt; — for CI/CD pipelines that only want the delta&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Created a test harness&lt;/strong&gt; — verifies output against known git repositories&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Packaged for distribution&lt;/strong&gt; — made it pip-installable and created a static build&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;You can find changelog.py at: &lt;strong&gt;&lt;a href="https://github.com/ajarcoronet5415-commits/changelog.py" rel="noopener noreferrer"&gt;https://github.com/ajarcoronet5415-commits/changelog.py&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Basic usage:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;\&lt;/code&gt;`bash&lt;/p&gt;

&lt;h1&gt;
  
  
  Generate changelog for your project
&lt;/h1&gt;

&lt;p&gt;python changelog.py path/to/git/repo --format markdown&lt;/p&gt;

&lt;h1&gt;
  
  
  Generate changelog from last release tag
&lt;/h1&gt;

&lt;p&gt;python changelog.py . --from-last-tag v1.0.0&lt;/p&gt;

&lt;h1&gt;
  
  
  Output as JSON for CI processing
&lt;/h1&gt;

&lt;p&gt;python changelog.py . --format json&lt;br&gt;
`&lt;code&gt;\&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The tool outputs clean, structured changelogs:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;\&lt;/code&gt;`markdown&lt;/p&gt;

&lt;h2&gt;
  
  
  [1.2.0] - 2026-05-20
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🚀 Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Added release grouping by semver tag&lt;/li&gt;
&lt;li&gt;Added --from-last-tag flag for CI/CD&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🐛 Bug Fixes
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Fixed parsing of merge commits&lt;/li&gt;
&lt;li&gt;Fixed encoding issues on Windows&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ⚠️ Breaking Changes
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Renamed output format flags for consistency
`&lt;code&gt;\&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How I Used GitHub Copilot
&lt;/h2&gt;

&lt;p&gt;GitHub Copilot was instrumental in the revival. Specific areas where it saved me hours:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Regex patterns for git log parsing&lt;/strong&gt; — Copilot suggested the correct regex patterns for parsing various git log formats, which I would have had to look up manually&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Edge case handling&lt;/strong&gt; — When I wrote the test harness, Copilot suggested test cases I hadn't considered (empty repos, repos with no tags, annotated vs lightweight tags)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-platform path handling&lt;/strong&gt; — Copilot knew the quirks of os.path vs pathlib and suggested robust Windows/Mac/Linux compatible patterns&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Documentation generation&lt;/strong&gt; — Copilot helped structure the SKILL.md with proper headings and usage examples&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The before/after is night and day: what was a 150-line script with no tests and no docs is now a 500+ line production-ready tool with 90%+ test coverage and comprehensive documentation.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A project doesn't have to be complex to be valuable&lt;/strong&gt;. The simplest tools often solve the most universal problems.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reviving code is harder than writing fresh&lt;/strong&gt; — you have to re-understand past decisions before making new ones.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Documentation is the product&lt;/strong&gt;. A tool without docs is a puzzle, not a solution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Release notes are the UI for your users&lt;/strong&gt;. Good changelogs reduce support burden and build trust.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why This Matters
&lt;/h2&gt;

&lt;p&gt;Every open source project, every SDK, every internal library needs good release notes. changelog.py makes that process automatic. It's the tool I wished existed every time I stared at a blank CHANGELOG.md.&lt;/p&gt;

&lt;p&gt;Final repo: &lt;a href="https://github.com/ajarcoronet5415-commits/changelog.py" rel="noopener noreferrer"&gt;https://github.com/ajarcoronet5415-commits/changelog.py&lt;/a&gt;&lt;br&gt;
Try it: &lt;code&gt;pip install changelog-py&lt;/code&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github-2026-05-21"&gt;GitHub Finish-Up-A-Thon Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
    </item>
  </channel>
</rss>
