- Breaking change (federation) Changed
NewClientto take HTTP client settings as an extra parameter. - (federation) Changed client to block requests to private IPs by default.
- The
AllowIPmethod can be changed to adjust the blocking behavior.
- The
- (federation) Added
DownloadMediamethod. - (event) Added
Extrafield toFileInfoto allow easily adding custom fields. - (event) Added sticker source info to events (both [MSC4459] and a custom format for bridges).
- (client) Added support for
serverparameter in/publicRooms(thanks to @zluudg in #497). - (client) Added
RequestRetryTriggerevent, which can be used to force all in-flight requests to be interrupted and retried (e.g. in case the network connection changed). - (crypto) Added support for bundled device keys in Olm messages introduced in Matrix v1.15.
- (crypto/canonicaljson) Added jsonv2-based implementation, which replaces the old gjson/sjson-based implementation when jsonv2 is enabled.
- (bridgev2) Added interface for importing image packs from remote networks.
- (bridgev2) Added more detail to "not logged in" error messages.
- (bridgev2) Expanded
bridge_matrix_leaveoption to cover invite rejections in addition to actual leaves. - (bridgev2) Changed group creation error messages to be clearer when there aren't enough members to create a group.
- (bridgev2/matrix) Changed message sending to never send unencrypted messages if
encryption.requireis settrueeven if the room is unencrypted. - (crypto) Changed trust resolution to not trust own cross-signing master key unless the private key is available or the public key is signed by the device key.
- (bridgev2) Fixed event power levels being set incorrectly in some cases if
events_defaultorstate_defaultis changed in the same event. - (bridgev2) Fixed portal deletion always failing due to context cancellation.
- (bridgev2) Fixed per-message profile fallbacks being added for events that shouldn't have it, like stickers.
- (bridgev2) Fixed some cases where backfill would start from a non-latest message.
- (crypto) Fixed dehydrated devices not passing device key validation.
- (federation/pdu) Fixed canonicalizing JSON which contains keys with code points between
\uF000and\uFFFFby switching to the crypto/canonicaljson package instead of jsonv2's standard RFC 8785 canonicalization. - (federation/eventauth) Fixed restricted join checks (thanks to @timedoutuk in #491).
- (federation/eventauth) Fixed creator join check in v10 rooms (thanks to @timedoutuk in #496).
- (crypto/goolm) Fixed various small issues.