Releases: mattermost/mattermost-plugin-msteams
v2.2.0-rc7
v2.2.0-rc6
v2.2.0-rc5
v2.2.0-rc4
v2.2.0-rc3
v2.2.0-rc2
v2.2.0-rc1
v2.1.1
Supported Mattermost Server Versions: 9.8.0+
Enhancements
Fixes
- a51f88a constant comparison of webhook secret (#781)
- 29eff8c Bump github.com/mattermost/mattermost/server/public from 0.1.7 to 0.1.9 (#770)
- 781d826 Bump github.com/microsoftgraph/msgraph-sdk-go from 1.55.0 to 1.59.0 (#774)
- dc6a2d4 Bump github.com/Azure/azure-sdk-for-go/sdk/azidentity (#776)
- ec07489 Bump golang.org/x/oauth2 from 0.24.0 to 0.25.0 (#778)
- c5312c1 Bump github.com/testcontainers/testcontainers-go/modules/postgres (#779)
- 85be2dc Bump github.com/hashicorp/go-plugin from 1.6.2 to 1.6.3 (#780)
- 7d55a3f Apply and enforce file-level license headers (#772)
- 2ceda62 Bump github.com/microsoft/kiota-http-go from 1.4.5 to 1.4.7 (#767)
- 7d92dae Bump golang.org/x/net from 0.31.0 to 0.34.0 (#773)
- 77fec96 Bump golang.org/x/text from 0.20.0 to 0.21.0 (#769)
- 0eb330b Bump github.com/microsoftgraph/msgraph-sdk-go from 1.53.0 to 1.55.0 (#771)
v2.1.0
Supported Mattermost Server Versions: 9.8.0+
Enhancements
- When users connect, chat notifications are enabled by default. (This legacy prompt stemmed from a past experience where users were expected to have various ways to engage with MS Teams.)
- Experimental support for extracting the text from adaptive cards so that chat messages from bots (such as Albert) will also relay into Mattermost
- If a user chooses to
Appear offline
in Teams, notifications will relay to Mattermost as if they are offline. - Improved logging when a notification is delivered in addition to the logging when a notification is skipped.
Fixes
- 4a29bb1 Bump github.com/Azure/azure-sdk-for-go/sdk/azidentity (#758)
- 6a01833 Bump github.com/testcontainers/testcontainers-go/modules/postgres (#762)
- e5a984e Bump golang.org/x/oauth2 from 0.23.0 to 0.24.0 (#763)
- 3010bb4 Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 (#760)
- b6d6ff2 Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.14.0 to 1.16.0 (#757)
- 5171ec9 Bump github.com/hashicorp/go-plugin from 1.6.1 to 1.6.2 (#755)
- 6f405ab Bump github.com/microsoftgraph/msgraph-sdk-go from 1.48.0 to 1.53.0 (#764)
- 8c3b77e Bump golang.org/x/net from 0.29.0 to 0.31.0 (#765)
- 2afc651 Bump golang.org/x/text from 0.18.0 to 0.20.0 (#766)
- 2f74c5c Bump github.com/mattermost/mattermost/server/public from 0.1.6 to 0.1.7 (#752)
- 7e774cb MM-60717: add OffWork to presence detection (#750)
- ee40ced Bump github.com/prometheus/client_golang from 1.20.3 to 1.20.4 (#751)
- c7dd5d0 Bump golang.org/x/net from 0.27.0 to 0.29.0 (#753)
- 81406a1 Initial support for adaptive cards (#749)
- e6b431b MM-60576: enable notifications by default (#748)
- 3bf339a Improved logging (#747)
- bda2b60 upgrade and placate golangci-lint (#746)
- 960e319 Bump github.com/microsoftgraph/msgraph-sdk-go from 1.46.0 to 1.48.0 (#743)
- c7253f4 Bump golang.org/x/text from 0.16.0 to 0.18.0 (#744)
- 921fe2e Bump github.com/microsoft/kiota-http-go from 1.4.3 to 1.4.5 (#745)
- 14fa88f Bump github.com/mattermost/mattermost/server/public from 0.1.4 to 0.1.6 (#723)
- 2435c1e Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.13.0 to 1.14.0 (#739)
- e3af221 Bump golang.org/x/oauth2 from 0.21.0 to 0.23.0 (#741)
- a6451ed Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.3 (#742)
- 15c905d Bump github.com/testcontainers/testcontainers-go/modules/postgres (#731)
- b09957f remove unused LastActivityAt handling (#729)
- bcc84f7 Remove unused code (#728)
- e5679c6 Bump github.com/testcontainers/testcontainers-go/modules/postgres from 0.31.0 to 0.32.0 (#720)
- 809e74a Bump github.com/microsoftgraph/msgraph-sdk-go-core from 1.1.0 to 1.2.0 (#724)
- 5e21fc7 Bump github.com/microsoft/kiota-http-go from 1.4.1 to 1.4.3 (#726)
- 67a0412 Bump github.com/microsoft/kiota-abstractions-go from 1.6.0 to 1.6.1 (#725)
- 7d6f68c Bump github.com/microsoftgraph/msgraph-sdk-go from 1.43.0 to 1.46.0 (#722)
- 334940a Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.12.0 to 1.13.0 (#721)
- 3d1d140 Bump golang.org/x/net from 0.26.0 to 0.27.0 (#719)
v2.0.3
One-way Sync of Chat Notifications
v2 of the Microsoft Teams plugin is a significant change from v1.x. Two-way sync of chats and channels is no longer supported. Instead, the plugin is resetting to match the direction of other Mattermost integrations (like GitHub and Jira), with this major release forwarding chat and group chat notifications from Teams into Mattermost for connected users.
Cleaning up synthetic users
Previous versions of this plugin automatically created synthetic users mapping to Teams users without an account in Mattermost, e.g. @msteams_first_last
. As these users are no longer required, they may be archived by running the following SQL directly against your Mattermost database:
UPDATE Users SET DeleteAt = FLOOR(EXTRACT(EPOCH FROM CURRENT_TIMESTAMP) * 1000) WHERE Username LIKE 'msteams_%' AND DeleteAt = 0
Cleaning up remote clusters
For a period of time, this plugin depended on the shared channels functionality exposed in the core Mattermost product. To clean up any registrations associated with this plugin, run the following SQL directly against your Mattermost database:
DELETE FROM sharedchannelattachments WHERE remoteid = (select remoteid from remoteclusters where pluginid = 'com.mattermost.msteams-sync');
DELETE FROM sharedchannelremotes WHERE remoteid = (select remoteid from remoteclusters where pluginid = 'com.mattermost.msteams-sync');
DELETE FROM sharedchannels WHERE remoteid = (select remoteid from remoteclusters where pluginid = 'com.mattermost.msteams-sync');
DELETE FROM sharedchannelusers WHERE remoteid = (select remoteid from remoteclusters where pluginid = 'com.mattermost.msteams-sync');
DELETE FROM remoteclusters WHERE pluginid = 'com.mattermost.msteams-sync';
Supported Mattermost Server Versions: 9.8.0+
Enhancements
Fixes
What's Changed
- [feat] makefile adding an aprooval step for version bump targets by @phoinixgrr in #702
- Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.11.1 to 1.12.0 by @dependabot in #705
- Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 by @dependabot in #703
- Dramatically reduce usage of mocked plugin tests by @lieut-data in #707
- Bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.5.2 to 1.7.0 by @dependabot in #704
- Bump github.com/mattermost/mattermost/server/public from 0.1.3 to 0.1.4 by @dependabot in #706
- MM-59369: reduce surface area by @lieut-data in #708
- default notifications on by @lieut-data in #713
- explicitly check contentType of reference before downloading files by @lieut-data in #712
- MM-58370: updated notifications gif by @lieut-data in #710
- MM-59369: rework chat subscription logic by @lieut-data in #709
- MM-59466 remove unused migrations by @lieut-data in #711
- Monitor permissions by @lieut-data in #714
- Update README.md by @lieut-data in #715
- Patches for v2 by @lieut-data in #716
- update plugin desc to match docs by @lieut-data in #717
- MM-60005: dont notify if present by @lieut-data in #727
Full Changelog: v1.15.0...v2.0.3