diff --git a/CHANGELOG.md b/CHANGELOG.md index 94a8368500..7cecfe4d2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,48 +10,25 @@ ### Breaking Changes -- Move third-party-derived implementation classes to upstream-specific `io.sentry.vendor.*` packages. Code importing the old implementation packages must update its imports ([#6796](https://github.com/getsentry/sentry-java/pull/6796)) -- Android: Narrow the SDK's consumer keep rules, so R8 can optimize more of your app ([#6787](https://github.com/getsentry/sentry-java/pull/6787)) - - Members of `io.sentry` enums are no longer kept. Enum constants can be renamed or removed. - - Only the name and no-arg constructor of `SentryAndroidOptions` are kept, instead of every member of every `SentryOptions` subclass. - - `sentry-android-ndk` no longer keeps native methods of all `io.sentry.**` classes. `sentry-native-ndk` still keeps its own. - - If your code reaches any of these by name through JNI, reflection, or bindings, add your own keep rules for exactly what it uses. -- Remove the deprecated `sendDefaultPii` option from Java APIs, properties and environment variables, Android manifest metadata, and Spring annotations ([#6793](https://github.com/getsentry/sentry-java/pull/6793)) +- Android: Raise the minimum supported Android API level (`minSdk`) of all Android modules from 21 to 24. Apps with a lower `minSdk` must raise it or stay on 8.x ([#6518](https://github.com/getsentry/sentry-java/pull/6518)) +- Core: The SDK is now compiled with Kotlin language/API version 2.1. Apps that compile Kotlin need Kotlin 2.0 or newer, up from 1.8. Apps written only in Java are not affected. ([#6646](https://github.com/getsentry/sentry-java/pull/6646)) +- JVM: The SDK is now compiled for Java 11 instead of Java 8. JVM applications need Java 11 or newer ([#6459](https://github.com/getsentry/sentry-java/pull/6459)) +- Core: Remove the deprecated `sendDefaultPii` option from Java APIs, properties and environment variables, Android manifest metadata, and Spring annotations ([#6793](https://github.com/getsentry/sentry-java/pull/6793)) - Configure automatically collected data with `dataCollection` instead. See the Data Collection documentation for [Android](https://docs.sentry.io/platforms/android/configuration/options/#dataCollection), [Java](https://docs.sentry.io/platforms/java/configuration/options/#dataCollection), and [Spring Boot](https://docs.sentry.io/platforms/java/guides/spring-boot/configuration/options/#dataCollection). `DataCollection.forceDataCollection()` is also removed because the defaults now apply automatically. - When no `dataCollection` setting is specified, user information, database query data, file paths, GraphQL documents and variables, and HTTP request and response bodies are enabled. Cookies, URL query parameters, and HTTP headers use their default deny lists. - Logback raw message templates and parameters are controlled only by `includeUnencodedMessage` when an encoder is configured. - OpenTelemetry-derived HTTP headers are controlled by OpenTelemetry capture configuration, not Data Collection, because the SDK can't distinguish manually supplied attributes from values added by automatic instrumentation. Known security cookies remain filtered; use `beforeSendTransaction` for additional scrubbing. -- Apply the Data Collection URL query-parameter policy to URL fragments. Sensitive fragment parameters are now filtered by default, and fragments are omitted when URL query-parameter collection is disabled ([#6814](https://github.com/getsentry/sentry-java/pull/6814)) -- The Spring Boot 3 integrations are tested against Spring Boot 3.4 and newer. Spring Boot 3.2 and 3.3 are no longer supported ([#6656](https://github.com/getsentry/sentry-java/pull/6656)) -- Remove the deprecated `io.sentry.android.core.LoadClass`. Use `io.sentry.util.LoadClass` instead ([#6594](https://github.com/getsentry/sentry-java/pull/6594)) -- Remove the deprecated public `SamplingContext(TransactionContext, CustomSamplingContext)` constructor. Only the SDK creates a `SamplingContext`; mock it if your tests need one ([#6847](https://github.com/getsentry/sentry-java/pull/6847)) -- `SentryOptions.getIgnoredErrors()`, `getIgnoredTransactions()`, `getIgnoredCheckIns()` and `getIgnoredSpanOrigins()` now return `List` instead of `List`, matching their setters ([#6489](https://github.com/getsentry/sentry-java/pull/6489)) -- The SDK is now compiled for Java 11 instead of Java 8. JVM applications need Java 11 or newer ([#6459](https://github.com/getsentry/sentry-java/pull/6459)) -- The SDK is now compiled with Kotlin language/API version 2.1. Apps that compile Kotlin need Kotlin 2.0 or newer, up from 1.8. Apps written only in Java are not affected. Modules that depend on `kotlin-stdlib` now pin 2.1.21, up from 1.9.24. The other modules use the app's own stdlib ([#6646](https://github.com/getsentry/sentry-java/pull/6646)) -- Default trace context status to `ok` when an active span has no explicit status ([#6418](https://github.com/getsentry/sentry-java/pull/6418)) -- Remove the deprecated `traceSampling` option (`SentryOptions.setTraceSampling`/`isTraceSampling` and the `io.sentry.traces.trace-sampling` manifest key) ([#6415](https://github.com/getsentry/sentry-java/pull/6415)) - - Use `tracePropagationTargets` to control which URL-aware outgoing requests get tracing headers. - - For Apollo v2, pass `attachTracingHeaders = false` to `SentryApolloInterceptor` to disable the headers while still creating spans. -- Remove the deprecated user feedback APIs ([#6337](https://github.com/getsentry/sentry-java/pull/6337)) - - `UserFeedback` and `Sentry.captureUserFeedback(...)`: use `Sentry.feedback().capture(...)` with `io.sentry.protocol.Feedback` instead - - `Sentry.captureFeedback(...)`: use `Sentry.feedback().capture(...)` instead - - `Sentry.showUserFeedbackDialog(...)`: use `Sentry.feedback().show(...)` instead - - Android: `SentryUserFeedbackDialog`: use `SentryUserFeedbackForm` instead - - Android: the `SentryUserFeedbackButton` view and composable: call `Sentry.feedback().show()` from your own button instead -- Remove deprecated Hub compatibility APIs in favor of `IScopes` and `Scopes` ([#6223](https://github.com/getsentry/sentry-java/pull/6223)) -- Remove the deprecated `IEnvelopeCache.store(...)` methods. Custom `IEnvelopeCache` implementations must implement `storeEnvelope(envelope, hint)` instead and return whether the envelope was stored ([#6468](https://github.com/getsentry/sentry-java/pull/6468)) -- Remove the aggregate Sentry Logs and Metrics enable options from all configuration surfaces: - - Java API: `options.getLogs().setEnabled(...)` and `options.getMetrics().setEnabled(...)` - - Properties files: `logs.enabled` and `metrics.enabled` - - Environment variables: `SENTRY_LOGS_ENABLED` and `SENTRY_METRICS_ENABLED` - - JVM system properties and Spring Boot: `sentry.logs.enabled` and `sentry.metrics.enabled` - - Android manifest metadata: `io.sentry.logs.enabled` and `io.sentry.metrics.enabled` - - The Java accessors are removed. Values supplied through the other configuration surfaces no - longer affect capture. +- Logs: Remove the aggregate Sentry Logs enable option from all configuration surfaces: + - Java API: `options.getLogs().setEnabled(...)` + - Properties files: `logs.enabled` + - Environment variables: `SENTRY_LOGS_ENABLED` + - JVM system properties and Spring Boot: `sentry.logs.enabled` + - Android manifest metadata: `io.sentry.logs.enabled` + + The Java accessor is removed. Values supplied through the other configuration surfaces no longer affect capture. ([#5939](https://github.com/getsentry/sentry-java/pull/5939), [#5947](https://github.com/getsentry/sentry-java/pull/5947), - [#5953](https://github.com/getsentry/sentry-java/pull/5953)) + [#5970](https://github.com/getsentry/sentry-java/pull/5970)) - **Automatic Logs capture:** Disabled by default. Enable it separately for each integration: - Spring Boot logging auto-configuration: `sentry.logging.logs-enabled` ([#5946](https://github.com/getsentry/sentry-java/pull/5946)) @@ -71,11 +48,54 @@ `logsEnabled` argument. The deprecated constructor without `minimumLevel` is removed. - Manually constructed `SentryTimberIntegration` and `SentryTimberTree` instances require a `logsEnabled` argument. Pass `false` to keep Sentry Logs disabled. -- Disable tracing for HTTP `OPTIONS` requests by default. Set `traceOptionsRequests` to `true` to - preserve the previous behavior ([#6254](https://github.com/getsentry/sentry-java/pull/6254)) -- Incoming HTTP server transactions that finish with status 301, 305-399, or 401-404 are no longer - sent to Sentry by default. This includes matched endpoints that intentionally return one - of these statuses. Outgoing HTTP requests with matching statuses are unaffected. +- Metrics: Remove the aggregate Sentry Metrics enable option from all configuration surfaces: + - Java API: `options.getMetrics().setEnabled(...)` + - Properties files: `metrics.enabled` + - Environment variables: `SENTRY_METRICS_ENABLED` + - JVM system properties and Spring Boot: `sentry.metrics.enabled` + - Android manifest metadata: `io.sentry.metrics.enabled` + + The Java accessor is removed. Values supplied through the other configuration surfaces no longer affect capture. + ([#5939](https://github.com/getsentry/sentry-java/pull/5939), + [#5953](https://github.com/getsentry/sentry-java/pull/5953)) +- NDK: `sentry-android` no longer includes `sentry-android-ndk` as a default dependency. Instead, tombstone reporting is enabled by default, which provides more detailed native crashes on Android 11+ (API 30). If you're using sentry-android-ndk APIs, or need native crashes on Android 10 and lower, manually add the `io.sentry:sentry-android-ndk` dependency to your app. ([#6436](https://github.com/getsentry/sentry-java/pull/6436)) +- Apache HTTP Client: Remove the Apache HttpClient transport and stop publishing `sentry-apache-http-client-5` ([#6214](https://github.com/getsentry/sentry-java/pull/6214)) +- Spring Boot: The Spring Boot 3 integrations are tested against Spring Boot 3.4 and newer. Spring Boot 3.2 and 3.3 are no longer supported ([#6656](https://github.com/getsentry/sentry-java/pull/6656)) +- Core: Move third-party-derived implementation classes to upstream-specific `io.sentry.vendor.*` packages. Code importing the old implementation packages must update its imports ([#6796](https://github.com/getsentry/sentry-java/pull/6796)) +- Android: Narrow the SDK's consumer keep rules, so R8 can optimize more of your app ([#6787](https://github.com/getsentry/sentry-java/pull/6787)) + - Members of `io.sentry` enums are no longer kept. Enum constants can be renamed or removed. + - Only the name and no-arg constructor of `SentryAndroidOptions` are kept, instead of every member of every `SentryOptions` subclass. + - `sentry-android-ndk` no longer keeps native methods of all `io.sentry.**` classes. `sentry-native-ndk` still keeps its own. + - If your code reaches any of these by name through JNI, reflection, or bindings, add your own keep rules for exactly what it uses. +- Tracing: Remove the deprecated `traceSampling` option (`SentryOptions.setTraceSampling`/`isTraceSampling` and the `io.sentry.traces.trace-sampling` manifest key) ([#6415](https://github.com/getsentry/sentry-java/pull/6415)) + - Use `tracePropagationTargets` to control which URL-aware outgoing requests get tracing headers. + - For Apollo v2, pass `attachTracingHeaders = false` to `SentryApolloInterceptor` to disable the headers while still creating spans. +- Tracing: Remove the Android `enablePerformanceV2` option and its `io.sentry.performance-v2.enable` manifest metadata. Performance V2 is always on ([#6458](https://github.com/getsentry/sentry-java/pull/6458)) + - App starts are measured from process start on Android 7.0+ (API 24), and slow and frozen frames are measured per span + - `ActivityFramesTracker` is removed, and the `ActivityLifecycleIntegration` constructor no longer takes it +- User Feedback: Remove the deprecated user feedback APIs ([#6337](https://github.com/getsentry/sentry-java/pull/6337)) + - `UserFeedback` and `Sentry.captureUserFeedback(...)`: use `Sentry.feedback().capture(...)` with `io.sentry.protocol.Feedback` instead + - `Sentry.captureFeedback(...)`: use `Sentry.feedback().capture(...)` instead + - `Sentry.showUserFeedbackDialog(...)`: use `Sentry.feedback().show(...)` instead + - Android: `SentryUserFeedbackDialog`: use `SentryUserFeedbackForm` instead + - Android: the `SentryUserFeedbackButton` view and composable: call `Sentry.feedback().show()` from your own button instead +- User Feedback: `SentryUserFeedbackForm` now extends `android.app.Dialog` instead of `android.app.AlertDialog` ([#6338](https://github.com/getsentry/sentry-java/pull/6338)) + - The form never used `AlertDialog` features. Code that calls `AlertDialog`-only methods on it, such as `setButton` or `setMessage`, no longer compiles. +- Core: Remove deprecated Hub compatibility APIs in favor of `IScopes` and `Scopes` ([#6223](https://github.com/getsentry/sentry-java/pull/6223)) +- Tracing: Remove the deprecated `Instrumenter` enum, option, span context property, and `startChild` overloads ([#6252](https://github.com/getsentry/sentry-java/pull/6252)) +- OpenTelemetry: Remove deprecated OpenTelemetry integration classes and the legacy `SentrySpanStorage` ([#6243](https://github.com/getsentry/sentry-java/pull/6243)) +- Offline Caching: Remove the deprecated `IEnvelopeCache.store(...)` methods. Custom `IEnvelopeCache` implementations must implement `storeEnvelope(envelope, hint)` instead and return whether the envelope was stored ([#6468](https://github.com/getsentry/sentry-java/pull/6468)) +- Android: Remove the deprecated `io.sentry.android.core.LoadClass`. Use `io.sentry.util.LoadClass` instead ([#6594](https://github.com/getsentry/sentry-java/pull/6594)) +- Tracing: Remove the deprecated public `SamplingContext(TransactionContext, CustomSamplingContext)` constructor. Only the SDK creates a `SamplingContext`; mock it if your tests need one ([#6847](https://github.com/getsentry/sentry-java/pull/6847)) +- Core: `SentryOptions.getIgnoredErrors()`, `getIgnoredTransactions()`, `getIgnoredCheckIns()` and `getIgnoredSpanOrigins()` now return `List` instead of `List`, matching their setters ([#6489](https://github.com/getsentry/sentry-java/pull/6489)) + +### Behavioral Changes + +- Errors: Non-recoverable errors such as `OutOfMemoryError` and `StackOverflowError` are no longer swallowed by the SDK. This means that callbacks into app code will now rethrow these exceptions instead of silently swallowing them since they are not recoverable ([#6665](https://github.com/getsentry/sentry-java/pull/6665), [#6666](https://github.com/getsentry/sentry-java/pull/6666), [#6667](https://github.com/getsentry/sentry-java/pull/6667), [#6668](https://github.com/getsentry/sentry-java/pull/6668), [#6669](https://github.com/getsentry/sentry-java/pull/6669), [#6670](https://github.com/getsentry/sentry-java/pull/6670), [#6678](https://github.com/getsentry/sentry-java/pull/6678)) +- Core: Apply the Data Collection URL query-parameter policy to URL fragments. Sensitive fragment parameters are now filtered by default, and fragments are omitted when URL query-parameter collection is disabled ([#6814](https://github.com/getsentry/sentry-java/pull/6814)) +- Tracing: Default trace context status to `ok` when an active span has no explicit status ([#6418](https://github.com/getsentry/sentry-java/pull/6418)) +- Tracing: Disable tracing for HTTP `OPTIONS` requests by default. Set `traceOptionsRequests` to `true` to preserve the previous behavior ([#6254](https://github.com/getsentry/sentry-java/pull/6254)) +- Tracing: Incoming HTTP server transactions that finish with status 301, 305-399, or 401-404 are no longer sent to Sentry by default. This includes matched endpoints that intentionally return one of these statuses. Outgoing HTTP requests with matching statuses are unaffected. Restore the previous behavior and trace every incoming HTTP status with an empty configuration: @@ -106,55 +126,39 @@ trace-ignore-status-codes: [] ``` - The final response status is only known after sampling and request handling. The transaction may - already have propagated a sampled trace to downstream services, which can still report their - segments. Local child spans are discarded with the ignored transaction. Continuous profile - chunks are reported independently. External OTLP export does not pass through `SentryClient` and - is not filtered by this option ([#6566](https://github.com/getsentry/sentry-java/pull/6566), - [#6567](https://github.com/getsentry/sentry-java/pull/6567)) -- Remove the Apache HttpClient transport and stop publishing `sentry-apache-http-client-5` ([#6214](https://github.com/getsentry/sentry-java/pull/6214)) -- Remove the deprecated `Instrumenter` enum, option, span context property, and `startChild` overloads ([#6252](https://github.com/getsentry/sentry-java/pull/6252)) -- Remove deprecated OpenTelemetry integration classes and the legacy `SentrySpanStorage` ([#6243](https://github.com/getsentry/sentry-java/pull/6243)) -- Decide whether foregrounding the app starts a new session on a monotonic clock instead of the wall clock, so that a device time change no longer starts a session that should have been resumed, or resumes one that should have ended. This affects session counts ([#6096](https://github.com/getsentry/sentry-java/pull/6096)) -- `SentryUserFeedbackForm` now extends `android.app.Dialog` instead of `android.app.AlertDialog` ([#6338](https://github.com/getsentry/sentry-java/pull/6338)) - - The form never used `AlertDialog` features. Code that calls `AlertDialog`-only methods on it, such as `setButton` or `setMessage`, no longer compiles. -- Raise the minimum supported Android API level (`minSdk`) of all Android modules from 21 to 24. Apps with a lower `minSdk` must raise it or stay on 8.x ([#6518](https://github.com/getsentry/sentry-java/pull/6518)) -- `sentry-android` no longer includes `sentry-android-ndk` as a default dependency. Instead, tombstone reporting is enabled by default, which provides more detailed native crashes on Android 11+ (API 30). If you're using sentry-android-ndk APIs, or need native crashes on Android 10 and lower, manually add the `io.sentry:sentry-android-ndk` dependency to your app. ([#6436](https://github.com/getsentry/sentry-java/pull/6436)) -- Remove the Android `enablePerformanceV2` option and its `io.sentry.performance-v2.enable` manifest metadata. Performance V2 is always on ([#6458](https://github.com/getsentry/sentry-java/pull/6458)) - - App starts are measured from process start on Android 7.0+ (API 24), and slow and frozen frames are measured per span - - `ActivityFramesTracker` is removed, and the `ActivityLifecycleIntegration` constructor no longer takes it -- Enable standalone app start tracing on Android by default. App start is sent as its own `App Start` transaction instead of an `app.start.*` child span of the first `ui.load` transaction. More accurate app launch tracking, resulting in higher span quota consumption on Android. To keep the previous behavior, set `options.isEnableStandaloneAppStartTracing = false` or the `io.sentry.standalone-app-start-tracing.enable` manifest metadata to `false` ([#6716](https://github.com/getsentry/sentry-java/pull/6716)) -- Screenshots attached to errors and user feedback now mask all text and images by default. Turn it off with `options.screenshot.setMaskAllText(false)` and `setMaskAllImages(false)`, or the `io.sentry.screenshot.mask-all-text` and `io.sentry.screenshot.mask-all-images` manifest options. Masking needs `sentry-android-replay`, so apps that depend on `sentry-android-core` alone get no screenshot until they add it or turn masking off ([#6437](https://github.com/getsentry/sentry-java/pull/6437)) -- Non-recoverable errors such as `OutOfMemoryError` and `StackOverflowError` are no longer swallowed by the SDK. This means that callbacks into app code will now rethrow these exceptions instead of silently swallowing them since they are not recoverable ([#6665](https://github.com/getsentry/sentry-java/pull/6665), [#6666](https://github.com/getsentry/sentry-java/pull/6666), [#6667](https://github.com/getsentry/sentry-java/pull/6667), [#6668](https://github.com/getsentry/sentry-java/pull/6668), [#6669](https://github.com/getsentry/sentry-java/pull/6669), [#6670](https://github.com/getsentry/sentry-java/pull/6670), [#6678](https://github.com/getsentry/sentry-java/pull/6678)) + The final response status is only known after sampling and request handling. The transaction may already have propagated a sampled trace to downstream services, which can still report their segments. Local child spans are discarded with the ignored transaction. Continuous profile chunks are reported independently. External OTLP export does not pass through `SentryClient` and is not filtered by this option ([#6566](https://github.com/getsentry/sentry-java/pull/6566), [#6567](https://github.com/getsentry/sentry-java/pull/6567)) +- Sessions: Decide whether foregrounding the app starts a new session on a monotonic clock instead of the wall clock, so that a device time change no longer starts a session that should have been resumed, or resumes one that should have ended. This affects session counts ([#6096](https://github.com/getsentry/sentry-java/pull/6096)) +- Tracing: Enable standalone app start tracing on Android by default. App start is sent as its own `App Start` transaction instead of an `app.start.*` child span of the first `ui.load` transaction. More accurate app launch tracking, resulting in higher span quota consumption on Android. To keep the previous behavior, set `options.isEnableStandaloneAppStartTracing = false` or the `io.sentry.standalone-app-start-tracing.enable` manifest metadata to `false` ([#6716](https://github.com/getsentry/sentry-java/pull/6716)) +- Android: Screenshots attached to errors and user feedback now mask all text and images by default. Turn it off with `options.screenshot.setMaskAllText(false)` and `setMaskAllImages(false)`, or the `io.sentry.screenshot.mask-all-text` and `io.sentry.screenshot.mask-all-images` manifest options. Masking needs `sentry-android-replay`, so apps that depend on `sentry-android-core` alone get no screenshot until they add it or turn masking off ([#6437](https://github.com/getsentry/sentry-java/pull/6437)) ### Features -- Add policy-controlled URL query parameters and fragments to Ktor HTTP client spans ([#6433](https://github.com/getsentry/sentry-java/pull/6433)) +- Ktor Client: Add policy-controlled URL query parameters and fragments to Ktor HTTP client spans ([#6433](https://github.com/getsentry/sentry-java/pull/6433)) ### Improvements -- Preserve both ends of deep stack traces when truncating them ([#6623](https://github.com/getsentry/sentry-java/pull/6623)) +- Errors: Preserve both ends of deep stack traces when truncating them ([#6623](https://github.com/getsentry/sentry-java/pull/6623)) - Stack traces up to 250 frames remain complete. Longer traces retain the 50 oldest and 200 newest frames instead of only the 100 newest frames -- Promote check-in APIs from experimental to stable ([#6422](https://github.com/getsentry/sentry-java/pull/6422)) -- Promote the backpressure handling option from experimental to stable ([#6423](https://github.com/getsentry/sentry-java/pull/6423)) -- Promote structured logs APIs from experimental to stable ([#6424](https://github.com/getsentry/sentry-java/pull/6424)) -- Promote the metrics capture API from experimental to stable ([#6425](https://github.com/getsentry/sentry-java/pull/6425)) -- Promote ignored span origin configuration APIs from experimental to stable ([#6427](https://github.com/getsentry/sentry-java/pull/6427)) -- Promote continuous profiler start and stop APIs from experimental to stable ([#6426](https://github.com/getsentry/sentry-java/pull/6426)) +- Crons: Promote check-in APIs from experimental to stable ([#6422](https://github.com/getsentry/sentry-java/pull/6422)) +- Core: Promote the backpressure handling option from experimental to stable ([#6423](https://github.com/getsentry/sentry-java/pull/6423)) +- Logs: Promote structured logs APIs from experimental to stable ([#6424](https://github.com/getsentry/sentry-java/pull/6424)) +- Metrics: Promote the metrics capture API from experimental to stable ([#6425](https://github.com/getsentry/sentry-java/pull/6425)) +- Tracing: Promote ignored span origin configuration APIs from experimental to stable ([#6427](https://github.com/getsentry/sentry-java/pull/6427)) +- Profiling: Promote continuous profiler start and stop APIs from experimental to stable ([#6426](https://github.com/getsentry/sentry-java/pull/6426)) ### Fixes -- Omit request cookies when no cookie headers are present ([#6799](https://github.com/getsentry/sentry-java/pull/6799)) -- Set Apollo 3, 4, and 5 HTTP spans to `CANCELLED` instead of `INTERNAL_ERROR` when the request is cancelled ([#6284](https://github.com/getsentry/sentry-java/pull/6284)) -- Preserve independent Netty read and write timeout events when exception singletons are reused. These exceptions now bypass event deduplication by default, so applications with multiple capture integrations may report the same timeout more than once. Use `SentryOptions.setIgnoredErrorsForDeduplication(...)` or `ignored-errors-for-deduplication` to customize or clear the default exclusions. ([#6465](https://github.com/getsentry/sentry-java/pull/6465)) -- Prevent changes to reused tracing options from affecting spans and transactions after creation ([#6417](https://github.com/getsentry/sentry-java/pull/6417)) -- Avoid duplicate serialization debug logs when calculating serialized object sizes ([#6255](https://github.com/getsentry/sentry-java/pull/6255)) -- `Contexts.setProfile(null)` now removes the profile context instead of throwing ([#6684](https://github.com/getsentry/sentry-java/pull/6684)) -- Do not capture failed Apollo 3, 4, and 5 requests when the GraphQL `errors` array is empty ([#6285](https://github.com/getsentry/sentry-java/pull/6285)) +- Errors: Omit request cookies when no cookie headers are present ([#6799](https://github.com/getsentry/sentry-java/pull/6799)) +- Apollo: Set Apollo 3, 4, and 5 HTTP spans to `CANCELLED` instead of `INTERNAL_ERROR` when the request is cancelled ([#6284](https://github.com/getsentry/sentry-java/pull/6284)) +- Errors: Preserve independent Netty read and write timeout events when exception singletons are reused. These exceptions now bypass event deduplication by default, so applications with multiple capture integrations may report the same timeout more than once. Use `SentryOptions.setIgnoredErrorsForDeduplication(...)` or `ignored-errors-for-deduplication` to customize or clear the default exclusions. ([#6465](https://github.com/getsentry/sentry-java/pull/6465)) +- Tracing: Prevent changes to reused tracing options from affecting spans and transactions after creation ([#6417](https://github.com/getsentry/sentry-java/pull/6417)) +- Core: Avoid duplicate serialization debug logs when calculating serialized object sizes ([#6255](https://github.com/getsentry/sentry-java/pull/6255)) +- Profiling: `Contexts.setProfile(null)` now removes the profile context instead of throwing ([#6684](https://github.com/getsentry/sentry-java/pull/6684)) +- Apollo: Do not capture failed Apollo 3, 4, and 5 requests when the GraphQL `errors` array is empty ([#6285](https://github.com/getsentry/sentry-java/pull/6285)) ### Internal -- Measure the 30 second performance-collection budget on a monotonic ticker, so that a device time change no longer ends collection early or extends it past the budget ([#6101](https://github.com/getsentry/sentry-java/pull/6101)) +- Tracing: Measure the 30 second performance-collection budget on a monotonic ticker, so that a device time change no longer ends collection early or extends it past the budget ([#6101](https://github.com/getsentry/sentry-java/pull/6101)) ## 8.67.0