Skip to content

Releases: matrix-org/matrix-hookshot

2.5.0 (2022-12-02)

02 Dec 13:49
2.5.0
Compare
Choose a tag to compare

Features

  • GitHub assign command now automatically chooses the top issue and/or authenticated user if not provided. (#554)
  • Display GitLab project paths with their true letter casing. (#556)
  • Forbid creating multiple GitLab connections on the same path with different letter casing. (#557)
  • Allow adding connections to GitLab projects even when Hookshot doesn't have permissions to automatically provision a webhook for it. When that occurs, tell the user to ask a project admin to add the webhook. (#567)

Bugfixes

  • Do not send a notice when a user replies to a GitLab comment, or when GitLab comment notices have been disabled. (#536)
  • Don't announce error if a RSS feed request timed out. (#551)
  • Don't ignore events from GitLab projects that have capital letters in their project path, and had their room connection set up by the configuration widget or provisioning API. (#553)
  • Automatically JSON stringify values in a webhook payload that exceed the max depth/breadth supported by the parser. (#560)
  • The bot no longer accepts invites from users who do not have permission to use it. (#561)
  • Fix issue where GitLab connections couldn't be added via a bot command for projects on an instance URL configured with a trailing slash. (#563)
  • Harden against unauthorized changes to room state for connection settings. (#565)
  • Fixed a case where a bridge-created admin room would stop working on restart. (#578)

Improved Documentation

  • Improve navigability & legibility of some documentation pages. (#568)

Internal Changes

  • Increase default feeds.pollTimeoutSeconds from 10 seconds to 30. (#483)
  • Don't provision a connection twice when using a bot command to create a connection. (#558)
  • Change "setup" to "set up" where it's used as a verb. (#572)
  • Fix misspellings of "occurred" in error messages. (#576)

2.4.0 (2022-10-21)

21 Oct 15:36
2.4.0
Compare
Choose a tag to compare

Features

  • Add support for notifying when a GitHub workflow completes. (#520)
  • Disable GitHub workflow events by default. (#528)
  • Support Jira version events. (#534)
  • Allow multiple Jira connections at a time (either in the same room or across multiple rooms). (#540)

Bugfixes

  • Mention the help in AdminRooms if they send an invalid command. (#522)
  • Fix an issue where github status would not respond with an error if your personal token had expired.
    Fix GitHub refresh tokens occasionally not working. (#523)
  • Add support for notifying when a GitHub workflow completes. (#524)
  • Fix a crash caused by invalid configuration in connection state events. (#537)
  • Fix the Jira config widget to properly add listeners for issue creation events & expose support for issue update events. (#543)

Internal Changes

  • Use the matrix-appservice-bridge logging implementation. (#488)
  • Increase network timeout for Docker builds, and fix Docker build OOMing in CI for arm64 builds. (#535)

2.3.0 (2022-10-05)

05 Oct 08:20
2.3.0
Compare
Choose a tag to compare

Features

  • Added create-confidential GitLab connection command. (#496)
  • Add new GitLab connection flag includeCommentBody, to enable including the body of comments on MR notifications. (#500, #517)
  • Add room configuration widget for Jira. (#502)
  • Add bot commands to list and remove Jira connections. (#503)
  • Reorganize the GitHub widget to allow searching for repositories by organization. (#508)
  • Print a notice message after successfully logging in to GitHub when conversing with the bot in a DM. (#512)

Bugfixes

  • Give a warning if the user attempts to add a configuration widget to the room without giving the bot permissions. (#491)
  • Improve formatting of help commands and Jira's whoami command. (#504)
  • Add a configuration widget for Jira. (#507)
  • Fix inactive "Command Prefix" field in configuration widgets. (#515)
  • Fix support for the "Labeled" event in the GitHub widget. (#519)

Internal Changes

  • Improve some type-checking in the codebase. (#505)
  • Refactor the Vite component's tsconfig.json file to make it compatible with the TypeScript project settings & the TypeScript language server. (#506)
  • Don't send empty query string in some widget API requests. (#518)

2.2.0 (2022-09-16)

16 Sep 13:32
2.2.0
Compare
Choose a tag to compare

Features

  • Ready/draft state changes for GitLab merge requests are now reported. (#480)
  • Merge GitLab MR approvals and comments into one message. (#484)

Bugfixes

  • Log noisy "Got GitHub webhook event" log line at debug level. (#473)
  • Fix Figma service not being able to create new webhooks on startup, causing a crash. (#481)
  • Fix a bug where the bridge can crash when JSON logging is enabled. (#478)

Internal Changes

  • Update codemirror and remove unused font. (#489)

2.1.2 (2022-09-03)

03 Sep 02:09
2.1.2
Compare
Choose a tag to compare

Bugfixes

  • Fix a bug where reading RSS feeds could crash the process. (#469)

2.1.1 (2022-09-02)

02 Sep 13:18
2.1.1
Compare
Choose a tag to compare

Bugfixes

  • Fixed issue where log lines would only be outputted when the logging.level is debug. (#467)

2.1.0 (2022-09-02)

02 Sep 10:42
2.1.0
Compare
Choose a tag to compare

Features

  • Add support for ARM64 docker images. (#458)
  • Added new config option feeds.pollTimeoutSeconds to explictly set how long to wait for a feed response. (#459)
  • JSON logging output now includes new keys such as error and args. (#463)

Bugfixes

  • Fix error when responding to a provisioning request for a room that the Hookshot bot isn't yet a member of. (#457)
  • Fix a bug users without "login" permissions could run login commands for GitHub/GitLab/JIRA, but get an error when attempting to store the token. Users now have their permissions checked earlier. (#461)
  • Hookshot now waits for Redis to be ready before handling traffic. (#462)
  • Fix room membership going stale for rooms used in the permissions config. (#464)

Improved Documentation

  • Be explicit that identifiers in the permissions yaml config need to be wrapped in quotes, because they start with the characters @ and !. (#453)

Internal Changes

  • Track coverage of tests. (#351)

2.0.1 (2022-08-22)

22 Aug 09:56
2.0.1
Compare
Choose a tag to compare

Bugfixes

  • Fix issue that would cause the bridge not to start when using Docker. (#448)

2.0.0 (2022-08-22)

22 Aug 09:05
2.0.0
Compare
Choose a tag to compare

Please note: Minimum Node.JS version is now 16

Features

  • Add a configuration widget for GitHub. (#420)
  • Add query parameter to scope room config widget to a particular service. (#441)

Bugfixes

  • Fix GitHub notices sometimes coming through multiple times if GitHub sends multiple copies of a webhook. (#429)
  • Headers and paragraphs now rendered properly when outputted from a Generic webhook transformation function. (#443)
  • Fixed issue where !hookshot gitlab project commands would fail with a "Failed to handle command." error. (#445)

Deprecations and Removals

  • Minimum Node.JS version is now 16. Updated matrix-bot-sdk to 0.6.0. (#417)

1.8.1 (2022-07-18)

19 Jul 17:00
1.8.1
Compare
Choose a tag to compare

Features

  • Added support for decoding XML payloads when handling generic webhooks. (#410)

Bugfixes

  • If widgets.addToAdminRooms is set, add the admin widget to a DM room the bot is invited to, instead of the non-admin widget. (#411)
  • Disallow empty and invalid values for the widgets.publicUrl and generic.urlPrefix configuration settings. (#412)
  • Post a non-empty message in response to github list-connections when no connections are present. (#416)

Improved Documentation

  • Add deeplink for registration.sample.yml to setup documentation (#374)
  • Update GitHub authentication documentation: list the steps for OAuth login (github login), and mention the correct command for checking GitHub authentication status (github status). (#415)

Internal Changes

  • Add package scripts for cleaning build files (which can be run with yarn clean). (#414)