Releases: getsentry/sentry-android-gradle-plugin
Releases · getsentry/sentry-android-gradle-plugin
Release list
6.16.0
6.15.0
Features
- Mark the
sizeAnalysisextension as stable by removing its@Experimentalannotation (#1361) - Fail the build when OpenTelemetry is downgraded below the version the Sentry OpenTelemetry integration requires (#1350)
- The
sentry-opentelemetry-*artifacts are built against specific OpenTelemetry versions. When another dependency management mechanism (most commonly Spring Bootio.spring.dependency-management) forces OpenTelemetry below the version a Sentry integration requires, running against those downgraded versions can causeClassNotFoundException/NoSuchMethodErrorat runtime. The newverifySentryOpenTelemetryVersionstask detects this downgrade and fails the build early with guidance on how to fix it. - You may disable this check by setting
sentry.verifyOpenTelemetryVersions = false
- The
Fixes
- Use Sentry BOM versions for auto-installed SDK dependencies (#1349)
Dependencies
6.14.0
6.13.0
Features
- Auto-instrument SQLiteDriver for Room users (#1285)
- Gated on
sentry-android-sqlite>= 8.45.0 and the existingtracingInstrumentationDATABASEfeature (enabled by default) - For users of the
androidx.sqlite.driver.SupportSQLiteDriverbridge, auto-instrumentation wraps only theSupportSQLiteOpenHelperconsumed by the bridge and not the bridge itself (avoids duplicate spans)
- Gated on
Security
- Pin the plugin's build dependencies with Gradle dependency locking and SHA-256 dependency verification (#1256)
Dependencies
6.12.0
6.11.0
Fixes
- Resolve the sentry-cli path as a task input instead of memoizing it in a static field, fixing stale-path build failures when switching branches with the configuration cache enabled (#1264)
- This fixed the issue where sentry-cli could not be found (
A problem occurred starting process 'command ../sentry-cliXXX.exe')
- This fixed the issue where sentry-cli could not be found (
- Defer the telemetry default-org lookup to execution time so the configuration cache no longer re-runs
sentry-clion every build (#1263) - The published Gradle plugin and
sentry-snapshots-runtimePOMs no longer declare a transitivekotlin-stdlibdependency (#1276) - Normalize Linux ARM64 architecture name for bundled sentry-cli binary lookup (#1201)
Dependencies
6.10.0
Features
- Add support for the Kotlin 2.4 compiler in the Compose tracing compiler plugin (#1253)
Fixes
- Compose tracing no longer adds the Sentry modifier multiple times for chained modifiers (e.g.
Modifier.fillMaxSize().padding()) on Kotlin 2.2 and newer (#1253)
Dependencies
API Changes
- The
debugextension property is now typed asProperty<Boolean>instead ofProperty<Boolean?>(#1253)
6.9.0
Fixes
- Defer instrumentation log directory creation to execution time and use variant-specific paths to prevent log file corruption during parallel variant transforms (#1236)
Dependencies
6.8.1
Fixes
- Fail fast with a clear error when Snapshots feature is used with AGP 7.x (#1212)