element-x-android/CHANGES.md

38 KiB

Changes in Element X v0.4.10 (2024-04-17)

Matrix Rust SDK 0.2.14

Features

  • Rework room navigation to handle unknown room and prepare work on permalink. (#2695)

Other changes

  • Encrypt new session data with a passphrase (#2703)
  • Use sdk API to build permalinks (#2708)
  • Parse permalink using parseMatrixEntityFrom from the SDK (#2709)
  • Fix compile for forks that use the noop analytics module (#2698)

Changes in Element X v0.4.9 (2024-04-12)

  • Synchronize Localazy Strings.

Changes in Element X v0.4.8 (2024-04-10)

Features

  • Move session recovery to the login flow. (#2579)
  • Move session verification to the after login flow and make it mandatory. (#2580)
  • Add a notification troubleshoot screen (#2601)
  • Add action to copy permalink (#2650)

Bugfixes 🐛

  • Fix analytics issue around room considered as space by mistake. (#2612)
  • Fix crash observed when going back to the room list. (#2619)
  • Hide Event org.matrix.msc3401.call.member on the timeline. (#2625)
  • Fall back to name-based generated avatars when image avatars don't load. (#2667)

Other changes

  • Improve UI for notification permission screen in onboarding. (#2581)
  • Categorise members by role in change roles screen. (#2593)
  • Make completed poll more clearly visible (#2608)
  • Show users from last visited DM as suggestion when starting a Chat or when creating a Room. (#2634)
  • Enable room moderation feature. (#2678)
  • Improve analytics opt-in screen UI. (#2684)

Changes in Element X v0.4.7 (2024-03-26)

Features

  • Enable the feature "RoomList filters". (#2603)
  • Enable the feature "Mark as unread" (#2261)
  • Implement MSC2530 (Body field as media caption) (#2521)

Bugfixes 🐛

  • Use user avatar from cache if available. (#2488)
  • Update member list after changing member roles and when the room member list is opened. (#2590)

Other changes

  • Compound: add BigIcon, BigCheckmark and PageTitle components. (#2574)
  • Remove Welcome screen from the FTUE. (#2584)

Changes in Element X v0.4.6 (2024-03-15)

Features

  • Admins can now change user roles in rooms. (#2257)
  • Room member moderation: remove, ban and unban users from a room. (#2258)
  • Change a room's permissions power levels. (#2259)
  • Add state timeline events and notifications for legacy call invites. (#2485)

Bugfixes 🐛

  • Added empty state to banned member list. (#+add-empty-state-to-banned-members-list)
  • Prevent sending empty messages. (#995)
  • Use the display name only once in display name change events. The user should be referenced by userId instead. (#2125)
  • Hide blocked users list when there are no blocked users. (#2198)
  • Fix timeline not showing sender info when room is marked as direct but not a 1:1 room. (#2530)

Other changes

  • Add local_time, utc_time and sdk_sha params to bug reports so they're easier to investigate. (#+add-time-and-sdk-sha-params-to-bugreports)
  • Improve room member list loading times, increase chunk size (#2322)
  • Improve room member list loading UX. (#2452)
  • Remove the special log level for the Rust SDK read receipts. (#2511)
  • Track UTD errors. (#2544)

Changes in Element X v0.4.5 (2024-02-28)

Features

  • Mark a room or dm as favourite. (#2208)
  • Add moderation to rooms:
    • Sort member in room member list by powerlevel, display their roles.
    • Display banner users in room member list for users with enough power level to ban/unban. (#2256)
  • MediaViewer : introduce fullscreen and flick to dismiss behavior. (#2390)
  • Allow user-installed certificates to be used by the HTTP client (#2992)

Bugfixes 🐛

  • Do not display empty room list state before the loading one when we still don't have any items (#+do-not-display-empty-state-before-loading-roomlist)
  • Improve how Talkback works with the timeline. Sadly, it's still not 100% working, but there is some issue with the LazyColumn using reverseLayout that only Google can fix. (#+improve-accessibility-in-timeline)
  • Add ability to enter a recovery key to verify the session. Also fixes some refresh issues with the verification session state. (#2421)

Other changes

  • Provide the current system proxy setting to the Rust SDK. (#2420)

Changes in Element X v0.4.4 (2024-02-15)

Bugfixes 🐛

  • Fix decryption of previous messages after session verification not working.

Changes in Element X v0.4.3 (2024-02-14)

Features

  • Change "Read receipts" advanced setting used to send private Read Receipt to "Share presence" settings. When disabled, private Read Receipts will be sent, and no typing notification will be sent. Also Read Receipts and typing notifications will not be rendered in the timeline. (#2241)
  • Render typing notifications. (#2242)
  • Manually mark a room as unread. (#2261)
  • Add empty state to the room list. (#2330)
  • Allow joining unencrypted video calls in non encrypted rooms. (#2333)

Bugfixes 🐛

  • Fix crash after unregistering UnifiedPush distributor (#2304)
  • Add missing device id to settings screen. (#2316)
  • Open the keyboard (and keep it opened) when creating a poll. (#2329)
  • Fix message forwarding after SDK API change related to Timeline intitialization.

Other changes

  • Adjusted the login flow buttons so the continue button is always at the same height (#825)
  • Move migration screen to within the room list (#2310)
  • Render correctly in reply to data when Event cannot be decrypted or has been redacted (#2318)
  • Remove Compose Foundation version pinning workaround. This was done to avoid a bug introduced in the default foundation version used by the material3 library, but that has already been fixed.
  • Remove FilterHiddenStateEventsProcessor, as this is already handled by the Rust SDK.
  • Remove session preferences on user log out.

Breaking changes 🚨

  • Update Compound icons in the project. Since the icon prefix changed to ic_compound_ and the CompoundIcons helper now contains the vector icons as composable functions.

Changes in Element X v0.4.2 (2024-01-31)

Matrix SDK 🦀 v0.1.95

Features

  • Add 'send private read receipts' option in advanced settings (#2204)
  • Send typing notification (#2240). Disabling the sending of typing notification and rendering typing notification will come soon.

Bugfixes 🐛

  • Make the room settings screen update automatically when new room info (name, avatar, topic) is available. (#921)
  • Update timeline items' read receipts when the room members info is loaded. (#2176)
  • Edited text message bubbles should resize when edited (#2260)
  • Ensure login and password exclude \n (#2263)
  • Room list Ensure the indicators stay grey if the global setting is set to mention only and a regular message is received. (#2282)

Other changes

  • Add a special logging configuration for nightlies so we can get more detailed info for existing issues. (#+add-special-tracing-configuration-for-nightlies)
  • Try mitigating unexpected logouts by making getting/storing session data use a Mutex for synchronization. Also added some more logs so we can understand exactly where it's failing. (#+try-mitigating-unexpected-logouts)
  • Upgrade Material3 Compose to 1.2.0-beta02. There is also a constraint on a transitive Compose Foundation dependency version (1.6.0-beta02) that fixes the timeline scrolling issue. (#0-beta02)
  • Disambiguate display name in the timeline. (#2215)
  • Disambiguate display name in notifications (#2224)
  • Remove room creation, self-join of room creator and 'this is the beginning of X' timeline items for DMs. (#2217)
  • Encrypt databases used by the Rust SDK on Nightly and Debug builds. (#2219)
  • Fallback to UnifiedPush (if available) if the PlayServices are not installed on the device. (#2248)
  • Add "Report a problem" button to the onboarding screen (#2275)
  • Add in app logs viewer to the "Report a problem" screen. (#2276)

Changes in Element X v0.4.1 (2024-01-17)

Features

  • Render m.sticker events (#1949)
  • Add support for sending images from the keyboard (#1977)
  • Added support for MSC4027 (render custom images in reactions) (#2159)

Bugfixes 🐛

  • Fix crash sending image with latest Posthog because of an usage of an internal Android method. (#+crash-sending-image-with-latest-posthog)
  • Make sure the media viewer tries the main url first (if not empty) then the thumbnail url and then not open if both are missing instead of failing with an error dialog (#1949)
  • Fix room transition animation happens twice. (#2084)
  • Disable ability to send reaction if the user does not have the permission to. (#2093)
  • Trim whitespace at the end of messages to ensure we render the right content. (#2099)
  • Fix crashes in room list when the last message for a room was an extremely long one (several thousands of characters) with no line breaks. (#2105)
  • Disable rasterisation of Vector XMLs, which was causing crashes on API 23. (#2124)
  • Use SubomposeLayout for ContentAvoidingLayout to prevent wrong measurements in the layout process, leading to cut-off text messages in the timeline. (#2155)
  • Improve rendering of voice messages in the timeline in large displays (#2156)
  • Fix no indication that user list is loading when inviting to room. (#2172)
  • Hide keyboard when tapping on a message in the timeline. (#2182)
  • Mention selector gets stuck when quickly deleting the prompt. (#2192)
  • Hide verbose state events from the timeline (#2216)

Other changes

  • Only apply com.autonomousapps.dependency-analysis plugin in those modules that need it. (#+only-apply-dependency-analysis-plugin-where-needed)
  • Migrate to Kover 0.7.X (#1782)
  • Remove extra logout screen. (#2072)
  • Handle MembershipChange.NONE rendering in the timeline. (#2102)
  • Remove extra previews for timestamp view with 'document' case (#2127)
  • Bump AGP version to 8.2.0 (#2142)
  • Replace 'leave room' text with 'leave conversation' for DMs. (#2218)

Changes in Element X v0.4.0 (2023-12-22)

Features

  • Use the RTE library TextView to render text events in the timeline. Add support for mention pills - with no interaction yet. (#1433)
  • Tapping on a user mention pill opens their profile. (#1448)
  • Display different notifications for mentions. (#1451)
  • Reply to a poll (#1848)
  • Add plain text representation of messages (#1850)
  • Allow polls to be edited when they have not been voted on (#1869)
  • Scroll to end of timeline when sending a new message. (#1877)
  • Confirm back navigation when editing a poll only if the poll was changed (#1886)
  • Add option to delete a poll while editing the poll (#1895)
  • Open room member avatar when you click on it inside the member details screen. (#1907)
  • Poll history of a room is now accessible from the room details screen. (#2014)
  • Always close the invite list screen when there is no more invite. (#2022)

Bugfixes 🐛

  • Fix see room in the room list after leaving it. (#1006)
  • Adjust mention pills font weight and horizontal padding (#1449)
  • Font size in 'All Chats' header was changing mid-animation. (#1572)
  • Accessibility: do not read initial used for avatar out loud. (#1864)
  • Use the right avatar for DMs in DM rooms (#1912)
  • Fix scaling of timeline images: don't crop, don't set min/max aspect ratio values. (#1940)
  • Fix rendering of user name with vertical text by clipping the text. (#1950)
  • Do not render roomId if the room has no canonical alias. (#1970)
  • Fix avatar not displayed in notification when the app is not in background (#1991)
  • Fix wording in room invite members view: Send -> Invite. (#2037)
  • Timestamp positioning was broken, specially for edited messages. (#2060)
  • Emojis in custom reaction bottom sheet are too tiny. (#2066)
  • Set a default power level to join calls. Also, create new rooms taking this power level into account.

Other changes

  • Add a warning for 'mentions and keywords only' notification option if your homeserver does not support it (#1749)
  • Remove :libraries:theme module, extract theme and tokens to Compound Android. (#1833)
  • Update poll icons from Compound (#1849)
  • Add ability to see the room avatar in the media viewer. (#1918)
  • RoomList: introduce incremental loading to improve performances. (#1920)
  • Add toggle in the notification settings to disable notifications for room invites. (#1944)
  • Update rendering of Emojis displayed during verification. (#1965)
  • Hide sender info in direct rooms (#1979)
  • Render images in Notification (#1991)
  • Only process content.json from Localazy. (#2031)
  • Always show user avatar in message action sheet (#2032)
  • Hide room list dropdown menu. (#2062)
  • Enable Chat backup, Mentions and Read Receipt in release. (#2087)
  • Make most code used in Compose from :libraries:matrix and derived classes Immutable or Stable.

Changes in Element X v0.3.2 (2023-11-22)

Features

  • Add ongoing call indicator to rooms lists items. (#1158)
  • Add support for typing mentions in the message composer. (#1453)
  • Add intentional mentions to messages. This needs to be enabled in developer options since it's disabled by default. (#1591)
  • Update voice message recording behaviour. Instead of holding the record button, users can now tap the record button to start recording and tap again to stop recording. (#1784)

Bugfixes 🐛

  • Always ensure media temp dir exists (#1790)

Other changes

  • Update icons and move away from PreferenceText components. (#1718)
  • Add item "This is the beginning of..." at the beginning of the timeline. (#1801)
  • LockScreen : rework LoggedInFlowNode and back management when locked. (#1806)
  • Suppress usage of removeTimeline method. (#1824)
  • Remove Element Call feature flag, it's now always enabled.
  • Reverted the EC base URL to https://call.element.io.
  • Moved the option to override this URL to developer settings from advanced settings.

Changes in Element X v0.3.1 (2023-11-09)

Features

  • Chat backup is still under a feature flag, but when enabled, user can enter their recovery key (it's also possible to input a passphrase) to unlock the encrypted room history. (#1770)

Bugfixes 🐛

  • Improve confusing text in the 'ready to start verification' screen. (#879)
  • Message composer wasn't resized when selecting a several lines message to reply to, then a single line one. (#1560)

Other changes

  • PIN: Set lock grace period to 0. (#1732)

Changes in Element X v0.3.0 (2023-10-31)

Features

  • Element Call: change the 'join call' button in a chat room when there's an active call. (#1158)
  • Mentions: add mentions suggestion view in RTE (#1452)
  • Record and send voice messages (#1596)
  • Enable voice messages for all users (#1669)
  • Receive and play a voice message (#2084)
  • Enable Element Call integration in rooms by default, fix several issues when creating or joining calls.

Bugfixes 🐛

  • Group fallback notification to avoid having plenty of them displayed. (#994)
  • Hide keyboard when exiting the chat room screen. (#1375)
  • Always register the pusher when application starts (#1481)
  • Ensure screen does not turn off when playing a video (#1519)
  • Fix issue where text is cleared when cancelling a reply (#1617)

Other changes

  • Remove usage of blocking methods. (#1563)

Changes in Element X v0.2.4 (2023-10-12)

Features

  • [Rich text editor] Add full screen mode (#1447)
  • Improve rendering of m.emote. (#1497)
  • Improve deleted session behavior. (#1520)

Bugfixes 🐛

  • WebP images can't be sent as media. (#1483)
  • Fix back button not working in bottom sheets. (#1517)
  • Render body of unknown msgtype in the timeline and in the room list (#1539)

Other changes

  • Room : makes subscribeToSync/unsubscribeFromSync suspendable. (#1457)
  • Add some Konsist tests. (#1526)

Changes in Element X v0.2.3 (2023-09-27)

Features

  • Handle installation of Apks from the media viewer. (#1432)
  • Integrate SDK 0.1.58 (#1437)

Other changes

  • Element call: add custom parameters to Element Call urls. (#1434)

Changes in Element X v0.2.2 (2023-09-21)

Bugfixes 🐛

  • Add animation when rendering the timeline to avoid glitches. (#1323)
  • Fix crash when trying to take a photo or record a video. (#1395)

Changes in Element X v0.2.1 (2023-09-20)

Features

  • Bump Rust SDK to v0.1.56
  • [Rich text editor] Add link support to rich text editor (#1309)
  • Let the SDK figure the best scheme given an homeserver URL (thus allowing HTTP homeservers) (#1382)

Bugfixes 🐛

  • Fix ANR on RoomList when notification settings change. (#1370)

Other changes

  • Element Call: support scheme io.element.call (#1377)
  • [DI] Rework how dagger components are created and provided. (#1378)
  • Remove usage of async-uniffi as it leads to a deadlocks and memory leaks. (#1381)

Changes in Element X v0.2.0 (2023-09-18)

Features

  • Bump Rust SDK to v0.1.54
  • Add a "Mute" shortcut icon and a "Notifications" section in the room details screen (#506)
  • Add a notification permission screen to the initial flow. (#897)
  • Integrate Element Call into EX by embedding a call in a WebView. (#1300)
  • Implement Bloom effect modifier. (#1217)
  • Set color on display name and default avatar in the timeline. (#1224)
  • Display a thread decorator in timeline so we know when a message is coming from a thread. (#1236)
  • [Rich text editor] Integrate rich text editor library. Note that markdown is now not supported and further formatting support will be introduced through the rich text editor. (#1172)
  • [Rich text editor] Add formatting menu (accessible via the '+' button) (#1261)
  • [Rich text editor] Add feature flag for rich text editor. Markdown support can now be enabled by disabling the rich text editor. (#1289)
  • [Rich text editor] Update design (#1332)

Bugfixes 🐛

  • Make links in room topic clickable (#612)
  • Reply action: harmonize conditions in bottom sheet and swipe to reply. (#1173)
  • Fix system bar color after login on light theme. (#1222)
  • Fix long click on simple formatted messages (#1232)
  • Enable polls in release build. (#1241)
  • Fix top padding in room list when app is opened in offline mode. (#1297)
  • [Rich text editor] Fix 'text formatting' option only partially visible (#1335)
  • [Rich text editor] Ensure keyboard opens for reply and text formatting modes (#1337)
  • [Rich text editor] Fix placeholder spilling onto multiple lines (#1347)

Other changes

  • Add a sub-screen "Notifications" in the existing application Settings (#510)
  • Exclude some groups related to analytics to be included. (#1191)
  • Use the new SyncIndicator API. (#1244)
  • Improve RoomSummary mapping by using RoomInfo. (#1251)
  • Ensure Posthog data are sent to "https://posthog.element.io" (#1269)
  • New app icon, with monochrome support. (#1363)

Changes in Element X v0.1.6 (2023-09-04)

Features

  • Enable the Polls feature. Allows to create, view, vote and end polls. (#1196)
  • Create poll. (#1143)

Bugfixes 🐛

  • Ensure notification for Event from encrypted room get decrypted content. (#1178)
  • Make sure Snackbars are only displayed once. (#928)
  • Fix the orientation of sent images. (#1135)
  • Bug reporter crashes when 'send logs' is disabled. (#1168)
  • Add missing link to the terms on the analytics setting screen. (#1177)
  • Re-enable SyncService.withEncryptionSync to improve decryption of notifications. (#1198)
  • Crash with aspectRatio modifier when Float.NaN was used as input. (#1995)

Other changes

  • Remove unnecessary year in copyright mention. (#1187)

Changes in Element X v0.1.5 (2023-08-28)

Bugfixes 🐛

  • Fix crash when opening any room. (#1160)

Changes in Element X v0.1.4 (2023-08-28)

Features

  • Allow cancelling media upload (#769)
  • Enable OIDC support. (#1127)
  • Add a "Setting up account" screen, displayed the first time the user logs in to the app (per account). (#1149)

Bugfixes 🐛

  • Videos sent from the app were cropped in some cases. (#862)
  • Timeline: sender names are now displayed in one single line. (#1033)
  • Fix TextButtons being displayed in black. (#1077)
  • Linkify links in HTML contents. (#1079)
  • Fix bug reporter failing after not finding some log files. (#1082)
  • Fix rendering of inline elements in list items. (#1090)
  • Fix crash RuntimeException "No matching key found for the ciphertext in the stream" (#1101)
  • Make links in messages clickable again. (#1111)
  • When event has no id, just cancel parsing the latest room message for a room. (#1125)
  • Only display verification prompt after initial sync is done. (#1131)

In development 🚧

  • [Poll] Add feature flag in developer options (#1064)
  • [Polls] Improve UI and render ended state (#1113)

Other changes

  • Compound: add ListItem and ListSectionHeader components. (#990)
  • Migrate object to data object in sealed interface / class #1135 (#1135)

Changes in Element X v0.1.2 (2023-08-16)

Bugfixes 🐛

  • Filter push notifications using push rules. (#640)
  • Use for instead of forEach in DefaultDiffCacheInvalidator to improve performance. (#1035)

In development 🚧

  • [Poll] Render start event in the timeline (#1031)

Other changes

  • Add Button component based on Compound designs (#1021)
  • Compound: implement dialogs. (#1043)
  • Compound: customise IconButton component. (#1049)
  • Compound: implement DropdownMenu customisations. (#1050)
  • Compound: implement Snackbar component. (#1054)

Changes in Element X v0.1.0 (2023-07-19)

First release of Element X 🚀!