Releases: matrix-org/matrix-android-sdk2
v1.5.4
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 anull
value by default, so previous calls to these API methods remain compatible. (#7288)
- sendQuotedTextMessage
- 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
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
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
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
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
) toDebugService.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
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 ⚠️
v1.4.27
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 onstateKey
for State Event. Also remove the default parameter values for those type. (#6319)
v1.4.25
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 newSyncService
, that you can retrieve from aSession
. SyncStatusService
method has been moved to the newSyncService
InitSyncStep
have been moved and renamed toInitialSyncStep
SyncStatusService.Status
has been renamed toSyncRequestState
- The existing
SyncService
has been renamed toSyncAndroidService
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 tofun
to increase their visibility in the generated documentation. Just add()
if you were using them. KeysBackupService.state
has been replaced byKeysBackupService.getState()
KeysBackupService.isStucked
has been replaced byKeysBackupService.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 APIRoomService.getRoomSummaryLive(roomId: String)
ActiveSpaceFilter
has been renamed toSpaceFilter
RoomCategoryFilter.ALL
has been removed, just passnull
to not filter on Room category. (#6143)
v1.4.16
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 togetWorkerFactory()
(#5887) - Including SSL/TLS error handing when doing WellKnown lookups without a custom HomeServerConnectionConfig (#5965)
1.4.14
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
toorg.matrix.android.sdk.api.session.pushrules
(#5812) - Some
Session
apis are now available by requesting the service first. For instanceSession.updateAvatar(...)
is nowSession.profileService().updateAvatar(...)
- The shortcut
Room.search()
has been removed, you have to useSession.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 instanceRoom.updateAvatar(...)
is nowRoom.stateService().updateAvatar(...)
(#5858)- Remove unecessary field
eventId
fromEventAnnotationsSummary
andReferencesAggregatedSummary
(#5890) - Replace usage of
System.currentTimeMillis()
by aClock
interface (#5907)