Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 24, 2025

This PR contains the following updates:

Package Change Age Confidence
io.sentry:sentry 8.21.1 -> 8.27.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

getsentry/sentry-java (io.sentry:sentry)

v8.27.1

Compare Source

Fixes
  • Do not log if sentry.properties in rundir has not been found (#​4929)

v8.27.0

Compare Source

Features
  • Implement OpenFeature Integration that tracks Feature Flag evaluations (#​4910)
    • To make use of it, add the sentry-openfeature dependency and register the the hook using: openFeatureApiInstance.addHooks(new SentryOpenFeatureHook());
  • Implement LaunchDarkly Integrations that track Feature Flag evaluations (#​4917)
    • For Android, please add sentry-launchdarkly-android as a dependency and register the SentryLaunchDarklyAndroidHook
    • For Server / JVM, please add sentry-launchdarkly-server as a dependency and register the SentryLaunchDarklyServerHook
  • Detect oversized events and reduce their size (#​4903)
    • You can opt into this new behaviour by setting enableEventSizeLimiting to true (sentry.enable-event-size-limiting=true for Spring Boot application.properties)
    • You may optionally register an onOversizedEvent callback to implement custom logic that is executed in case an oversized event is detected
      • This is executed first and if event size was reduced sufficiently, no further truncation is performed
    • In case we detect an oversized event, we first drop breadcrumbs and if that isn't sufficient we also drop stack frames in order to get an events size down
Improvements
  • Do not send manual log origin (#​4897)
Dependencies

v8.26.0

Compare Source

Features
  • Add feature flags API (#​4812) and (#​4831)
    • You may now keep track of your feature flag evaluations and have them show up in Sentry.
    • Top level API (Sentry.addFeatureFlag("my-feature-flag", true);) writes to scopes and the current span (if there is one)
    • It is also possible to use API on IScope, IScopes, ISpan and ITransaction directly
    • Feature flag evaluations tracked on scope(s) will be added to any errors reported to Sentry.
      • The SDK keeps the latest 100 evaluations from scope(s), replacing old entries as new evaluations are added.
    • For feature flag evaluations tracked on spans:
      • Only 10 evaluations are tracked per span, existing flags are updated but new ones exceeding the limit are ignored
      • Spans do not inherit evaluations from their parent
  • Drop log events once buffer hits hard limit (#​4889)
    • If we have 1000 log events queued up, we drop any new logs coming in to prevent OOM
  • Remove vendored code and upgrade to async profiler 4.2 (#​4856)
    • This adds support for JDK 23+
Fixes
  • Removed SentryExecutorService limit for delayed scheduled tasks (#​4846)
  • Fix visual artifacts for the Canvas strategy on some devices (#​4861)
  • [Config] Trim whitespace on properties path (#​4880)
  • Only set DefaultReplayBreadcrumbConverter if replay is available (#​4888)
  • Session Replay: Cache connection status instead of using blocking calls (#​4891)
  • Fix log count in client reports (#​4869)
  • Fix profilerId propagation (#​4833)
  • Fix profiling init for Spring and Spring Boot w Agent auto-init (#​4815)
  • Copy active span on scope clone (#​4878)
Improvements
  • Fallback to distinct-id as user.id logging attribute when user is not set (#​4847)
  • Report Timber.tag() as timber.tag log attribute (#​4845)
  • Session Replay: Add screenshot strategy serialization to RRWeb events (#​4851)
  • Report discarded log bytes (#​4871)
  • Log why a properties file was not loaded (#​4879)
Dependencies

v8.25.0

Compare Source

Fixes
  • [ANR] Removed AndroidTransactionProfiler lock (#​4817)
  • Avoid ExecutorService for DefaultCompositePerformanceCollector timeout (#​4841)
    • This avoids infinite data collection for never stopped transactions, leading to OOMs
  • Fix wrong .super() call in SentryTimberTree (#​4844)
Improvements
  • [ANR] Defer some class availability checks (#​4825)
  • Collect PerformanceCollectionData only for sampled transactions (#​4834)
    • Breaking change: Transactions with a deferred sampling decision (sampled == null) won't be collecting any performance data anymore (CPU, RAM, slow/frozen frames).
Dependencies

v8.24.0

Compare Source

Features
  • Attach MDC properties to logs as attributes (#​4786)
    • MDC properties set using supported logging frameworks (Logback, Log4j2, java.util.Logging) are now attached to structured logs as attributes.
    • The attribute reflected on the log is mdc.<key>, where <key> is the original key in the MDC.
    • This means that you will be able to filter/aggregate logs in the product based on these properties.
    • Only properties with keys matching the configured contextTags are sent as log attributes.
      • You can configure which properties are sent using options.setContextTags if initalizing manually, or by specifying a comma-separated list of keys with a context-tags entry in sentry.properties or sentry.context-tags in application.properties.
      • Note that keys containing spaces are not supported.
  • Add experimental Sentry Android Distribution module for integrating with Sentry Build Distribution to check for and install updates (#​4804)
  • Allow passing a different Handler to SystemEventsBreadcrumbsIntegration and AndroidConnectionStatusProvider so their callbacks are deliver to that handler (#​4808)
  • Session Replay: Add new experimental Canvas Capture Strategy (#​4777)
    • A new screenshot capture strategy that uses Android's Canvas API for more accurate and reliable text and image masking
    • Any .drawText() or .drawBitmap() calls are replaced by rectangles, ensuring no text or images are present in the resulting output
    • Note: If this strategy is used, all text and images will be masked, regardless of any masking configuration
    • To enable this feature, set the screenshotStrategy, either via code:
      SentryAndroid.init(context) { options ->
        options.sessionReplay.screenshotStrategy = ScreenshotStrategyType.CANVAS
      }
      or AndroidManifest.xml:
      <application>
        <meta-data android:name="io.sentry.session-replay.screenshot-strategy" android:value="canvas" />
      </application>
Fixes
  • Avoid StrictMode warnings (#​4724)
  • Use logger from options for JVM profiler (#​4771)
  • Session Replay: Avoid deadlock when pausing replay if no connection (#​4788)
  • Session Replay: Fix capturing roots with no windows (#​4805)
  • Session Replay: Fix java.lang.IllegalArgumentException: width and height must be > 0 (#​4805)
  • Handle NoOpScopes in Context when starting a span through OpenTelemetry (#​4823)
    • This fixes "java.lang.IllegalArgumentException: The DSN is required" when combining WebFlux and OpenTelemetry
  • Session Replay: Do not use recycled screenshots for masking (#​4790)
    • This fixes native crashes seen in Canvas.<init>/ScreenshotRecorder.capture
  • Session Replay: Ensure bitmaps are recycled properly (#​4820)
Miscellaneous
  • Mark SentryClient(SentryOptions) constructor as not internal (#​4787)
Dependencies

v8.23.0

Compare Source

Features
  • Add session replay id to Sentry Logs (#​4740)
  • Add support for continuous profiling of JVM applications on macOS and Linux (#​4556)
    • Sentry continuous profiling on the JVM is using async-profiler under the hood.
    • By default this feature is disabled. Set a profile sample rate and chose a lifecycle (see below) to enable it.
    • Add the sentry-async-profiler dependency to your project
    • Set a sample rate for profiles, e.g. 1.0 to send all of them. You may use options.setProfileSessionSampleRate(1.0) in code or profile-session-sample-rate=1.0 in sentry.properties
    • Set a profile lifecycle via options.setProfileLifecycle(ProfileLifecycle.TRACE) in code or profile-lifecycle=TRACE in sentry.properties
      • By default the lifecycle is set to MANUAL, meaning you have to explicitly call Sentry.startProfiler() and Sentry.stopProfiler()
      • You may change it to TRACE which will create a profile for each transaction
    • To automatically upload Profiles for each transaction in a Spring Boot application
      • set sentry.profile-session-sample-rate=1.0 and sentry.profile-lifecycle=TRACE in application.properties
      • or set sentry.profile-session-sample-rate: 1.0 and sentry.profile-lifecycle: TRACE in application.yml
    • Profiling can also be combined with our OpenTelemetry integration
Fixes
  • Start performance collection on AppStart continuous profiling (#​4752)
  • Preserve modifiers in SentryTraced (#​4757)
Improvements
  • Handle RejectedExecutionException everywhere (#​4747)
  • Mark SentryEnvelope as not internal (#​4748)

v8.22.0

Compare Source

Features
Improvements
  • Remove internal API status from get/setDistinctId (#​4708)
  • Remove ApiStatus.Experimental annotation from check-in API (#​4721)
Fixes
  • Session Replay: Fix NoSuchElementException in BufferCaptureStrategy (#​4717)
  • Session Replay: Fix continue recording in Session mode after Buffer is triggered (#​4719)
Dependencies

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 24, 2025
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.22.0 fix(deps): update dependency io.sentry:sentry to v8.23.0 Oct 1, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from b9aae6d to c29f4c4 Compare October 1, 2025 22:07
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from c29f4c4 to 4a29786 Compare October 22, 2025 18:42
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.23.0 fix(deps): update dependency io.sentry:sentry to v8.24.0 Oct 22, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from 4a29786 to dabe9a5 Compare October 29, 2025 17:34
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.24.0 fix(deps): update dependency io.sentry:sentry to v8.25.0 Oct 29, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from dabe9a5 to 68a33c2 Compare November 12, 2025 09:01
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.25.0 fix(deps): update dependency io.sentry:sentry to v8.26.0 Nov 12, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from 68a33c2 to d4c1ddf Compare November 13, 2025 18:58
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from d4c1ddf to 5c50b4d Compare November 21, 2025 12:59
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.26.0 fix(deps): update dependency io.sentry:sentry to v8.27.0 Nov 21, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from 5c50b4d to 64e8034 Compare November 24, 2025 16:44
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.27.0 fix(deps): update dependency io.sentry:sentry to v8.27.1 Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant