Skip to content

Commit 113b516

Browse files
authored
Merge pull request #2229 from bugsnag/release/v1.16.0
Release v1.16.0
2 parents d84e7a3 + acd8c5a commit 113b516

65 files changed

Lines changed: 579 additions & 371 deletions

File tree

Some content is hidden

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

.buildkite/pipeline.full.yml

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ steps:
3636
timeout_in_minutes: 10
3737
agents:
3838
queue: macos-15
39+
env:
40+
JAVA_VERSION: 17
3941
command: './gradlew clean assembleRelease check --scan'
4042

4143
#
@@ -64,6 +66,8 @@ steps:
6466
- "--aws-public-ip"
6567
- "--farm=bb"
6668
- "--device=ANDROID_9"
69+
- "--repeater-api-key="
70+
- "--hub-repeater-api-key="
6771
test-collector#v1.10.2:
6872
files: "reports/TEST-*.xml"
6973
format: "junit"
@@ -89,6 +93,8 @@ steps:
8993
- "--appium-version=1.22.0"
9094
- "--farm=bs"
9195
- "--device=ANDROID_9"
96+
- "--repeater-api-key="
97+
- "--hub-repeater-api-key="
9298
test-collector#v1.10.2:
9399
files: "reports/TEST-*.xml"
94100
format: "junit"
@@ -122,6 +128,8 @@ steps:
122128
- "--aws-public-ip"
123129
- "--farm=bb"
124130
- "--device=ANDROID_9"
131+
- "--repeater-api-key="
132+
- "--hub-repeater-api-key="
125133
test-collector#v1.10.2:
126134
files: "reports/TEST-*.xml"
127135
format: "junit"
@@ -151,6 +159,8 @@ steps:
151159
- "--appium-version=1.22.0"
152160
- "--farm=bs"
153161
- "--device=ANDROID_9"
162+
- "--repeater-api-key="
163+
- "--hub-repeater-api-key="
154164
test-collector#v1.10.2:
155165
files: "reports/TEST-*.xml"
156166
format: "junit"
@@ -186,6 +196,8 @@ steps:
186196
- "--device=ANDROID_7"
187197
- "--exclude=features/full_tests/[^a-k].*.feature"
188198
- "--exclude=features/full_tests/anr.feature"
199+
- "--repeater-api-key="
200+
- "--hub-repeater-api-key="
189201
test-collector#v1.10.2:
190202
files: "reports/TEST-*.xml"
191203
format: "junit"
@@ -220,6 +232,8 @@ steps:
220232
- "--aws-public-ip"
221233
- "--farm=bb"
222234
- "--device=ANDROID_7"
235+
- "--repeater-api-key="
236+
- "--hub-repeater-api-key="
223237
test-collector#v1.10.2:
224238
files: "reports/TEST-*.xml"
225239
format: "junit"
@@ -230,14 +244,13 @@ steps:
230244
concurrency_group: 'bitbar'
231245
concurrency_method: eager
232246

233-
234-
- label: ':browserstack: Android 7 NDK r19 end-to-end tests - ANRs'
247+
- label: ':bitbar: Android 7 NDK r19 end-to-end tests - ANRs'
235248
depends_on: "fixture-r19"
236249
timeout_in_minutes: 30
237250
plugins:
238251
artifacts#v1.9.0:
239252
download:
240-
- "build/bs-fixture-r19-url.txt"
253+
- "build/fixture-r19-url.txt"
241254
- "build/fixture-r19/*"
242255
upload:
243256
- "maze_output/failed/**/*"
@@ -248,18 +261,22 @@ steps:
248261
service-ports: true
249262
command:
250263
- "features/full_tests/anr.feature"
251-
- "--app=@build/bs-fixture-r19-url.txt"
264+
- "--app=@build/fixture-r19-url.txt"
252265
- "--appium-version=1.22.0"
253-
- "--farm=bs"
266+
- "--no-tunnel"
267+
- "--aws-public-ip"
268+
- "--farm=bb"
254269
- "--device=ANDROID_7"
270+
- "--repeater-api-key="
271+
- "--hub-repeater-api-key="
255272
test-collector#v1.10.2:
256273
files: "reports/TEST-*.xml"
257274
format: "junit"
258275
branch: "^main|next$$"
259276
env:
260277
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r19"
261-
concurrency: 5
262-
concurrency_group: 'browserstack-app'
278+
concurrency: 25
279+
concurrency_group: 'bitbar'
263280
concurrency_method: eager
264281

