Skip to content

Releases: kria/TfsNotificationRelay

TfsNotificationRelay v1.19.0

24 Jul 19:55
v1.19.0
Compare
Choose a tag to compare

New

  • Support for TFS 2017 Update 2.
  • I got tired of creating all (five!) different editions manually, so I added a Cake build script to automate it.
  • With the packaging automated, I took the opportunity to start signing the assemblies. Thanks to DigiCert!

Fixes

  • #56 GitPush with gitRepository filter not working well
  • #57 Messed up commit order
  • #58 PullRequestComment issue on TFS2017.2 (RC)

TfsNotificationRelay v1.18.0

12 Mar 18:32
v1.18.0
Compare
Choose a tag to compare

Fixes

  • #49 PullRequestComment Event does not appear to work with TFS 2017
  • #50 Notification failure because HipChat removed TLS 1.0 support
  • Git commit rows have been showing UTC times since the TFS 2017 migration, back to local time now.

New

TfsNotificationRelay v1.17.0

30 Oct 18:45
v1.17.0
Compare
Choose a tag to compare

Changelog

I'm dropping support for TFS 2015 RTM and 2015 Update 1 in this release.
TfsNotificationRelay.tfs2015-v1.17.0 will only run on TFS 2015.2 and TFS 2015.3
.

Fixes

  • Don't show empty Assigned To fields on work item updates.

New

  • TFS "15" RC 2 support
  • Filtering on text in comments with the new text attribute (affects GitPush, Checkin, WorkItemComment, GitCommitComment, PullRequestComment and ChangesetComment).
    If you for instance don't want the automatic comments when checking in a changeset associated with a work item, you can now add a rule like this:
<rule notify="false" events="WorkItemComment" text="Associated with changeset" />
  • New PolicyViolation event to work with TfsPolicy

slack-notification

TfsNotificationRelay v1.16.0

26 Jun 20:26
Compare
Choose a tag to compare

Changelog

Fixes

  • #44 Word wrapped git commits

New

A new SmtpNotifier to send email notifications.

New for TFS 2015.2+ only

  • Notifications for Git repository rename and delete
    repository-notifications
  • Notifications for the new release management
    screenshot

TfsNotificationRelay v1.15.1

22 May 16:18
Compare
Choose a tag to compare

This bugfix release fixes #42 for TFS 2015. Work item DM notifications via DirectMessageNotifier wouldn't fire.

Looking for TFS 2013 binaries? Get the previous release!

TfsNotificationRelay v1.15.0

22 Feb 02:13
Compare
Choose a tag to compare

Changelog

New

TFS 2015.1 and 2015.2 support.

I have merged the old tfs2015 branch into master. The other active branches are: tfs2013, tfs2015.1 and tfs2015.2.

You can configure the TFS 2015 build output separate from XAML builds using the new setting build2015Format. Because the default build number scheme is different for TFS 2015 builds (doesn't contain build definition).

The user mapping that I added for the Slack direct messaging notifier can now be used with the ordinary notifiers. Useful for instance if you want a channel message in Slack to generate a Slack notification and get someones attention.

image

Example format that uses {mappedUser} to generate a Slack notification.:

build2015Format="Build ({buildReason}) &lt;{buildUrl}|{projectName}/{buildDefinition}-{buildNumber}&gt; triggered by &lt;@{mappedUser}&gt; ({buildDuration})."

Check out notification formatting to see available parameters.

Fixes

  • A missing buildStatuses in the config was treated as None. I changes so it is treated as All. The same goes for events.
  • Comment notifications (TFS 2015) failed if discussionId was missing.

Make sure to pick the correct zip file!

TfsNotificationRelay v1.14.0

18 Oct 06:41
Compare
Choose a tag to compare

Changelog

TFS 2013 and 2015

Check-in messages are now truncated on newline or commentMaxLength. Work item comments are now truncated on discussionCommentMaxLength (new setting - add it to your config if you're updating).

TFS 2015 only

Three new events added for when someone comments on a check-in, git commit or pull request.

  • GitCommitComment
  • PullRequestComment
  • ChangesetComment

The discussion comment feature exists in both TFS 2013 and 2015, but I couldn't find an event for it in TFS 2013.

The discussion notifications need these three new text formats in the config: commitCommentFormat, pullRequestCommentFormat and changesetCommentFormat.

TfsNotificationRelay v1.13.0

23 Aug 19:42
Compare
Choose a tag to compare

Changelog

vNext builds (TFS 2015) will now generate BuildCompleted notifications. To make the event handler pick up this event, the dll:s have to also be copied to TFSJobAgent\Plugins in addition to Web Services\bin\Plugins.

The 2015 zip file no longer contains Newtonsoft and HtmlAgilityPack assemblies. Since TFS 2015 are loading them by default, we don't need to add them to the Plugins directory. This gets rid of the "Detected duplicate loading of assembly HtmlAgilityPack" error message in the event log.

No new features added for TFS 2013.

TfsNotificationRelay v1.12.0

11 Aug 22:45
Compare
Choose a tag to compare

Changelog

New

  • A new notifier that can send DMs to Slack users. Slack API is used (instead of incoming webhook) so a Slack bot user with API token is needed. Mapping between domain users and Slack users also needs to be set up. See config file for an example.
  • Inheritance of bot settings and rules using the new basedOn attribute.
  • Filtering by branch and tag for Git push and pull requests.
  • Customizable formatting of Git branch and tag: branchFormat, tagFormat, refSeparator.

Fixes

  • Ref update rows pointing to old commits are now ordered according to
    commit date.
  • The natural (alphanumerical) order of tags on the same row was messed
    up if both lightweight and annotated tags pointing to the same commit
    was pushed.

Known issues

  • The 2015 release won't work on any of the release candidates, only RTM.

TfsNotificationRelay v1.11.0

07 Jul 22:22
Compare
Choose a tag to compare

Changelog

  • BuildSucceeded and BuildFailed events replaced by BuildCompleted.
  • A new rule filter buildStatuses has been added to filter statuses.
  • WorkItemStateChange and WorkItemAssignmentChange events replaced by
    WorkItemCreated and WorkItemChanged.
  • The new workItemfields rule filter
    controls which field changes generate a work item changed notification.
  • Field transitions now shown in notification for work item changes.
  • Which work item fields to display is now configured in bot settings.
  • New event WorkItemComment for when someone leaves a comment on a work item.
  • New workItemType filter.
  • New areaPath filter for work items.
  • New teamName filter which applies to most events.
  • Fix of change count calculation for Git commits.

If you're upgrading, make sure to update the config file to reflect the event changes and new text strings (workItemFieldTransitionFormat, commentedOn and comment).

Look in the wiki for which filter applies to which event.