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
forContentAvoidingLayout
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)
What's Changed
- Fix release script by @jmartinesp in #2108
- Attempt to fix test on CI (again) by @jmartinesp in #2107
- Add warning about updating
com.autonomousapps.dependency-analysis
by @jmartinesp in #2096 - Sync Strings by @ElementBot in #2103
- Update screenshots by @bmarty in #2114
- Reactions power level by @bmarty in #2115
- Direct logout by @bmarty in #2111
- Handle
MembershipChange.NONE
rendering in the timeline #2102 by @bmarty in #2112 - Compose upgrade by @bmarty in #2117
- Add missing test for SecureBackupEnablePresenter by @bmarty in #2120
- Add build script for the RTE library by @jmartinesp in #2119
- Only apply dependencyanalysis plugin to some modules by @jmartinesp in #2118
- Disable vector XML rasterisation on API 23 by @jmartinesp in #2128
- Update dependency org.matrix.rustcomponents:sdk-android to v0.1.83 by @renovate in #2094
- Update dagger to v2.50 by @renovate in #2069
- Update wysiwyg to v2.23.0 by @renovate in #2121
- Update dependency org.jsoup:jsoup to v1.17.2 by @renovate in #2126
- Fix record screenshots workflow and script for forks by @jmartinesp in #2141
- [Feature] Render m.sticker events by @surakin in #2122
- Fix room transition animation happens twice by @ganfra in #2146
- Revert compose material3 to 1.2.0-alpha11 by @ganfra in #2150
- Restore Github PAT in record screenshots, disable Maestro for forks by @jmartinesp in #2147
- Implement ContentAvoidingLayout for timeline items by @jmartinesp in #2113
- [Technical] Open stickers using the thumbnail url if the main url is empty by @surakin in #2157
- Sync Strings by @ElementBot in #2138
- Update actions/github-script action to v7 by @renovate in #2152
- Update dependency app.cash.molecule:molecule-runtime to v1.3.2 by @renovate in #2149
- Update dependency com.posthog:posthog-android to v3.0.1 by @renovate in #2154
- Upgrade to AGP 8.2.0 by @jmartinesp in #2142
- Update android.gradle.plugin to v8.2.1 by @renovate in #2158
- Remove 'document' case for message with timestamp preview by @jmartinesp in #2164
- Disable forwarding for stickers (until it can be properly fixed) by @surakin in #2162
- Implement MSC4027 (Custom images in reactions) by @surakin in #2160
- Introduce AsyncAction with a Confirmation state and use it for logout action by @bmarty in #2166
- Fix crashes for extremely long messages with no line breaks by @jmartinesp in #2163
- Trim whitespace at the end of messages by @jmartinesp in #2169
- Use
SubcomposeLayout
forContentAvoidingLayout
by @jmartinesp in #2171 - Feature/fga/invite user loader by @ganfra in #2173
- Update wysiwyg to v2.24.0 by @renovate in #2174
- Update plugin dependencycheck to v9.0.8 by @renovate in #2179
- Sync Strings by @ElementBot in #2186
- Update dependency com.freeletics.flowredux:compose to v1.2.1 by @renovate in #2184
- Add support for sending images from the keyboard by @bmarty in #2131
- Update anvil to v2.4.9 by @renovate in #2177
- Update dependency com.posthog:posthog-android to v3.1.0 by @renovate in #2189
- Add first tests on compose click interaction. by @bmarty in #2175
- Do not use sublist as it crashes if
index > items.count()
. by @bmarty in #2191 - Update dependency io.mockk:mockk to v1.13.9 by @renovate in #2185
- Hide keyboard when tapping on a message in the timeline by @jmartinesp in #2187
- Fix mention selector getting stuck when quickly deleting the prompt by @jmartinesp in #2195
- Fix crash when sending image with latest posthog by @jmartinesp in #2196
- Upgrade kover by @bmarty in #1782
- Improve rendering of voice messages in the timeline in large displays by @jmartinesp in #2199
- Update dependency io.nlopez.compose.rules:detekt to v0.3.9 by @renovate in #2198
- Update plugin ktlint to v12.1.0 by @renovate in #2200
- Update dependency com.posthog:posthog-android to v3.1.1 by @renovate in #2210
- Upgrade ktlint version to 1.1.1 by @bmarty in #2207
- Update lifecycle to v2.7.0 by @renovate in #2206
- Exclude preview from code coverage by @bmarty in #2193
- Remove ReadReceipts feature flag. by @bmarty in #2202
- Don't apply Kover to projects with AAR libraries by @jmartinesp in #2211
- Update wysiwyg to v2.25.0 by @renovate in #2222
- Hide verbose state events from the timeline by @jmartinesp in #2225
- Sync Strings by @ElementBot in #2230
- Update dependency io.sentry:sentry-android to v7.2.0 by @renovate in #2220
- Replace 'leave room' text with 'leave conversation' for DMs by @jmartinesp in #2231
- Be robust with long userId by @bmarty in #2237
- Update media3 to v1.2.1 by @renovate in #2239
- Update dependency com.posthog:posthog-android to v3.1.2 by @renovate in #2235
New Contributors
Full Changelog: v0.4.0...v0.4.1