News for hackers. Stuff that matters.
Re:Git-cliff – Generate changelog files from the Git history by platz on Sunday September 05, 2021 @10:34AM (#28424627)
According to Conventional Commit, what is the correct type and scope to use when upgrading dependencies?
Re:Git-cliff – Generate changelog files from the Git history by jameshart on Sunday September 05, 2021 @10:45AM (#28424703)
I think it depends on the observable effect of the upgrade to a consumer of your component.

Did the dependency upgrade just improve performance? fix a bug? Add a new capability? Remove a backward compatible feature?

Certainly doesn’t automatically follow that if a dependency upgrade adds a feature, that that is a feature addition in your code, because you haven’t changed your code to use the new feature. But it could be - if you upgraded a parser library so it now supports strings longer than 4K, maybe your component now supports strings longer than 4K too and that merits a minor version bump.

It can be a pretty subtle judgement - especially with potentially deep dependency trees like are common in node.

If you’re bumping a dependency because the dependency has bumped one of its dependencies… can be tricky to figure out if there’s actually a noticeable effect.

Re:Git-cliff – Generate changelog files from the Git history by amake on Monday September 06, 2021 @10:15AM (#28433849)
That's "chore" in my company. The scope is usually the component (frontend/backend/etc.).
Re:Git-cliff – Generate changelog files from the Git history by kzrdude on Sunday September 05, 2021 @01:31PM (#28426009)
Is it a "public dependency"? In that case with a breaking change for your crate if it's a breaking change in the dep.
Re:Git-cliff – Generate changelog files from the Git history by kkirsche on Sunday September 05, 2021 @01:47PM (#28426163)
I use build type with scope of the package manager. For example:

build(poetry): update alembic dependency to 1.7.0

Re:Git-cliff – Generate changelog files from the Git history by platz on Sunday September 05, 2021 @02:00PM (#28426267)
according to angular docs build is

build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)

so using build for things that affect /src seems wrong.

Re:Git-cliff – Generate changelog files from the Git history by kkirsche on Wednesday September 08, 2021 @08:16AM (#28455963)
I was with you till the last line. Npm and Poetry are fulfilling the same role of external dependencies, what am I missing here?