2.0.0-rc1 (2020-09-14)
Pre-release
Pre-release
2.0.0-rc1 (2020-09-14)
Features
- Bump matrix-js-sdk to 8.0.1 (#194)
- Use Typedoc over JSDoc for hosted documentation (#199)
- The bridge can now optionally reload the config file on a
SIGHUP
signal. Developers should define theonConfigChanged
callback
when constructingCli
to make use of this feature. (#207) - Breaking: Remove Bluebird Promise support. Promises returned by the library will now be native. (#216)
- Make url parameter optional when generating registration. (#217)
- Add
Bridge.close
method to close the appservice (#227)
Bugfixes
- Refactor RoomLinkValidator to not hastily approve a link if one user is exempt (#184)
- Fix bluebird defer warnings by using our own defer implementation. (#188)
- Bridge.run() now throws if it fails to listen to a port instead of creating a floating promise (#191)
- Fixed some broken typings and defer failures (#200)
- Fix issue where providing a custom Registry to getPrometheusMetrics would cause /metrics to emit no response (#201)
Internal Changes
- Convert intent.js to TypeScript (#185)
- Convert
ClientFactory
to Typescript (#186) - Linter warnings no longer fail the linter, and
no-explicit-any
is a warning. (#187) - Port RequestFactory and Request to Typescript (#189)
- Remove some bluebird imports and use async/await in some tests (#190)
- Convert Cli to Typescript (#195)
- Remove
request
dependency (#197) - Typescriptify models/* (#202)
- Typescriptify MembershipCache (#203)
- Typescriptify ClientRequestCache (#204)
- Port Logging to Typescript. This change makes
winston
,winston-daily-rotate-file
andchalk
a required dependency. (#205) - Typescriptify ConfigValidator (#206)
- Breaking: Typescriptify the room, user and event stores. The stores will now return pure Promises (not Bluebird), which means code that relys on Bluebird features will break. (#208)
- Port RoomUpgradeHandler to Typescript (#209)
- Typescriptify BridgeContext (#210)
- Typescriptify bridge errors. The
wrap
function has been renamed towrapError
. (#211) - Typescriptify AppserviceBot (#212)
- Port the
Bridge
object to Typescript and remove javascript linting (#213) - Implement tweaks to typings to support existing bridges (#218)
- Upgrade internal tooling to use TypeScript 4 (#219)
- Types: Make some options of Cli optional
Small corrections to HOWTO.md (#224) - Types: Make some options of Bridge optional
Add a project example: slack-starter (#225) - Upgrade dependency: matrix-appservice (#226)