And another new feature for my Cross Platform Release Notes Azure DevOps Task - commit/changeset file details

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

 1# Global list of CS ({{commits.length}})
 2{{#forEach commits}}
 3{{#if isFirst}}### Associated commits{{/if}}
 4* ** ID{{this.id}}** 
 5   -  **Message:** {{this.message}}
 6   -  **Commited by:** {{this.author.displayName}} 
 7   -  **FileCount:** {{this.changes.length}} 
 8{{#forEach this.changes}}
 9      -  **File path (use this for TFVC or TfsGit):** {{this.item.path}}  
10      -  **File filename (using this for GitHub):** {{this.filename}}  
11      -  **this will show all the properties available for file):** {{json this}}  
12{{/forEach}}. 
13{{/forEach}}