Skip to content

Commit aeed04d

Browse files
authored
Merge branch 'main' into markushi/fix/compose-view-hierarchy-exporter
2 parents d9d17ec + a27ecb4 commit aeed04d

File tree

6 files changed

+23
-9
lines changed

6 files changed

+23
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
4141

4242
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5 # pin@v2
43+
uses: github/codeql-action/init@5f8171a638ada777af81d42b55959a643bb29017 # pin@v2
4444
with:
4545
languages: 'java'
4646

@@ -49,4 +49,4 @@ jobs:
4949
./gradlew buildForCodeQL
5050
5151
- name: Perform CodeQL Analysis
52-
uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 # pin@v2
52+
uses: github/codeql-action/analyze@5f8171a638ada777af81d42b55959a643bb29017 # pin@v2

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Get auth token
2121
id: token
22-
uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
22+
uses: actions/create-github-app-token@af35edadc00be37caa72ed9f3e6d5f7801bfdf09 # v1.11.7
2323
with:
2424
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2525
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@
22

33
## Unreleased
44

5+
### Features
6+
7+
- Increase http timeouts from 5s to 30s to have a better chance of events being delivered without retry ([#4276](https://github.com/getsentry/sentry-java/pull/4276))
8+
59
### Fixes
610

711
- Do not override user-defined `SentryOptions` ([#4262](https://github.com/getsentry/sentry-java/pull/4262))
12+
- Session Replay: Change bitmap config to `ARGB_8888` for screenshots ([#4282](https://github.com/getsentry/sentry-java/pull/4282))
813
- Fix tags missing for compose view hierarchies ([#4275](https://github.com/getsentry/sentry-java/pull/4275))
914

1015
### Dependencies
1116

1217
- Bump Native SDK from v0.8.1 to v0.8.2 ([#4267](https://github.com/getsentry/sentry-java/pull/4267))
1318
- [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#082)
1419
- [diff](https://github.com/getsentry/sentry-native/compare/0.8.1...0.8.2)
20+
- Bump Spring Boot from 2.7.5 to 2.7.18 ([#3496](https://github.com/getsentry/sentry-java/pull/3496))
1521

1622
## 8.5.0
1723

@@ -567,6 +573,12 @@ If you have been using `8.0.0-rc.4` of the Java SDK, here's the new changes that
567573
- We are planning to improve this in the future but opted for this fix first.
568574
- Fix swallow NDK loadLibrary errors ([#4082](https://github.com/getsentry/sentry-java/pull/4082))
569575

576+
## 7.22.5
577+
578+
### Fixes
579+
580+
- Session Replay: Change bitmap config to `ARGB_8888` for screenshots ([#4282](https://github.com/getsentry/sentry-java/pull/4282))
581+
570582
## 7.22.4
571583

572584
### Fixes

buildSrc/src/main/java/Config.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ object Config {
66
val kotlinVersion = "1.9.24"
77
val kotlinStdLib = "stdlib-jdk8"
88

9-
val springBootVersion = "2.7.5"
9+
val springBootVersion = "2.7.18"
1010
val springBoot3Version = "3.4.2"
1111
val kotlinCompatibleLanguageVersion = "1.6"
1212

sentry-android-replay/src/main/java/io/sentry/android/replay/ScreenshotRecorder.kt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ internal class ScreenshotRecorder(
5252
Bitmap.createBitmap(
5353
1,
5454
1,
55-
Bitmap.Config.RGB_565
55+
Bitmap.Config.ARGB_8888
5656
)
5757
}
5858
private val screenshot = Bitmap.createBitmap(
5959
config.recordingWidth,
6060
config.recordingHeight,
61-
Bitmap.Config.RGB_565
61+
Bitmap.Config.ARGB_8888
6262
)
6363
private val singlePixelBitmapCanvas: Canvas by lazy(NONE) { Canvas(singlePixelBitmap) }
6464
private val prescaledMatrix by lazy(NONE) {
@@ -216,7 +216,9 @@ internal class ScreenshotRecorder(
216216
fun close() {
217217
unbind(rootView?.get())
218218
rootView?.clear()
219-
screenshot.recycle()
219+
if (!screenshot.isRecycled) {
220+
screenshot.recycle()
221+
}
220222
isCapturing.set(false)
221223
}
222224

sentry/src/main/java/io/sentry/SentryOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@ public class SentryOptions {
291291
private @NotNull ISentryExecutorService executorService = NoOpSentryExecutorService.getInstance();
292292

293293
/** connection timeout in milliseconds. */
294-
private int connectionTimeoutMillis = 5000;
294+
private int connectionTimeoutMillis = 30_000;
295295

296296
/** read timeout in milliseconds */
297-
private int readTimeoutMillis = 5000;
297+
private int readTimeoutMillis = 30_000;
298298

299299
/** Reads and caches envelope files in the disk */
300300
private @NotNull IEnvelopeCache envelopeDiskCache = NoOpEnvelopeCache.getInstance();

0 commit comments

Comments
 (0)