This repository has been archived by the owner on Apr 12, 2022. It is now read-only.
Releases: matrix-org/matrix-android-sdk
Releases · matrix-org/matrix-android-sdk
v0.9.15
Improvements:
- isValidRecoveryKey() ignores now all whitespace characters, not only spaces
Bugfix:
- MXCrypto: Use the last olm session that got a message (element-hq/riot-android#2772).
- Ensure there is no ghost device in the Realm crypto store (element-hq/riot-android#2784)
Test:
- New test for recovery key with newlines in it
v0.9.14
Features:
- Add terms model for the register/login flow (element-hq/riot-android#2442)
Improvements:
- Any Account data element, even if the type is not known is persisted.
- The crypto store is now implemented using a Realm database. The existing file store will be migrated at first usage (#398)
- Upgrade olm-sdk.aar from version 2.3.0 to version 3.0.0
- Implement the backup of the room keys in the KeysBackup class (element-hq/riot-android#2642)
Bugfix:
- Generate thumbnails for gifs rather than throw an error (#395)
- Room members who left are listed with the actual members (element-hq/riot-android#2744)
- I'm not allow to send message in a new joined room (element-hq/riot-android#2743)
- Matrix Content Scanner: Refresh the server public key on error with "MCS_BAD_DECRYPTION" reason.
- Fix several issues on Room history and enable LazyLoading on this request.
API Change:
- new API in CallSoundsManager to allow client to play the specified Ringtone (element-hq/riot-android#827)
- IMXStore.storeAccountData() has been renamed to IMXStore.storeRoomAccountData()
- MXCrypto: importRoomKeys methods now return number of imported keys and number of total keys in the Callback.
MXMediasCache
has been renamed toMXMediaCache
(andMedias
toMedia
)- Remove IconAndTextDialogFragment, it's up to the application to manage UI.
Build:
- Introduce Kotlin to the SDK
Test:
- New tests for crypto store, including migration from File store to Realm store
- New tests for keys backup feature
v0.9.13
Improvements:
- Add RTL support
- PermalinkUtils is now able to parse a permalink
Bugfix:
- Fix crash when change visibility room (element-hq/riot-android#2679)
- Move
invite_room_state
to the UnsignedData object (element-hq/riot-android#2555)
API Change:
- MXSession.initUserAgent() takes a second parameter for flavor description.
Build:
- Treat some Lint warnings as errors
v0.9.12
Improvements:
- Improve certificate pinning management for HomeServerConnectionConfig.
- Room display name is now computed by the Matrix SDK
Bugfix:
- Fix strip previous reply when they contain new line (element-hq/riot-android#2612)
- Enable CLEARTEXT communication for http endpoints (element-hq/riot-android#2495)
- Back paginating in a room with LL makes some avatars to vanish (element-hq/riot-android#2639)
v0.9.11
v0.9.10
Features:
- Handle m.room.pinned_events state event and ServerNoticeUsageLimitContent
- Manage server_notices tag and server quota notices (element-hq/riot-android#2440)
- Add handling of filters (#345)
Improvements:
- Encrypt local data (PR #305)
- Add GET /versions request to the LoginRestClient
Bugfix:
- Fix excessive whitespace on quoted messages (#348)
- Scroll to bottom no longer keeps inertia after position change (#354)
API Change:
- A Builder has been added to create HomeServerConnectionConfig instances.
- SentState.UNDELIVERABLE has been renamed to SentState.UNDELIVERED
- Extract patterns and corresponding methods from MXSession to a dedicated MXPatterns class.
- MatrixMessageListFragment is now abstract and take an Adapter type as class parameter
- Parameter guestAccess removed from MxSession.createRoom(). It had no effect.
- EventTimeline is now exposed as an interface. Use EventTimelineFactory to instantiate it.
Others:
- Boolean deserialization is more permissive: "1" or 1 will be handle as a true value (#358)
- MXSession.setUseDataSaveMode(boolean) is now deprecated. Handle filter-id lookup in your app and use MXSession.setSyncFilterOrFilterId(String)
v0.9.9
Improvements:
- Clear unreachable Url when clearing media cache (element-hq/riot-android#2479)
- "In reply to" is not clickable on Riot Android yet. Make it a plain text (element-hq/riot-android#2469)
Bugfix:
- Removing room from 'low priority' or 'favorite' does not work (element-hq/riot-android#2526)
- MatrixError mResourceLimitExceededError is now managed in MxDataHandler (element-hq/riot-android#2547)
API Change:
- MxSession constructor is now private. Please use MxSession.Builder() to create a MxSession
v0.9.8
Features:
- Manage server_notices tag and server quota notices (element-hq/riot-android#2440)
Bugfix:
- Room aliases including the '@' and '=' characters are now recognized as valid (element-hq/riot-android#2079, element-hq/riot-android#2542)
- Room name and topic can be now set back to empty (element-hq/riot-android#2345)
API Change:
- Remove PieFractionView class from the Matrix SDK. This class is now in Riot sources (#336)
- MXMediasCache.createTmpMediaFile() methods are renamed to createTmpDecryptedMediaFile()
- MXMediasCache.clearTmpCache() method is renamed to clearTmpDecryptedMediaCache()
- Add MXMediasCache.moveToShareFolder() to move a tmp decrypted file to another folder to prevent deletion during sharing. New API MXMediasCache.clearShareDecryptedMediaCache() can be called when the application is resumed. (element-hq/riot-android#2530)
v0.9.7
Features:
- Add MetricsListener to measure some startup and stats metrics
- Implements ReplyTo feature. When sending an event, you can now pass another Event to reply to it. (element-hq/riot-android#2390)
- Manage room versioning
Improvements:
- MXCrypto: Encrypt the messages for invited members according to the history visibility (if the option is enabled in MXCryptoConfig).
- Upgrade olm-sdk.aar from version 2.2.2 to version 2.3.0
- Add a method to MediaScanRestClient to get the public key of the media scanner server
- Add support for the scanning and downloading of unencrypted thumbnails
- Set user agent on manual HttpConnection (i.e. not using a RestClient)
- Bullet points look esthetically bad (element-hq/riot-android#2462)
Bugfix:
- Send Access Token as a header instead of a url parameter to upload content (#311)
- Add API CallSoundsManager.startRingingSilently() to fix issue when incoming call sound is disable (element-hq/riot-android#2417)
- Use same TxId when resending an event. The eventId is used as a TxId. (element-hq/riot-android#1997)
- Fix bad bing on
@room
pattern. (element-hq/riot-android#2461) - Fix Crash loop reported by RageShake (element-hq/riot-android#2501)
API Change:
- Parameter historyVisibility removed from MxSession.createRoom(). It had no effect.
- New API: CreateRoomParams.setHistoryVisibility(String historyVisibility) to force the history visibility during Room creation.
- Room.getLiveState() has been removed, please use Room.getState() (#310)
- new API: Room.canReplyTo(Event) to know if replying to this event is supported.
- New APIs PermalinkUtils.createPermalink() to create matrix permalink for an event, a room, a user, etc.
- New API: add hasMembership(String membership) to simplify test on room membership
Others:
- Do not log DEBUG messages in release versions (PR #304)
- Rename some internal classes to change 'Bing' to 'Push'
v0.9.6
Features:
- ContentManager: support a potential anti-virus scanner (PR #283).
- HomeServerConnectionConfig: allow configuration of TLS parameters (PR#293).
Improvements:
- MXCrypto: Add reRequestRoomKeyForEvent to re-request encryption keys to decrypt an event (element-hq/riot-android#2319).
- MXCrypto: Add MXCryptoConfig class to customize/configure the e2e encryption.
Bugfix:
- Prevent crash on KitKat
- Prevent leaking of filenames in uploads to E2EE rooms
- Prefer message text instead of subject
- Fix issue with notification count in a RoomSummary
- Fix NullPointerException reported by GooglePlay (element-hq/riot-android#2382)
- Fix crash in CallSoundsManager
API Change:
- New API: add device_id param to LoginRestClient.loginWithUser()
- API change: Event.isUnkownDevice() as been renamed to Event.isUnknownDevice() (typo)
- Some APIs has changed to use interface instead of implementation as type (ex: "Map" instead of "HashMap")
Others:
- Media cache is flushed because of the new format of ids.
Build:
- Add script to check code quality
- Travis will now check if CHANGES.rst has been modified for each PR
Test:
- Crypto tests have been cleaned - All tests are passed