laravel-changelog icon indicating copy to clipboard operation
laravel-changelog copied to clipboard

Add the ability of list allowed changes types

Open pedrommone opened this issue 3 years ago • 5 comments

Add the ability of list allowed changes types

Sometimes we can by mistake pass a wrong type, and it will bugs our changelog. Since we're not committing them and generating on the fly we cannot check those things.

pedrommone avatar Mar 30 '22 23:03 pedrommone

Can you provide an example of which steps I can reproduce the problem, and the desired result? I'm not sure how I want too implement a feature like this right know, some extra context will help me greatly.

An other solution would be to just accept all different changelog types for example.

markwalet avatar Mar 30 '22 23:03 markwalet

Hello @markwalet,

INHO, would be nice to have an config for "allowed changes type", and then we can list stuff like added, changed, fixed. And if someone want to add something else, just use this "types list".

If I try to use something different like fxed, the CLI will throw an error.

pedrommone avatar Mar 31 '22 00:03 pedrommone

I'll think about implementing an optional configuration value for this, I think it can be a great addition for helping teams in creating consistent changelogs.

Not sure if I can make something right now. But I think I can have something ready in a few days.

markwalet avatar Mar 31 '22 00:03 markwalet

It might be nice for each of the options to be displayed on the CLI at the "type" prompt if none is passed during changelog:add as well

anotherZero avatar Apr 13 '22 19:04 anotherZero

Agreed, I think that'd be a great addition.

markwalet avatar Apr 14 '22 09:04 markwalet