Output should now contain much more information including Commit bodies. This increases complexity of the markdown substantially so please report any markdown rendering issues.
Features π
410021a add simpleouput flag
- adds cobra flag which toggles simple mode
b5dda82 build full commit
- updates expected output files to provide an example of simple and full outputs
- adds logic for handling new lines (Markdown requires two empty spaces followed by a newline to correctly create a new line in text)
- adds logic for open by default in the feature section
- adds collapsible sections
Bug fixes π
591e9e5 parse commit body
- commit body was not being parsed by ParseCommitMessage
- simplifies the logic for parsing the commit to use named groups instead of using match indexes like before
Chores and Improvements π§
7eaa6bc use section map for title and emoticons
- like the previous map improvement this one will allow for further mapping of sections to title and icon
- removes old emoticon variables
48efa1b rework release notes to use maps
BREAKING CHANGE: Sections struct has been removed.
- maps are now used instead. This is a pre-requisite for dynamic mappings using a config file.
Other π¦
b6f0e3b use struct for ReleaseNote methods
- to avoid having to pass down settings through many functions
bc017b2 break up release note builder in separate files
- release_notes file was getting too big, this simply break it up
d69f2f3 load expected output from file
- makes the test and expected output to be fully 1 to 1
- makes sure that the user is getting exactly what is advertised