Skip to content

chore(deps): update Android SDK to v8.41.0#3687

Merged
buenaflor merged 2 commits into
mainfrom
deps/packages/flutter/scripts/update-android.sh
May 7, 2026
Merged

chore(deps): update Android SDK to v8.41.0#3687
buenaflor merged 2 commits into
mainfrom
deps/packages/flutter/scripts/update-android.sh

Conversation

@ghost
Copy link
Copy Markdown
Contributor

@ghost ghost commented May 6, 2026

Bumps packages/flutter/scripts/update-android.sh from 8.40.0 to 8.41.0.

Auto-generated by a dependency updater.

Changelog

8.41.0

Features

  • Session Replay: experimental support for capturing SurfaceView content (e.g. Unity, video players, maps) (#5333)
    • To enable, set options.sessionReplay.isCaptureSurfaceViews = true
    • Or via manifest: <meta-data android:name="io.sentry.session-replay.capture-surface-views" android:value="true" />
    • Warning: masking granularity is at the SurfaceView level only — the SDK cannot mask individual elements rendered inside the SurfaceView (e.g. native Unity UI, map labels, video frames). Only enable for SurfaceViews whose content is safe to record.
  • Add Sentry.feedback() API for show() and capture() (#5349)
    • Sentry.showUserFeedbackDialog() is deprecated in favor of Sentry.feedback().show()
    • Sentry.captureFeedback() is deprecated in favor of Sentry.feedback().capture()
    • Sentry.captureUserFeedback() and UserFeedback are deprecated in favor of Sentry.feedback().capture() with the new Feedback type
    • SentryUserFeedbackDialog is deprecated in favor of SentryUserFeedbackForm
    • All deprecated APIs will be removed in the next major version
  • Deprecate SentryUserFeedbackButton (View-based and Compose-based) (#5350)
    • It will be removed in the next major version
  • Add per-form shake-to-show support for SentryUserFeedbackForm (#5353)
    • Useful for enabling shake-to-report on specific screens instead of globally
    SentryUserFeedbackForm.Builder(activity)
      .configurator { it.isUseShakeGesture = true }
      .create()
  • Add support for Kafka (#5249)
    • You will need to add the sentry-kafka dependency and opt-in via the new option.
      • Set options.setEnableQueueTracing(true) on Sentry.init
      • Or set sentry.enable-queue-tracing=true in application.properties
    • For Spring Boot Kafka is auto instrumented and no further configuration is needed.
    • When using kafka-clients directly

Fixes

  • Fix soft input keyboard not being shown on the Feedback form (#5359)
  • Fix shake-to-report not triggering on some devices due to high acceleration threshold (#5366)
  • Fix feedback form retaining previous message when shown again via shake (#5366)
  • Avoid stack overflow when deserializing large flat JSON objects (#5361)

Dependencies

@github-actions
Copy link
Copy Markdown
Contributor Author

ghost commented May 7, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

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


Features

  • (span-first) Add transaction and app start type span attributes by buenaflor in #3678
  • Prevent cross-organization trace continuation by antonis in #3567
    • By default, the SDK now extracts the organization ID from the DSN (e.g. o123.ingest.sentry.io) and compares it with the sentry-org_id value in incoming baggage headers. When the two differ, the SDK starts a fresh trace instead of continuing the foreign one. This guards against accidentally linking traces across organizations.
    • New option strictTraceContinuation (default false): when enabled, both the SDK's org ID and the incoming baggage org ID must be present and match for a trace to be continued. Traces with a missing org ID on either side are rejected.
    • New option orgId: allows explicitly setting the organization ID for self-hosted and Relay setups where it cannot be extracted from the DSN.
    • Options are also applied to the native Android SDK. On iOS, only the Dart layer enforces strict trace continuation.

Fixes

Flutter

  • Avoid JNI callbacks for Android scope sync by denrase in #3676
  • Send frame delay in seconds by buenaflor in #3677

Dependencies

Deps

  • chore(deps): update Android SDK to v8.41.0 by github-actions[bot] in #3687
  • chore(deps): update Cocoa SDK to v8.58.2 by github-actions in #3664
  • chore(deps): update Native SDK to v0.13.8 by github-actions in #3667
  • chore(deps): update Android SDK to v8.40.0 by github-actions in #3663

Internal Changes

  • Remove collection runtime dependency by buenaflor in #3680
  • Notify linked issues on release by buenaflor in #3685
  • Enforce conventional commit format for PR titles by buenaflor in #3666

🤖 This preview updates automatically when you update the PR.

@buenaflor buenaflor merged commit 1e46846 into main May 7, 2026
64 checks passed
@buenaflor buenaflor deleted the deps/packages/flutter/scripts/update-android.sh branch May 7, 2026 08:55
@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.57%. Comparing base (08e96ae) to head (d8c74ae).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3687      +/-   ##
==========================================
+ Coverage   86.85%   91.57%   +4.71%     
==========================================
  Files         335       99     -236     
  Lines       11976     3514    -8462     
==========================================
- Hits        10402     3218    -7184     
+ Misses       1574      296    -1278     
Flag Coverage Δ
sentry ?
sentry_dio ?
sentry_drift ?
sentry_file ?
sentry_firebase_remote_config 100.00% <ø> (ø)
sentry_flutter 91.52% <ø> (+0.37%) ⬆️
sentry_hive ?
sentry_isar ?
sentry_link ?
sentry_logging ?
sentry_sqflite ?
sentry_supabase ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants