Tape: Keep a changelog

Created on 20 May 2020  Ā·  8Comments  Ā·  Source: substack/tape

Use case

Version 5.0.0 is a semver major update with breaking changes but I don’t know where to look for those breaking changes. A changelog would be the first place I’d normally look.

https://keepachangelog.com/en/1.0.0/

Workaround

Do a search in the issues for people reporting breaking changes: https://github.com/substack/tape/issues?q=is%3Aissue+breaking

Most helpful comment

It might exist in an alternate universe but in ours, we probably have yet to create it šŸ˜›

All 8 comments

OK, found them: https://github.com/substack/tape/releases/tag/v5.0.0

Not sure if I looked at a different tag previously. Closing since you already have a comparable system in place.

Having breaking changes in a specific markdown file in the repo that we update for every major is beneficial.

The full changelog can stay in git releases.

I like a MIGRATION.md ( https://github.com/optoolco/tonic/blob/master/MIGRATION.md ) where instead of listing breaking changes you document how to migrate and "upgrade/fix" your old code for each breaking change.

I’m very much in favor of a CHANGELOG.md file; i haven’t yet found a tool that can autogenerate this repo’s precious releases, including backports, properly, and the effort to manually create it is prohibitive. In the meantime, GitHub’s ā€œreleasesā€ feature, and specifically, every tag, has release notes for that tag.

For tape, migrating is generally pretty straightforward - that doc would pretty much just contain tips about loose vs strict, and so forth.

Is querying GitHub API for all the releases/tags and using the response to build a HISTORY.md style file prohibitive?

@r0mflip point me to a package that does that, and i'll use it :-)

It might exist in an alternate universe but in ours, we probably have yet to create it šŸ˜›

@ljharb So, I made one https://github.com/r0mflip/logtag

@customcommander that doesn’t help for a number of reasons; automatic releasing is dangerous and I’ll never permit that; and the commit convention messages aren’t customizable and i find the term ā€œchoreā€ to be toxic.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dcousens picture dcousens  Ā·  8Comments

vasiliicuhar picture vasiliicuhar  Ā·  7Comments

kl0tl picture kl0tl  Ā·  7Comments

jimkang picture jimkang  Ā·  3Comments

cagross picture cagross  Ā·  5Comments