chore(deps): update Android SDK to v7.9.0#166
Open
github-actions[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update Android SDK to v7.9.0#166github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
Conversation
6dab515 to
7ecc3a0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps flutter/scripts/update-android.sh from 6.16.0 to 7.9.0.
Auto-generated by a dependency updater.
Changelog
7.9.0
Features
Fixes
7.8.0
Features
Fixes
7.7.0
Features
Fixes
Fix java.lang.ClassNotFoundException: org.springframework.web.servlet.HandlerExceptionResolverin Spring Boot Servlet mode without WebMVC (#3333)7.6.0
Features
Use the Metrics API to track processing time, download sizes, user signups, and conversion rates and correlate them back to tracing data in order to get deeper insights and solve issues faster. Our API supports counters, distributions, sets, gauges and timers, and it's easy to get started:
7.5.0
Features
enableScopePersistenceoption to disablePersistingScopeObserverused for ANR reporting which may increase performance overhead. Defaults totrue(#3218)Fixes
Runnable/Callable/Supplieris executed instead of setting it to the hub that was used on the thread where theRunnable/Callable/Supplierwas created.7.4.0
Features
options.isEnableSpotlight = trueto enable SpotlightFixes
RuntimeExceptionis thrown by the system (#3212)RuntimeInit$MethodAndArgsCallerto have them split up properly by the original root cause exception7.3.0
Features
io.sentry.profiling.enable-app-start, other than the already existingio.sentry.traces.profiling.sample-rate.isForNextAppStartflag, to adjust startup profiling sampling programmatically.Relevant PRs:
OnFrameMetricsAvailableListener(#3111)Fixes
mechanism:AppExitInfoBreaking changes
HostnameVerifieroption as it's flagged by security tools of some app stores (#3150)ITransportFactorythroughSentryOptions.setTransportFactory(), where you can copy over most of the parts likeHttpConnectionandAsyncHttpTransportfrom the SDK with necessary modificationsDependencies
7.2.0
Features
monitor/check_inin client reports and rate limiter (#3096)graphql-javaversion 21 (#3090)Fixes
SentryJobListenerreleaseand other fields for ANRs reported withmechanism:AppExitInfo(#3074)Dependencies
opentelemetry-sdkto1.33.0andopentelemetry-javaagentto1.32.0(#3112)7.1.0
Features
enable-backpressure-handling=true.tracesSampleRateautomatically.tracesSampleRateto its original value.4.1.0or neweroptions.isEnablePerformanceV2 = trueFixes
SentryOkHttpEventListenereven without transactions (#3087)io.sentry.exception.SentryHttpClientExceptionfrom obfuscation to display proper issue title on Sentry (#3093)Dependencies
7.0.0
Version 7 of the Sentry Android/Java SDK brings a variety of features and fixes. The most notable changes are:
minSdklevel to 19 (Android 4.4)Sentry.getSpannow returns the root transaction, which should improve the span hierarchy and make it leanersentry-okhttpartifact is unbundled from Android and can be used in pure JVM-only appsSentry Self-hosted Compatibility
This SDK version is compatible with a self-hosted version of Sentry
22.12.0or higher. If you are using an older version of self-hosted Sentry (aka onpremise), you will need to upgrade. If you're usingsentry.iono action is required.Sentry Integrations Version Compatibility (Android)
Make sure to align all Sentry dependencies to the same version when bumping the SDK to 7.+, otherwise it will crash at runtime due to binary incompatibility. (E.g. if you're using
-timber,-okhttpor other packages)For example, if you're using the Sentry Android Gradle plugin with the
autoInstallationfeature (enabled by default), make sure to use version 4.+ of the gradle plugin together with version 7.+ of the SDK. If you can't do that for some reason, you can specify sentry version via the plugin config block:sentry { autoInstallation { sentryVersion.set("7.0.0") } }Similarly, if you have a Sentry SDK (e.g.
sentry-android-core) dependency on one of your Gradle modules and you're updating it to 7.+, make sure the Gradle plugin is at 4.+ or specify the SDK version as shown in the snippet above.Breaking Changes
sentry-kotlin-extensions, it requireskotlinx-coroutines-coreversion1.6.1or higher now (#2838)SentryOkHttpUtilswas removed from public API as it's been exposed by mistake (#3005)Scopenow implements theIScopeinterface, therefore some methods likeScopeCallback.runacceptIScopenow (#3066)startTransactionoverloads (#2964)TransactionOptionsobject instead of having separate parameters for certain optionsTransactionOptionshas defaults set and can be customized, for example:Behavioural Changes
Sentry.getSpan()returns the root span/transaction instead of the latest span (#2855)sentry-android-okhttporsentry-apollo-3integrations. You can customize what errors you want/don't want to have reported for OkHttp and Apollo3 respectively.onResume(#2851)deadline_exceededwhen reaching the deadlinesendDefaultPiiif anencoderhas been configured (#2976)maxSpanssetting (defaults to 1000) is enforced for nested child spans which means a single transaction can havemaxSpansnumber of children (nested or not) at most (#3065)ScopeCallbackinwithScopeis now always executed (#3066)Deprecations
sentry-android-okhttpwas deprecated in favour of the newsentry-okhttpmodule. Make sure to replaceio.sentry.android.okhttppackage name withio.sentry.okhttpbefore the next major, where the classes will be removed (#3005)Other Changes
Features
SendCachedEnvelopeIntegrationSendCachedEnvelopeFireAndForgetIntegrationas mentioned in https://docs.sentry.io/platforms/java/configuration/#configuring-offline-caching and provide your own implementation ofIConnectionStatusProviderviaSentryOptionssentry-okhttpmodule to support instrumenting OkHttp in non-Android projects (#3005)Fixes
getMyMemoryState()instead ofgetRunningAppProcesses()to retrieve process importance (#3004)abortedin case a crash happens (#2938)defaultinterface methods to proper implementations in each interface implementor (#2847)SentryOkHttpInterceptor.BeforeSpanCallbackwas not finishing span when it was dropped (#2958)6.34.0
Features
MonitorConfigparam toCheckInUtils.withCheckIn(#3038)readBytesFromFilefor use in Hybrid SDKs (#3052)getProguardUuidfor use in Hybrid SDKs (#3054)Fixes
Dependencies
6.33.2-beta.1
Fixes
Dependencies
6.33.1
Fixes
sentrySpringFilterin ServletContext for Spring Boot (#3027)6.33.0
Features
Fixes
StackOverflowError6.32.0
Features
DebugImagesLoaderpublic (#2993)Fixes
SystemEventsBroadcastReceiverexported on API 33+ (#2990)SystemEventsBreadcrumbsIntegrationcrashes that you might have encountered on Play Console6.31.0
Features
CheckInUtils.withCheckInwhich abstracts away some of the manual check-ins complexity (#2959)SentryCaptureExceptionParameterannotation which captures exceptions passed into an annotated method (#2764)Sentry.captureExceptioncalls inExceptionHandlerof aControllerAdviceServerWebExchangetoHintfor WebFlux asWEBFLUX_EXCEPTION_HANDLER_EXCHANGE(#2977)SentryInstrumentationapplication.propertiesassentry.graphql.ignored-error-types=SOME_ERROR,ANOTHER_ERRORFixes
nextListtonextListOrNullto actually match what the method doesopis not defined as part ofSpanContext, fallback to an empty string, because the filed is optional in the specDependencies
6.30.0
Features
sendModulesoption for disable sending modules (#2926)db.systemanddb.namein span data for androidx.sqlite spans (#2928)SentryCheckInannotation and advice config for Spring (#2946)Fixes
device.classtag on Sentrysentry.enable-aot-compatibilityproperty to SpringBoot JakartaSentryAutoConfigurationto enable building for GraalVM (#2915)Dependencies
6.29.0
Features
db.systemanddb.namein span data (#2894)http.request.methodin span data (#2896)enablePrettySerializationOutputoption for opting out of pretty print (#2871)6.28.0
Features
sampledto Dynamic Sampling Context (#2869)SentryDataFetcherExceptionHandlerthat still works but has been deprecated. Please useSentryGenericDataFetcherExceptionHandlercombined withSentryInstrumentationinstead for better error reporting.ExecutionResult(more specifically itserrors)GraphQLContextsentry-spring-bootandsentry-spring-boot-jakarta(#2880)sentry-spring-bootandsentry-spring-boot-jakartahave acompileOnlydependency onspring-boot-starterwhich is needed for our auto installation in sentry-android-gradle-pluginsentry-spring-boot-starterandsentry-spring-boot-starter-jakartanow bringspring-boot-starteras a dependencyenabledoption tofalse(#2840)Fixes
6.27.0
Features
Fixes
OutOfMemoryError) (#2845)Crashedstatus, but only the one that is relevant6.26.0
Features
Fixes
TracingContextvalues from event for ANRv2 events (#2839)6.25.2
Fixes
6.25.1
Fixes
Dependencies
6.25.0
Features
AutoInitto integrations list (#2795)sentry-traceandbaggage) are now attached and passed through even if performance is disabled (#2788)Fixes
environmentfromSentryOptionsif none persisted in ANRv2 (#2809)tracesSampleRateto0.0for Spring Boot if not set (#2800)Dependencies
6.24.0
Features
ApplicationNotRespondingclass from obfuscationsetReportHistoricalAnrs; 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
HistoricalAppExitInfomechanism.setAttachAnrThreadDumpto 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.
6.23.0
Features
Dependencies
Fixes
6.22.0
Features
lockattribute to theSentryStackFrameprotocol to better highlight offending frames in the UI (#2761)api_targettoRequestanddatatoResponseProtocols (#2775)Fixes
String.joininBaggageas it requires API level 26 (#2778)6.21.0
Features
sentry-android-sqliteintegration (#2722)androidx.sqlitedatabase instrumentation in the Sentry Android Gradle pluginandroidx.sqlitedatabases.SupportSQLiteOpenHelperinstance intoSentrySupportSQLiteOpenHelper(myHelper)if you're not using the Sentry Android Gradle plugin and still benefit from performance auto-instrumentation.Fixes
SentryExecutorServicein6.19.0which caused the application to hang on shutdown unlessSentry.close()was called. By using daemon threads we no longer block shutdown.ComposeViewHierarchyExporterclass (#2743)6.20.0
Features
client.eventListener(new SentryOkHttpEventListener()).addInterceptor(new SentryOkHttpInterceptor()).build();client.eventListener(new SentryOkHttpEventListener(myListener)).addInterceptor(new SentryOkHttpInterceptor()).build();RootChecker(#2735)Fixes
SentryTracercrash when scheduling auto-finish of a transaction, but the timer has already been cancelled (#2731)AndroidTransactionProfilercrash when finishing a profile that happened due to race condition (#2731)6.19.1
Fixes
6.19.0
Features
mechanism:AppExitInfo.mechanism:ANR.TransactionOptions,ITransactionandIHubmethods allowing consumers modify start/end timestamp of transactions and spans (#2701)Fixes
configureScopeinstead ofwithScopeinHub.close(). This ensures that the main scope releases the in-memory data when closing a hub instance. (#2688)Dependencies
6.18.1
Fixes
6.18.0
Features
Log4j2Plugins.datUserandBreadcrumbfrom map (#2614)sent_atto envelope header item (#2638)Fixes
Dependencies
6.17.0
Features
nameandgeotoUser(#2556)Fixes
Dependencies