Merge branch 'release/v1.4.34' into develop

This commit is contained in:
Benoit Marty 2022-08-23 17:00:10 +02:00
commit 6c47635a87
34 changed files with 81 additions and 30 deletions

View File

@ -21,6 +21,8 @@ body:
- [ ] While Weblate is locked, and after the PR from Weblate has been merged, handle all the TODOs in the main `strings.xml` file
- [ ] Run the script `./tools/release/pushPlayStoreMetaData.sh`. You can check in the GooglePlay console the Activity log to check the effect.
- [ ] Ensure all [the required PRs](https://github.com/vector-im/element-android/pulls?q=is%3Aopen+is%3Apr+label%3AZ-NextRelease) have been merged
### Do the release
- [ ] Make sure `develop` and `main` are up to date (git pull)

View File

@ -1,3 +1,51 @@
Changes in Element v1.4.34 (2022-08-23)
=======================================
Features ✨
----------
- [Notification] - Handle creation of notification for live location and poll start ([#6746](https://github.com/vector-im/element-android/issues/6746))
Bugfixes 🐛
----------
- Fixes onboarding requiring matrix.org to be accessible on the first step, the server can now be manually changed ([#6718](https://github.com/vector-im/element-android/issues/6718))
- Fixing sign in/up for homeservers that rely on the SSO fallback url ([#6827](https://github.com/vector-im/element-android/issues/6827))
- Fixes uncaught exceptions in the SyncWorker to cause the worker to become stuck in the failure state ([#6836](https://github.com/vector-im/element-android/issues/6836))
- Fixes onboarding captcha crashing when no WebView is available by showing an error with information instead ([#6855](https://github.com/vector-im/element-android/issues/6855))
- Removes ability to continue registration after the app has been destroyed, fixes the next steps crashing due to missing information from the previous steps ([#6860](https://github.com/vector-im/element-android/issues/6860))
- Fixes crash when exiting the login or registration entry screens whilst they're loading ([#6861](https://github.com/vector-im/element-android/issues/6861))
- Fixes server selection being unable to trust certificates ([#6864](https://github.com/vector-im/element-android/issues/6864))
- Ensure SyncThread is started when the app is launched after a Push has been received. ([#6884](https://github.com/vector-im/element-android/issues/6884))
- Fixes missing firebase notifications after logging in when UnifiedPush distributor is installed ([#6891](https://github.com/vector-im/element-android/issues/6891))
In development 🚧
----------------
- Create DM room only on first message - Trigger the flow when the "Direct Message" action is selected from the room member details screen ([#5525](https://github.com/vector-im/element-android/issues/5525))
- added filter tabs for new App layout's Home screen ([#6505](https://github.com/vector-im/element-android/issues/6505))
- [App Layout] added dialog to configure app layout ([#6506](https://github.com/vector-im/element-android/issues/6506))
- Adds space list bottom sheet for new app layout ([#6749](https://github.com/vector-im/element-android/issues/6749))
- [App Layout] Dialpad moved from bottom navigation tab to a separate activity accessed via home screen context menu ([#6787](https://github.com/vector-im/element-android/issues/6787))
- Makes toolbar switch title based on space in New App Layout ([#6795](https://github.com/vector-im/element-android/issues/6795))
- [Devices management] Add a feature flag and empty screen for future new layout ([#6798](https://github.com/vector-im/element-android/issues/6798))
- Adds new chat bottom sheet as the click action of the main FAB in the new app layout ([#6801](https://github.com/vector-im/element-android/issues/6801))
- [Devices management] Other sessions section in new layout ([#6806](https://github.com/vector-im/element-android/issues/6806))
- [New Layout] Adds space settings accessible through clicking the toolbar ([#6859](https://github.com/vector-im/element-android/issues/6859))
- Adds New App Layout FABs (hidden behind feature flag) ([#6693](https://github.com/vector-im/element-android/issues/6693))
SDK API changes ⚠️
------------------
- Rename `DebugService.logDbUsageInfo` (resp. `Session.logDbUsageInfo`) to `DebugService.getDbUsageInfo` (resp. `Session.getDbUsageInfo`) and return a String instead of logging. The caller may want to log the String. ([#6884](https://github.com/vector-im/element-android/issues/6884))
Other changes
-------------
- Removes the Login2 proof of concept - replaced by the FTUE changes ([#5974](https://github.com/vector-im/element-android/issues/5974))
- Enable auto-capitalization for Room creation Title field ([#6645](https://github.com/vector-im/element-android/issues/6645))
- Decouples the variant logic from the vector module ([#6783](https://github.com/vector-im/element-android/issues/6783))
- Add a developer setting to enable LeakCanary at runtime ([#6786](https://github.com/vector-im/element-android/issues/6786))
- [Create Room] Reduce some boilerplate with room state event contents ([#6799](https://github.com/vector-im/element-android/issues/6799))
- [Call] Memory leak after a call ([#6808](https://github.com/vector-im/element-android/issues/6808))
- Fix some string template ([#6843](https://github.com/vector-im/element-android/issues/6843))
Changes in Element v1.4.32 (2022-08-10)
=======================================

View File

@ -1 +0,0 @@
Create DM room only on first message - Trigger the flow when the "Direct Message" action is selected from the room member details screen

View File

@ -1 +0,0 @@
Removes the Login2 proof of concept - replaced by the FTUE changes

View File

@ -1 +0,0 @@
added filter tabs for new App layout's Home screen

View File

@ -1 +0,0 @@
[App Layout] added dialog to configure app layout

View File

@ -1 +0,0 @@
Enable auto-capitalization for Room creation Title field

View File

@ -1 +0,0 @@
Adds New App Layout FABs (hidden behind feature flag)

View File

@ -1 +0,0 @@
Fixes onboarding requiring matrix.org to be accessible on the first step, the server can now be manually changed

View File

@ -1 +0,0 @@
[Notification] - Handle creation of notification for live location and poll start

View File

@ -1 +0,0 @@
Adds space list bottom sheet for new app layout

View File

@ -1 +0,0 @@
Decouples the variant logic from the vector module

View File

@ -1 +0,0 @@
Add a developer setting to enable LeakCanary at runtime

View File

@ -1 +0,0 @@
[App Layout] Dialpad moved from bottom navigation tab to a separate activity accessed via home screen context menu

View File

@ -1 +0,0 @@
Makes toolbar switch title based on space in New App Layout

View File

@ -1 +0,0 @@
[Devices management] Add a feature flag and empty screen for future new layout

View File

@ -1 +0,0 @@
[Create Room] Reduce some boilerplate with room state event contents

View File

@ -1 +0,0 @@
Adds new chat bottom sheet as the click action of the main FAB in the new app layout

View File

@ -1 +0,0 @@
[Devices management] Other sessions section in new layout

View File

@ -1 +0,0 @@
[Call] Memory leak after a call

View File

@ -1 +0,0 @@
Fixing sign in/up for homeservers that rely on the SSO fallback url

View File

@ -1 +0,0 @@
Fixes uncaught exceptions in the SyncWorker to cause the worker to become stuck in the failure state

View File

@ -1 +0,0 @@
Fix some string template

View File

@ -1 +0,0 @@
Fixes onboarding captcha crashing when no WebView is available by showing an error with information instead

View File

@ -1 +0,0 @@
[New Layout] Adds space settings accessible through clicking the toolbar

View File

@ -1 +0,0 @@
Removes ability to continue registration after the app has been destroyed, fixes the next steps crashing due to missing information from the previous steps

View File

@ -1 +0,0 @@
Fixes crash when exiting the login or registration entry screens whilst they're loading

View File

@ -1 +0,0 @@
Fixes server selection being unable to trust certificates

View File

@ -1 +0,0 @@
Ensure SyncThread is started when the app is launched after a Push has been received.

View File

@ -1 +0,0 @@
Rename `DebugService.logDbUsageInfo` (resp. `Session.logDbUsageInfo`) to `DebugService.getDbUsageInfo` (resp. `Session.getDbUsageInfo`) and return a String instead of logging. The caller may want to log the String.

View File

@ -1 +0,0 @@
Fixes missing firebase notifications after logging in when UnifiedPush distributor is installed

View File

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

View File

@ -0,0 +1,28 @@
/*
* Copyright (c) 2022 The Matrix.org Foundation C.I.C.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.matrix.android.sdk.internal.database
import io.realm.DefaultCompactOnLaunchCallback
class RealmCompactOnLaunch : DefaultCompactOnLaunchCallback() {
/**
* Forces all RealmCompactOnLaunch instances to be equal.
* Avoids Realm throwing when multiple instances of this class are used.
*/
override fun equals(other: Any?) = other is RealmCompactOnLaunch
override fun hashCode() = 0x1000
}

View File

@ -64,7 +64,7 @@ internal class SessionRealmConfigurationFactory @Inject constructor(
}
val realmConfiguration = RealmConfiguration.Builder()
.compactOnLaunch()
.compactOnLaunch(RealmCompactOnLaunch())
.directory(directory)
.name(REALM_NAME)
.apply {