265282
- label: ':bitbar: Android 8 NDK r19 end-to-end tests - batch 1'
@@ -285,6 +302,8 @@ steps:
285302
- "--device=ANDROID_8"
286303
- "--exclude=features/full_tests/[^a-k].*.feature"
287304
- "--exclude=features/full_tests/anr.feature"
305+
- "--repeater-api-key="
306+
- "--hub-repeater-api-key="
288307
test-collector#v1.10.2:
289308
files: "reports/TEST-*.xml"
290309
format: "junit"
@@ -318,6 +337,8 @@ steps:
318337
- "--aws-public-ip"
319338
- "--farm=bb"
320339
- "--device=ANDROID_8"
340+
- "--repeater-api-key="
341+
- "--hub-repeater-api-key="
321342
test-collector#v1.10.2:
322343
files: "reports/TEST-*.xml"
323344
format: "junit"
@@ -348,6 +369,8 @@ steps:
348369
- "--appium-version=1.22.0"
349370
- "--farm=bs"
350371
- "--device=ANDROID_8"
372+
- "--repeater-api-key="
373+
- "--hub-repeater-api-key="
351374
test-collector#v1.10.2:
352375
files: "reports/TEST-*.xml"
353376
format: "junit"

.buildkite/pipeline.yml

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,30 @@ steps:
4040
- "build/bs-fixture-r21-url.txt"
4141
- "build/fixture-r21/*"
4242
commands:
43-
- bundle install
44-
- make fixture-r21
45-
- bundle exec upload-app --farm=bb --app=./build/fixture-r21.apk --app-id-file=build/fixture-r21-url.txt
46-
- bundle exec upload-app --farm=bs --app=./build/fixture-r21.apk --app-id-file=build/bs-fixture-r21-url.txt
43+
- ruby scripts/build-test-fixture.rb
4744
env:
45+
ANDROID_NDK_ROOT: "/Users/administrator/Library/Android/sdk/ndk/26.1.10909125"
4846
JAVA_VERSION: 17
4947

5048
- label: ':android: Coding standards checks'
5149
timeout_in_minutes: 20
5250
agents:
5351
queue: macos-15
52+
env:
53+
JAVA_VERSION: 17
5454
command: './gradlew --continue checkstyle detekt lint ktlintCheck'
55+
env:
56+
JAVA_VERSION: 17
5557

5658
- label: ':android: Binary compatibility checks'
5759
timeout_in_minutes: 20
5860
agents:
5961
queue: macos-15
62+
env:
63+
JAVA_VERSION: 17
6064
command: './gradlew apiCheck'
65+
env:
66+
JAVA_VERSION: 17
6167

6268
- label: ':android: CppCheck'
6369
timeout_in_minutes: 10
@@ -91,7 +97,11 @@ steps:
9197
timeout_in_minutes: 10
9298
agents:
9399
queue: macos-15
100+
env:
101+
JAVA_VERSION: 17
94102
command: './gradlew test'
103+
env:
104+
JAVA_VERSION: 17
95105

