Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

Viewing file on branch master

1# unreleased
2
3## BREAKING
4
5- Main development repository is now https://github.com/matterbridge-org/matterbridge
6- History was rewritten to remove the vendor/ folder, easing PR reviews and making the
7 repository much lighter. [See issue community/#5](https://github.com/matterbridge-org/community/issues/5).
8- Removed protocols, see [issue community/#9](https://github.com/matterbridge-org/matterbridge/issues/9)
9 - harmony protocol does not exist anymore
10 - gitter protocol does not exist anymore ; gitter.im is now a matrix protocol server
11 - steam protocol has changed profoundly
12 - keybase has been removed because we don't have a maintainer for it. See
13 [issue #9](https://github.com/matterbridge-org/matterbridge/issues/9)
14 - whatsapp backend has been deprecated in favor of whatsappmulti. See [issue #32](https://github.com/matterbridge-org/matterbridge/issues/32)
15- matrix: Change to mautrix.go for the matrix backend. See ([pr #79](https://github.com/matterbridge-org/matterbridge/pull/79)/[issue #60](https://github.com/matterbridge-org/matterbridge/issues/60)
16- xmpp: Initial replies/edits support has been removed, because it was incorrect ([#12](https://github.com/matterbridge-org/matterbridge/pull/12))
17- xmpp: `NoTls` setting has been deprecated; to disable `StartTls` and start a plaintext connection, use `NoStartTls`
18- Go required version is now v1.24
19- `MediaServerUpload` has been deprecated ([#30](https://github.com/matterbridge-org/matterbridge/issues/30)),
20 because we don't know how to make it work and were improving those parts of the codebase.
21 If you were successfully using it, your feedback is welcome and we may reintroduce it.
22
23## New Features
24
25- general
26 - matterbridge output now colors log level for easier log reading ([#25](https://github.com/matterbridge-org/matterbridge/pull/25))
27 - new HTTP helpers are common to all bridges, and allow overriding specific settings ([#59](https://github.com/matterbridge-org/matterbridge/pull/59))
28 - matterbridge is now built with whatsappmulti backend enabled by default
29 - Docker images are now automatically built and published to `ghcr.io/matterbridge-org/matterbridge` ([#86](https://github.com/matterbridge-org/matterbridge/pull/86))
30- mastodon
31 - Add new Mastodon bridge ([#14](https://github.com/matterbridge-org/matterbridge/pull/14)/[#16](https://github.com/matterbridge-org/matterbridge/pull/16), thanks @lil5)
32 - Supports public messages and private messages
33 - Supports attachments
34- xmpp
35 - New and revised advanced authentication settings `UseDirectTLS`, `NoStartTls`, `NoPlain`, and `Mechanism` ([#77](https://github.com/matterbridge-org/matterbridge/pull/77))
36
37## Bugfixes
38
39- general
40 - when downloading a file attachment from a remote HTTP server, matterbridge will now error if
41 the return code is not 200 to avoid saving trash data ([#20](https://github.com/matterbridge-org/matterbridge/pull/20))
42- matrix
43 - attachments received from matrix are working again, with authenticated media (MSC3916) implemented ([#61](https://github.com/matterbridge-org/matterbridge/pull/61))
44 - image attachments are now send as images with more metadata ([#61](https://github.com/matterbridge-org/matterbridge/pull/61))
45- xmpp
46 - various upstream go-xmpp changes fix connection on SASL2 with PLAIN auth
47- telegram
48 - OGG Vorbis attachments are now sent as audio or document to prevent confusion being received as a corrupted voice message
49 - attachments of mixed types in the same message will be uploaded as documents
50
51## Upstream
52
53- xmpp: go-xmpp updated to xmppo/go-xmpp v0.3.1
54- whatsappmulti: whatsmeow updated to v20251116104239 ([#13](https://github.com/matterbridge-org/matterbridge/pull/13), thanks @alvindimas05)
55
56## Minor changes
57
58- MacOS `.DS_STORE` and vim recovery files are now ignored in git ([#26](https://github.com/matterbridge-org/matterbridge/pull/26))
59
60# v1.26.0
61
62## New features
63
64- irc: Allow substitution of bot's nick in RunCommands (irc) (#1890)
65- matrix: Add Matrix username spoofing (#1875)
66
67## Enhancements
68
69- general: Update dependencies (#1951)
70- mattermost: Remove mattermost 5 support (#1936)
71- mumble: Implement sending of EventJoinLeave both to and from Mumble (#1915)
72- whatsappmulti: Improve attachment handling (whatsapp) (#1928)
73- whatsappmulti: Handle incoming document captions from whatsapp (#1935)
74
75## Bugfix
76
77- irc: Fix empty messages on IRC (#1897)
78- telegram: Fix message html entities escaping when sending to Telegram (#1855)
79- telegram/slack: Fix error messages in telegram and slack bridges (#1862)
80- telegram: Fix telegram attachment comment formatting and escaping (#1920)
81- telegram: Make the cgo lottie a build tag (-tag cgolottie) (#1955)
82- whatsappmulti: Update dependencies and fix whatsmeow API changes (#1887)
83- whatsappmulti: Fix the "Someone" nickname problem (whatsapp) (#1931)
84
85This release couldn't exist without the following contributors:
86@s3lph, @sas1024, @Glandos, @jx11r, @Lucki, @BuckarooBanzay, @ilmaisin, @Kufat
87
88# v1.25.2
89
90## Enhancements
91
92- general: Update dependencies (#1851,#1841)
93- mattermost: Support mattermost v7.x (#1852)
94
95## Bugfix
96
97- discord: Fix Unwanted join notifications from one Discord server to another (#1612)
98- discord: Ignore events from other guilds, add nosendjoinpart support (#1846)
99
100This release couldn't exist without the following contributors:
101@wlcx
102
103# v1.25.1
104
105## Enhancements
106
107- matrix: Add KeepQuotedReply option for matrix to fix regression (#1823)
108- slack: Improve Slack attachments formatting (slack) (#1807)
109
110## Bugfix
111
112- general: Update dependencies (#1813,#1822,#1833)
113- mattermost: Add space between filename and URL (mattermost). Fixes #1820
114- matrix: Update matterbridge/gomatrix. Fixes #1772 (#1803)
115- telegram: Do not modify .webm files (telegram). Fixes #17**88 (#1802)
116- telegram: Do not apply any markup to URL entities (telegram) (#1808)
117- telegram: Fix telegram message deletion request (#1818)
118- vk: Fix UploadMessagesPhoto for vk community chat (vk) (#1812)
119
120This release couldn't exist without the following contributors:
121@bd808, @chugunov, @sas1024, @SevereCloud, @ValdikSS
122
123# v1.25.0
124
125## Breaking changes
126
127- whatsapp: deprecated, the library <https://github.com/Rhymen/go-whatsapp> isn't maintained anymore.
128We're switching to <https://github.com/tulir/whatsmeow> but as this uses a GPL3 licensed library we can't provide you with binaries.
129You'll need to build it yourself. More information about this can be found here: <https://github.com/42wim/matterbridge#building-with-whatsapp-beta-multidevice-support>
130
131## New features
132
133- whatsappmulti: whatsapp multidevice support added - more info <https://github.com/42wim/matterbridge#building-with-whatsapp-beta-multidevice-support>
134- general: Add Dockerfile_whatsappmulti for building with WhatsApp Multi-Device support (Whatsmeow) (#1774)
135- telegram: Add UseFullName option (telegram) (#1777)
136- slack: Use slack real name as user name (slack) (#1775)
137
138## Enhancements
139
140- general: Ignore sending file with comment, if comment contains IgnoreMessages value (#1783)
141- general: Update dependencies (#1784)
142- irc: Update lrstanley/girc dep (#1773)
143- slack: Preserve threading for messages with files (slack) (#1781)
144- telegram: Preserve threading from telegram replies (telegram) (#1776)
145- telegram: Multiple media in one message (telegram) (#1779)
146- whatsapp: Add whatsapp deprecation warning (#1792)
147
148## Bugfix
149
150- discord: Change discord non-native threading behaviour (discord) (#1791)
151
152This release couldn't exist without the following contributors:
153@sas1024, @tpxtron
154
155# v1.24.1
156
157## Enhancements
158
159- discord: Switch to discordgo upstream again (#1759)
160- general: Update dependencies and vendor (#1761)
161- general: Create inmessage-logger.tengo (#1688) (#1747)
162- general: Add OpenRC service file (#1746)
163- irc: Refactor utf-8 conversion (irc) (#1767)
164
165## Bugfixes
166
167- irc: Fix panic in irc. Closes #1751 (#1760)
168- mumble: Implement a workaround to signal Opus support (mumble) (#1764)
169- telegram: Fix for complex-formatted Telegram text (#1765)
170- telegram: Fix Telegram channel title in forwards (#1753)
171- telegram: Fix Telegram Problem (unforwarded formatting and skipping of linebreaks) (#1749)
172
173This release couldn't exist without the following contributors:
174@s3lph, @ValdikSS, @reckel-jm, @CyberTailor
175
176# v1.24.0
177
178## New features
179
180- harmony: new protocol added: Add support for Harmony (#1656)
181- irc: Allow binding to IP on IRC (#1640)
182- irc: Add support for client certificate (irc) (#1710)
183- mattermost: Add UseUsername option (mattermost). Fixes #1665 (#1714)
184- mattermost: Add support for using ID in channel config (mattermost) (#1715)
185- matrix: Reply support for Matrix (#1664)
186- telegram: Add Telegram Bot Command /chatId (telegram) (#1703)
187
188## Enhancements
189
190- general: Update dependencies/vendor (#1659)
191- discord: Add more debug options for discord (#1712)
192- docker: Use Alpine stable again in Dockerfile (#1643)
193- mattermost: Log eventtype in debug (mattermost) (#1676)
194- mattermost: Add more ignore debug messages (mattermost) (#1678)
195- slack: Add support for deleting files from slack to discord. Fixes #1705 (#1709)
196- telegram: Add support for code blocks in telegram (#1650)
197- telegram: Update telegram-bot-api to v5 (#1660)
198- telegram: Add comments to messages (telegram) (#1652)
199- telegram: Add support for sender_chat (telegram) (#1677)
200- vk: Remove GroupID (vk) (#1668)
201
202## Bugfix
203
204- mattermost: Use current parentID if rootId is not set (mattermost) (#1675)
205- matrix: Make HTMLDisable work correct (matrix) (#1716)
206- whatsapp: Make EditSuffix option actually work (whatsapp). Fixes #1510 (#1728)
207
208This release couldn't exist without the following contributors:
209@DavyJohnesev, @GoliathLabs, @pontaoski, @PeGaSuS-Coder, @dependabot[bot], @vpzomtrrfrt, @SevereCloud, @soloam, @YashRE42, @danwalmsley, @SuperSandro2000, @inzanity
210
211# v1.23.2
212
213If you're running whatsapp you should update.
214
215## Bugfix
216
217- whatsapp: Update go-whatsapp version (#1630)
218
219This release couldn't exist without the following contributors:
220@snikpic
221
222# v1.23.1
223
224If you're running mattermost 6 you should update.
225
226## Bugfix
227
228- mattermost: Do not check cache on deleted messages (mattermost). Fixes #1555 (#1624)
229- mattermost: Fix crash on users updating info. Update matterclient dep. Fixes #1617
230- matrix: Keep the logger on a disabled bridge. Fixes #1616 (#1621)
231- msteams: Fix panic in msteams. Fixes #1588 (#1622)
232- xmpp: Do not fail on no avatar data (xmpp) #1529 (#1627)
233- xmpp: Use a new msgID when replacing messages (xmpp). Fixes #1584 (#1623)
234- zulip: Add better error handling on Zulip (#1589)
235
236This release couldn't exist without the following contributors:
237@Polynomdivision, @minecraftchest1, @alexmv
238
239# v1.23.0
240
241## New features
242
243- irc: Add UserName and RealName options for IRC (#1590)
244- mattermost: Add support for mattermost v6
245- nctalk: Add support for separate display name (nctalk) (#1506)
246- xmpp: Add support for anonymous connection (xmpp) (#1548)
247
248## Enhancements
249
250- general: Update vendored libraries
251- docker: Use github actions to build dockerhub/ghcr.io images
252- docker: Update GH actions to multi arch (arm64) (#1614)
253- telegram: Convert .tgs with go libraries (and cgo) (telegram) (#1569)
254
255## Bugfix
256
257- mumble: Remove newline character in bridge multiline messages (mumble) (#1572)
258- slack: Add space before file upload comment (slack) (#1554)
259- slack: Invalidate user in cache on user change event (#1604)
260- xmpp: Fix XMPP parseNick function (#1547)
261
262This release couldn't exist without the following contributors:
263@powerjungle, @gary-kim, @KingPin, @Benau, @keenan-v1, @tytan652, @KidA001,@minecraftchest1, @irydacea
264
265# v1.22.3
266
267## Bugfixes
268
269- whatsapp: Update Rhymen/go-whatsapp module to latest master (2b8a3e9b8aa2) (#1518)
270
271This release couldn't exist without the following contributors:
272@nathanaelhoun
273
274# v1.22.2
275
276## Enhancements
277
278- general: Add a MessageClipped option to set your own clipped message. Closes #1359 (#1487)
279- discord: Add AllowMention to restrict allowed mentions (#1462)
280- matrix: Add MxId/Token login option for Matrix (#1438)
281- nctalk: Support sending file URLs (nctalk) (#1489)
282- nctalk: Add support for message deletion (nctalk) (#1492)
283- whatsapp: Handle document messages (whatsapp) (#1475)
284
285## Bugfixes
286
287- general: Update vendored libs
288- matrix: Fix content body issue for redactions (matrix) (#1496)
289- telegram: Add libwebp-dev to tgs.Dockerfile fixes Telegram sticker to WebP rendering (#1476)
290- whatsapp: Rename .jpe files to .jpg Fixes #1463 (whatsapp) (#1485)
291- whatsapp: Fix crash on encountering VideoMessage (whatsapp) (#1483)
292
293This release couldn't exist without the following contributors:
294@AvinashReddy3108, @chrisbobbe, @jaywink, @Funatiker, @computeronix, @alexandregv, @gary-kim, @SuperSandro2000
295
296# v1.22.1
297
298## Enhancements
299
300- rocketchat: Handle Rocket.Chat attachments (#1395)
301- telegram: Adding caption to send telegram images. Fixes #1357 (#1358)
302- whatsapp: Set ogg as default audiomessage when none found (whatsapp). Fixes #1427 (#1431)
303
304## Bugfixes
305
306- discord: Declare GUILD_MEMBERS privileged intent (discord) (#1428)
307- telegram: Check rune length instead of bytes (telegram). Fixes #1409 (#1412)
308- telegram: Make lottie_convert work on platforms without /dev/stdout (#1424)
309- xmpp: Fix panic when the webhook fails (xmpp) (#1401)
310- xmpp: Fix webhooks for channels with special characters (xmpp) (#1405)
311
312This release couldn't exist without the following contributors:
313@BenWiederhake, @powerjungle, @qaisjp, @Humorhenker, @Polynomdivision, @tadeokondrak, @PeGaSuS-Coder, @Millesimus, @jlu5
314
315# v1.22.0
316
317Discord users using autowebhooks are encouraged to upgrade to this release.
318
319## New features
320
321- vk: new protocol added: Add vk support (#1245)
322- xmpp: Allow the XMPP bridge to use slack compatible webhooks (xmpp) (#1364)
323
324## Enhancements
325
326- telegram: Rename .oga audio files to .ogg (telegram) (#1349)
327- telegram: Add jpe as valid image filename extension (telegram) (#1360)
328- discord: Add an even more debug option (discord) (#1368)
329- general: Update vendor (#1384)
330
331## Bugfixes
332
333- discord: Pick up all the webhooks (discord) (#1383). Fixes #1353
334
335This release couldn't exist without the following contributors:
336@ivanik7, @Polynomdivision, @PeterDaveHello, @Humorhenker, @qaisjp
337
338# v1.21.0
339
340## Breaking Changes
341
342- discord: Remove WebhookURL support (discord) (#1323)
343
344`WebhookURL` global setting for discord is removed and will quit matterbridge.
345New `AutoWebhooks=true` setting, which will automatically use (and create, if they do not exist) webhooks inside specific channels. This only works if the bot has Manage Webhooks permission in bridged channels (global permission or as a channel permission override). Backwards compatibility with channel-specific webhooks. More info [here](https://github.com/42wim/matterbridge/blob/master/matterbridge.toml.sample#L862).
346
347## New features
348
349- discord: Create webhooks automatically (#1323)
350- discord: Add threading support with token (discord) (#1342)
351- irc: Join on invite (irc). Fixes #1231 (#1306)
352- irc: Add support for stateless bridging via draft/relaymsg (irc) (#1339)
353- whatsapp: Add support for deleting messages (whatsapp) (#1316)
354- whatsapp: Handle video downloads (whatsapp) (#1316)
355- whatsapp: Handle audio downloads (whatsapp) (#1316)
356
357## Enhancements
358
359- general: Parse fencedcode in ParseMarkdown. Fixes #1127 (#1329)
360- discord: Refactor guild finding code (discord) (#1319)
361- discord: Add a prefix handler for unthreaded messages (discord) (#1346)
362- irc: Add support for irc to irc notice (irc). Fixes #754 (#1305)
363- irc: Make handlers run async (irc) (#1325)
364- matrix: Show mxids in case of clashing usernames (matrix) (#1309)
365- matrix: Implement ratelimiting (matrix). Fixes #1238 (#1326)
366- matrix: Mark messages as read (matrix). Fixes #1317 (#1328)
367- nctalk: Update go-nc-talk (nctalk) (#1333)
368- rocketchat: Update rocketchat vendor (#1327)
369- tengo: Add UserID to RemoteNickFormat and Tengo (#1308)
370- whatsapp: Retry until we have contacts (whatsapp). Fixes #1122 (#1304)
371- whatsapp: Refactor/cleanup code (whatsapp)
372- whatsapp: Refactor handleTextMessage (whatsapp)
373- whatsapp: Refactor image downloads (whatsapp)
374- whatsapp: Rename jfif to jpg (whatsapp). Fixes #1292
375
376## Bugfix
377
378- discord: Reject cross-channel message references (discord) (#1345)
379- mumble: Add nil checks to text message handling (mumble) (#1321)
380
381This release couldn't exist without the following contributors:
382@nightmared, @qaisjp, @jlu5, @wschwab, @gary-kim, @s3lph, @JeremyRand
383
384# v1.20.0
385
386## Breaking
387
388- matrix: Send the display name instead of the user name (matrix) (#1282)
389 Matrix now sends the displayname if set instead of the username. If you want to keep the username, add `UseUsername=true` to your matrix config. <https://github.com/42wim/matterbridge/wiki/Settings#useusername-1>
390- discord: Disable webhook editing (discord) (#1296)
391 Because of issues with ratelimiting of webhook editing, this feature is now disabled. If you have multiple discord channels you bridge, you'll need to add a `webhookURL` to the `[gateway.inout.options]`. See <https://github.com/42wim/matterbridge/blob/master/matterbridge.toml.sample#L1864-L1870> for an example.
392
393## New features
394
395- general: Allow tengo to drop messages using msgDrop (#1272)
396- general: Update libraries (whatsapp,markdown,mattermost,ssh-chat)
397- irc: Add PingDelay option (irc) (#1269)
398- matrix: Allow message edits on matrix (#1286)
399- xmpp: add NoTLS option to allow plaintext XMPP connections (#1288)
400
401## Enhancements
402
403- discord: Edit messages via webhook (1287)
404- general: Add extra debug to log time spent sending a message per bridge (#1299)
405
406This release couldn't exist without the following contributors:
407@nightmared, @zhoreeq
408
409# v1.19.0
410
411## New features
412
413- mumble: new protocol added: Add Mumble support (#1245)
414- nctalk: Add support for downloading files (nctalk) (#1249)
415- nctalk: Append a suffix if user is a guest user (nctalk) (#1250)
416
417## Enhancements
418
419- irc: Add even more debug for irc (#1266)
420- matrix: Add username formatting for all events (matrix) (#1233)
421- matrix: Permit uploading files of other mimetypes (#1237)
422- whatsapp: Use vendored whatsapp version (#1258)
423- whatsapp: Add username for images from WhatsApp (#1232)
424
425This release couldn't exist without the following contributors:
426@Dellle, @42wim, @gary-kim, @s3lph, @BenWiederhake
427
428# v1.18.3
429
430## Enhancements
431
432- nctalk: Add TLSConfig to nctalk (#1195)
433- whatsapp: Handle broadcasts as groups in Whatsapp #1213
434- matrix: switch to upstream gomatrix #1219
435- api: support multiple websocket clients #1205
436
437## Bugfix
438
439- general: update vendor
440- zulip: Check location of avatarURL (zulip). Fixes #1214 (#1227)
441- nctalk: Fix issue with too many open files #1223
442- nctalk: Fix mentions #1222
443- nctalk: Fix message replays #1220
444
445This release couldn't exist without the following contributors:
446@gary-kim, @tilosp, @NikkyAI, @escoand, @42wim
447
448# v1.18.2
449
450## Bugfix
451
452- zulip: Fix error loop (zulip) (#1210)
453- whatsapp: Update whatsapp vendor and fix a panic (#1209)
454
455This release couldn't exist without the following contributors:
456@SuperSandro2000, @42wim
457
458# v1.18.1
459
460## New features
461
462- telegram: Support Telegram animated stickers (tgs) format (#1173). See https://github.com/42wim/matterbridge/wiki/Settings#mediaConverttgs for more info
463
464## Enhancements
465
466- matrix: Remove HTML formatting for push messages (#1188) (#1189)
467- mattermost: Use mattermost v5 module (#1192)
468
469## Bugfix
470
471- whatsapp: Handle panic in whatsapp. Fixes #1180 (#1184)
472- nctalk: Fix Nextcloud Talk connection failure (#1179)
473- matrix: Sleep when ratelimited on joins (matrix). Fixes #1201 (#1206)
474
475This release couldn't exist without the following contributors:
476@42wim, @BenWiederhake, @Dellle, @gary-kim
477
478# v1.18.0
479
480## New features
481
482- nctalk: new protocol added. Add Nextcloud Talk support #1167
483- general: Add an option to log into a file rather than stdout (#1168)
484- api: Add websocket to API (#970)
485
486## Enhancements
487
488- telegram: Fix MarkdownV2 support in Telegram (#1169)
489- whatsapp: Reload user information when a new contact is detected (whatsapp) (#1160)
490- api: Add sane RemoteNickFormat default for API (#1157)
491- irc: Skip gIRC built-in rate limiting (irc) (#1164)
492- irc: Only colour IRC nicks if there is one. (#1161)
493- docker: Combine runs to one layer (#1151)
494
495## Bugfix
496
497- general: Update dependencies for 1.18.0 release (#1175)
498
499Discord users are encouraged to upgrade, this release works with the move to the discord.com domain.
500
501This release couldn't exist without the following contributors:
502@42wim, @jlu5, @qaisjp, @TheHolyRoger, @SuperSandro2000, @gary-kim, @z3bra, @greenx, @haykam821, @nathanaelhoun
503
504# v1.17.5
505
506## Enhancements
507
508- irc: Add StripMarkdown option (irc). (#1145)
509- general: Increase debug logging with function,file and linenumber (#1147)
510- general: Update Dockerfile so inotify works (#1148)
511- matrix: Add an option to disable sending HTML to matrix. Fixes #1022 (#1135)
512- xmpp: Implement xep-0245 (xmpp). Closes #1137 (#1144)
513
514## Bugfix
515
516- discord: Fix #1120: replaceAction "\_" crash (discord) (#1121)
517- discord: Fix #1049: missing space before embeds (discord) (#1124)
518- discord: Fix webhook EventUserAction messages being skipped (discord) (#1133)
519- matrix: Avoid creating invalid url when the user doesn't have an avatar (matrix) (#1130)
520- msteams: Ignore non-user messages (msteams). Fixes #1141 (#1149)
521- slack: Do not use webhooks when token is configured (slack) (fixes #1123) (#1134)
522- telegram: Fix forward from hidden users (telegram). Closes #1131 (#1143)
523- xmpp: Prevent re-requesting avatar data (xmpp) (#1117)
524
525This release couldn't exist without the following contributors:
526@qaisjp, @xnaas, @42wim, @Polynomdivision, @tfve
527
528# v1.17.4
529
530## Bugfix
531
532- general: Lowercase account names. Fixes #1108 (#1110)
533- msteams: Remove panics and retry polling on failure (msteams). Fixes #1104 (#1105
534- whatsapp: Update Rhymen/go-whatsapp. Fixes #1107 (#1109) (make whatsapp working again)
535- discord: Add an ID cache (discord). Fixes #1106 (#1111) (fix delete/edits with webhooks)
536
537# v1.17.3
538
539## Enhancements
540
541- xmpp: Implement User Avatar spoofing of XMPP users #1090
542- rocketchat: Relay Joins/Topic changes in RocketChat bridge (#1085)
543- irc: Add JoinDelay option (irc). Fixes #1084 (#1098)
544- slack: Clip too long messages on 3000 length (slack). Fixes #1081 (#1102)
545
546## Bugfix
547
548- general: Fix the behavior of ShowTopicChange and SyncTopic (#1086)
549- slack: Prevent image/message looping (slack). Fixes #1088 (#1096)
550- whatsapp: Ignore non-critical errors (whatsapp). Fixes #1094 (#1100)
551- irc: Add extra space before colon in attachments (irc). Fixes #1089 (#1101)
552
553This release couldn't exist without the following contributors:
554@42wim, @ldruschk, @qaisjp, @Polynomdivision
555
556# v1.17.2
557
558## Enhancements
559
560- slack: Update vendor slack-go/slack (#1068)
561- general: Update vendor d5/tengo (#1066)
562- general: Clarify terminology used in mapping group chat IDs to channels in config (#1079)
563
564## Bugfix
565
566- whatsapp: Update Rhymen/go-whatsapp vendor and whatsapp version (#1078). Fixes Media upload #1074
567- whatsapp: Reset start timestamp on reconnect (whatsapp). Fixes #1059 (#1064)
568
569This release couldn't exist without the following contributors:
570@42wim, @jheiselman
571
572# v1.17.1
573
574## Enhancements
575
576- docker: Remove build dependencies from final image (multistage build) #1057
577
578## Bugfix
579
580- general: Don't transmit typing events from ourselves #1056
581- general: Add support for build tags #1054
582- discord: Strip extra info from emotes (discord) #1052
583- msteams: fix macos build: Update vendor yaegashi/msgraph.go to v0.1.2 #1036
584- whatsapp: Update client version whatsapp. Fixes #1061 #1062
585
586This release couldn't exist without the following contributors:
587@awigen, @qaisjp, @42wim
588
589# v1.17.0
590
591## New features
592
593- msteams: new protocol added. Add initial Microsoft Teams support #967
594 See https://github.com/42wim/matterbridge/wiki/MS-Teams-setup for a complete walkthrough
595- discord: Add ability to procure avatars from the destination bridge #1000
596- matrix: Add support for avatars from matrix. #1007
597- general: support JSON and YAML config formats #1045
598
599## Enhancements
600
601- discord: Check only bridged channels for PermManageWebhooks #1001
602- irc: Be less lossy when throttling IRC messages #1004
603- keybase: updated library #1002, #1019
604- matrix: Rebase gomatrix vendor with upstream #1006
605- slack: Use upstream slack-go/slack again #1018
606- slack: Ignore ConnectingEvent #1041
607- slack: use blocks not attachments #1048
608- sshchat: Update vendor shazow/ssh-chat #1029
609- telegram: added markdownv2 mode for telegram #1037
610- whatsapp: Implement basic reconnect (whatsapp). Fixes #987 #1003
611
612## Bugfix
613
614- discord: Fix webhook permission checks sometimes failing #1043
615- discord: Fix #1027: warning when handling inbound webhooks #1044
616- discord: Fix duplicate separator on empty description/url (discord) #1035
617- matrix: Fix issue with underscores in links #999
618- slack: Fix #1039: messages sent to Slack being synced back #1046
619- telegram: Make avatars download work with mediaserverdownload (telegram). Fixes #920
620
621This release couldn't exist without the following contributors:
622@qaisjp, @jakubgs, @burner1024, @notpushkin, @MartijnBraam, @42wim
623
624# v1.16.5
625
626- Fix version bump
627
628# v1.16.4
629
630## New features
631
632- whatsapp: Add support for WhatsApp media (jpeg/png/gif) bridging (#974)
633- telegram: Add QuoteLengthLimit option (telegram) fixes #963 (#985)
634- telegram: Add DisableWebPagePreview option (telegram). Closes #980 (#994)
635
636## Enhancements
637
638- general: update dependencies
639- tengo: update to tengo v2
640- general: Add Docker Compose configuration (#990)
641
642## Bugfix
643
644- general: Fail with message instead of panic. #988 (#991)
645- telegram: Add extra mimetypes to docker image. Fixes #969
646- discord: Fix channel ID problem with multiple gateways (discord). Fixes #953 (#977)
647- discord: Show file comment in webhook if normal message is empty (discord). Fixes #962 (#995)
648- matrix: Fix parsing issues - Disable smartypants in markdown parser. Fixes #989, #983 (#993)
649- sshchat: Fix duplicated messages (sshchat). Fixes #950 (#996)
650
651This release couldn't exist without the following contributors:
652@jwflory, @42wim, @pbek, @Humorhenker, @c0ncord2, @glazzara
653
654# v1.16.3
655
656## Bugfix
657
658- slack: Fix issues with ratelimiting #959
659- mattermost: Fix bug when using webhookURL and login/token together #960
660
661# v1.16.2
662
663## New features
664
665- keybase: Add support for receiving attachments (keybase) (#923)
666
667## Enhancements
668
669- general: Switch to new emoji library kyokomi/emoji (#948)
670- general: Update markdown parsing library to github.com/gomarkdown/markdown (#944)
671- ssh-chat: Update shazow/ssh-chat dependency (#947)
672
673## Bugfix
674
675- slack: Fix issues with the slack block kit API #937 (#943).
676
677This release couldn't exist without the following contributors:
678@42wim, @bmpickford, @goncalor
679
680# v1.16.1
681
682## New features
683
684- rocketchat: add token support #892
685- matrix: Add support for uploading application/x and audio/x (matrix). #929
686
687## Enhancements
688
689- general: Do configuration validation on start-up. Fixes #888
690- general: updated vendored libraries (discord/whatsapp) #932
691- discord: user typing messages #914
692- slack: Convert slack bold/strike to correct markdown (slack). Fixes #918
693
694## Bugfix
695
696- discord: fix Failed to fetch information for members message. #894
697- discord: remove obsolete file upload links (discord). #931
698- slack: suppress unhandled HelloEvent message #913
699- mattermost: Fix panic on WebhookURL only setting (mattermost). #917
700- matrix: fix corrupted links between slack and matrix #924
701
702This release couldn't exist without the following contributors:
703@qaisjp, @hramrach, @42wim
704
705# v1.16.0
706
707## New features
708
709- keybase: new protocol added. Add initial Keybase Chat support #877 Thanks to @hyperobject
710- discord: Support webhook files in discord #872
711
712## Enhancements
713
714- general: update dependencies
715
716## Bugfix
717
718- discord: Underscores from Discord don't arrive correctly #864
719- xmpp: Fix possible panic at startup of the XMPP bridge #869
720- mattermost: Make getChannelIdTeam behave like GetChannelId for groups (mattermost) #873
721
722This release couldn't exist without the following contributors:
723@hyperobject, @42wim, @bucko909, @MOZGIII
724
725# v1.15.1
726
727## New features
728
729- discord: Support webhook message deletions (discord) (#853)
730
731## Enhancements
732
733- discord: Support bulk deletions #851
734- discord: Support channels in categories #863 (use category/channel. See matterbridge.toml.sample for more info)
735- mattermost: Add an option to skip the Mattermost server version check #849
736
737## Bugfix
738
739- xmpp: fix segfault when disconnected/reconnected #856
740- telegram: fix panic in handleEntities #858
741
742This release couldn't exist without the following contributors:
743@42wim, @qaisjp, @joohoi
744
745# v1.15.0
746
747## New features
748
749- Add scripting (tengo) support for every outgoing message (#806)
750 See https://github.com/42wim/matterbridge/wiki/Settings#tengo and
751 https://github.com/42wim/matterbridge/wiki/Settings#outmessage for more information
752- Add tengo support to RemoteNickFormat (#793)
753 See https://github.com/42wim/matterbridge/wiki/Settings#remotenickformat-2
754 - Deprecated `Message` under `[tengo]` to `InMessage`
755
756## Enhancements
757
758- general: Forward only user-typing messages if supported by protocol (#832)
759- general: updated wiki with all possible settings: https://github.com/42wim/matterbridge/wiki/Settings
760- tengo: Add msg event to tengo
761- xmpp: Verify TLS against JID domain, not the host. (xmpp) (#834)
762- xmpp: Allow messages with timestamp (xmpp). Fixes #835 (#847)
763- irc: Add verbose IRC joins/parts (ident@host) (#805)
764 See https://github.com/42wim/matterbridge/wiki/Settings#verbosejoinpart
765- rocketchat: Add useraction support (rocketchat). Closes #772 (#794)
766
767## Bugfix
768
769- slack: Fix regression in autojoining with legacy tokens (slack). Fixes #651 (#848)
770- xmpp: Revert xmpp to orig behaviour. Closes #844
771- whatsapp: Update github.com/Rhymen/go-whatsapp vendor. Fixes #843
772- mattermost: Update channels of all teams (mattermost)
773
774This release couldn't exist without the following contributors:
775@42wim, @Helcaraxan, @chotaire, @qaisjp, @dajohi, @kousu
776
777# v1.14.4
778
779## Bugfix
780
781- mattermost: Add Id to EditMessage (mattermost). Fixes #802
782- mattermost: Fix panic on nil message.Post (mattermost). Fixes #804
783- mattermost: Handle unthreaded messages (mattermost). Fixes #803
784- mattermost: Use paging in initUser and UpdateUsers (mattermost)
785- slack: Add lacking clean-up in Slack synchronisation (#811)
786- slack: Disable user lookups on delete messages (slack) (#812)
787
788# v1.14.3
789
790## Bugfix
791
792- irc: Fix deadlock on reconnect (irc). Closes #757
793
794# v1.14.2
795
796## Bugfix
797
798- general: Update tengo vendor and load the stdlib. Fixes #789 (#792)
799- rocketchat: Look up #channel too (rocketchat). Fix #773 (#775)
800- slack: Ignore messagereplied and hidden messages (slack). Fixes #709 (#779)
801- telegram: Handle nil message (telegram). Fixes #777
802- irc: Use default nick if none specified (irc). Fixes #785
803- irc: Return when not connected and drop a message (irc). Fixes #786
804- irc: Revert fix for #722 (Support quits from irc correctly). Closes #781
805
806## Contributors
807
808This release couldn't exist without the following contributors:
809@42wim, @Helcaraxan, @dajohi
810
811# v1.14.1
812
813## Bugfix
814
815- slack: Fix crash double unlock (slack) (#771)
816
817# v1.14.0
818
819## Breaking
820
821- zulip: Need to specify /topic:mytopic for channel configuration (zulip). (#751)
822
823## New features
824
825- whatsapp: new protocol added. Add initial WhatsApp support (#711) Thanks to @KrzysztofMadejski
826- facebook messenger: new protocol via matterbridge api. See https://github.com/VictorNine/fbridge/ for more information.
827- general: Add scripting (tengo) support for every incoming message (#731). See `TengoModifyMessage`
828- general: Allow regexs in ignoreNicks. Closes #690 (#720)
829- general: Support rewriting messages from relaybots using ExtractNicks. Fixes #466 (#730). See `ExtractNicks` in matterbridge.toml.sample
830- general: refactor Make all loggers derive from non-default instance (#728). Thanks to @Helcaraxan
831- rocketchat: add support for the rocketchat API. Sending to rocketchat now supports uploading of files, editing and deleting of messages.
832- discord: Support join/leaves from discord. Closes #654 (#721)
833- discord: Allow sending discriminator with Discord username (#726). See `UseDiscriminator` in matterbridge.toml.sample
834- slack: Add extra debug option (slack). See `Debug` in the slack section in matterbridge.toml.sample
835- telegram: Add support for URL in messageEntities (telegram). Fixes #735 (#736)
836- telegram: Add MediaConvertWebPToPNG option (telegram). (#741). See `MediaConvertWebPToPNG` in matterbridge.toml.sample
837
838## Enhancements
839
840- general: Fail gracefully on incorrect human input. Fixes #739 (#740)
841- matrix: Detect html nicks in RemoteNickFormat (matrix). Fixes #696 (#719)
842- matrix: Send notices on join/parts (matrix). Fixes #712 (#716)
843
844## Bugfix
845
846- general: Handle file upload/download only once for each message (#742)
847- zulip: Fix error handling on bad event queue id (zulip). Closes #694
848- zulip: Keep reconnecting until succeed (zulip) (#737)
849- irc: add support for (older) unrealircd versions. #708
850- irc: Support quits from irc correctly. Fixes #722 (#724)
851- matrix: Send username when uploading video/images (matrix). Fixes #715 (#717)
852- matrix: Trim <p> and </p> tags (matrix). Closes #686 (#753)
853- slack: Hint at thread replies when messages are unthreaded (slack) (#684)
854- slack: Fix race-condition in populateUser() (#767)
855- xmpp: Do not send topic changes on connect (xmpp). Fixes #732 (#733)
856- telegram: Fix regression in HTML handling (telegram). Closes #734
857- discord: Do not relay any bot messages (discord) (#743)
858- rocketchat: Do not send duplicate messages (rocketchat). Fixes #745 (#752)
859
860## Contributors
861
862This release couldn't exist without the following contributors:
863@Helcaraxan, @KrzysztofMadejski, @AJolly, @DeclanHoare
864
865# v1.13.1
866
867This release fixes go modules issues because of https://github.com/labstack/echo/issues/1272
868
869## Bugfix
870
871- general: fixes Unable to build 1.13.0 #698
872- api: move to labstack/echo/v4 fixes #698
873
874# v1.13.0
875
876## New features
877
878- general: refactors of telegram, irc, mattermost, matrix, discord, sshchat bridges and the gateway.
879- irc: Add option to send RAW commands after connection (irc) #490. See `RunCommands` in matterbridge.toml.sample
880- mattermost: 3.x support dropped
881- mattermost: Add support for mattermost threading (#627)
882- slack: Sync channel topics between Slack bridges #585. See `SyncTopic` in matterbridge.toml.sample
883- matrix: Add support for markdown to HTML conversion (matrix). Closes #663 (#670)
884- discord: Improve error reporting on failure to join Discord. Fixes #672 (#680)
885- discord: Use only one webhook if possible (discord) (#681)
886- discord: Allow to bridge non-bot Discord users (discord) (#689) If you prefix a token with `User ` it'll treat is as a user token.
887
888## Bugfix
889
890- slack: Try downloading files again if slack is too slow (slack). Closes #655 (#656)
891- slack: Ignore LatencyReport event (slack)
892- slack: Fix #668 strip lang in code fences sent to Slack (#673)
893- sshchat: Fix sshchat connection logic (#661)
894- sshchat: set quiet mode to filter joins/quits
895- sshchat: Trim newlines in the end of relayed messages
896- sshchat: fix media links
897- sshchat: do not relay "Rate limiting is in effect" message
898- mattermost: Fail if channel starts with hashtag (mattermost). Closes #625
899- discord: Add file comment to webhook messages (discord). Fixes #358
900- matrix: Fix displaying usernames for plain text clients. (matrix) (#685)
901- irc: Fix possible data race (irc). Closes #693
902- irc: Handle servers without MOTD (irc). Closes #692
903
904# v1.12.3
905
906## Bugfix
907
908- slack: Fix bot (legacy token) messages not being send. Closes #571
909- slack: Populate user on channel join (slack) (#644)
910- slack: Add wait option for populateUsers/Channels (slack) Fixes #579 (#653)
911
912# v1.12.2
913
914## Bugfix
915
916- irc: Fix multiple channel join regression. Closes #639
917- slack: Make slack-legacy change less restrictive (#626)
918
919# v1.12.1
920
921## Bugfix
922
923- discord: fix regression on server ID connection #619 #617
924- discord: Limit discord username via webhook to 32 chars
925- slack: Make sure threaded files stay in thread (slack). Fixes #590
926- slack: Do not post empty messages (slack). Fixes #574
927- slack: Handle deleted/edited thread starting messages (slack). Fixes #600 (#605)
928- irc: Rework connection logic (irc)
929- irc: Fix Nickserv logic (irc) #602
930
931# v1.12.0
932
933## Breaking changes
934
935The slack bridge has been split in a `slack-legacy` and `slack` bridge.
936If you're still using `legacy tokens` and want to keep using them you'll have to rename `slack` to `slack-legacy` in your configuration. See [wiki](<https://github.com/42wim/matterbridge/wiki/Section-Slack-(basic)#legacy-configuration>) for more information.
937
938To migrate to the new bot-token based setup you can follow the instructions [here](https://github.com/42wim/matterbridge/wiki/Slack-bot-setup).
939
940Slack legacy tokens may be deprecated by Slack at short notice, so it is STRONGLY recommended to use a proper bot-token instead.
941
942## New features
943
944- general: New {GATEWAY} variable for `RemoteNickFormat` #501. See `RemoteNickFormat` in matterbridge.toml.sample.
945- general: New {CHANNEL} variable for `RemoteNickFormat` #515. See `RemoteNickFormat` in matterbridge.toml.sample.
946- general: Remove hyphens when auto-loading envvars from viper config #545
947- discord: You can mention discord-users from other bridges.
948- slack: Preserve threading between Slack instances #529. See `PreserveThreading` in matterbridge.toml.sample.
949- slack: Add ability to show when user is typing across Slack bridges #559
950- slack: Add rate-limiting
951- mattermost: Add support for mattermost [matterbridge plugin](https://github.com/matterbridge/mattermost-plugin)
952- api: Respond with message on connect. #550
953- api: Add a health endpoint to API #554
954
955## Bugfix
956
957- slack: Refactoring and making it better.
958- slack: Restore file comments coming from Slack. #583
959- irc: Fix IRC line splitting. #587
960- mattermost: Fix cookie and personal token behaviour. #530
961- mattermost: Check for expiring sessions and reconnect.
962
963## Contributors
964
965This release couldn't exist without the following contributors:
966@jheiselman, @NikkyAI, @dajohi, @NetwideRogue, @patcon and @Helcaraxan
967
968Special thanks to @Helcaraxan and @patcon for their work on improving/refactoring slack.
969
970# v1.11.3
971
972## Bugfix
973
974- mattermost: fix panic when using webhooks #491
975- slack: fix issues regarding API changes and lots of channels #489
976- irc: fix rejoin on kick problem #488
977
978# v1.11.2
979
980## Bugfix
981
982- slack: fix slack API changes regarding to files/images
983
984# v1.11.1
985
986## New features
987
988- slack: Add support for slack channels by ID. Closes #436
989- discord: Clip too long messages sent to discord (discord). Closes #440
990
991## Bugfix
992
993- general: fix possible panic on downloads that are too big #448
994- general: Fix avatar uploads to work with MediaDownloadPath. Closes #454
995- discord: allow receiving of topic changes/channel leave/joins from other bridges through the webhook
996- discord: Add a space before url in file uploads (discord). Closes #461
997- discord: Skip empty messages being sent with the webhook (discord). #469
998- mattermost: Use nickname instead of username if defined (mattermost). Closes #452
999- irc: Stop numbers being stripped after non-color control codes (irc) (#465)
1000- slack: Use UserID to look for avatar instead of username (slack). Closes #472
1001
1002# v1.11.0
1003
1004## New features
1005
1006- general: Add config option MediaDownloadPath (#443). See `MediaDownloadPath` in matterbridge.toml.sample
1007- general: Add MediaDownloadBlacklist option. Closes #442. See `MediaDownloadBlacklist` in matterbridge.toml.sample
1008- xmpp: Add channel password support for XMPP (#451)
1009- xmpp: Add message correction support for XMPP (#437)
1010- telegram: Add support for MessageFormat=htmlnick (telegram). #444
1011- mattermost: Add support for mattermost 5.x
1012
1013## Enhancements
1014
1015- slack: Add Title from attachment slack message (#446)
1016- irc: Prevent white or black color codes (irc) (#434)
1017
1018## Bugfix
1019
1020- slack: Fix regexp in replaceMention (slack). (#435)
1021- irc: Reconnect on quit. (irc) See #431 (#445)
1022- sshchat: Ignore messages from ourself. (sshchat) Closes #439
1023
1024# v1.10.1
1025
1026## New features
1027
1028- irc: Colorize username sent to IRC using its crc32 IEEE checksum (#423). See `ColorNicks` in matterbridge.toml.sample
1029- irc: Add support for CJK to/from utf-8 (irc). #400
1030- telegram: Add QuoteFormat option (telegram). Closes #413. See `QuoteFormat` in matterbridge.toml.sample
1031- xmpp: Send attached files to XMPP in different message with OOB data and without body (#421)
1032
1033## Bugfix
1034
1035- general: updated irc/xmpp/telegram libraries
1036- mattermost/slack/rocketchat: Fix iconurl regression. Closes #430
1037- mattermost/slack: Use uuid instead of userid. Fixes #429
1038- slack: Avatar spoofing from Slack to Discord with uppercase in nick doesn't work (#433)
1039- irc: Fix format string bug (irc) (#428)
1040
1041# v1.10.0
1042
1043## New features
1044
1045- general: Add support for reloading all settings automatically after changing config except connection and gateway configuration. Closes #373
1046- zulip: New protocol support added (https://zulipchat.com)
1047
1048## Enhancements
1049
1050- general: Handle file comment better
1051- steam: Handle file uploads to mediaserver (steam)
1052- slack: Properly set Slack user who initiated slash command (#394)
1053
1054## Bugfix
1055
1056- general: Use only alphanumeric for file uploads to mediaserver. Closes #416
1057- general: Fix crash on invalid filenames
1058- general: Fix regression in ReplaceMessages and ReplaceNicks. Closes #407
1059- telegram: Fix possible nil when using channels (telegram). #410
1060- telegram: Fix panic (telegram). Closes #410
1061- telegram: Handle channel posts correctly
1062- mattermost: Update GetFileLinks to API_V4
1063
1064# v1.9.1
1065
1066## New features
1067
1068- telegram: Add QuoteDisable option (telegram). Closes #399. See QuoteDisable in matterbridge.toml.sample
1069
1070## Enhancements
1071
1072- discord: Send mediaserver link to Discord in Webhook mode (discord) (#405)
1073- mattermost: Print list of valid team names when team not found (#390)
1074- slack: Strip markdown URLs with blank text (slack) (#392)
1075
1076## Bugfix
1077
1078- slack/mattermost: Make our callbackid more unique. Fixes issue with running multiple matterbridge on the same channel (slack,mattermost)
1079- telegram: fix newlines in multiline messages #399
1080- telegram: Revert #378
1081
1082# v1.9.0 (the refactor release)
1083
1084## New features
1085
1086- general: better debug messages
1087- general: better support for environment variables override
1088- general: Ability to disable sending join/leave messages to other gateways. #382
1089- slack: Allow Slack @usergroups to be parsed as human-friendly names #379
1090- slack: Provide better context for shared posts from Slack<=>Slack enhancement #369
1091- telegram: Convert nicks automatically into HTML when MessageFormat is set to HTML #378
1092- irc: Add DebugLevel option
1093
1094## Bugfix
1095
1096- slack: Ignore restricted_action on channel join (slack). Closes #387
1097- slack: Add slack attachment support to matterhook
1098- slack: Update userlist on join (slack). Closes #372
1099
1100# v1.8.0
1101
1102## New features
1103
1104- general: Send chat notification if media is too big to be re-uploaded to MediaServer. See #359
1105- general: Download (and upload) avatar images from mattermost and telegram when mediaserver is configured. Closes #362
1106- general: Add label support in RemoteNickFormat
1107- general: Prettier info/debug log output
1108- mattermost: Download files and reupload to supported bridges (mattermost). Closes #357
1109- slack: Add ShowTopicChange option. Allow/disable topic change messages (currently only from slack). Closes #353
1110- slack: Add support for file comments (slack). Closes #346
1111- telegram: Add comment to file upload from telegram. Show comments on all bridges. Closes #358
1112- telegram: Add markdown support (telegram). #355
1113- api: Give api access to whole config.Message (and events). Closes #374
1114
1115## Bugfix
1116
1117- discord: Check for a valid WebhookURL (discord). Closes #367
1118- discord: Fix role mention replace issues
1119- irc: Truncate messages sent to IRC based on byte count (#368)
1120- mattermost: Add file download urls also to mattermost webhooks #356
1121- telegram: Fix panic on nil messages (telegram). Closes #366
1122- telegram: Fix the UseInsecureURL text (telegram). Closes #184
1123
1124# v1.7.1
1125
1126## Bugfix
1127
1128- telegram: Enable Long Polling for Telegram. Reduces bandwidth consumption. (#350)
1129
1130# v1.7.0
1131
1132## New features
1133
1134- matrix: Add support for deleting messages from/to matrix (matrix). Closes #320
1135- xmpp: Ignore <subject> messages (xmpp). #272
1136- irc: Add twitch support (irc) to README / wiki
1137
1138## Bugfix
1139
1140- general: Change RemoteNickFormat replacement order. Closes #336
1141- general: Make edits/delete work for bridges that gets reused. Closes #342
1142- general: Lowercase irc channels in config. Closes #348
1143- matrix: Fix possible panics (matrix). Closes #333
1144- matrix: Add an extension to images without one (matrix). #331
1145- api: Obey the Gateway value from the json (api). Closes #344
1146- xmpp: Print only debug messages when specified (xmpp). Closes #345
1147- xmpp: Allow xmpp to receive the extra messages (file uploads) when text is empty. #295
1148
1149# v1.6.3
1150
1151## Bugfix
1152
1153- slack: Fix connection issues
1154- slack: Add more debug messages
1155- irc: Convert received IRC channel names to lowercase. Fixes #329 (#330)
1156
1157# v1.6.2
1158
1159## Bugfix
1160
1161- mattermost: Crashes while connecting to Mattermost (regression). Closes #327
1162
1163# v1.6.1
1164
1165## Bugfix
1166
1167- general: Display of nicks not longer working (regression). Closes #323
1168
1169# v1.6.0
1170
1171## New features
1172
1173- sshchat: New protocol support added (https://github.com/shazow/ssh-chat)
1174- general: Allow specifying maximum download size of media using MediaDownloadSize (slack,telegram,matrix)
1175- api: Add (simple, one listener) long-polling support (api). Closes #307
1176- telegram: Add support for forwarded messages. Closes #313
1177- telegram: Add support for Audio/Voice files (telegram). Closes #314
1178- irc: Add RejoinDelay option. Delay to rejoin after channel kick (irc). Closes #322
1179
1180## Bugfix
1181
1182- telegram: Also use HTML in edited messages (telegram). Closes #315
1183- matrix: Fix panic (matrix). Closes #316
1184
1185# v1.5.1
1186
1187## Bugfix
1188
1189- irc: Fix irc ACTION regression (irc). Closes #306
1190- irc: Split on UTF-8 for MessageSplit (irc). Closes #308
1191
1192# v1.5.0
1193
1194## New features
1195
1196- general: remote mediaserver support. See MediaServerDownload and MediaServerUpload in matterbridge.toml.sample
1197 more information on https://github.com/42wim/matterbridge/wiki/Mediaserver-setup-%5Badvanced%5D
1198- general: Add support for ReplaceNicks using regexp to replace nicks. Closes #269 (see matterbridge.toml.sample)
1199- general: Add support for ReplaceMessages using regexp to replace messages. #269 (see matterbridge.toml.sample)
1200- irc: Add MessageSplit option to split messages on MessageLength (irc). Closes #281
1201- matrix: Add support for uploading images/video (matrix). Closes #302
1202- matrix: Add support for uploaded images/video (matrix)
1203
1204## Bugfix
1205
1206- telegram: Add webp extension to stickers if necessary (telegram)
1207- mattermost: Break when re-login fails (mattermost)
1208
1209# v1.4.1
1210
1211## Bugfix
1212
1213- telegram: fix issue with uploading for images/documents/stickers
1214- slack: remove double messages sent to other bridges when uploading files
1215- irc: Fix strict user handling of girc (irc). Closes #298
1216
1217# v1.4.0
1218
1219## Breaking changes
1220
1221- general: `[general]` settings don't override the specific bridge settings
1222
1223## New features
1224
1225- irc: Replace sorcix/irc and go-ircevent with girc, this should be give better reconnects
1226- steam: Add support for bridging to individual steam chats. (steam) (#294)
1227- telegram: Download files from telegram and reupload to supported bridges (telegram). #278
1228- slack: Add support to upload files to slack, from bridges with private urls like slack/mattermost/telegram. (slack)
1229- discord: Add support to upload files to discord, from bridges with private urls like slack/mattermost/telegram. (discord)
1230- general: Add systemd service file (#291)
1231- general: Add support for DEBUG=1 envvar to enable debug. Closes #283
1232- general: Add StripNick option, only allow alphanumerical nicks. Closes #285
1233
1234## Bugfix
1235
1236- gitter: Use room.URI instead of room.Name. (gitter) (#293)
1237- slack: Allow slack messages with variables (eg. @here) to be formatted correctly. (slack) (#288)
1238- slack: Resolve slack channel to human-readable name. (slack) (#282)
1239- slack: Use DisplayName instead of deprecated username (slack). Closes #276
1240- slack: Allowed Slack bridge to extract simpler link format. (#287)
1241- irc: Strip irc colors correct, strip also ctrl chars (irc)
1242
1243# v1.3.1
1244
1245## New features
1246
1247- Support mattermost 4.3.0 and every other 4.x as api4 should be stable (mattermost)
1248
1249## Bugfix
1250
1251- Use bot username if specified (slack). Closes #273
1252
1253# v1.3.0
1254
1255## New features
1256
1257- Relay slack_attachments from mattermost to slack (slack). Closes #260
1258- Add support for quoting previous message when replying (telegram). #237
1259- Add support for Quakenet auth (irc). Closes #263
1260- Download files (max size 1MB) from slack and reupload to mattermost (slack/mattermost). Closes #255
1261
1262## Enhancements
1263
1264- Backoff for 60 seconds when reconnecting too fast (irc) #267
1265- Use override username if specified (mattermost). #260
1266
1267## Bugfix
1268
1269- Try to not forward slack unfurls. Closes #266
1270
1271# v1.2.0
1272
1273## Breaking changes
1274
1275- If you're running a discord bridge, update to this release before 16 october otherwise
1276 it will stop working. (see https://discordapp.com/developers/docs/reference)
1277
1278## New features
1279
1280- general: Add delete support. (actually delete the messages on bridges that support it)
1281 (mattermost,discord,gitter,slack,telegram)
1282
1283## Bugfix
1284
1285- Do not break messages on newline (slack). Closes #258
1286- Update telegram library
1287- Update discord library (supports v6 API now). Old API is deprecated on 16 October
1288
1289# v1.1.2
1290
1291## New features
1292
1293- general: also build darwin binaries
1294- mattermost: add support for mattermost 4.2.x
1295
1296## Bugfix
1297
1298- mattermost: Send images when text is empty regression. (mattermost). Closes #254
1299- slack: also send the first messsage after connect. #252
1300
1301# v1.1.1
1302
1303## Bugfix
1304
1305- mattermost: fix public links
1306
1307# v1.1.0
1308
1309## New features
1310
1311- general: Add better editing support. (actually edit the messages on bridges that support it)
1312 (mattermost,discord,gitter,slack,telegram)
1313- mattermost: use API v4 (removes support for mattermost < 3.8)
1314- mattermost: add support for personal access tokens (since mattermost 4.1)
1315 Use `Token="yourtoken"` in mattermost config
1316 See https://docs.mattermost.com/developer/personal-access-tokens.html for more info
1317- matrix: Relay notices (matrix). Closes #243
1318- irc: Add a charset option. Closes #247
1319
1320## Bugfix
1321
1322- slack: Handle leave/join events (slack). Closes #246
1323- slack: Replace mentions from other bridges. (slack). Closes #233
1324- gitter: remove ZWSP after messages
1325
1326# v1.0.1
1327
1328## New features
1329
1330- mattermost: add support for mattermost 4.1.x
1331- discord: allow a webhookURL per channel #239
1332
1333# v1.0.0
1334
1335## New features
1336
1337- general: Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199
1338- discord: Shows the username instead of the server nickname #234
1339
1340# v1.0.0-rc1
1341
1342## New features
1343
1344- general: Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199
1345
1346## Bugfix
1347
1348- general: Handle same account in multiple gateways better
1349- mattermost: ignore edited messages with reactions
1350- mattermost: Fix double posting of edited messages by using lru cache
1351- irc: update vendor
1352
1353# v0.16.3
1354
1355## Bugfix
1356
1357- general: Fix in/out logic. Closes #224
1358- general: Fix message modification
1359- slack: Disable message from other bots when using webhooks (slack)
1360- mattermost: Return better error messages on mattermost connect
1361
1362# v0.16.2
1363
1364## New features
1365
1366- general: binary builds against latest commit are now available on https://bintray.com/42wim/nightly/Matterbridge/_latestVersion
1367
1368## Bugfix
1369
1370- slack: fix loop introduced by relaying message of other bots #219
1371- slack: Suppress parent message when child message is received #218
1372- mattermost: fix regression when using webhookurl and webhookbindaddress #221
1373
1374# v0.16.1
1375
1376## New features
1377
1378- slack: also relay messages of other bots #213
1379- mattermost: show also links if public links have not been enabled.
1380
1381## Bugfix
1382
1383- mattermost, slack: fix connecting logic #216
1384
1385# v0.16.0
1386
1387## Breaking Changes
1388
1389- URL,UseAPI,BindAddress is deprecated. Your config has to be updated.
1390 - URL => WebhookURL
1391 - BindAddress => WebhookBindAddress
1392 - UseAPI => removed
1393 This change allows you to specify a WebhookURL and a token (slack,discord), so that
1394 messages will be sent with the webhook, but received via the token (API)
1395 If you have not specified WebhookURL and WebhookBindAddress the API (login or token)
1396 will be used automatically. (no need for UseAPI)
1397
1398## New features
1399
1400- mattermost: add support for mattermost 4.0
1401- steam: New protocol support added (http://store.steampowered.com/)
1402- discord: Support for embedded messages (sent by other bots)
1403 Shows title, description and URL of embedded messages (sent by other bots)
1404 To enable add `ShowEmbeds=true` to your discord config
1405- discord: `WebhookURL` posting support added (thanks @saury07) #204
1406 Discord API does not allow to change the name of the user posting, but webhooks does.
1407
1408## Changes
1409
1410- general: all :emoji: will be converted to unicode, providing consistent emojis across all bridges
1411- telegram: Add `UseInsecureURL` option for telegram (default false)
1412 WARNING! If enabled this will relay GIF/stickers/documents and other attachments as URLs
1413 Those URLs will contain your bot-token. This may not be what you want.
1414 For now there is no secure way to relay GIF/stickers/documents without seeing your token.
1415
1416## Bugfix
1417
1418- irc: detect charset and try to convert it to utf-8 before sending it to other bridges. #209 #210
1419- slack: Remove label from URLs (slack). #205
1420- slack: Relay <>& correctly to other bridges #215
1421- steam: Fix channel id bug in steam (channels are off by 0x18000000000000)
1422- general: various improvements
1423- general: samechannelgateway now relays messages correct again #207
1424
1425# v0.16.0-rc2
1426
1427## Breaking Changes
1428
1429- URL,UseAPI,BindAddress is deprecated. Your config has to be updated.
1430 - URL => WebhookURL
1431 - BindAddress => WebhookBindAddress
1432 - UseAPI => removed
1433 This change allows you to specify a WebhookURL and a token (slack,discord), so that
1434 messages will be sent with the webhook, but received via the token (API)
1435 If you have not specified WebhookURL and WebhookBindAddress the API (login or token)
1436 will be used automatically. (no need for UseAPI)
1437
1438## Bugfix since rc1
1439
1440- steam: Fix channel id bug in steam (channels are off by 0x18000000000000)
1441- telegram: Add UseInsecureURL option for telegram (default false)
1442 WARNING! If enabled this will relay GIF/stickers/documents and other attachments as URLs
1443 Those URLs will contain your bot-token. This may not be what you want.
1444 For now there is no secure way to relay GIF/stickers/documents without seeing your token.
1445- irc: detect charset and try to convert it to utf-8 before sending it to other bridges. #209 #210
1446- general: various improvements
1447
1448# v0.16.0-rc1
1449
1450## Breaking Changes
1451
1452- URL,UseAPI,BindAddress is deprecated. Your config has to be updated.
1453 - URL => WebhookURL
1454 - BindAddress => WebhookBindAddress
1455 - UseAPI => removed
1456 This change allows you to specify a WebhookURL and a token (slack,discord), so that
1457 messages will be sent with the webhook, but received via the token (API)
1458 If you have not specified WebhookURL and WebhookBindAddress the API (login or token)
1459 will be used automatically. (no need for UseAPI)
1460
1461## New features
1462
1463- steam: New protocol support added (http://store.steampowered.com/)
1464- discord: WebhookURL posting support added (thanks @saury07) #204
1465 Discord API does not allow to change the name of the user posting, but webhooks does.
1466
1467## Bugfix
1468
1469- general: samechannelgateway now relays messages correct again #207
1470- slack: Remove label from URLs (slack). #205
1471
1472# v0.15.0
1473
1474## New features
1475
1476- general: add option IgnoreMessages for all protocols (see mattebridge.toml.sample)
1477 Messages matching these regexp will be ignored and not sent to other bridges
1478 e.g. IgnoreMessages="^~~ badword"
1479- telegram: add support for sticker/video/photo/document #184
1480
1481## Changes
1482
1483- api: add userid to each message #200
1484
1485## Bugfix
1486
1487- discord: fix crash in memberupdate #198
1488- mattermost: Fix incorrect behaviour of EditDisable (mattermost). Fixes #197
1489- irc: Do not relay join/part of ourselves (irc). Closes #190
1490- irc: make reconnections more robust. #153
1491- gitter: update library, fixes possible crash
1492
1493# v0.14.0
1494
1495## New features
1496
1497- api: add token authentication
1498- mattermost: add support for mattermost 3.10.0
1499
1500## Changes
1501
1502- api: gateway name is added in JSON messages
1503- api: lowercase JSON keys
1504- api: channel name isn't needed in config #195
1505
1506## Bugfix
1507
1508- discord: Add hashtag to channelname (when translating from id) (discord)
1509- mattermost: Fix a panic. #186
1510- mattermost: use teamid cache if possible. Fixes a panic
1511- api: post valid json. #185
1512- api: allow reuse of api in different gateways. #189
1513- general: Fix utf-8 issues for {NOPINGNICK}. #193
1514
1515# v0.13.0
1516
1517## New features
1518
1519- irc: Limit message length. `MessageLength=400`
1520 Maximum length of message sent to irc server. If it exceeds <message clipped> will be add to the message.
1521- irc: Add NOPINGNICK option.
1522 The string "{NOPINGNICK}" (case sensitive) will be replaced by the actual nick / username, but with a ZWSP inside the nick, so the irc user with the same nick won't get pinged.
1523 See https://github.com/42wim/matterbridge/issues/175 for more information
1524
1525## Bugfix
1526
1527- slack: Fix sending to different channels on same account (slack). Closes #177
1528- telegram: Fix incorrect usernames being sent. Closes #181
1529
1530# v0.12.1
1531
1532## New features
1533
1534- telegram: Add UseFirstName option (telegram). Closes #144
1535- matrix: Add NoHomeServerSuffix. Option to disable homeserver on username (matrix). Closes #160.
1536
1537## Bugfix
1538
1539- xmpp: Add Compatibility for Cisco Jabber (xmpp) (#166)
1540- irc: Fix JoinChannel argument to use IRC channel key (#172)
1541- discord: Fix possible crash on nil (discord)
1542- discord: Replace long ids in channel metions (discord). Fixes #174
1543
1544# v0.12.0
1545
1546## Changes
1547
1548- general: edited messages are now being sent by default on discord/mattermost/telegram/slack. See "New Features"
1549
1550## New features
1551
1552- general: add support for edited messages.
1553 Add new keyword EditDisable (false/true), default false. Which means by default edited messages will be sent to other bridges.
1554 Add new keyword EditSuffix , default "". You can change this eg to "(edited)", this will be appended to every edit message.
1555- mattermost: support mattermost v3.9.x
1556- general: Add support for HTTP{S}\_PROXY env variables (#162)
1557- discord: Strip custom emoji metadata (discord). Closes #148
1558
1559## Bugfix
1560
1561- slack: Ignore error on private channel join (slack) Fixes #150
1562- mattermost: fix crash on reconnects when server is down. Closes #163
1563- irc: Relay messages starting with ! (irc). Closes #164
1564
1565# v0.11.0
1566
1567## New features
1568
1569- general: reusing the same account on multiple gateways now also reuses the connection.
1570 This is particuarly useful for irc. See #87
1571- general: the Name is now REQUIRED and needs to be UNIQUE for each gateway configuration
1572- telegram: Support edited messages (telegram). See #141
1573- mattermost: Add support for showing/hiding join/leave messages from mattermost. Closes #147
1574- mattermost: Reconnect on session removal/timeout (mattermost)
1575- mattermost: Support mattermost v3.8.x
1576- irc: Rejoin channel when kicked (irc).
1577
1578## Bugfix
1579
1580- mattermost: Remove space after nick (mattermost). Closes #142
1581- mattermost: Modify iconurl correctly (mattermost).
1582- irc: Fix join/leave regression (irc)
1583
1584# v0.10.3
1585
1586## Bugfix
1587
1588- slack: Allow bot tokens for now without warning (slack). Closes #140 (fixes user_is_bot message on channel join)
1589
1590# v0.10.2
1591
1592## New features
1593
1594- general: gops agent added. Allows for more debugging. See #134
1595- general: toml inline table support added for config file
1596
1597## Bugfix
1598
1599- all: vendored libs updated
1600
1601## Changes
1602
1603- general: add more informative messages on startup
1604
1605# v0.10.1
1606
1607## Bugfix
1608
1609- gitter: Fix sending messages on new channel join.
1610
1611# v0.10.0
1612
1613## New features
1614
1615- matrix: New protocol support added (https://matrix.org)
1616- mattermost: works with mattermost release v3.7.0
1617- discord: Replace role ids in mentions to role names (discord). Closes #133
1618
1619## Bugfix
1620
1621- mattermost: Add ReadTimeout to close lingering connections (mattermost). See #125
1622- gitter: Join rooms not already joined by the bot (gitter). See #135
1623- general: Fail when bridge is unable to join a channel (general)
1624
1625## Changes
1626
1627- telegram: Do not use HTML parsemode by default. Set `MessageFormat="HTML"` to use it. Closes #126
1628
1629# v0.9.3
1630
1631## New features
1632
1633- API: rest interface to read / post messages (see API section in matterbridge.toml.sample)
1634
1635## Bugfix
1636
1637- slack: fix receiving messages from private channels #118
1638- slack: fix echo when using webhooks #119
1639- mattermost: reconnecting should work better now
1640- irc: keeps reconnecting (every 60 seconds) now after ping timeout/disconnects.
1641
1642# v0.9.2
1643
1644## New features
1645
1646- slack: support private channels #118
1647
1648## Bugfix
1649
1650- general: make ignorenicks work again #115
1651- telegram: fix receiving from channels and groups #112
1652- telegram: use html for username
1653- telegram: use `unknown` as username when username is not visible.
1654- irc: update vendor (fixes some crashes) #117
1655- xmpp: fix tls by setting ServerName #114
1656
1657# v0.9.1
1658
1659## New features
1660
1661- Rocket.Chat: New protocol support added (https://rocket.chat)
1662- irc: add channel key support #27 (see matterbrige.toml.sample for example)
1663- xmpp: add SkipTLSVerify #106
1664
1665## Bugfix
1666
1667- general: Exit when a bridge fails to start
1668- mattermost: Check errors only on first connect. Keep retrying after first connection succeeds. #95
1669- telegram: fix missing username #102
1670- slack: do not use API functions in webhook (slack) #110
1671
1672# v0.9.0
1673
1674## New features
1675
1676- Telegram: New protocol support added (https://telegram.org)
1677- Hipchat: Add sample config to connect to hipchat via xmpp
1678- discord: add "Bot " tag to discord tokens automatically
1679- slack: Add support for dynamic Iconurl #43
1680- general: Add `gateway.inout` config option for bidirectional bridges #85
1681- general: Add `[general]` section so that `RemoteNickFormat` can be set globally
1682
1683## Bugfix
1684
1685- general: when using samechannelgateway NickFormat get doubled by the NICK #77
1686- general: fix ShowJoinPart for messages from irc bridge #72
1687- gitter: fix high cpu usage #89
1688- irc: fix !users command #78
1689- xmpp: fix keepalive
1690- xmpp: do not relay delayed/empty messages
1691- slack: Replace id-mentions to usernames #86
1692- mattermost: fix public links not working (API changes)
1693
1694# v0.8.1
1695
1696## Bugfix
1697
1698- general: when using samechannelgateway NickFormat get doubled by the NICK #77
1699- irc: fix !users command #78
1700
1701# v0.8.0
1702
1703Release because of breaking mattermost API changes
1704
1705## New features
1706
1707- Supports mattermost v3.5.0
1708
1709# v0.7.1
1710
1711## Bugfix
1712
1713- general: when using samechannelgateway NickFormat get doubled by the NICK #77
1714- irc: fix !users command #78
1715
1716# v0.7.0
1717
1718## Breaking config changes from 0.6 to 0.7
1719
1720Matterbridge now uses TOML configuration (https://github.com/toml-lang/toml)
1721See matterbridge.toml.sample for an example
1722
1723## New features
1724
1725### General
1726
1727- Allow for bridging the same type of bridge, which means you can eg bridge between multiple mattermosts.
1728- The bridge is now actually a gateway which has support multiple in and out bridges. (and supports multiple gateways).
1729- Discord support added. See matterbridge.toml.sample for more information.
1730- Samechannelgateway support added, easier configuration for 1:1 mapping of protocols with same channel names. #35
1731- Support for override from environment variables. #50
1732- Better debugging output.
1733- discord: New protocol support added. (http://www.discordapp.com)
1734- mattermost: Support attachments.
1735- irc: Strip colors. #33
1736- irc: Anti-flooding support. #40
1737- irc: Forward channel notices.
1738
1739## Bugfix
1740
1741- irc: Split newlines. #37
1742- irc: Only respond to nick related notices from nickserv.
1743- irc: Ignore queries send to the bot.
1744- irc: Ignore messages from ourself.
1745- irc: Only output the "users on irc information" when asked with "!users".
1746- irc: Actually wait until connection is complete before saying it is.
1747- mattermost: Fix mattermost channel joins.
1748- mattermost: Drop messages not from our team.
1749- slack: Do not panic on non-existing channels.
1750- general: Exit when a bridge fails to start.
1751
1752# v0.6.1
1753
1754## New features
1755
1756- Slack support added. See matterbridge.conf.sample for more information
1757
1758## Bugfix
1759
1760- Fix 100% CPU bug on incorrect closed connections
1761
1762# v0.6.0-beta2
1763
1764## New features
1765
1766- Gitter support added. See matterbridge.conf.sample for more information
1767
1768# v0.6.0-beta1
1769
1770## Breaking changes from 0.5 to 0.6
1771
1772### commandline
1773
1774- -plus switch deprecated. Use `Plus=true` or `Plus` in `[general]` section
1775
1776### IRC section
1777
1778- `Enabled` added (default false)
1779 Add `Enabled=true` or `Enabled` to the `[IRC]` section if you want to enable the IRC bridge
1780
1781### Mattermost section
1782
1783- `Enabled` added (default false)
1784 Add `Enabled=true` or `Enabled` to the `[mattermost]` section if you want to enable the mattermost bridge
1785
1786### General section
1787
1788- Use `Plus=true` or `Plus` in `[general]` section to enable the API version of matterbridge
1789
1790## New features
1791
1792- Matterbridge now bridges between any specified protocol (not only mattermost anymore)
1793- XMPP support added. See matterbridge.conf.sample for more information
1794- RemoteNickFormat {BRIDGE} variable added
1795 You can now add the originating bridge to `RemoteNickFormat`
1796 eg `RemoteNickFormat="[{BRIDGE}] <{NICK}> "`
1797
1798# v0.5.0
1799
1800## Breaking changes from 0.4 to 0.5 for matterbridge (webhooks version)
1801
1802### IRC section
1803
1804#### Server
1805
1806Port removed, added to server
1807
1808```
1809server="irc.freenode.net"
1810port=6667
1811```
1812
1813changed to
1814
1815```
1816server="irc.freenode.net:6667"
1817```
1818
1819#### Channel
1820
1821Removed see Channels section below
1822
1823#### UseSlackCircumfix=true
1824
1825Removed, can be done by using `RemoteNickFormat="<{NICK}> "`
1826
1827### Mattermost section
1828
1829#### BindAddress
1830
1831Port removed, added to BindAddress
1832
1833```
1834BindAddress="0.0.0.0"
1835port=9999
1836```
1837
1838changed to
1839
1840```
1841BindAddress="0.0.0.0:9999"
1842```
1843
1844#### Token
1845
1846Removed
1847
1848### Channels section
1849
1850```
1851[Token "outgoingwebhooktoken1"]
1852IRCChannel="#off-topic"
1853MMChannel="off-topic"
1854```
1855
1856changed to
1857
1858```
1859[Channel "channelnameofchoice"]
1860IRC="#off-topic"
1861Mattermost="off-topic"
1862```
1863