Releases: matrix-org/matrix-appservice-bridge
Releases · matrix-org/matrix-appservice-bridge
8.1.0 2023-02-07
8.1.0 (2023-02-07)
Bugfixes
- Fix vulnerability in JSON5 parser: json5/json5#295. (#457)
Internal Changes
8.0.1 (2022-12-08)
Bugfixes
- Fix a bug where the PostgresStore would prevent the process from cleanly exiting. (#453)
8.0.0 (2022-11-30)
7.0.0 (2022-11-24)
This release contains a typo fix for the publicly exported method Bridge.initalise
(now Bridge.initialise
)
Features
- Enable allow-listing of specific IP ranges for OpenAPI requests (when using the Provisioner API) without having to edit disallowedIpRanges. This is done via the new
allowedIpRanges
flag. (#443) - Add implementation of a PostgreSQL datastore for use by other bridges. (#442)
Bugfixes
- Cleanup any outstanding Timer handles after running
Bridge.close
, which may prevent the process from closing. (#439)
Improved Documentation
- How-To guide: Remove advise to install matrix-appservice and other small improvements. (#432)
Deprecations and Removals
- Fix typo'd function name
Bridge.initalise
->Bridge.initialise
. (#440)
Internal Changes
- Use MatrixError and enforce type-checking on error values. (#441)
6.0.0 (2022-09-23)
Note The logging interface has changed in this release. Please see the notes below on how to upgrade.
Features
- Port the Logger class from
matrix-hookshot
to this SDK, granting JSON logging support and less noisy logs.
Note: This change is breaking.Logging.get(...)
becomesnew Logger(...)
andLogging.configure
becomesLogger.configure
. (#412)
Bugfixes
- Fix
getBridgeVersion
sometimes reporting "unknown" when the package.json is accessible. (#437)
Improved Documentation
- How-To guide: Remove advise to install matrix-appservice and other small improvements. (#432)
5.1.0 (2022-08-12)
Features
- You can now throw
AppserviceHttpError
errors inside theonUserQuery
controller function to raise a HTTP error. Other exceptions will be treated as a HTTP 500 error. (#434)
Bugfixes
- Fix bug introduced in 5.0.0 which caused the
/metrics
endpoint to request authentication. The endpoint no longer requires authentication. (#435)
Improved Documentation
- Document supported platforms. (#430)
Internal Changes
- Add new CI workflow to check for signoffs. (#428)
5.0.0 (2022-07-26)
This release depends on Node.JS 16 or greater.
Bugfixes
- Matrix users on a server that has an explicit port specifier in the server name will now be supported. (#414)
Improved Documentation
- Improve
CONTRIBUTING.md
guide to make it applicable for all of the matrix.org bridge repos. (#404)
Deprecations and Removals
- Breaking: The
matrix-js-sdk
is no longer included in this SDK. This means:- The
ClientFactory
component has been removed. - The
ContentRepo
utility is now deprecated, and supports onlygetHttpUriForMxc
- You can no longer get a js-sdk MatrixClient instance from an Intent object. (#401)
- The
- The bridge now always authenticates requests made to
/_matrix/app/v1/thirdparty/...
. TheBridge
options flagauthenticateThirdpartyEndpoints
has been removed. (#409) - Drop support for Node 14. Support Node 16+.
Intent.uploadContent
no longer accepts aReadStream
content
parameter. Convert your stream to a buffer before beginning an upload. (#415)
Internal Changes
4.0.2 (2022-07-15)
Bugfixes
- Pin matrix-bot-sdk version to avoid inadvertently requiring Node 16. (#416)
4.0.1 (2022-04-07)
Bugfixes
- Fix an issue where the provisioner API's
/v1/exchange_openid
route would sometimes fail. (#397)