Skip to content

Commit 7994e5d

Browse files
committed
Merge branch 'release/0.4.7' into main
2 parents 5b1ae24 + 25b97b6 commit 7994e5d

File tree

416 files changed

+1822
-701
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

416 files changed

+1822
-701
lines changed

.github/workflows/clear-cache.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/nightlyReports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: ./gradlew verifyPaparazziDebug $CI_GRADLE_ARG_PROPERTIES
3434

3535
- name: 📈 Generate kover report and verify coverage
36-
run: ./gradlew :app:koverHtmlReport :app:koverXmlReport :app:koverVerify $CI_GRADLE_ARG_PROPERTIES -Pci-build=true
36+
run: ./gradlew :app:koverXmlReportGplayDebug :app:koverHtmlReportGplayDebug :app:koverVerifyGplayDebug $CI_GRADLE_ARG_PROPERTIES
3737

3838
- name: ✅ Upload kover report
3939
if: always()

.github/workflows/quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
with:
6464
name: linting-report
6565
path: |
66-
*/build/reports/**/*.*
66+
**/build/reports/**/*.*
6767
- name: Prepare Danger
6868
if: always()
6969
run: |

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,22 @@ jobs:
4848
with:
4949
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
5050

51-
- name: ⚙️ Run unit tests, debug and release
52-
run: ./gradlew test $CI_GRADLE_ARG_PROPERTIES
51+
- name: ⚙️ Run unit tests for debug variant
52+
run: ./gradlew testDebugUnitTest $CI_GRADLE_ARG_PROPERTIES
5353

5454
- name: 📸 Run screenshot tests
5555
run: ./gradlew verifyPaparazziDebug $CI_GRADLE_ARG_PROPERTIES
5656

5757
- name: 📈Generate kover report and verify coverage
58-
run: ./gradlew :app:koverHtmlReport :app:koverXmlReport :app:koverVerify $CI_GRADLE_ARG_PROPERTIES -Pci-build=true
58+
run: ./gradlew :app:koverXmlReportGplayDebug :app:koverHtmlReportGplayDebug :app:koverVerifyGplayDebug $CI_GRADLE_ARG_PROPERTIES
5959

6060
- name: 🚫 Upload kover failed coverage reports
6161
if: failure()
6262
uses: actions/upload-artifact@v4
6363
with:
6464
name: kover-error-report
6565
path: |
66-
app/build/reports/kover/verify.err
66+
app/build/reports/kover/verifyGplayDebug.err
6767
6868
- name: ✅ Upload kover report (disabled)
6969
if: always()
@@ -85,5 +85,5 @@ jobs:
8585
with:
8686
fail_ci_if_error: true
8787
token: ${{ secrets.CODECOV_TOKEN }}
88-
# with:
89-
# files: build/reports/kover/xml/report.xml
88+
files: app/build/reports/kover/reportGplayDebug.xml
89+
verbose: true

.maestro/tests/account/login.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ appId: ${MAESTRO_APP_ID}
2323
- inputText: ${MAESTRO_PASSWORD}
2424
- pressKey: Enter
2525
- tapOn: "Continue"
26-
- runFlow: ../assertions/assertWelcomeScreenDisplayed.yaml
27-
- tapOn: "Continue"
2826
- runFlow: ../assertions/assertAnalyticsDisplayed.yaml
2927
- tapOn: "Not now"
3028
- runFlow: ../assertions/assertHomeDisplayed.yaml

.maestro/tests/assertions/assertWelcomeScreenDisplayed.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

CHANGES.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
Changes in Element X v0.4.7 (2024-03-26)
2+
========================================
3+
4+
Features ✨
5+
----------
6+
- Enable the feature "RoomList filters". ([#2603](https://github.com/element-hq/element-x-android/issues/2603))
7+
- Enable the feature "Mark as unread" ([#2261](https://github.com/element-hq/element-x-android/issues/2261))
8+
- Implement MSC2530 (Body field as media caption) ([#2521](https://github.com/element-hq/element-x-android/issues/2521))
9+
10+
Bugfixes 🐛
11+
----------
12+
- Use user avatar from cache if available. ([#2488](https://github.com/element-hq/element-x-android/issues/2488))
13+
- Update member list after changing member roles and when the room member list is opened. ([#2590](https://github.com/element-hq/element-x-android/issues/2590))
14+
15+
Other changes
16+
-------------
17+
- Compound: add `BigIcon`, `BigCheckmark` and `PageTitle` components. ([#2574](https://github.com/element-hq/element-x-android/issues/2574))
18+
- Remove Welcome screen from the FTUE. ([#2584](https://github.com/element-hq/element-x-android/issues/2584))
19+
20+
121
Changes in Element X v0.4.6 (2024-03-15)
222
========================================
323

app/build.gradle.kts

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import extension.gitBranchName
2424
import extension.gitRevision
2525
import extension.koverDependencies
2626
import extension.setupKover
27-
import org.jetbrains.kotlin.cli.common.toBooleanLenient
2827

2928
plugins {
3029
id("io.element.android-compose-application")
@@ -189,7 +188,7 @@ androidComponents {
189188
val abiCode = abiVersionCodes[name] ?: 0
190189
// Assigns the new version code to output.versionCode, which changes the version code
191190
// for only the output APK, not for the variant itself.
192-
output.versionCode.set((output.versionCode.get() ?: 0) * 10 + abiCode)
191+
output.versionCode.set((output.versionCode.orNull ?: 0) * 10 + abiCode)
193192
}
194193
}
195194
}
@@ -215,26 +214,6 @@ knit {
215214
}
216215
}
217216

218-
val ciBuildProperty = "ci-build"
219-
val isCiBuild = if (project.hasProperty(ciBuildProperty)) {
220-
val raw = project.property(ciBuildProperty) as? String
221-
raw?.toBooleanLenient() == true || raw?.toIntOrNull() == 1
222-
} else {
223-
false
224-
}
225-
226-
kover {
227-
// When running on the CI, run only debug test variants
228-
if (isCiBuild) {
229-
excludeTests {
230-
// Disable instrumentation for debug test tasks
231-
tasks(
232-
"testDebugUnitTest",
233-
)
234-
}
235-
}
236-
}
237-
238217
dependencies {
239218
allLibrariesImpl()
240219
allServicesImpl()

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ allprojects {
172172

173173
// Register quality check tasks.
174174
tasks.register("runQualityChecks") {
175+
dependsOn(":tests:konsist:testDebugUnitTest")
175176
project.subprojects {
176177
// For some reason `findByName("lint")` doesn't work
177178
tasks.findByPath("$path:lint")?.let { dependsOn(it) }
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Main changes in this version: Enable the feature "RoomList filters" and "Mark as unread".
2+
Full changelog: https://github.com/element-hq/element-x-android/releases

0 commit comments

Comments
 (0)