Skip to content

Commit

Permalink
Prepare 2.1.0 release (#16)
Browse files Browse the repository at this point in the history
* prepare 2.1.0 release

* update readme
  • Loading branch information
MaceWindu authored Jul 12, 2024
1 parent 460469f commit 81786b1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<ItemGroup>
<PackageVersion Include="Seq.Apps" Version="2023.4.0" />
<PackageVersion Include="AdaptiveCards.Templating" Version="2.0.1" />
<PackageVersion Include="AdaptiveCards.Templating" Version="2.0.2" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageVersion Include="PolySharp" Version="1.14.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,17 @@ Seq alerting application for Microsoft Teams with AdaptiveCard support. Based on

To connect application instance to Teams you need to provide Teams Webhook url. You can find required instructions [here](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook?tabs=dotnet).

Alternatively you can setup integration using Workflows feature. It has it's own limitations, but potentially it will be the only way to connect in future based on [this article](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/). Setup is similar to Webhook setup. You need to add `Post to a channel when a webhook request is received` workflow, which will give you webhook URL. You need to put this URL to `Seq.App.Teams.AdaptiveCard` application settings. Note that:

- custom template schema version should be 1.3
- you cannot setup workflow for private channel (or maybe you can but I don't have this sacred knowledge yet)

Because Teams currently doesn't support AdaptiveCard templating, it is done on application side using [AdaptiveCards.Templating](https://www.nuget.org/packages/AdaptiveCards.Templating) library.

### Custom Templates

If you design your custom templates, you should use `AdaptiveCard` schema version 1.3. While Teams itself supports version 1.5, when connected using Power Automate workflow, it cap maximum supported version to 1.3 (wonder what the word `Power` in it's name means in this case).

## Context

Default template source: [default-template.json](https://github.com/MaceWindu/Seq.App.Teams.AdaptiveCard/blob/master/src/Seq.App.Teams.AdaptiveCard/Resources/default-template.json). Used when no template specified.
Expand Down
6 changes: 3 additions & 3 deletions ci/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ variables:
- name: build_configuration
value: Release
- name: assemblyVersion
value: 2.0.0
value: 2.1.0
- name: packageVersion
value: 2.0.0
value: 2.1.0
- name: nugetDevVersion
value: 2.0.1
value: 2.1.1

trigger:
- master
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"version": "1.3",
"msteams": {
"width": "full"
},
Expand Down

0 comments on commit 81786b1

Please sign in to comment.