v0.16.0
Pre-release
Pre-release
Changes in Matrix iOS SDK in 0.16.0 (2020-04-17)
Improvements:
- Cross-Signing: Add a new module, MXCrossSigning, to handle device cross-signing (element-hq/element-ios/issues/2890).
- Verification by DM: Support QR code (element-hq/element-ios/issues/2921).
- MXCrypto: Change the threading model to make [MXCrypto decryptEvent:] less blocking.
- MXCrypto: Restart broken Olm sessions (MSC1719) (element-hq/element-ios/issues/2129).
- MXCrypto: Expose devicesForUser.
- MXCrypto: the
setDeviceVerification
method now downloads all user's devices if the device is not yet known. - MXCrypto: Add the option to disable sending key share requests (
[MXCrypto setOutgoingKeyRequestsEnabled:]
). - MXRestClient: Use r0 APIs for crypto endpoints (PR #826).
- MXDeviceList: Post
MXDeviceListDidUpdateUsersDevicesNotification
notification when users devices list are updated. - MXSession: Add credentials, myUserId and myDeviceId shorcuts.
- MXSession: Add createRoomWithParameters with a MXRoomCreationParameters model class.
- MXRoom: Add a method to retrieve trusted members count in an encrypted room.
- MXRoomCreationParameters: Support the initial_state parameter and allow e2e on room creation (element-hq/element-ios/issues/2943).
- MXRoomSummary: Add the trust property to indicate trust in other users and devices in the room (element-hq/element-ios/issues/2906).
- Aggregations: Implement m.reference aggregations, aka thread (MSC1849).
- MXStore: Add a method to get related events for a specific event.
- MXPublicRoom: Add canonical alias property.
- MXLogger: Add a parameter to indicate the number of log files.
- MXThrottler: Add this tool class to throttle actions.
- Make enums conform to
Equatable
/Hashable
where applicable.
Bug fix:
- MXEventType: Fix Swift refinement.
- MXCrypto: Fix users keys download that can fail in some condition
- MXCryptoStore does not store device.algorithm (element-hq/element-ios#2896).
API break:
- MXCrypto: Rename MXDeviceVerificationManager to MXKeyVerificationManager.
- MXCrypto: the
downloadKeys
method now returns users cross-signing keys. - MXDeviceInfo: the
verified
property has been replaced bytrustLevel
. - MXSession & MXRestClient: the
createRoom
method with a long list of parameters
has been replaced bycreateRoomWithParameters
.