How can we highlight breaking changes? #509
-
My understanding of https://keepachangelog.com/en/1.0.0/ is that all This does not seem obvious enough: It would also be important to list the breaking changes first, since they are the most important part of a release for end-users. Given this starting point - https://github.com/dagger/dagger/blob/62ab7216d8b6f01fe3348778aa909b57dc68d420/sdk/python/.changie.yaml - how would you recommend @miniscruff that we went about this? cc @helderco |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Kinds are in sorted order from the config and can be customized via the https://changie.dev/config/#kindconfig-type options. For your particular question I would do something like: kinds:
- label: Breaking Changes
format: '### :fire: **Breaking Changes**'
- label: Added
- label: Deprecated
- label: Fixed
- label: Dependencies Customize as you wish but just remember the order is preserved and you can separate the prompt label from the final output via the format. |
Beta Was this translation helpful? Give feedback.
-
Say I wanted to more strictly adhere to https://common-changelog.org/#244-prefixes that has breaking changes be ordered first within the I currently have something like: - label: Changed
changeFormat: |
- {{if eq .Custom.Breaking "Yes"}}**Breaking:** {{end}}{{.Body}} ([#{{.Custom.PR}}]) ({{.Custom.Author}})
additionalChoices:
- type: enum
key: Breaking
label: Is it a breaking change?
enumOptions:
- Yes
- No Which works pretty good so far. Worst case I have to take an extra 2 seconds to manually re-order them (which would be pretty obvious given the prefix). But having a means for that to happen automatically would be even better 😅. |
Beta Was this translation helpful? Give feedback.
Kinds are in sorted order from the config and can be customized via the https://changie.dev/config/#kindconfig-type options. For your particular question I would do something like:
Customize as you wish but just remember the order is preserved and you can separate the prompt label from the final output via the format.
You can also further customize change format or even adding additional prompts only for that kind, eg if you wanted to link to a CVE or something idk.