Please also refer to the Changelog of Element Android: https://github.com/vector-im/element-android/blob/main/CHANGES.md
Changes in Matrix-SDK v1.5.26 (2023-03-08)
Imported from Element 1.5.26. (https://github.com/vector-im/element-android/releases/tag/v1.5.26)
Changes in Matrix-SDK v1.5.25 (2023-02-16)
Imported from Element 1.5.25. (https://github.com/vector-im/element-android/releases/tag/v1.5.25)
⚠️
SDK API changes
Changes in Matrix-SDK v1.5.22 (2023-01-30)
Imported from Element 1.5.22. (https://github.com/vector-im/element-android/releases/tag/v1.5.22)
⚠️
SDK API changes
Changes in Matrix-SDK v1.5.20 (2023-01-23)
Imported from Element 1.5.20. (https://github.com/vector-im/element-android/releases/tag/v1.5.20)
Changes in Matrix-SDK v1.5.18 (2023-01-10)
Imported from Element 1.5.18. (https://github.com/vector-im/element-android/releases/tag/v1.5.18)
⚠️
SDK API changes - [Sync] Sync Filter params are moved to MatrixConfiguration and will not be stored in session realm to avoid bug when session cache is cleared (#7843)
Changes in Matrix-SDK v1.5.11 (2022-12-08)
Imported from Element 1.5.11. (https://github.com/vector-im/element-android/releases/tag/v1.5.11)
⚠️
SDK API changes - Added support for read receipts in threads. Now user in a room can have multiple read receipts (one per thread + one in main thread + one without threadId) (#6996)
- Sync Filter now taking in account homeserver capabilities to not pass unsupported parameters. Sync Filter is now configured by providing SyncFilterBuilder class instance, instead of Filter to identify Filter changes related to homeserver capabilities (#7626)
Changes in Matrix-SDK v1.5.8 (2022-11-23)
Imported from Element 1.5.8. (https://github.com/vector-im/element-android/releases/tag/v1.5.8)
⚠️
SDK API changes - [Metrics] Add
SpannableMetricPlugin
to support spans within transactions. (#7514) - Fix a bug that caused messages with no formatted text to be quoted as "null". (#7530)
- If message content has no
formattedBody
, default tobody
when editing. (#7574)
Changes in Matrix-SDK v1.5.7 (2022-11-16)
Imported from Element 1.5.7. (https://github.com/vector-im/element-android/releases/tag/v1.5.7)
⚠️
SDK API changes - Add MetricPlugin interface to implement metrics in SDK clients. (#7438)
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)
- 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
- 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)
Changes in Matrix-SDK v1.5.2 (2022-10-05)
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)
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
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
Changes in Matrix-SDK 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)
Changes in Matrix-SDK v1.4.32 (2022-08-10)
Imported from Element 1.4.32. (https://github.com/vector-im/element-android/releases/tag/v1.4.32)
Changes in Matrix-SDK v1.4.30 (2022-07-29)
⚠️
SDK API changes - Communities/Groups are removed completely (#5733)
- SDK - The SpaceFilter is query parameter is no longer nullable, use SpaceFilter.NoFilter instead (#6666)
Changes in Matrix-SDK 1.4.27 (2022-07-20)
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)
Changes in Matrix-SDK 1.4.25 (2022-06-29)
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)
Changes in Matrix-SDK 1.4.16 (2022-05-23)
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)
Changes in Matrix-SDK 1.4.14 (2022-05-10)
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)
Changes in Matrix-SDK 1.4.13 (2022-04-26)
Imported from Element 1.4.13. (https://github.com/vector-im/element-android/releases/tag/v1.4.13)
⚠️
SDK API changes - Include original event in live decryption listeners and update sync status naming to InitialSyncProgressing for clarity. (#5639)
- KeysBackupService.getCurrentVersion takes a new type
KeysBackupLastVersionResult
in the callback. (#5703) - A lot of classes which were exposed to the clients and were located in the package
org.matrix.android.sdk.internal
have been moved to the packageorg.matrix.android.sdk.api
. All the classes which are in the packageorg.matrix.android.sdk.internal
should now be declaredinternal
. Some unused code and classes have been removed. (#5744) - Some data classes are now immutable, using
val
instead ofvar
(#5762)
Changes in Matrix-SDK 1.4.11 (2022-04-12)
Imported from Element 1.4.11. (https://github.com/vector-im/element-android/releases/tag/v1.4.11)
⚠️
SDK API changes - Adds support for MSC3440, additional threads homeserver capabilities (#5271)
Changes in Matrix-SDK 1.4.4 (2022-03-16)
🐛
Bugfixes
⚠️
SDK API changes - Change name of getTimeLineEvent and getTimeLineEventLive methods to getTimelineEvent and getTimelineEventLive. (#5330)
Changes in Matrix-SDK 1.4.2 (2022-02-28)
⚠️
SDK API changes -
join
andleave
methods moved from MembershipService to RoomService and SpaceService to split logic for rooms and spaces (#5183) - Deprecates Matrix.initialize and Matrix.getInstance in favour of the client providing its own singleton instance via Matrix.createInstance (#5185)
- Adds support for MSC3283, additional homeserver capabilities (#5207)
Changes in Matrix-SDK 1.3.18 (2022-02-04)
Warning: This release may trigger an initial sync.
Imported from Element 1.3.18. (https://github.com/vector-im/element-android/releases/tag/v1.3.18)
🐛
Bugfixes - Avoid deleting root event of CurrentState on gappy sync. In order to restore lost Events an initial sync may be triggered. (#5137)
⚠️
SDK API changes -
StateService.sendStateEvent()
now takes a non-nullable String for the parameterstateKey
. If null was used, just now use an empty string. (#4895) - 429 are not automatically retried anymore in case of too long retry delay (#4995)
Changes in Matrix-SDK 1.3.14 (2022-01-12)
Imported from Element 1.3.14. (https://github.com/vector-im/element-android/releases/tag/v1.3.14)
Changes in Matrix-SDK 1.3.13 (2022-01-11)
Imported from Element 1.3.13. (https://github.com/vector-im/element-android/releases/tag/v1.3.13)
⚠️
SDK API changes - Introduce method onStateUpdated on Timeline.Callback (#4405)
- Support tagged events in Room Account Data (MSC2437) (#4753)
Changes in Matrix-SDK 1.3.10 (2021-12-14)
Imported from Element 1.3.10. (https://github.com/vector-im/element-android/releases/tag/v1.3.10)
⚠️
SDK API changes - New API TermsService.getHomeserverTerms() to get the terms of service from a homeserver
- API SendService.sendOptionsReply() is replaced by SendService.voteToPoll()
- New API SendService.endPoll()