- Drop support for Node 22, add support for Node 25, and refresh dependencies. (#74)
- Fix the README's example script for creating an app service registration file. (#71)
- Drop support for Node 18 & 20, add support for Node 22 & 24. (#73)
- The legacy
/users,/rooms, and/transactionsendpoints have been removed in this release and now redirect to the appropriate spec'd path. (#63) - Add support for Node 20, and drop support for Node 16. (#65)
- Update the version of
expressto match that ofmatrix-appservice-bridge. (#60)
- A subclass of the
AppServiceclass can now signal user query errors in its onUserQuery method by throwing anAppserviceHttpErrorexception. This allows the appservice to return a HTTP status, a Matrix errorcode, and a Matrix error message. (#56)
- Add new CI workflow to check for signoffs. (#58)
This release drops support for Node 12 and adds support for Node 18
- The project has been modernized to be in-line with our other matrix-org bridge repos. This means:
- We now use yarn for dependency management.
- We now use GitHub CI.
- There is a contributing file. (#57)
- Remove tailing new line on http-log events (#50)
- Update dependencies, including Typescript to
4.5.2(#45)
- The
masterbranch has been renamed todevelopto be consistent wih othermatrix-orgprojects. (#40) - Update to Typescript 4.3.5 and update Typedoc. (#44)
- Add health check endpoint (#38)
- Export
AppServiceOutputandRegexObjinterfaces. (#35)
- Fix issue where
AppServiceRegistration.getOutput()would fail ifde.sorunome.msc2409.push_ephemeralis undefined. (#34)
- Add experimental support for receiving ephemeral data from the homeserver (MSC2409) (#32)
- Expose
AppService.appso that services may add their own Express request handlers. (#26) - Expose
AppService.expressApp(#27) - Documentation is now generated for Typescript files (#28)
- Remove
requestdependency (#25)
- Fixed an issue which caused the package to fail to install.
- The library is now written in Typescript.
This change should not cause any breakages, as the library will
compile itself on installation via the
postinstallscript.
Updated body-parser, express, morgan and request packages to fix security vulnerabilities.
AppServiceRegistration:
- Added
getProtocols()andsetProtocols(string[]). (Thanks @Half-Shot!)AppService: - Add HTTPS support if the environment variables
MATRIX_AS_TLS_KEYandMATRIX_AS_TLS_CERTexist. (Thanks @AndrewJDR!)
AppService:
- Redact access tokens in the AppService logs.
AppServiceRegistration: - Added a flag to indicate to the HS not to rate limit the AS client or any users belonging to the AS. The default is set to
true. Set by callingsetRateLimited(false).
Expanded AppService.listen to accept more parameters to control how the service
listens for connections.
AppServiceRegistration:
- Bug fix which prevented registration files from being loaded correctly.
AppServiceRegistration:
- Require an ID to be set with the
setIdmethod.
AppServiceRegistration:
- Added instance method
setAppServiceUrl. Setting the URL in the constructor is still possible but discouraged as it is less clear which URL should go there (HS or AS).
AppServiceRegistration:
- Added static method
fromObject - Added instance methods
isUserMatch,isAliasMatch,isRoomMatch.