The addition of Handlebars based templating for my Cross Platform Release Notes Task has certainly made it much easier to release new features. The legacy templating model it seem is what had been holding development back.
In the past month or so I have added support for generating release notes based on PRs and Tests. I am now happy to say I have just added support for the actual files associated with a commit or changeset.
Enriching the commit/changeset data with the details of the files edited has been a repeated request over the years. The basic commit/changeset object only detailed the commit message and the author. With this new release of my task there is now a .changes property on the commit objects that exposes the details of the actual files in the commit/changeset.
This is used in Handlebars based template as follows
# Global list of CS ({{commits.length}})
{{#forEach commits}}
{{#if isFirst}}### Associated commits{{/if}}
* ** ID{{this.id}}**
- **Message:** {{this.message}}
- **Commited by:** {{this.author.displayName}}
- **FileCount:** {{this.changes.length}}
{{#forEach this.changes}}
- **File path (use this for TFVC or TfsGit):** {{this.item.path}}
- **File filename (using this for GitHub):** {{this.filename}}
- **this will show all the properties available for file):** {{json this}}
{{/forEach}}.
{{/forEach}}