forked from getsentry/sentry-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update Android SDK to v8.27.1 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
github-actions
wants to merge
1
commit into
main
Choose a base branch
from
deps/scripts/update-android.sh
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
73a8a7a to
41ac16f
Compare
b14a99e to
b63ef21
Compare
b63ef21 to
a7a11b1
Compare
a7a11b1 to
f547d70
Compare
538bf5d to
8970ef5
Compare
8970ef5 to
ee82139
Compare
ee82139 to
953182e
Compare
953182e to
571ac6b
Compare
571ac6b to
2490b77
Compare
2490b77 to
f590d2b
Compare
f590d2b to
d9ce9fe
Compare
d9ce9fe to
b06633a
Compare
b06633a to
ada391d
Compare
42e8337 to
a1cb28d
Compare
a1cb28d to
ab9e19a
Compare
ab9e19a to
223fd7f
Compare
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 scripts/update-android.sh from 7.22.6 to 8.27.1.
Auto-generated by a dependency updater.
Changelog
8.27.1
Fixes
sentry.propertiesin rundir has not been found (#4929)8.27.0
Features
sentry-openfeaturedependency and register the the hook using:openFeatureApiInstance.addHooks(new SentryOpenFeatureHook());sentry-launchdarkly-androidas a dependency and register theSentryLaunchDarklyAndroidHooksentry-launchdarkly-serveras a dependency and register theSentryLaunchDarklyServerHookenableEventSizeLimitingtotrue(sentry.enable-event-size-limiting=truefor Spring Bootapplication.properties)onOversizedEventcallback to implement custom logic that is executed in case an oversized event is detectedImprovements
Dependencies
8.26.0
Features
Sentry.addFeatureFlag("my-feature-flag", true);) writes to scopes and the current span (if there is one)IScope,IScopes,ISpanandITransactiondirectlyFixes
DefaultReplayBreadcrumbConverterif replay is available (#4888)Improvements
timber.taglog attribute (#4845)Dependencies
8.25.0
Fixes
Improvements
sampled == null) won't be collecting any performance data anymore (CPU, RAM, slow/frozen frames).Dependencies
8.24.0
Features
mdc.<key>, where<key>is the original key in the MDC.contextTagsare sent as log attributes.options.setContextTagsif initalizing manually, or by specifying a comma-separated list of keys with acontext-tagsentry insentry.propertiesorsentry.context-tagsinapplication.properties.HandlertoSystemEventsBreadcrumbsIntegrationandAndroidConnectionStatusProviderso their callbacks are deliver to that handler (#4808).drawText()or.drawBitmap()calls are replaced by rectangles, ensuring no text or images are present in the resulting outputscreenshotStrategy, either via code:Fixes
java.lang.IllegalArgumentException: width and height must be > 0(#4805)NoOpScopesinContextwhen starting a span through OpenTelemetry (#4823)Canvas.<init>/ScreenshotRecorder.captureMiscellaneous
Dependencies
8.23.0
Features
sentry-async-profilerdependency to your project1.0to send all of them. You may useoptions.setProfileSessionSampleRate(1.0)in code orprofile-session-sample-rate=1.0insentry.propertiesoptions.setProfileLifecycle(ProfileLifecycle.TRACE)in code orprofile-lifecycle=TRACEinsentry.propertiesMANUAL, meaning you have to explicitly callSentry.startProfiler()andSentry.stopProfiler()TRACEwhich will create a profile for each transactionsentry.profile-session-sample-rate=1.0andsentry.profile-lifecycle=TRACEinapplication.propertiessentry.profile-session-sample-rate: 1.0andsentry.profile-lifecycle: TRACEinapplication.ymlFixes
SentryTraced(#4757)Improvements
RejectedExecutionExceptioneverywhere (#4747)SentryEnvelopeas not internal (#4748)8.22.0
Features
traceparentheader.Improvements
Fixes
NoSuchElementExceptioninBufferCaptureStrategy(#4717)Dependencies
8.21.1
Fixes
8.21.0
Fixes
Features
sentry-opentelemetry-agentless-springis not working yet for Spring Boot 4. Please usesentry-opentelemetry-agentuntil OpenTelemetry has support for Spring Boot 4.UUIDGeneratorimplementation with Apache licensed code (#4662)Randomimplementation with MIT licensed code (#4664)varsattribute inSentryStackFrame(#4686)varsattribute has been changed fromMap<String, String>toMap<String, Object>.8.20.0
Fixes
Features
Sentry.init:8.19.1
Warning
Android: This release is incompatible with API levels below 26. We recommend using SDK version 8.20.0 or higher instead.
Fixes
8.19.0
Warning
Android: This release is incompatible with API levels below 26. We recommend using SDK version 8.20.0 or higher instead.
Features
isEnableSystemEventBreadcrumbsExtrasoption to disable reporting system events extras for breadcrumbs (#4625)Improvements
LifecycleObserverand multi-cast it to the integrations interested in lifecycle states (#4567)sentry.originattribute to logs (#4618)SentryExecutorServicefor better performance at runtime (#4606)Fixes
NetworkCallbackregistered at a time to reduce IPC calls (#4562)sentry-android-ndkto theio.sentry.**namespace. (#4427)proguard-android.txtorproguard-android-optimize.txt) the following config should be present:SentrySupportSQLiteDatabase(#4597)StackOverflowErrorwhen using OSS Licenses pluginDependencies
8.18.0
Features
SentryUserFeedbackButtonComposable (#4559)Sentry.showUserFeedbackDialogstatic methodio.sentry:sentry-ktor-client, then install theSentryKtorClientPluginon yourHttpClient,e.g.:
Fixes
SentryGestureListenerSentry.withScopenow has the correct current scope passed to the callback. Previously our OpenTelemetry integration forked scopes an additional.8.17.0
Features
SentryOptionsor with theio.sentry.logs.enabledmanifest option and the SDK will automatically send Timber logs to Sentry, if the TimberIntegration is enabled.SentryOptionsor with theio.sentry.logs.enabledmanifest option and the SDK will automatically send logcat logs to Sentry, if the Sentry Android Gradle plugin is applied.sentry-debug-meta.propertiesand attach it to events (#4314)Dependencies
opentelemetry-sdkto1.51.0opentelemetry-instrumentationto2.17.0opentelemetry-javaagentto2.17.0opentelemetry-semconvto1.34.0Fixes
sentry-spring-boot-starter-jakarta(#4545)sentry-spring-boot-starter-jakarta, which is intended for Spring Boot 3.8.16.1-alpha.2
Fixes
IllegalArgumentExceptionwhenBitmapis initialized with non-positive values (#4536)Internal
8.16.0
Features
sentry.properties:logs.enabled=trueSentry.init:minimumLevelinlogging.properties, meaning any log message >= the configured level will be sent to Sentry and show up under Logs:io.sentry.jul.SentryHandler.minimumLevel=CONFIGsentry.properties:logs.enabled=trueSentry.init:minimumLevelinlog4j2.xml, meaning any log message >= the configured level will be sent to Sentry and show up under Logs:8.15.1
Fixes
8.15.0
Features
Fixes
StringviatoString(#4515)SentryLogEventAttributeValueconstructors did not convert the value previously.SentryUserFeedbackButton, but reference them instead (#4519)Features
minimumLevelfor log events:application.properties/application.yml:Sentry.init:sentry.propertiesis also possible:logs.enabled=trueSentryOptions.Logs.BeforeSendLogCallbackSpring beans (#4509)Dependencies
8.14.0
Fixes
Features
To use it, just instantiate it and call show() on the instance (Sentry must be previously initialized).
For customization options, please check the User Feedback documentation.
user.id,user.nameanduser.emailto log attributes (#4486)nameattribute has been deprecated, please useusernameinstead (#4486)device.brand,device.modelanddevice.family) and OS (os.nameandos.version) attributes to logs (#4493)preContextandpostContextinSentryStackFrame(#4482)Internal
8.13.3
Fixes
OkHttpEventeven if no active span inSentryOkHttpInterceptor#4469segment_id(#4471)8.13.2
Fixes
sentry-spring-boot-jakarta(#4456)io.sentry:sentry-spring-boot-jakartais now correctly being built and published to Maven Central.8.13.1
Fixes
SentryAndroid.initcrash if SDK is initialized from a background thread while anActivityis in resumed state (#4449)Dependencies
8.13.0
Features
Sentry.replay().enableDebugMaskingOverlay()to overlay the screen with the Session Replay masks.frameRate(default 1 fps).attributes(#4402)Sentry.logger.lognow takes aSentryLogParametersSentryLogParameters.create(SentryAttributes.of(...))to pass attributesstring,boolean,integerordouble.string. Currently we simply calltoString()but we might offer more in the future.SentryAttribute.named("point", Point(10, 20))you may store it asSentryAttribute.integerAttribute("point.x", point.x)andSentryAttribute.integerAttribute("point.y", point.y)SentryAttribute.named()will automatically infer the type or fall back tostring.SentryAttribute.booleanAttribute()takes aBooleanvalueSentryAttribute.integerAttribute()takes aIntegervalueSentryAttribute.doubleAttribute()takes aDoublevalueSentryAttribute.stringAttribute()takes aStringvalueSentryLogParametersto avoid creating tons of overloads that are ambiguous.Fixes
OtelSentrySpanProcessorinstead ofOtelSentryPropagator(#4434)OtelSentryPropagator.extractor having asentry-traceheader that failed to parse would cause isolation scope not to be forked.Dependencies
3.5.0(#4111)8.12.0
Features
options.getLogs().setEnabled(true)inSentry.init/SentryAndroid.init<meta-data android:name="io.sentry.logs.enabled" android:value="true" />inAndroidManifest.xmllogs.enabled=trueinsentry.propertiessentry.logs.enabled=trueinapplication.propertiessentry.logs.enabled: trueinapplication.ymlSentry.logger().info()and similar methods.String.format.options.getLogs().setBeforeSend()to filter outgoing logsFixes
Dependencies
8.11.1
Fixes
8.11.0
Features
RequestDetailsResolverpublic (#4326)RequestDetailsResolveris now public and has an additional constructor, making it easier to use a customTransportFactoryFixes
TextComposables (#4361)TextFieldComposables (#4362)8.10.0
Features
ContextStorageProviderif available (#4359)java.lang.IllegalStateException: Found multiple ContextStorageProvider. Set the io.opentelemetry.context.ContextStorageProvider property to the fully qualified class name of the provider to use. Falling back to default ContextStorage. Found providers: ...-Dio.opentelemetry.context.contextStorageProvider=io.sentry.opentelemetry.SentryContextStorageProvideron yourjavacommandContextStorageProviderthat has been configured by loading it through SPIContextStorageProvideris available or there are problems loading it, we fall back to usingSentryOtelThreadLocalStorageFixes
Dependencies
8.9.0
Features
SentryWrapper.wrapRunnableto wrapRunnablefor use with Sentry (#4332)Fixes
UntaggedSocketViolationSystemEventsBroadcastReceiverwhen entering background (#4338)Improvements
8.8.0
Features
CoroutineExceptionHandlerfor reporting uncaught exceptions in coroutines to Sentry (#4259)sentry-kotlin-extensionsand can be used together withSentryContextwhen launching a coroutineCoroutineExceptionHandlerto implement custom behavior in addition to the one we provide by defaultFixes
Improvements
SystemEventsBreadcrumbsIntegrationfaster (#4330)8.7.0
Features
UI Profiling GA
Continuous Profiling is now GA, named UI Profiling. To enable it you can use one of the following options. More info can be found at https://docs.sentry.io/platforms/android/profiling/.
Note: Both
options.profilesSamplerandoptions.profilesSampleRatemust not be set to enable UI Profiling.To keep the same transaction-based behaviour, without the 30 seconds limitation, you can use the
tracelifecycle mode.Fixes
8.6.0
Behavioral Changes
Sentry.init/SentryAndroid.initthe SDK now checks if all Sentry Java / Android SDK dependencies have the same version.Features
MANIFEST.MFto Sentry JARs (#4272)Fixes
SentryOptions(#4262)ARGB_8888for screenshots (#4282)MANIFEST.MFofsentry-opentelemetry-agentnow hasImplementation-Versionset to the raw version (#4291)8.6.0Sentry-Version-Nameattribute looks likesentry-8.5.0-otel-2.10.0Sentry.flushcomment (#4305)Internal
platformto SentryEnvelopeItemHeader (#4287)androidplatform to ProfileChunk envelope item headerDependencies
8.5.0
Features
Add native stack frame address information and debug image metadata to ANR events (#4061)
Add Continuous Profiling Support (#3710)
To enable Continuous Profiling use the
Sentry.startProfilerandSentry.stopProfilerexperimental APIs. Sampling rate can be set throughoptions.profileSessionSampleRate, which defaults to null (disabled).Note: Both
options.profilesSamplerandoptions.profilesSampleRatemust not be set to enable Continuous Profiling.To learn more visit Sentry's Continuous Profiling documentation page.
Fixes
SpringServletTransactionNameProvideras fallback for Spring WebMVC (#4263)SpringMvcTransactionNameProviderwhich would provide the route as transaction name.SpringServletTransactionNameProvidernext, which returns the URL of the request.Behavioral Changes
device.nameis not reported anymore via the device context, even ifoptions.isSendDefaultPiiis enabled (#4179)Dependencies
8.4.0
Fixes
nullon many APIs instead of expecting a nonnullvalue (#4245)setTag,setData,setExtra,setContextpreviously caused aNullPointerExceptionwhen invoked with eithernullkey or value.nullis passed and no longer throwsNullPointerExceptionnullis passed, the SDK willnullkey is passed, returningnullfor non void methodsnullRequestby subsequent interceptors won't be consideredThrowableto Sentry as it's not availableOpenTelemetryAppender, please consider upgrading to v2SamplingContextnow has agetAttributemethod that grants access to OpenTelemetry span attributes via their String key (e.g.http.request.method)http.clientfor spanopif not a root span (#4257)CopyOnWriteArrayList(#4247)SentryTracer.getLatestActiveSpanwhich would have previously copied all child span references. This may have causedOutOfMemoryErroron certain devices due to high frequency of calling the method.Features
openTelemetrySpan.recordException). We can now send those to Sentry as errors.capture-open-telemetry-events=trueinsentry.propertiesto enable itsentry.capture-open-telemetry-events=truein Springsapplication.propertiesto enable itsentry.captureOpenTelemetryEvents: truein Springsapplication.ymlto enable itBehavioural Changes
java.net.URIfor parsing URLs inUrlUtils(#4210)Internal
Dependencies
8.3.0
Features
requestin payload (#4102)