Merge tag 'v1.5.8' into develop

Release 1.5.8
This commit is contained in:
Benoit Marty 2022-11-17 12:50:37 +01:00
commit f4bd89db3b
28 changed files with 48 additions and 31 deletions

View file

@ -24,8 +24,7 @@ body:
### Do the release
- [ ] Make sure `develop` and `main` are up to date (git pull)
- [ ] Checkout develop and create a release with gitflow, branch name `release/1.2.3`
- [ ] Make sure `develop` and `main` are up to date and create a release with gitflow: `git checkout main; git pull; git checkout develop; git pull; git flow release start '1.2.3'`
- [ ] Check the crashes from the PlayStore
- [ ] Check the rageshake with the current dev version: https://github.com/matrix-org/element-android-rageshakes/labels/1.2.3-dev
- [ ] Run the integration test, and especially `UiAllScreensSanityTest.allScreensTest()`
@ -34,12 +33,12 @@ body:
- [ ] Check the file CHANGES.md consistency. It's possible to reorder items (most important changes first) or change their section if relevant. Also an opportunity to fix some typo, or rewrite things
- [ ] Add file for fastlane under ./fastlane/metadata/android/en-US/changelogs
- [ ] (optional) Push the branch and start a draft PR (will not be merged), to check that the CI is happy with all the changes.
- [ ] Finish release with gitflow, delete the draft PR (if created)
- [ ] Push `main` and the new tag `v1.2.3` to origin
- [ ] Checkout `develop`
- [ ] Finish release with gitflow, delete the draft PR (if created): `git flow release finish '1.2.3'`
- [ ] Push `main` and the new tag `v1.2.3` to origin: `git push origin main; git push origin 'v1.2.3'`
- [ ] Checkout `develop`: `git checkout develop`
- [ ] Increase version (versionPatch + 2) in `./vector/build.gradle`
- [ ] Change the value of SDK_VERSION in the file `./matrix-sdk-android/build.gradle`
- [ ] Commit and push `develop`
- [ ] Commit and push `develop`: `git commit -m 'version++'; git push origin develop`
- [ ] Wait for [Buildkite](https://buildkite.com/matrix-dot-org/element-android/builds?branch=main) to build the `main` branch.
- [ ] Run the script `~/scripts/releaseElement.sh`. It will download the APKs from Buildkite check them and sign them.
- [ ] Install the APK on your phone to check that the upgrade went well (no init sync, etc.)

View file

@ -1,3 +1,43 @@
Changes in Element v1.5.8 (2022-11-17)
======================================
Features ✨
----------
- [Session manager] Multi-session signout ([#7418](https://github.com/vector-im/element-android/issues/7418))
- Rich text editor: add full screen mode. ([#7436](https://github.com/vector-im/element-android/issues/7436))
- [Rich text editor] Add plain text mode ([#7452](https://github.com/vector-im/element-android/issues/7452))
- Move TypingView inside the timeline items. ([#7496](https://github.com/vector-im/element-android/issues/7496))
- Push notifications toggle: align implementation for current session ([#7512](https://github.com/vector-im/element-android/issues/7512))
- Voice messages - Persist the playback position across different screens ([#7582](https://github.com/vector-im/element-android/issues/7582))
Bugfixes 🐛
----------
- [Voice Broadcast] Do not display the recorder view for a live broadcast started from another session ([#7431](https://github.com/vector-im/element-android/issues/7431))
- [Session manager] Hide push notification toggle when there is no server support ([#7457](https://github.com/vector-im/element-android/issues/7457))
- Fix rich text editor textfield not growing to fill parent on full screen. ([#7491](https://github.com/vector-im/element-android/issues/7491))
- Fix duplicated mention pills in some cases ([#7501](https://github.com/vector-im/element-android/issues/7501))
- Voice Broadcast - Fix duplicated voice messages in the internal playlist ([#7502](https://github.com/vector-im/element-android/issues/7502))
- When joining a room, the message composer is displayed once the room is loaded. ([#7509](https://github.com/vector-im/element-android/issues/7509))
- Voice Broadcast - Fix error on voice messages in unencrypted rooms ([#7519](https://github.com/vector-im/element-android/issues/7519))
- Fix description of verified sessions ([#7533](https://github.com/vector-im/element-android/issues/7533))
In development 🚧
----------------
- [Voice Broadcast] Improve timeline items factory and handle bad recording state display ([#7448](https://github.com/vector-im/element-android/issues/7448))
- [Voice Broadcast] Stop recording when opening the room after an app restart ([#7450](https://github.com/vector-im/element-android/issues/7450))
- [Voice Broadcast] Improve playlist fetching and player codebase ([#7478](https://github.com/vector-im/element-android/issues/7478))
- [Voice Broadcast] Display an error dialog if the user fails to start a voice broadcast ([#7485](https://github.com/vector-im/element-android/issues/7485))
- [Voice Broadcast] Add seekbar in listening tile ([#7496](https://github.com/vector-im/element-android/issues/7496))
- [Voice Broadcast] Improve the live indicator icon rendering in the timeline ([#7579](https://github.com/vector-im/element-android/issues/7579))
- Voice Broadcast - Add maximum length ([#7588](https://github.com/vector-im/element-android/issues/7588))
SDK API changes ⚠️
------------------
- [Metrics] Add `SpannableMetricPlugin` to support spans within transactions. ([#7514](https://github.com/vector-im/element-android/issues/7514))
- Fix a bug that caused messages with no formatted text to be quoted as "null". ([#7530](https://github.com/vector-im/element-android/issues/7530))
- If message content has no `formattedBody`, default to `body` when editing. ([#7574](https://github.com/vector-im/element-android/issues/7574))
Changes in Element v1.5.7 (2022-11-07)
======================================

View file

@ -1 +0,0 @@
[Session manager] Multi-session signout

View file

@ -1 +0,0 @@
[Voice Broadcast] Do not display the recorder view for a live broadcast started from another session

View file

@ -1 +0,0 @@
Rich text editor: add full screen mode.

View file

@ -1 +0,0 @@
[Voice Broadcast] Improve timeline items factory and handle bad recording state display

View file

@ -1 +0,0 @@
[Voice Broadcast] Stop recording when opening the room after an app restart

View file

@ -1 +0,0 @@
[Rich text editor] Add plain text mode

View file

@ -1 +0,0 @@
[Session manager] Hide push notification toggle when there is no server support

View file

@ -1 +0,0 @@
[Voice Broadcast] Improve playlist fetching and player codebase

View file

@ -1 +0,0 @@
[Voice Broadcast] Display an error dialog if the user fails to start a voice broadcast

View file

@ -1 +0,0 @@
Fix rich text editor textfield not growing to fill parent on full screen.

View file

@ -1 +0,0 @@
Move TypingView inside the timeline items.

View file

@ -1 +0,0 @@
[Voice Broadcast] Add seekbar in listening tile

View file

@ -1 +0,0 @@
Fix duplicated mention pills in some cases

View file

@ -1 +0,0 @@
Voice Broadcast - Fix duplicated voice messages in the internal playlist

View file

@ -1 +0,0 @@
When joining a room, the message composer is displayed once the room is loaded.

View file

@ -1 +0,0 @@
Push notifications toggle: align implementation for current session

View file

@ -1 +0,0 @@
[Metrics] Add `SpannableMetricPlugin` to support spans within transactions.

View file

@ -1 +0,0 @@
Voice Broadcast - Fix error on voice messages in unencrypted rooms

View file

@ -1 +0,0 @@
Fix a bug that caused messages with no formatted text to be quoted as "null".

View file

@ -1 +0,0 @@
Fix description of verified sessions

View file

@ -1 +0,0 @@
If message content has no `formattedBody`, default to `body` when editing.

View file

@ -1 +0,0 @@
[Voice Broadcast] Improve the live indicator icon rendering in the timeline

View file

@ -1 +0,0 @@
Voice messages - Persist the playback position across different screens

View file

@ -1 +0,0 @@
Voice Broadcast - Add maximum length

View file

@ -0,0 +1,2 @@
Main changes in this version: bug fixes and improvements.
Full changelog: https://github.com/vector-im/element-android/releases

View file

@ -53,7 +53,7 @@ inline fun <reified T> Content?.toModel(catchError: Boolean = true): T? {
val moshiAdapter = moshi.adapter(T::class.java)
return try {
moshiAdapter.fromJsonValue(this)
} catch (e: Exception) {
} catch (e: Throwable) {
if (catchError) {
Timber.e(e, "To model failed : $e")
null