Skip to content

Releases: mattermost/mattermost-plugin-msteams

v2.1.0

03 Dec 20:38
v2.1.0
4a29bb1
Compare
Choose a tag to compare

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

07 Aug 19:37
v2.0.3
73adb40
Compare
Choose a tag to compare

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

Full Changelog: v1.15.0...v2.0.3

v2.0.2

31 Jul 17:13
v2.0.2
7bed450
Compare
Choose a tag to compare
v2.0.2 Pre-release
Pre-release

Supported Mattermost Server Versions: 9.8.0+

Fixes

What's Changed

Full Changelog: v1.15.0...v2.0.2

v2.0.1

31 Jul 13:54
v2.0.1
f079753
Compare
Choose a tag to compare
v2.0.1 Pre-release
Pre-release

Supported Mattermost Server Versions: 9.8.0+

Enhancements

Fixes

What's Changed

Full Changelog: v1.15.0...v2.0.1

v2.0.0

19 Jul 15:12
v2.0.0
3908fde
Compare
Choose a tag to compare
v2.0.0 Pre-release
Pre-release

Supported Mattermost Server Versions: 9.8.0+

Enhancements

Fixes

  • 3908fde Monitor permissions (#714)
  • 838e99d MM-59466 remove unused migrations (#711)
  • 4585e70 MM-59369: rework chat subscription logic (#709)
  • 75d63d2 MM-58370: updated notifications gif (#710)
  • 745e903 explicitly check contentType of reference before downloading files (#712)
  • f209e7e default notifications on (#713)
  • cb17aca MM-59369: reduce surface area (#708)
  • b5809c8 Bump github.com/mattermost/mattermost/server/public from 0.1.3 to 0.1.4 (#706)
  • d5d366b Bump github.com/Azure/azure-sdk-for-go/sdk/azidentity (#704)
  • c8403bd Dramatically reduce usage of mocked plugin tests (#707)
  • 6ccbb2c Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 (#703)
  • eff3943 Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.11.1 to 1.12.0 (#705)
  • 80c3625 [feat] makefile adding an aprooval step for version bump targets (#702)

v1.15.0

19 Jun 18:29
v1.15.0
0924146
Compare
Choose a tag to compare

Supported Mattermost Server Versions: 9.8.0+

Enhancements

Fixes

  • 0924146 support file attachments for chat notifications (#700)
  • 2be1d02 MM-58485: fix duplicate at-mentions (#694)
  • ab3dcce MM-58702: don't assume JSON endpoint (#699)
  • 8456562 MM-58438: simplify settings (#688)
  • e7a679b Fixing the bot account (#678)
  • 01fef05 updated language after text review (#693)
  • 51dc236 MM-58580: show message on welcome bot dismiss (#692)
  • fcdd376 MM-58483: handle empty notification messages better (#690)
  • 21c2d02 MM-58480: set user_user_icon with from_webhook (#691)
  • fa09a8d Bump github.com/jmoiron/sqlx from 1.3.5 to 1.4.0 (#681)
  • 91b0146 Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 (#683)
  • 098fb47 Bump golang.org/x/net from 0.25.0 to 0.26.0 (#696)
  • 1db44f2 Bump github.com/hashicorp/go-plugin from 1.6.0 to 1.6.1 (#682)
  • e05f921 Bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 (#686)
  • 4d57228 Bump github.com/JohannesKaufmann/html-to-markdown from 1.5.0 to 1.6.0 (#687)
  • 915e6b1 Cld 7786 makefile semver bump allow release (#695)
  • 87022c4 [feat] Implementing new release process (#689)
  • a597595 MM-58438: simplify restrictive sync (#679)
  • 8187053 require v9.8.0 for the plugin (#671)
  • d674879 Integrate morph into the plugin (#619)

v1.14.0

29 May 14:58
1c8ec95
Compare
Choose a tag to compare

Supported Mattermost Server Versions: 7.8.10+

Enhancements

Fixes

  • 1c8ec95 MM-58437: support notifications alongside channel sync (#674)
  • 25789dd MM-56924: Connection invite metrics (#675)
  • 76deab4 MM-58287: track notification metrics (#677)
  • 1770a7e rm -fr Teams Primary preference (#673)
  • 7a7eebc MM-58436: Notifications review feedback (#672)
  • 602262a Remove FOR UPDATE from read-only transactions (#676)
  • 01d4de7 [MM-58371] autoclose connection confirmation window (#669)
  • 0b4160f [MM-58374] Turn off notification preference on disconnect (#670)
  • f62ca7b [MM-58308] Add number of attachments (#666)
  • 31c69f9 Bump github.com/microsoft/kiota-http-go from 1.3.1 to 1.4.1 (#662)
  • 6cfdd81 MM-58344: style notifications (#667)
  • 35c0bc2 --- (#661)
  • 58577dc update testcontainers (#668)
  • c6fc5a0 Bump golang.org/x/oauth2 from 0.18.0 to 0.20.0 (#649)
  • bf0ddb3 [MM-58298] Add notification welcome message (#659)
  • 976fc9c Bump github.com/Azure/azure-sdk-for-go/sdk/azidentity (#633)
  • 2478719 Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.10.0 to 1.11.1 (#597)
  • 0c7d075 [MM-58300 + MM-58346] honour user pref + update their last messaged received at (#660)
  • 11bffb1 Bump github.com/microsoft/kiota-abstractions-go from 1.5.6 to 1.6.0 (#573)
  • 9846fb8 Rewrite message hooks tests part2 (#658)
  • bccb4d3 Sync remote config (#652)
  • 3533149 [MM-58290] Add UI to select notification preference. (#657)
  • 0c1d5d0 MM-57853: Whitelist Restricted (simplified) (#631)
  • fd8798e Collapse handlers into root (#655)
  • 766cd1c Prototype chat notifications (#654)
  • c3ed607 Removed broken links (#653)
  • ae3640f Fix possible race condition that can lead to duplicated messages (#627)
  • 1292481 MM-58134- Disconnect should not be ephemeral message (#648)
  • f7ffaf2 [MM-57702] Add RequestIDs+TS in msgraph client errors (#625)
  • 5b79c70 Rewrite message hooks tests: reactions (#646)
  • 2fce008 [MM-58155] Separate DM/GM option (#643)
  • 023c359 Rewrite API tests (#628)
  • 5d70bfe Adds the transactional store generator (#639)
  • 606df0c MM-58052 - Only sync if a user in the chat is remote (#637)
  • 78af6f1 [MM-57351] Add weekly users sending/receiving site stats (#640)
  • c480782 Migrate setup/config/usage to Product Docs (#645)
  • 51bc3d8 MM-57535 Don't automute guests nor bots (#629)
  • d8fe327 (typo) botUsertID => botUserID (#644)
  • 6990b7a (chore) Rename plugin's userID to botUsertID (#642)
  • 6dd856b [MM-57197] Weekly active users (#626)
  • 1f0d8bf Add DB replica support (#602)
  • d862e98 Track status_code as part of the MSGraphClient method duration (#601)
  • 133e66b add namespace (#632)

v1.13.0

01 May 14:13
b6d03f6
Compare
Choose a tag to compare
v1.13.0 Pre-release
Pre-release

Supported Mattermost Server Versions: 7.8.10+

Enhancements

Fixes

  • b6d03f6 Add selective sync e2e testing from msteams to mattermost (#587)
  • 887b732 MM-57975 - only display message if user is connected (#624)
  • 99641b4 [MM-57918] Add Metrics for Primary Platform (#616)
  • 80735ce rewrite automute tests (#623)
  • 1600d54 MM-56681 Use existing file Id if already uploaded (#518)
  • 187b07f [MM-57821] Reduce number of calls to GetUser in syncUsers (#620)
  • 3912d6d MM-57508: add /msteams status (#584)
  • 4526af4 Hide connect message, hide attachment message on update (#621)
  • fe6dc26 update invite message (#614)
  • ad14ade Fix whitelist upload batching (#612)
  • 9c70367 Send invite message as bot message, not ephemeral (#607)
  • 0253e60 Use current_schema instead of public when checking for table existence (#606)
  • a96acd1 MM-57906 Update platform preference when disconnecting (#603)
  • ee8c609 set user to bot, time to now (#604)

v1.12.3

23 Apr 19:35
bc1cf13
Compare
Choose a tag to compare

Supported Mattermost Server Versions: 7.8.10+

Enhancements

Fixes

  • bc1cf13 Hide connect message, hide attachment message on update (#621) (#622)

What's Changed

Full Changelog: v1.11.1...v1.12.3

v1.12.2

22 Apr 15:35
8795b55
Compare
Choose a tag to compare

Supported Mattermost Server Versions: 7.8.10+

Enhancements

Fixes

What's Changed

Full Changelog: v1.11.1...v1.12.2