96106
- label: ':android: Instrumentation tests'
97107
timeout_in_minutes: 10
@@ -103,6 +113,8 @@ steps:
103113
command: './scripts/run-connected-checks.rb'
104114
env:
105115
API_LEVEL: 30
116+
JAVA_VERSION: 17
117+
106118
#
107119
# BitBar steps
108120
#
@@ -130,6 +142,8 @@ steps:
130142
- "--aws-public-ip"
131143
- "--farm=bb"
132144
- "--device=ANDROID_7"
145+
- "--repeater-api-key="
146+
- "--hub-repeater-api-key="
133147
test-collector#v1.10.2:
134148
files: "reports/TEST-*.xml"
135149
format: "junit"
@@ -140,13 +154,13 @@ steps:
140154
concurrency_group: 'bitbar'
141155
concurrency_method: eager
142156

143-
- label: ':browserstack: Android 7 NDK r19 ANR smoke tests'
157+
- label: ':bitbar: Android 7 NDK r19 ANR smoke tests'
144158
depends_on: "fixture-r19"
145159
timeout_in_minutes: 30
146160
plugins:
147161
artifacts#v1.9.0:
148162
download:
149-
- "build/bs-fixture-r19-url.txt"
163+
- "build/fixture-r19-url.txt"
150164
- "build/fixture-r19/*"
151165
upload:
152166
- "maze_output/failed/**/*"
@@ -157,18 +171,22 @@ steps:
157171
service-ports: true
158172
command:
159173
- "features/smoke_tests/01_anr.feature"
160-
- "--app=@build/bs-fixture-r19-url.txt"
174+
- "--app=@build/fixture-r19-url.txt"
161175
- "--appium-version=1.22.0"
162-
- "--farm=bs"
176+
- "--no-tunnel"
177+
- "--aws-public-ip"
178+
- "--farm=bb"
163179
- "--device=ANDROID_7"
180+
- "--repeater-api-key="
181+
- "--hub-repeater-api-key="
164182
test-collector#v1.10.2:
165183
files: "reports/TEST-*.xml"
166184
format: "junit"
167185
branch: "^main|next$$"
168186
env:
169187
TEST_FIXTURE_SYMBOL_DIR: "build/fixture-r19"
170-
concurrency: 5
171-
concurrency_group: 'browserstack-app'
188+
concurrency: 25
189+
concurrency_group: 'bitbar'
172190
concurrency_method: eager
173191

