Releases: matrix-org/matrix-hookshot
Releases · matrix-org/matrix-hookshot
1.8.0 (2022-07-11)
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 thePOST
orPUT
methods instead.
GET
support can be enabled using the config flaggeneric.enableHttpGet
. (#397)
Internal Changes
1.7.3 (2022-06-09)
Bugfixes
- Reinstate missing
github
authentication commands in admin room. (#372)
1.7.2 (2022-06-08)
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
Internal Changes
- Widgets now request the RequireClient permission to verify the users identity. (#370)
1.7.1 (2022-05-23)
1.7.0 (2022-05-12)
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)
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)
Features
- Add new
hookshot_connection_event(_failed)
metrics for tracking succesful event handling.
Reinstatematrix_*
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
1.5.0 (2022-04-14)
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 thegithub hastoken
togithub status
. (#307)
Improved Documentation
- Fix some typos in widgets.md (#286)
Internal Changes
1.4.0 (2022-04-08)
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
Internal Changes
1.3.0 (2022-03-30)
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)