Releases: getsentry/sentry-android-gradle-plugin
Releases · getsentry/sentry-android-gradle-plugin
5.2.0
5.1.0
5.0.0
Intro
Version 5.0 of the sentry-android-gradle-plugin
uses the latest major version of the Java/Android SDK (8.0.0
).
We plan to do another major release within the next few months, which will contain more functional changes.
You can see what exactly we're planning and track progress in #825.
Fixes
- Ensure DexGuard flavor/buildtype mapping files are respected as well (#822)
Dependencies
4.14.1
4.14.0
Features
- Add AutoInstallStrategy for graphql-22 (#781)
- New experimental option to upload proguard mappings chunked. Set the env variable to try it out:
export SENTRY_EXPERIMENTAL_PROGUARD_CHUNK_UPLOAD=1
- This should prevent intermittent
502: Bad Gateway
errors when uploading proguard mappings
- This should prevent intermittent
Dependencies
4.13.0
4.12.0
4.11.0
Fixes
- Fix plugin for spring-dependency-management 1.1.6 (#741)
- Make
SentryUploadNativeSymbolsTask
configuration-cache compatible (#747) - Fix
permission denied
error when extracting sentry-cli concurrently (#748) - Make
SentryGenerateProguardUuidTask
produce deterministic output based on the mapping file contents (#750)- This disables caching for the
SentryGenerateProguardUuidTask
task in favour of deterministic UUID generation. The task will always run but will always produce the same UUID for the same mapping file.
- This disables caching for the
Dependencies
4.11.0-alpha.1
Fixes
- Lazily link generated uuid task with minify task (#745)
4.10.0
Features
-
Session Replay Public Beta (#3339)
The Gradle plugin pulls in the
io.sentry:sentry-android:7.12.0
dependency and enables Session Replay through it. To enable Replay use thesessionReplay.sessionSampleRate
orsessionReplay.errorSampleRate
experimental options.import io.sentry.SentryReplayOptions import io.sentry.android.core.SentryAndroid SentryAndroid.init(context) { options -> // Currently under experimental options: options.experimental.sessionReplay.sessionSampleRate = 1.0 // We suggest 0.1 in production (10% sessions sampled) options.experimental.sessionReplay.errorSampleRate = 1.0 // To change default redaction behavior (defaults to true) options.experimental.sessionReplay.redactAllImages = true options.experimental.sessionReplay.redactAllText = true // To change quality of the recording (defaults to MEDIUM) options.experimental.sessionReplay.quality = SentryReplayOptions.SentryReplayQuality.MEDIUM // (LOW|MEDIUM|HIGH) }
To learn more visit Sentry's Mobile Session Replay documentation page.
Fixes
- Only apply Jetpack Compose instrumentation if
Modifier
class is available (#727)