Skip to content

Releases: matrix-org/matrix-hookshot

1.8.0 (2022-07-11)

11 Jul 17:14
1.8.0
Compare
Choose a tag to compare

Bugfixes

  • GitHub OAuth URLs for Cloud now use the correct endpoint. (#377)
  • Fixed setup webhook command not providing the right URL. (#379)
  • Fixed generic webhook connections not updating when a previously configured transformation function is removed from state. (#383)
  • Fix malformed webhook link in AdminRoom. (#384)
  • GitHub admin room notifications will now continue to work if you reauthenticate with GitHub. (#388)
  • Floats in JSON payloads sent to generic webhooks are now handled properly. See the documentation for more information. (#396)
  • Allow replying with the proper notice message when a widget is set up. (#403)
  • Stringify provision connection data object in logs. (#404)
  • Fix an issue where GitLab repos could not be bridged if they were already bridged to another room. (#406)

Improved Documentation

  • Clarify wording in Generic Hook Setup docs (#381)
  • Mention RSS/Atom feed support in the project's README. (#389)
  • Mention that the GitLab test hooks button doesn't send properly formed requests in all cases, and should not be relied upon when testing Hookshot. (#398)
  • Correct some typos in documentation pages. (#401)

Deprecations and Removals

  • Generic webhooks will no longer respond to GET requests by default. Users should consider using the POST or PUT methods instead.
    GET support can be enabled using the config flag generic.enableHttpGet. (#397)

Internal Changes

  • Add a .node-version file. (#376)
  • Enable CI for Node 18. (#399)

1.7.3 (2022-06-09)

09 Jun 14:02
1.7.3
Compare
Choose a tag to compare

Bugfixes

  • Reinstate missing github authentication commands in admin room. (#372)

1.7.2 (2022-06-08)

08 Jun 15:52
1.7.2
Compare
Choose a tag to compare

Features

  • Add support for GitHub enterprise. You can now specify the URL via enterpriseUrl in the config file. (#364)
  • Add ability for bridge admins to remove GitHub connections using the admin room. (#367)

Bugfixes

  • Fix Github API URLs (#366)

Improved Documentation

  • Add CONTRIBUTING.md guide. (#134)
  • Suggest using https for cloning hookshot, rather than git. (#355)

Internal Changes

  • Widgets now request the RequireClient permission to verify the users identity. (#370)

1.7.1 (2022-05-23)

23 May 14:36
1.7.1
Compare
Choose a tag to compare

Bugfixes

  • Match UserAgent version to Hookshot's version. Fixes #359. Thanks to @tadzik (#360)
  • Fixed an issue that prevented GitLab repo connections from working if GitHub support is disabled. (#362)

Internal Changes

  • Update towncrier to 21.9.0 (#353)

1.7.0 (2022-05-12)

12 May 12:53
Compare
Choose a tag to compare

Features

  • Improve GitLab push hook formatting: markdown commit hashes, link "N commits" to the list of commits, if there are more commits than can be shown only link instead, and show commiter unless a single person committed and pushed. (#309)
  • Add widgets.openIdOverrides config option for developers to statically define server name <-> federation endpoints for openId lookups. (#326)
  • Add a new setup widget for feeds (#345)

Bugfixes

  • Docker images can now be built cross-platform. Thanks @ptman for getting arm64 builds going! (#339)
  • Fix regression where GitHubRepo and GitLabRepo connection config options were not being honoured (#346)

Improved Documentation

  • Fix spacing of non-emoji icons in the docs navbar (#341)

1.6.1 (2022-05-06)

06 May 16:04
1.6.1
Compare
Choose a tag to compare

Bugfixes

  • Fix a bug where widgets would not load if hosted on a subpath (e.g. /hookshot instead of /) (#340)

1.6.0 (2022-05-06)

06 May 15:02
1.6.0
Compare
Choose a tag to compare

Features

  • Add new hookshot_connection_event(_failed) metrics for tracking succesful event handling.
    Reinstate matrix_* metrics which were previously not being recorded. (#312)
  • Send a notice when a GitLab merge request gets some review comments. (#314)
  • Add RSS/Atom feed support (#315)
  • Add support for GitLab in the widgets configuration UI. (#320)
  • Add new !hookshot gitlab project command to configure project bridges in rooms. See the docs for instructions. (#321)

Internal Changes

  • Reduce Docker image size. (#319)
  • Refactor connection handling logic to improve developer experience. (#330)
  • Restructure widget web components. (#332)
  • Replace 'snowpack' with 'vite' for building the widget web components. (#334)
  • The docker image has been shrunk by 78%, and now takes up 300MB. (#336)

1.5.0 (2022-04-14)

14 Apr 12:58
Compare
Choose a tag to compare

Features

  • Allow specifying msgtype for generic webhook transformations. (#282)
  • Add new GitHubRepo config option newIssue.labels which allows admins to automatically set labels on new issues. (#292)
  • Allow priority ordering of connections by setting a priorty: number key in the state event content. (#293)
  • Support GitLab push webhook events (#306)

Bugfixes

  • Fix #289 "Generic webhook url format (copy) issue with backticks" (#290)
  • Fix !hookshot help appearing twice in help text, and only show setup commands for which the bridge is configured for. (#296)
  • Fix GitHub / GitLab issue rooms breaking due to being unable to generate ghost users. (#303)
  • Fix GitHub tokens not being refreshed on expiry when using OAuth support.
    Rename the github hastoken to github status. (#307)

Improved Documentation

  • Fix some typos in widgets.md (#286)

Internal Changes

  • Fix issue where the webhook icon in the widget configuration page would not load in some browsers. (#285)
  • Fail to start when widgets are configured but no "widgets" listener is configured. (#298)

1.4.0 (2022-04-08)

08 Apr 15:23
1.4.0
Compare
Choose a tag to compare

Features

  • Add support for configuring generic webhooks via widgets. (#140)
  • Show the closing comments on closed GitHub PRs. (#262)
  • Webhooks created via !hookshot webhook now have their secret URLs sent to the admin room with the user, rather than posted in the bridged room. (#265)
  • Automatically link GitHub issues and pull requests when an issue number is mentioned (by default, using the # prefix). (#277)
  • Support GitLab release webhook events. (#278)

Bugfixes

  • Bridge API: Don't sent HTTP header Content-Type: application/json when there is no body. (#272)

Improved Documentation

  • Clarify steps of bridging a GitHub repo (#245)
  • Update setup.md: Minor grammar corrections (#264)

Internal Changes

  • Make some grammar corrections in code, chat notices and documentation. (#267)
  • Made ESLint lint all TypeScript files and fix a few linter errors. (#273)

1.3.0 (2022-03-30)

30 Mar 11:06
1.3.0
Compare
Choose a tag to compare

Features

  • Generic webhooks now listen for incoming hooks on /webhook. Existing setups using / will continue to work, but should be migrated where possible. See the documentation for more information. (#227)
  • Logging now supports json format outputs and colourized logs. Startup logging should now be less noisy on non-debug levels. (#229)
  • Use stable key m.thread for Figma threads. (#236)
  • Add support for close events on GitLab merge requests. (#253)
  • Hosted documentation now features a version selector. (#259)

Bugfixes

  • Fixed an issue which caused GitHub issue edit notifications to be posted to a room twice. (#230)
  • Fix generic webhooks always returning an HTTP error when waitForComplete is enabled. (#247)
  • Fix a bug that would cause Hookshot to crash when a Matrix message could not be sent (#249)
  • Stop Figma threads showing as replies in clients. (#251)
  • Fix an issue where the bridge bot would rejoin a room after being removed. (#257)
  • Connections are now properly cleaned up when the state event is redacted. (#258)

Improved Documentation

  • Clarify homeserver requirements and configuration on the setup page. (#243)

Deprecations and Removals

  • Drop support for Node.JS 12. Administrators are advised to upgrade to at least Node.JS 14. (#228)

Internal Changes

  • Uppercase values for logging.level are now allowed, although lowercase values are preferred. (#250)