Releases: mattermost/mattermost-plugin-msteams
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
v2.0.2
Supported Mattermost Server Versions: 9.8.0+
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
Full Changelog: v1.15.0...v2.0.2
v2.0.1
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
Full Changelog: v1.15.0...v2.0.1
v2.0.0
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
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
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
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
Supported Mattermost Server Versions: 7.8.10+
Enhancements
Fixes
What's Changed
- update dashboards by @lieut-data in #585
- Add initial E2E tests on msteams change events by @jespino in #533
- [MM-57568] Synthetic user created from DM/GM have wrong RemoteID by @JulienTant in #582
- MM-57506: use old CSS syntax by @lieut-data in #568
- [MM-56982] UNIQUE index on msteamsuserid by @JulienTant in #564
- MM-57373 Fix connecting bot user by @sbishel in #572
- [MM-56907] Log warn if updating the user fails when running the promote command by @JulienTant in #562
- MM-5701: reenable reattached plugin tests by @lieut-data in #563
- Set EmailVerified to true for all remote users during migration by @JulienTant in #594
- Adding more tests to the selective sync by @jespino in #551
- Fix linter warnings for unused params by @wiggin77 in #592
- Fix username dedup for synthetic users by @JulienTant in #553
- MM-57563 - update method to allow self posts to sync, only if connected by @sbishel in #583
- MM-57565 - Set root id if it exists on attachment sync warning by @sbishel in #600
- Avoid crash if configuration is nil by @enahum in #538
- MM-57376, MM-57374, MM-57368: Connection Invites—whitelist and refinements by @calebroseland in #599
- MM-57507 Improve OAuth Flow by @sbishel in #593
- CP-604 set user to bot, time to now (#604) by @sbishel in #608
- Send invite message as bot message, not ephemeral (#607) by @sbishel in #610
- CP-603 MM-57906 Update platform preference when disconnecting (#603) by @sbishel in #609
- CP 612 Fix whitelist upload batching by @calebroseland in #615
- CP 614 MM-57955 Updates invite message by @calebroseland in #617
- Hide connect message, hide attachment message on update (#621) by @sbishel in #622
Full Changelog: v1.11.1...v1.12.3
v1.12.2
Supported Mattermost Server Versions: 7.8.10+
Enhancements
Fixes
What's Changed
- update dashboards by @lieut-data in #585
- Add initial E2E tests on msteams change events by @jespino in #533
- [MM-57568] Synthetic user created from DM/GM have wrong RemoteID by @JulienTant in #582
- MM-57506: use old CSS syntax by @lieut-data in #568
- [MM-56982] UNIQUE index on msteamsuserid by @JulienTant in #564
- MM-57373 Fix connecting bot user by @sbishel in #572
- [MM-56907] Log warn if updating the user fails when running the promote command by @JulienTant in #562
- MM-5701: reenable reattached plugin tests by @lieut-data in #563
- Set EmailVerified to true for all remote users during migration by @JulienTant in #594
- Adding more tests to the selective sync by @jespino in #551
- Fix linter warnings for unused params by @wiggin77 in #592
- Fix username dedup for synthetic users by @JulienTant in #553
- MM-57563 - update method to allow self posts to sync, only if connected by @sbishel in #583
- MM-57565 - Set root id if it exists on attachment sync warning by @sbishel in #600
- Avoid crash if configuration is nil by @enahum in #538
- MM-57376, MM-57374, MM-57368: Connection Invites—whitelist and refinements by @calebroseland in #599
- MM-57507 Improve OAuth Flow by @sbishel in #593
- CP-604 set user to bot, time to now (#604) by @sbishel in #608
- Send invite message as bot message, not ephemeral (#607) by @sbishel in #610
- CP-603 MM-57906 Update platform preference when disconnecting (#603) by @sbishel in #609
- CP 612 Fix whitelist upload batching by @calebroseland in #615
- CP 614 MM-57955 Updates invite message by @calebroseland in #617
Full Changelog: v1.11.1...v1.12.2
v1.12.1
Supported Mattermost Server Versions: 7.8.10+