Changie utilizes go template for formatting version, kind, change and replacement lines.
Additional fields can be added to change lines by adding custom choices.
Due to the ordering of commands you must add custom choices before
you added any change files in order to use the custom values in your format.
Every change documented for end users fall under a kind.
The default list comes from keep a changelog and includes; added, changed, removed, deprecated, fixed and security.
When creating a new change you must select which of these changes fits your change.
When batching changes into a version, changes are sorted by kind in the order listed, so if you want new features listed on top place them on top of the list.
Template used to generate version headers in version files and changelog.
|Version||string||Semantic version of the changes.|
|Time||time.Time||Time of generated version.|
Template used to generate kind headers for version files and changelog.
|Kind||string||Name of the kind|
Template used to generate change lines in version files and changelog.
Custom values are created through custom choices and can be accessible through the Custom argument.
For example, if you had a custom value named
Issue you can include that in your change using
|Kind||string||What kind of change this is|
|Body||string||Body message of the change|
|Custom||map[string]string||Map of custom values if any exist|