Skip to content

chore(deps): update Sentry Android Gradle Plugin to v6.11.0#6275

Merged
antonis merged 1 commit into
mainfrom
deps/scripts/update-sentry-android-gradle-plugin.sh
Jun 15, 2026
Merged

chore(deps): update Sentry Android Gradle Plugin to v6.11.0#6275
antonis merged 1 commit into
mainfrom
deps/scripts/update-sentry-android-gradle-plugin.sh

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bumps scripts/update-sentry-android-gradle-plugin.sh from 6.10.0 to 6.11.0.

Auto-generated by a dependency updater.

Changelog

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')
  • Defer the telemetry default-org lookup to execution time so the configuration cache no longer re-runs sentry-cli on every build (#1263)
  • The published Gradle plugin and sentry-snapshots-runtime POMs no longer declare a transitive kotlin-stdlib dependency (#1276)
  • Normalize Linux ARM64 architecture name for bundled sentry-cli binary lookup (#1201)

Dependencies

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jun 12, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-sentry-android-gradle-plugin.sh branch from 9a0d607 to 10c1365 Compare June 12, 2026 04:30
@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): update Sentry Android Gradle Plugin to v6.11.0 by github-actions[bot] in #6275
  • chore(deps): bump joi from 17.13.3 to 17.13.4 by dependabot in #6279
  • chore(deps): update Cocoa SDK to v9.17.1 by github-actions in #6272
  • docs(replay): clarify fast renderer option docs by leohara in #6276
  • feat(core): Warn when multiple versions of Sentry JS SDK are detected by antonis in #6269

🤖 This preview updates automatically when you update the PR.

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request
Warnings
⚠️

⚠️ Android SDK Version Check

⚠️ Could not determine sentry-android version bundled by gradle plugin 6.11.0:

Could not find sdk_version in gradle.properties

Generated by 🚫 dangerJS against d9e69b3

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-sentry-android-gradle-plugin.sh branch 2 times, most recently from 6bfb146 to 257434e Compare June 12, 2026 12:45
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-sentry-android-gradle-plugin.sh branch from 257434e to 39e023e Compare June 15, 2026 07:30
}

export const sentryAndroidGradlePluginVersion = '6.10.0';
export const sentryAndroidGradlePluginVersion = '6.11.0';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The Sentry Android Gradle Plugin version was updated, but the corresponding hardcoded Android SDK version was not, causing a version mismatch for users with autoInstallation enabled.
Severity: MEDIUM

Suggested Fix

Update the sentryAndroidVersion variable in packages/core/android/build.gradle from '8.43.1' to '8.43.2' to match the version bundled with the updated Gradle plugin.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: packages/core/plugin/src/withSentryAndroidGradlePlugin.ts#L18

Potential issue: The pull request updates the Sentry Android Gradle Plugin to version
`6.11.0`, which bundles the Android SDK version `8.43.2`. However, the corresponding
hardcoded Sentry Android SDK version in `packages/core/android/build.gradle` was not
updated and remains at `8.43.1`. This version mismatch will cause a runtime crash
(`IllegalStateException`) for any user who has explicitly set `autoInstallation.enabled
= true` in their configuration. Users of the Expo plugin with the default settings are
not affected as this feature is disabled by default for them.

Also affects:

  • samples/react-native/android/build.gradle:19~19

Did we get this right? 👍 / 👎 to inform future reviews.

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-sentry-android-gradle-plugin.sh branch from 39e023e to d9e69b3 Compare June 15, 2026 07:34
@antonis antonis merged commit 90a4c94 into main Jun 15, 2026
51 of 65 checks passed
@antonis antonis deleted the deps/scripts/update-sentry-android-gradle-plugin.sh branch June 15, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants