Repository navigation
Releases
Releases · getsentry/sentry-android-gradle-plugin
6.27.0
6.26.0
6.25.0
6.24.0
Fixes
- Fix
LimitExceededException: Too many operationsduring instrumentation when ASM 9.11+ is on the build classpath (#1473) - Fix capitalized boolean manifest metadata values such as
Falsebeing ignored, which crashed apps on startup that disable auto-init withio.sentry.auto-init="False"(#1460)
Dependencies
6.23.0
Features
- Track the Kotlin Gradle plugin version in build telemetry (#1452)
Fixes
- Fix snapshot tests failing for previews that set both
widthDpandheightDpand contain lazy lists or other scrollables (#1457) - Fix snapshots of previews wider than they are tall rendering with width and height swapped (#1458)
- Stop warning about AGP application optimization on AGP versions where the public
isMinifyEnabledAPI covers it (9.3.3, 9.4.1, 9.5.0-alpha06) (#1453)
Dependencies
6.22.0
6.21.0
Fixes
- Fix snapshot task wiring failing with
InvalidUserDataExceptionon application modules with multiple flavors (#1431)
Security
Dependencies
6.20.0
Features
- Allow per-variant overrides for tracing instrumentation and runtime optimizations via reverse DSL (#1420)
- This allows you to enable and disable features per variant.
sentry { tracingInstrumentation { enabled.set(false) } variants { create("debug") { tracingInstrumentation { enabled.set(true) } runtimeOptimizations { enabled.set(true) } } } }
Fixes
- Avoid resolving the runtime classpath during Gradle configuration when SDK runtime optimizations are enabled (#1404)
Performance
- Resolve Sentry manifest metadata at build time to reduce Android SDK initialization overhead (#1405)
Dependencies
6.19.0
Fixes
- Detect AGP
optimization.enablewhen the variant is wrapped by AGP analytics (#1382)- This fixes
java.lang.NoSuchMethodException: com.android.build.api.component.analytics.AnalyticsEnabledApplicationVariant_Decorated.getOptimizationCreationConfig()
- This fixes
Dependencies
6.18.0
Fixes
- Support ProGuard mapping tasks when R8 is enabled with the AGP app
optimization.enableDSL (#1376)
Performance
- Eliminate reflection for known optional Sentry SDK class-availability checks, reducing SDK initialization time by about 1% in an absent-heavy startup benchmark (#1375)
- This optimization is enabled by default. If it causes problems, disable it with
sentry.runtimeOptimizations.enabled = false.
- This optimization is enabled by default. If it causes problems, disable it with