174192
- label: ':bitbar: Android 8 NDK r19 smoke tests'
@@ -193,6 +211,8 @@ steps:
193211
- "--aws-public-ip"
194212
- "--farm=bb"
195213
- "--device=ANDROID_8"
214+
- "--repeater-api-key="
215+
- "--hub-repeater-api-key="
196216
test-collector#v1.10.2:
197217
files: "reports/TEST-*.xml"
198218
format: "junit"
@@ -222,6 +242,8 @@ steps:
222242
- "--appium-version=1.22.0"
223243
- "--farm=bs"
224244
- "--device=ANDROID_8"
245+
- "--repeater-api-key="
246+
- "--hub-repeater-api-key="
225247
test-collector#v1.10.2:
226248
files: "reports/TEST-*.xml"
227249
format: "junit"

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
# Initializes the CodeQL tools for scanning.
6666
- name: Initialize CodeQL
67-
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b #v3.29.2
67+
uses: github/codeql-action/init@4e828ff8d448a8a6e532957b1811f387a63867e8 #v3.29.4
6868
with:
6969
languages: ${{ matrix.language }}
7070
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -83,6 +83,6 @@ jobs:
8383
./gradlew --no-daemon assemble
8484
8585
- name: Perform CodeQL Analysis
86-
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b #v3.29.2
86+
uses: github/codeql-action/analyze@4e828ff8d448a8a6e532957b1811f387a63867e8 #v3.29.4
8787
with:
8888
category: "/language:${{matrix.language}}"

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
# Upload the results to GitHub's code scanning dashboard (optional).
6969
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7070
- name: "Upload to code-scanning"
71-
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
71+
uses: github/codeql-action/upload-sarif@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
7272
with:
7373
sarif_file: results.sarif
7474

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 6.16.0 (2025-07-31)
4+
5+
### Changes
6+
7+
* Bumped the `minSdk` to 16 (Android 4.1 Jelly Bean), and removed redundant `minSdk` checks in the codebase
8+
[#2212](https://github.com/bugsnag/bugsnag-android/pull/2212)
9+
10+
### Enhancements
11+
12+
* Reduced the number of warnings emitted by `bugsnag-plugin-android-exitinfo` to reduce the noise in debug builds
13+
[#2221](https://github.com/bugsnag/bugsnag-android/pull/2221)
14+
15+
### Bug fixes
16+
17+
* Synthesised ANR errors from `bugsnag-plugin-android-exitinfo` will now report the correct device-id
18+
[#2222](https://github.com/bugsnag/bugsnag-android/pull/2222)
19+
320
## 6.15.0 (2025-07-07)
421

522
### Enhancements

bugsnag-android-core/build.gradle.kts

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,25 @@ import kotlinx.validation.ApiValidationExtension
22
import org.jetbrains.dokka.gradle.DokkaTask
33

44
plugins {
5-
loadDefaultPlugins()
5+
alias(libs.plugins.android.library)
6+
alias(libs.plugins.kotlin.android)
7+
alias(libs.plugins.kotlin.compatibility)
8+
alias(libs.plugins.detekt)
9+
alias(libs.plugins.dokka)
10+
alias(libs.plugins.ktlint)
11+
alias(libs.plugins.licenseCheck)
12+
checkstyle
613
}
714

815
android {
9-
compileSdk = Versions.Android.Build.compileSdkVersion
16+
compileSdk = libs.versions.android.compileSdk.get().toInt()
1017
namespace = "com.bugsnag.android.core"
1118

19+
configureRelease()
20+
1221
defaultConfig {
13-
minSdk = Versions.Android.Build.minSdkVersion
14-
ndkVersion = Versions.Android.Build.ndk
22+
minSdk = libs.versions.android.minSdk.get().toInt()
23+
ndkVersion = libs.versions.android.ndk.get()
1524

1625
consumerProguardFiles("proguard-rules.pro")
1726
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
@@ -22,11 +31,13 @@ android {
2231
}
2332

2433
lint {
25-
isAbortOnError = true
26-
isWarningsAsErrors = true
27-
isCheckAllWarnings = true
28-
baseline(File(project.projectDir, "lint-baseline.xml"))
29-
disable("GradleDependency", "NewerVersionAvailable")
34+
lintConfig = file("lint.xml")
35+
36+
abortOnError = true
37+
warningsAsErrors = true
38+
checkAllWarnings = true
39+
baseline = File(project.projectDir, "lint-baseline.xml")
40+
disable += setOf("GradleDependency", "NewerVersionAvailable")
3041
}
3142

3243
buildFeatures {
@@ -67,11 +78,14 @@ android {
6778
}
6879

6980
externalNativeBuild.cmake.path = project.file("CMakeLists.txt")
70-
externalNativeBuild.cmake.version = Versions.Android.Build.cmakeVersion
81+
externalNativeBuild.cmake.version = libs.versions.cmake.get()
7182
}
7283

7384
dependencies {
74-
addCommonModuleDependencies()
85+
api(libs.bundles.common.api)
86+
87+
testImplementation(libs.bundles.test.jvm)
88+
androidTestImplementation(libs.bundles.test.android)
7589
}
7690

7791
tasks.getByName<DokkaTask>("dokkaHtml") {

bugsnag-android-core/lint.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<lint>
2+
<issue id="all">
3+
<ignore path="dsl-json/**" />
4+
</issue>
5+
</lint>

bugsnag-android-core/src/androidTest/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.bugsnag.android.test"
43
android:versionCode="1"
54
android:versionName="1.0">
65

0 commit comments

Comments
 (0)