Releases: getsentry/sentry-java
Releases · getsentry/sentry-java
7.9.0
Features
Fixes
7.9.0-alpha.1
7.8.0
Features
Fixes
7.8.0-alpha.0
- Session Replay for Android (#3339)
We released our first Alpha version of the SDK with support. To get access, it requires adding your Sentry org to our feature flag. Please let us know on the waitlist if you're interested
7.7.0
Features
Fixes
7.6.0
Features
- Experimental: Add support for Sentry Developer Metrics (#3205, #3238, #3248, #3250)
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:To learn more about Sentry Developer Metrics, head over to our Java and Android docs page.Sentry.metrics() .increment( "button_login_click", // key 1.0, // value null, // unit mapOf( // tags "provider" to "e-mail" ) )
7.5.0
Features
- Add support for measurements at span level (#3219)
- Add
enableScopePersistenceoption to disablePersistingScopeObserverused for ANR reporting which may increase performance overhead. Defaults totrue(#3218)- When disabled, the SDK will not enrich ANRv2 events with scope data (e.g. breadcrumbs, user, tags, etc.)
- Configurable defaults for Cron - MonitorConfig (#3195)
- We now display a warning on startup if an incompatible version of Spring Boot is detected (#3233)
- This should help notice a mismatching Sentry dependency, especially when upgrading a Spring Boot application
- Experimental: Add Metrics API (#3205)
Fixes
- Ensure performance measurement collection is not taken too frequently (#3221)
- Fix old profiles deletion on SDK init (#3216)
- Fix hub restore point in wrappers: SentryWrapper, SentryTaskDecorator and SentryScheduleHook (#3225)
- We now reset the hub to its previous value on the thread where the
Runnable/Callable/Supplieris executed instead of setting it to the hub that was used on the thread where theRunnable/Callable/Supplierwas created.
- We now reset the hub to its previous value on the thread where the
- Fix add missing thread name/id to app start spans (#3226)
7.4.0
Features
- Add new threshold parameters to monitor config (#3181)
- Report process init time as a span for app start performance (#3159)
- (perf-v2): Calculate frame delay on a span level (#3197)
- Resolve spring properties in @SentryCheckIn annotation (#3194)
- Experimental: Add Spotlight integration (#3166)
- For more details about Spotlight head over to https://spotlightjs.com/
- Set
options.isEnableSpotlight = trueto enable Spotlight
Fixes
- Don't wait on main thread when SDK restarts (#3200)
- Fix Jetpack Compose widgets are not being correctly identified for user interaction tracing (#3209)
- Fix issue title on Android when a wrapping
RuntimeExceptionis thrown by the system (#3212)- This will change grouping of the issues that were previously titled
RuntimeInit$MethodAndArgsCallerto have them split up properly by the original root cause exception
- This will change grouping of the issues that were previously titled
7.3.0
Features
- Added App Start profiling
- This depends on the new option
io.sentry.profiling.enable-app-start, other than the already existingio.sentry.traces.profiling.sample-rate. - Sampler functions can check the new
isForNextAppStartflag, to adjust startup profiling sampling programmatically.
Relevant PRs: - Decouple Profiler from Transaction (#3101)
- Add options and sampling logic (#3121)
- Add ContentProvider and start profile (#3128)
- This depends on the new option
- Extend internal performance collector APIs (#3102)
- Collect slow and frozen frames for spans using
OnFrameMetricsAvailableListener(#3111) - Interpolate total frame count to match span duration (#3158)
Fixes
- Avoid multiple breadcrumbs from OkHttpEventListener (#3175)
- Apply OkHttp listener auto finish timestamp to all running spans (#3167)
- Fix not eligible for auto proxying warnings (#3154)
- Set default fingerprint for ANRv2 events to correctly group background and foreground ANRs (#3164)
- This will improve grouping of ANRs that have similar stacktraces but differ in background vs foreground state. Only affects newly-ingested ANR events with
mechanism:AppExitInfo
- This will improve grouping of ANRs that have similar stacktraces but differ in background vs foreground state. Only affects newly-ingested ANR events with
- Fix UserFeedback disk cache name conflicts with linked events (#3116)
Breaking changes
- Remove
HostnameVerifieroption as it's flagged by security tools of some app stores (#3150)- If you were using this option, you have 3 possible paths going forward:
- Provide a custom
ITransportFactorythroughSentryOptions.setTransportFactory(), where you can copy over most of the parts likeHttpConnectionandAsyncHttpTransportfrom the SDK with necessary modifications - Get a certificate for your server through e.g. Let's Encrypt
- Fork the SDK and add the hostname verifier back
- Provide a custom
- If you were using this option, you have 3 possible paths going forward:
Dependencies
7.2.0
Features
- Handle
monitor/check_inin client reports and rate limiter (#3096) - Add support for
graphql-javaversion 21 (#3090)
Fixes
- Avoid concurrency in AndroidProfiler performance data collection (#3130)
- Improve thresholds for network changes breadcrumbs (#3083)
- SchedulerFactoryBeanCustomizer now runs first so user customization is not overridden (#3095)
- If you are setting global job listeners please also add
SentryJobListener
- If you are setting global job listeners please also add
- Ensure serialVersionUID of Exception classes are unique (#3115)
- Get rid of "is not eligible for getting processed by all BeanPostProcessors" warnings in Spring Boot (#3108)
- Fix missing
releaseand other fields for ANRs reported withmechanism:AppExitInfo(#3074)
Dependencies
- Bump
opentelemetry-sdkto1.33.0andopentelemetry-javaagentto1.32.0(#3112)