github getsentry/sentry-java 6.24.0

latest releases: 7.17.0, 7.17.0-alpha.1, 7.16.0...
16 months ago

Features

  • Add debouncing mechanism and before-capture callbacks for screenshots and view hierarchies (#2773)
  • Improve ANRv2 implementation (#2792)
    • Add a proguard rule to keep ApplicationNotResponding class from obfuscation
    • Add a new option setReportHistoricalAnrs; when enabled, it will report all of the ANRs from the getHistoricalExitReasons list.
      By default, the SDK only reports and enriches the latest ANR and only this one counts towards ANR rate.
      Worth noting that this option is mainly useful when updating the SDK to the version where ANRv2 has been introduced, to report all ANRs happened prior to the SDK update. After that, the SDK will always pick up the latest ANR from the historical exit reasons list on next app restart, so there should be no historical ANRs to report.
      These ANRs are reported with the HistoricalAppExitInfo mechanism.
    • Add a new option setAttachAnrThreadDump to send ANR thread dump from the system as an attachment.
      This is only useful as additional information, because the SDK attempts to parse the thread dump into proper threads with stacktraces by default.
    • If ApplicationExitInfo#getTraceInputStream returns null, the SDK no longer reports an ANR event, as these events are not very useful without it.
    • Enhance regex patterns for native stackframes

Don't miss a new sentry-java release

NewReleases is sending notifications on new releases.