Skip to content

Releases: matrix-org/matrix-android-sdk2

v1.5.4

25 Oct 16:18
Compare
Choose a tag to compare

Changes in Matrix-SDK v1.5.4 (2022-10-25)

Imported from Element 1.5.4. (https://github.com/vector-im/element-android/releases/tag/v1.5.4)

Target API 33.

SDK API changes ⚠️

  • Stop using original_event field from /relations endpoint (#7282)
  • Add formattedText or similar optional parameters in several methods:
  • RelationService:
    • editTextMessage
    • editReply
    • replyToMessage
  • SendService:
    • sendQuotedTextMessage
      This allows us to send any HTML formatted text message without needing to rely on automatic Markdown > HTML translation. All these new parameters have a null value by default, so previous calls to these API methods remain compatible. (#7288)
  • Add support for m.login.token auth during QR code based sign in (#7358)
  • Allow getting the formatted or plain text body of a message for the fun TimelineEvent.getTextEditableContent(). (#7359)

Other changes

The signature has been rotated for this release.

v1.5.2

10 Oct 14:29
Compare
Choose a tag to compare

Imported from Element 1.5.2. (https://github.com/vector-im/element-android/releases/tag/v1.5.2)

SDK API changes ⚠️

  • Allow the sync timeout to be configured (mainly useful for testing) (#7198)
  • Ports SDK instrumentation tests to use suspending functions instead of countdown latches (#7207)
  • [Device Manager] Extend user agent to include device information (#7209)

Other changes

  • Target API 12 and compile with Android SDK 32. (#6929)

v1.5.1

28 Sep 17:15
Compare
Choose a tag to compare

Changes in Matrix-SDK v1.5.1 (2022-09-28)

Imported from Element 1.5.1. (https://github.com/vector-im/element-android/releases/tag/v1.5.1)

Security ⚠️

This update provides important security fixes, update now.
Ref: CVE-2022-39246 CVE-2022-39248

v1.4.36

13 Sep 09:38
Compare
Choose a tag to compare

Changes in Matrix-SDK v1.4.36 (2022-09-13)

Imported from Element 1.4.36. (https://github.com/vector-im/element-android/releases/tag/v1.4.36)

SDK API changes ⚠️

  • Some methods have been renamed in CryptoService

Full Changelog: v1.4.34...v1.4.36

v1.4.34

30 Aug 12:06
Compare
Choose a tag to compare

Changes in Element v1.4.34 (2022-08-30)

Imported from Element 1.4.34. (https://github.com/vector-im/element-android/releases/tag/v1.4.34)

SDK API changes ⚠️

  • Rename DebugService.logDbUsageInfo (resp. Session.logDbUsageInfo) to DebugService.getDbUsageInfo (resp. Session.getDbUsageInfo) and return a String instead of logging. The caller may want to log the String. (#6884)

Full Changelog: v1.4.32...v1.4.34

v1.4.32

16 Aug 09:12
Compare
Choose a tag to compare

Changes in Element v1.4.32 (2022-08-10)

Imported from Element 1.4.32. (https://github.com/vector-im/element-android/releases/tag/v1.4.32)

SDK API changes ⚠️

  • Communities/Groups are removed completely (#5733)
  • SDK - The SpaceFilter is query parameter is no longer nullable, use SpaceFilter.NoFilter instead (#6666)

v1.4.27

20 Jul 08:38
Compare
Choose a tag to compare

Imported from Element 1.4.27-RC2. (https://github.com/vector-im/element-android/releases/tag/v1.4.27-RC2)

SDK API changes ⚠️

  • Group all location sharing related API into LocationSharingService (#5864)
  • Add support for MSC2457 - opting in or out of logging out all devices when changing password (#6191)
  • Create QueryStateEventValue to do query on stateKey for State Event. Also remove the default parameter values for those type. (#6319)

v1.4.25

29 Jun 15:45
Compare
Choose a tag to compare

Imported from Element 1.4.25. (https://github.com/vector-im/element-android/releases/tag/v1.4.25)

SDK API changes ⚠️

  • Some methods from Session have been moved to a new SyncService, that you can retrieve from a Session.
  • SyncStatusService method has been moved to the new SyncService
  • InitSyncStep have been moved and renamed to InitialSyncStep
  • SyncStatusService.Status has been renamed to SyncRequestState
  • The existing SyncService has been renamed to SyncAndroidService because of name clash with the new SDK Service (#6029)
  • Allows AuthenticationService.getLoginFlow to fail without resetting state from previously successful calls (#6093)
  • Allows new passwords to be passed at the point of confirmation when resetting a password (#6169)
  • Notifies other devices when a verification request sent from an Android device is accepted.` (#5724)
  • Some val have been changed to fun to increase their visibility in the generated documentation. Just add () if you were using them.
  • KeysBackupService.state has been replaced by KeysBackupService.getState()
  • KeysBackupService.isStucked has been replaced by KeysBackupService.isStuck()
  • SDK documentation improved (#5952)
  • Improve replay attacks and reduce duplicate message index errors (#6077)
  • Remove RoomSummaryQueryParams.roomId. If you need to observe a single room, use the new API RoomService.getRoomSummaryLive(roomId: String)
  • ActiveSpaceFilter has been renamed to SpaceFilter
  • RoomCategoryFilter.ALL has been removed, just pass null to not filter on Room category. (#6143)

v1.4.16

23 May 16:41
Compare
Choose a tag to compare

Imported from Element 1.4.16. (https://github.com/vector-im/element-android/releases/tag/v1.4.16)

SDK API changes ⚠️

  • New API to enable/disable key forwarding CryptoService#enableKeyGossiping()
  • New API to limit room key request only to own devices MXCryptoConfig#limitRoomKeyRequestsToMyDevices
  • Event Trail API has changed, now using AuditTrail events
  • New API to manually accept an incoming key request CryptoService#manuallyAcceptRoomKeyRequest() (#5559)
  • Small change in the Matrix class: deprecated methods have been removed and the constructor is now public. Also the fun workerFactory() has been renamed to getWorkerFactory() (#5887)
  • Including SSL/TLS error handing when doing WellKnown lookups without a custom HomeServerConnectionConfig (#5965)

1.4.14

10 May 17:40
Compare
Choose a tag to compare

Imported from Element 1.4.14. (https://github.com/vector-im/element-android/releases/tag/v1.4.14)

Bugfixes 🐛

  • Fixes crash when accepting or receiving VOIP calls (#5421)
  • Improve/fix crashes on messages decryption (#5592)
  • Don't pause timer when call is held. (#5885)

SDK API changes ⚠️

  • Added registrationCustom into RegistrationWizard to send custom auth params for sign up
  • Moved terms converter into api package to make it accessible in sdk (#5575)
  • Move package org.matrix.android.sdk.api.pushrules to org.matrix.android.sdk.api.session.pushrules (#5812)
  • Some Session apis are now available by requesting the service first. For instance Session.updateAvatar(...) is now Session.profileService().updateAvatar(...)
  • The shortcut Room.search() has been removed, you have to use Session.searchService().search() (#5816)
  • Add return type to RoomApi.sendStateEvent() to retrieve the created event id (#5855)
  • Room apis are now available by requesting the service first. For instance Room.updateAvatar(...) is now Room.stateService().updateAvatar(...) (#5858)
  • Remove unecessary field eventId from EventAnnotationsSummary and ReferencesAggregatedSummary (#5890)
  • Replace usage of System.currentTimeMillis() by a Clock interface (#5907)