v0.10.6
Improvements:
- SwiftMatrixSDK is now compatible with Swift 4, thanks to @johnflanagan-spok (PR #463).
- Crypto: Make sure we request keys for only valid matrix user ids.
- MXRoom: We should retry messages with same txn id when hitting 'resend' (element-hq/element-ios#1731).
- MXTools: Make isMatrixUserIdentifier support historical user ids (element-hq/element-ios#1743).
- MXRestClient: Add [MXRestClient eventWithEventId:] and [MXRestClient eventWithEventId:inRoom:].
- Improve server load on event redaction (element-hq/element-ios#1730).
- Make tests pass again.
Bug fixes:
- Push: Missing push notifications after answering a call (element-hq/element-ios#1757).
- Direct Chat: a room was marked as direct by mistake when I joined it.
- MXRoom: Canceled message can be sent if there is only one in the message sending queue.
- MXTools: Fix the regex part for the HS domain part in all isMatrixXxxxIdentifier methods.
- MXFileStore: commits can stay pending after [MXFileStore close].
- MXFileStore: Make sure data is flushed to files on [MXFileStore close].
- MXFileStore: The metadata (containing eventStremToken) can be not stored in files.
- MXOutgoingRoomKeyRequestManager: Fix crash reported by app store.
- MXCallKitAdapter: Clean better when releasing an instance.
API breaks:
- MXCrypto: Remove deviceWithDeviceId and devicesForUser methods because they return local values that may be out of sync. Use downloadKeys instead (element-hq/element-ios#1782).
- MXRestClient: Add a txnId parameter to the sendEventToRoom method to better follow the matrix spec.