Skip to content

matterircd v0.35.0

Latest

Choose a tag to compare

@hloeung hloeung released this 21 Nov 04:45
· 93 commits to master since this release
cab9c03

New features

  • general: Add support for additional AI providers for EXPERIMENTAL AI summarizing of posts/threads/channels
    • OpenAI & OpenAI-compatible providers (#952)
    • DeepSeek (#1010)
    • Claude (#1011)
    • xAI & Meta Muse (#1012)
    • Google AI Studio API keys for Gemini (#1023)
    • OpenRouter (#1089)
  • matrix: Add EXPERIMENTAL support for [matrix] bridge (#912, #951)
    • Support edits, deletions, typing, topics, membership, files, history, search, reactions, status, and spaces (#951)
    • Support end-to-end encryption (E2EE) via goolm build tag, device ID/session key display, verification status on login, interactive SAS device verification, and in-chat verification of other users (#951, #960, #966, #967, #969, #978)
    • Support room invitations and accepting them with /join (#965)
    • Support shared Mattermost config options, service commands, DefaultProvider, and configurable nick format (matrix.ReplaceColonChar) (#955, #958, #990)
    • Support WHOIS details, user status, and DirectoryURL (restricted to DefaultProvider homeserver) (#977, #1046, #1064)
    • Support emoji/unicode suffixes, deleted message text, pinned/unpinned events, and reaction removals with thread context (#991, #1020, #1043)
  • slack: Overhaul Slack bridge using matterbridge/slackclient to achieve feature and config parity with Mattermost and Matrix (#1030, #1049, #1057, #1058, #1060)
    • Add xoxc/xoxd cookie login support and RTM WebSocket authentication (#1030)
    • Add thread IDs, message actions, DETAILS URLs, reactions, typing, file events/attachments, nick, ping, and member counts (#1039, #1048, #1056)
    • Add service commands (SUMMARIZE, SEARCH, SCROLLBACK, DETAILS, etc.) and scrollback/replay history support (#1045)
    • Add real-time lifecycle sync events, disconnect/reconnect notices, WHOIS details, custom status & expiration, and workspace-scoped DirectoryURL support (#1046, #1047, #1051, #1055, #1065)
    • Add Block Kit rendering, unfurl previews, quoted code blocks, archive link IDs, and Mattermost-style pinned/unpinned & attachment formatting (#1043, #1044, #1049, #1058, #1060)
    • Support Slack RealName and Enterprise Grid nick resolution (#1037)

Enhancement

  • general: Refactor AI summarization into a dedicated ai package with updated default models, retry/backoff on timeouts and transient errors, and streaming JSON decoding (#1024, #1026, #1027, #1032)
  • general: Include AI provider, model, thinking mode, and detailed token usage (input cache hit/miss and output tokens) in summary notices & footer, and log summarization requests and metrics at INFO level (#1022, #1025, #1085, #1088)
  • general: Support model overrides in SUMMARIZE and resolve shorthand Gemini model names (#1086)
  • general: Support per-protocol lastviewed databases and namespace global event timestamps (#1003)
  • general: Route IRC PASS to the bridge matching its Restrict list (#983)
  • general: Consolidate SharedConfig fields across bridges and improve live config reload (#1061, #1062)
  • general: Expand credential redaction in logs (#1050)
  • general: Prioritize primary emoji aliases over tags and support inline closing code fences with bridge suffixes (#1041, #1042)
  • general: Trigger Docker workflow on v* tag pushes to publish versioned images (#1091)
  • irc: Make IRC max line length configurable (MaxLineLength) (#1082)
  • irc: Support !! in @@ reaction syntax to react to the last sent message (#1017)
  • irc: Use WHOIS identity in channel message prefixes and honor wire limits (#970)
  • irc: Route login and sync progress to SERVER NOTICEs for PASS logins (#1019)
  • irc: Route channel delivery failures as ERR_CANNOTSENDTOCHAN (404) (#1018)
  • irc: Send replay headers as IRC NOTICE (#1090, #1093)
  • irc: Only expose the service bot of the connected bridge (#1087)
  • irc: Wait for login OK before starting channel sync and history replay (#1052)
  • irc: Attach IRCv3 @time= server-time tags to delayed live events (#1063)
  • matrix: Update matrixclient and filter unused Matrix events in /sync with a denylist (#975, #996, #998, #1000, #1002, #1014, #1016, #1070)
  • matrix: Honour MatrixclientLogLevel, include room names in log messages, and log API calls and round-trip durations (#960, #976, #992, #1005)
  • matrix: Reduce memory allocations and optimize member lookups, user resolution, and room queries (#1013, #1029)
  • matrix: Process synced events on a worker goroutine and isolate initial sync (#997, #1005)
  • matrix: Show own edits, deletions, and reactions with thread context, and track parent thread IDs in /lastsent (#1006, #1015)
  • matrix: Support HideReactions and DisableShowOwnModified config options (#1049)
  • matrix: Trigger channel sync after long disconnects (#1040)
  • mattermost: Support Mattermost 12 and warn instead of failing on Mattermost versions below 7 (#1076, #1078)
  • mattermost: Log Mattermost API round-trip durations (#1005)
  • mattermost: Speed up Mattermost logout (#959)
  • mattermost: Refresh offline/away status sooner and use GetStatusFresh for RPL_AWAY/WHOIS last-online info (#971, #972)
  • slack: Cache channel metadata, joined state, and channel members (#1053)
  • slack: Reduce lock contention, allocations, and logout blocking (#1072)
  • slack: Align Slack API logging with Mattermost and Matrix and stop echoing tokens to IRC (#1030)

Bugfix

  • general: Self-heal channel and room names for Mattermost and Matrix (#962)
  • general: Do not fall back to regular message on network errors when replying to a thread (#999)
  • general: Check HTTP status code before decoding Copilot AI response (#1009)
  • general: Make Mattermost and Matrix post retries idempotent to prevent duplicate messages on timeouts (#1031)
  • general: Use wall-clock time for heavy sync threshold check (#1059)
  • general: Snapshot BoltDB last-viewed cursors before replay sync, defer cursor updates for channels pending replay, and skip cursor updates when IRC socket writes fail (#1075, #1077, #1081)
  • general: Restore 1000-event buffer on bridge eventChan (#1080)
  • irc: Fall back to channel typing when thread root can't be resolved (#974)
  • irc: Fix outbound DM sender nick and isolate Mattermost webhook override_username ghosts (#1028)
  • matrix: Fix splitting / wrapping of lines & add HardLineSplit to prevent IRC message/line truncation (#953)
  • matrix: Fix auto-join, incoming messages, DMs, echoes, identities, and logging (#954)
  • matrix: Accept saved channel names carrying the default provider on join and keep channel name of restored rooms (#957, #1001)
  • matrix: Show inferred DMs, handle channel <-> DM transitions, skip unjoined m.direct rooms, classify new DM rooms before persisting, and hide in-flight DM rooms (#968, #981, #982, #984)
  • matrix: Force a full initial sync on start when E2EE is enabled (#973)
  • matrix: Fix ghost nicks in typing/replay/search to use localpart/homeserver nicks (#989)
  • matrix: Skip deleted notices for redacted edits (#993)
  • matrix: Don't send typing indicators for threads (#995)
  • matrix: Resolve thread root when replying within a thread and resolve room fallback in GetPostThread (#1007, #1008)
  • matrix: Fix topic updates for local non-public rooms and DMs (#1021)
  • matrix: Avoid duplicating /sync-delivered messages on reconnect (#1063, #1083)
  • matrix: Fix empty parent reply context in E2EE rooms (#1071)
  • matrix: Preserve event ordering for room updates, initial invites, and E2EE late keys (#1073)
  • mattermost: Refresh Mattermost HTTP session on 401 Unauthorized (#1033)
  • mattermost: Stabilize postListToEvents sort and guard nil posts (#1079)
  • slack: Route Slackbot system messages to system and use IRC nick for Adder/Remover (#1035)
  • slack: Handle Slack channel_topic and channel_purpose events, and fix channel renames and private topic/purpose metadata (#1036, #1054)
  • slack: Validate Slack token format on PASS auto-login (#1038)
  • slack: Fix startup ordering, replay boundary duplicate, live update @time, and echo suppression (#1074)

Full Changelog: v0.34.0...v0.35.0