Skip to content

Releases: matrix-org/matrix-hookshot

helm-hookshot-0.1.13

08 Jun 18:06
5a277d4

Choose a tag to compare

Deploy a Matrix Hookshot instance to Kubernetes

4.2.0 2023-06-05

06 Jun 11:30
4.2.0

Choose a tag to compare

Features

  • Add support for uploading bot avatar images. (#767)

Bugfixes

  • Fix confusing case where issue comments would be notified on if the issue event type is checked on GitHub connections. (#757)
  • Fix crash when failing to handle events, typically due to lacking permissions to send messages in a room. (#771)

4.1.0 2023-05-24

29 May 07:47

Choose a tag to compare

Features

  • Add support for notifying when a GitLab MR has a single review (rather than completed review). (#736)
  • Add support for Sentry tracing. (#754)

Bugfixes

  • Fix feed message format when the item does not contain a title or link. (#737)
  • Fix HTML appearing in its escaped form in feed item summaries. (#738)
  • Fix Github comments not being rendered correctly as blockquotes. (#746)
  • Fix setup issues when the bot has PL 0 and room default isn't 0. (#755)

Internal Changes

  • Apply non-style suggestions by cargo clippy to reduce allocations in the rust code. (#750)
  • Apply more Rust clippy suggestions, and run clippy in CI. (#753)
  • Update eslint to a version that supports Typescript 5. (#760)

4.0.0 (2023-04-27)

27 Apr 14:18
4.0.0

Choose a tag to compare

Features

  • Add support for specifying custom templates for feeds. (#702)
  • Use SQLite for file-based crypto stores by default, instead of Sled. (#714)
  • Notifications for RSS feed failures can now be toggled on and off. The feature is now off by default. (#716)

Bugfixes

  • Fix mishandling of empty feed/item title tags. (#708)
  • Add information about GitHub App Installs in 'update' state on the oauth status page. (#717)
  • Fix cases of GitHub repos not being bridgable if the GitHub App had to be manually approved. (#718)
  • Switch to using Rust for parsing RSS feeds. (#721)

Deprecations and Removals

  • Add support for Node 20, and drop support for Node 16. (#724)

Internal Changes

  • Ensure all Hookshot specific metrics have a hookshot_ prefix. (#701)
  • Update dependency used in Generic Webhook JS functions to fix a security flaw. (#705)
  • Switch to using Rust for parsing RSS feeds. (#709)
  • Update the README with a prettier set of features. (#726)
  • Update yaml dependency to 2.2.2 (#728)

3.2.0 (2023-04-04)

04 Apr 16:22

Choose a tag to compare

Features

  • Allow users to import other people's go-neb services. (#695)
  • Add support for push events on Github repo connections. (#696)
  • Add support for issue created notifications in Github Repo connections. (#697)
  • Support using the guid field of an RSS feed entry as a link (#700)

Internal Changes

  • Only run changelog checks when only the changelog changes in CI. (#692)

3.1.1 2023-03-28

28 Mar 14:59
3.1.1

Choose a tag to compare

Bugfixes

  • Fix the bridge spamming RSS feeds repeatedly. (#694)

Internal Changes

  • Fix release script setting the tag message to "-". (#693)

3.1.0 (2023-03-28)

28 Mar 10:27
3.1.0

Choose a tag to compare

Bugfixes

  • Ensure Hookshot shuts down faster when running feeds. (#671)
  • Fix GitHub repo connections not always applying state updates. (#672)
  • Don't hide Create Connection button in Migration component. (#675)
  • Ensure the widget still works without needing to store local storage data. (#678)
  • Fix a missing grant for a connection sometimes causing a crash. (#680)
  • Don't check Content-Type of RSS feeds when adding a new connection, instead just check if the feed is valid. (#684)
  • Make sure we're not treating garbage data in feed items as guids. (#687)
  • Improve resiliency to invite/join races when Hookshot is added by an integration manager. (#691)

Internal Changes

  • Add release.sh script and release.yml workflow to make the release process easier. (#667)
  • Add a /ready and /live endpoint to each listener, so that it can be checked independently. (#676)
  • Add feed_failing metric to track the number of feeds failing to be read or parsed. (#681)
  • Stagger RSS feed polling over the interval period, rather than attempting to poll all feeds at once. Should reduce memory / CPU spikes. (#685)

3.0.1 (2023-03-21)

21 Mar 12:53
3.0.1

Choose a tag to compare

Bugfixes

  • Fix GitHub OAuth button causing a "Could not find user which authorised this request" error . (#663)
  • Fix GitHub grant checker applying a different grant ID than the one it checks for. (#665)

Internal Changes

  • Small grammar fix. (#664)
  • Show a sensible error when a GitHub installation is pending. (#666)

3.0.0 (2023-03-17)

17 Mar 17:33
3.0.0

Choose a tag to compare

This release includes some new landmark improvements to support public Hookshots.

One key feature is the new Go-NEB migrator. If you run a Go-NEB instance currently and are looking for a way to migrate GitHub and RSS feeds
over to Hookshot, there is a nice fancy widget feature for this.

The other feature is we have now implemented a "Grant" system for authorising new connections in rooms. Simply put when you create a new connection
in a room to a remote service like GitHub, we now store the validity of that authorisation in the bridge. This is a new change where previously we
would not persist this authorization between sessions, so it was possible for users (who were permitted in the config to manageConnections) to create
connections to anywhere Hookshot was already configured to talk to. This piece of extra security means we can now be more confident about allowing Hookshot
to be used in public spaces.

Upgrading to 3.0.0 is breaking, as the new grant system will run against any of your previous connections. It is imperative that where you have
created or edited a connection manually in the room state, that you are still authenticated to the service it is connected to. For instance, ensure
you are logged into GitHub if you have created manual GitHub connections. You can check the logs for any information on which connections have not
been granted.

For any users who are not able to immediately update, but are nontheless worried about the consequeneces for this change: Do not panic. You can always
update the permissions in your config to only allow manageConnections to users you trust.

If you have any questions about this change, do not hesistate to reach out to #hookshot:half-shot.uk.

Features

  • Add support from migrating go-neb services to Hookshot (#647)
  • Implement grant system to internally record all approved connections in hookshot. (#655)
  • Add support for logging into GitHub via OAuth from bridge widgets. (#661)

Bugfixes

  • roomSetupWidget in widget config does now allow an empty value (#657)
  • Fix service bots not being able to reject invites with a reason. (#659)
  • Fix Hookshot presenting room connections as editable if the user has a default-or-greater power levels. This was only a presentation bug, power levels were and are proeprly checked at creation/edit time. (#660)

Improved Documentation

Internal Changes

  • Replace uuid package with crypto.randomUUID function. (#640)
  • Minor improvements to widget UI styles. (#652)
  • Run docker-latest CI for incoming pull requests. (#662)

2.7.0 (2023-01-20)

20 Jan 13:28
2.7.0

Choose a tag to compare

Features

  • The room configuration widget now features an improved project search component, which now shows project avatars and descriptions. (#624)