Skip to content

v0.12.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@manuroe manuroe released this 06 Dec 15:59
· 5550 commits to develop since this release

Improvements:

  • MXCrypto: Add the MXKeyBackup module to manage e2e keys backup (element-hq/element-ios#2070).
  • MXMediaManager/MXMediaLoader: Do not allow non-mxc content URLs.
  • MXMediaManager: Add a constructor based on a homeserver URL, to handle directly the Matrix Content URI (mxc://...).
  • MXSession: Add a MediaManager instance to handle the media stored on the Matrix Content repository.
  • MXMediaManager: Support the media download from a Matrix Content Scanner (Antivirus Server).
  • MXJSONModels: Add data models for Terms of service / privacy policy API (https://github.com/matrix-org/matrix-doc/blob/travis/msc/terms-api/proposals/1692-terms-api.md).
  • Swift: Add explicit public initializer to MX3PID struct, thanks to @tladesignz (PR #594).
  • Tests: Make MXRealmCryptoStore work the first time tests are launched on simulators for iOS 11 and higher.
  • Add MXScanManager a media antivirus scanner (PR#600).

Bug Fix:

  • MXRestClient: [avatarUrlForUser:success:failure]: the returned url is always nil, thanks to @asydorov (PR #580) and @giomfo.
  • MXRoomSummary: fix null Direct Chat displayname / avatar issue caused by limited syncs.
  • MXRoom: members methods don't respond after a failure.
  • MXRealmCryptoStore: Make queries inside transactionWithBlock.

API break:

  • MXMediaManager: [downloadMediaFromURL:andSaveAtFilePath:success:failure:] is removed, use [downloadMediaFromMatrixContentURI:withType:inFolder:success:failure] or [downloadThumbnailFromMatrixContentURI:withType:inFolder:toFitViewSize:withMethod:success:failure] instead.
  • MXMediaManager: [downloadMediaFromURL:andSaveAtFilePath:] is removed, use [downloadMediaFromMatrixContentURI:withType:inFolder:] instead.
  • MXMediaManager: [existingDownloaderWithOutputFilePath:] is removed, use [existingDownloaderWithIdentifier:] instead.
  • MXMediaManager: [cachePathForMediaWithURL:andType:inFolder:] is removed, use [cachePathForMatrixContentURI:andType:inFolder:] instead.
  • MXMediaLoader: the notification names "kMXMediaDownloadxxx" and "kMXMediaUploadxxx" are removed, use kMXMediaLoaderStateDidChangeNotification instead.
  • MXMediaLoader: [downloadMediaFromURL:andSaveAtFilePath:success:failure] is removed, use [downloadMediaFromURL:withIdentifier:andSaveAtFilePath:success:failure] instead.
  • MXRestClient: [urlOfContent:] and [urlOfContentThumbnail:toFitViewSize:withMethod:] are removed.
  • The Matrix Content repository contants are moved to MXEnumConstants.h
  • [urlOfIdenticon:] is moved from MXRestClient to MXMediaManager.