Skip to content
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

chore(deps): update Java SDK to v6.33.0 #1475

Closed
wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 3, 2023

Bumps modules/sentry-java from 6.33.0-1-g3d8bd2ba to 6.33.0.

Auto-generated by a dependency updater.

Changelog

6.33.0

Features

  • Add thread information to spans (#2998)
  • Use PixelCopy API for capturing screenshots on API level 24+ (#3008)

Fixes

  • Fix crash when HTTP connection error message contains formatting symbols (#3002)
  • Cap max number of stack frames to 100 to not exceed payload size limit (#3009)
    • This will ensure we report errors with a big number of frames such as StackOverflowError
  • Fix user interaction tracking not working for Jetpack Compose 1.5+ (#3010)
  • Make sure to close all Closeable resources (#3000)

6.32.0

Features

  • Make DebugImagesLoader public (#2993)

Fixes

  • Make SystemEventsBroadcastReceiver exported on API 33+ (#2990)
    • This will fix the SystemEventsBreadcrumbsIntegration crashes that you might have encountered on Play Console

6.31.0

Features

  • Improve default debouncing mechanism (#2945)
  • Add CheckInUtils.withCheckIn which abstracts away some of the manual check-ins complexity (#2959)
  • Add SentryCaptureExceptionParameter annotation which captures exceptions passed into an annotated method (#2764)
    • This can be used to replace Sentry.captureException calls in ExceptionHandler of a ControllerAdvice
  • Add ServerWebExchange to Hint for WebFlux as WEBFLUX_EXCEPTION_HANDLER_EXCHANGE (#2977)
  • Allow filtering GraphQL errors (#2967)
    • This list can be set directly when calling the constructor of SentryInstrumentation
    • For Spring Boot it can also be set in application.properties as sentry.graphql.ignored-error-types=SOME_ERROR,ANOTHER_ERROR

Fixes

  • Add OkHttp span auto-close when response body is not read (#2923)
  • Fix json parsing of nullable/empty fields for Hybrid SDKs (#2968)
    • (Internal) Rename nextList to nextListOrNull to actually match what the method does
    • (Hybrid) Check if there's any object in a collection before trying to parse it (which prevents the "Failed to deserilize object in list" log message)
    • (Hybrid) If a date can't be parsed as an ISO timestamp, attempts to parse it as millis silently, without printing a log message
    • (Hybrid) If op is not defined as part of SpanContext, fallback to an empty string, because the filed is optional in the spec
  • Always attach OkHttp errors and Http Client Errors only to call root span (#2961)
  • Fixed crash accessing Choreographer instance (#2970)

Dependencies

6.30.0

Features

  • Add sendModules option for disable sending modules (#2926)
  • Send db.system and db.name in span data for androidx.sqlite spans (#2928)
  • Check-ins (CRONS) support (#2952)
    • Add API for sending check-ins (CRONS) manually (#2935)
    • Support check-ins (CRONS) for Quartz (#2940)
    • SentryCheckIn annotation and advice config for Spring (#2946)
    • Add option for ignoring certain monitor slugs (#2943)

Fixes

  • Always send memory stats for transactions (#2936)
    • This makes it possible to query transactions by the device.class tag on Sentry
  • Add sentry.enable-aot-compatibility property to SpringBoot Jakarta SentryAutoConfiguration to enable building for GraalVM (#2915)

Dependencies

6.29.0

Features

  • Send db.system and db.name in span data (#2894)
  • Send http.request.method in span data (#2896)
  • Add enablePrettySerializationOutput option for opting out of pretty print (#2871)

6.28.0

Features

  • Add HTTP response code to Spring WebFlux transactions (#2870)
  • Add sampled to Dynamic Sampling Context (#2869)
  • Improve server side GraphQL support for spring-graphql and Nextflix DGS (#2856)
    • If you have already been using SentryDataFetcherExceptionHandler that still works but has been deprecated. Please use SentryGenericDataFetcherExceptionHandler combined with SentryInstrumentation instead for better error reporting.
    • More exceptions and errors caught and reported to Sentry by also looking at the ExecutionResult (more specifically its errors)
    • More details for Sentry events: query, variables and response (where possible)
    • Breadcrumbs for operation (query, mutation, subscription), data fetchers and data loaders (Spring only)
    • Better hub propagation by using GraphQLContext
  • Add autoconfigure modules for Spring Boot called sentry-spring-boot and sentry-spring-boot-jakarta (#2880)
    • The autoconfigure modules sentry-spring-boot and sentry-spring-boot-jakarta have a compileOnly dependency on spring-boot-starter which is needed for our auto installation in sentry-android-gradle-plugin
    • The starter modules sentry-spring-boot-starter and sentry-spring-boot-starter-jakarta now bring spring-boot-starter as a dependency
  • You can now disable Sentry by setting the enabled option to false (#2840)

Fixes

  • Propagate OkHttp status to parent spans (#2872)

6.27.0

Features

  • Add TraceOrigin to Transactions and Spans (#2803)

Fixes

  • Deduplicate events happening in multiple threads simultaneously (e.g. OutOfMemoryError) (#2845)
    • This will improve Crash-Free Session Rate as we no longer will send multiple Session updates with Crashed status, but only the one that is relevant
  • Ensure no Java 8 method reference sugar is used for Android (#2857)
  • Do not send session updates for terminated sessions (#2849)

6.26.0

Features

  • (Internal) Extend APIs for hybrid SDKs (#2814, #2846)

Fixes

  • Fix ANRv2 thread dump parsing for native-only threads (#2839)
  • Derive TracingContext values from event for ANRv2 events (#2839)

6.25.2

Fixes

  • Change Spring Boot, Apollo, Apollo 3, JUL, Logback, Log4j2, OpenFeign, GraphQL and Kotlin coroutines core dependencies to compileOnly (#2837)

6.25.1

Fixes

  • Allow removing integrations in SentryAndroid.init (#2826)
  • Fix concurrent access to frameMetrics listener (#2823)

Dependencies

6.25.0

Features

  • Add manifest AutoInit to integrations list (#2795)
  • Tracing headers (sentry-trace and baggage) are now attached and passed through even if performance is disabled (#2788)

Fixes

  • Set environment from SentryOptions if none persisted in ANRv2 (#2809)
  • Remove code that set tracesSampleRate to 0.0 for Spring Boot if not set (#2800)
    • This used to enable performance but not send any transactions by default.
    • Performance is now disabled by default.
  • Fix slow/frozen frames were not reported with transactions (#2811)

Dependencies

6.24.0

Features

  • Add debouncing mechanism and before-capture callbacks for screenshots and view hierarchies (#2773)
  • Improve ANRv2 implementation (#2792)
    • Add a proguard rule to keep ApplicationNotResponding class from obfuscation
    • Add a new option setReportHistoricalAnrs; 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 HistoricalAppExitInfo mechanism.
    • Add a new option setAttachAnrThreadDump to 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.
    • If ApplicationExitInfo#getTraceInputStream returns null, the SDK no longer reports an ANR event, as these events are not very useful without it.
    • Enhance regex patterns for native stackframes

6.23.0

Features

  • Add profile rate limiting (#2782)
  • Support for automatically capturing Failed GraphQL (Apollo 3) Client errors (#2781)
import com.apollographql.apollo3.ApolloClient
import io.sentry.apollo3.sentryTracing

val apolloClient = ApolloClient.Builder()
    .serverUrl("https://example.com/graphql")
    .sentryTracing(captureFailedRequests = true)    
    .build()

Dependencies

Fixes

6.22.0

Features

  • Add lock attribute to the SentryStackFrame protocol to better highlight offending frames in the UI (#2761)
  • Enrich database spans with blocked main thread info (#2760)
  • Add api_target to Request and data to Response Protocols (#2775)

Fixes

  • No longer use String.join in Baggage as it requires API level 26 (#2778)

6.21.0

Features

  • Introduce new sentry-android-sqlite integration (#2722)
    • This integration replaces the old androidx.sqlite database instrumentation in the Sentry Android Gradle plugin
    • A new capability to manually instrument your androidx.sqlite databases.
      • You can wrap your custom SupportSQLiteOpenHelper instance into SentrySupportSQLiteOpenHelper(myHelper) if you're not using the Sentry Android Gradle plugin and still benefit from performance auto-instrumentation.
  • Add SentryWrapper for Callable and Supplier Interface (#2720)
  • Load sentry-debug-meta.properties (#2734)
    • This enables source context for Java
    • For more information on how to enable source context, please refer to #633

Fixes

  • Finish WebFlux transaction before popping scope (#2724)
  • Use daemon threads for SentryExecutorService (#2747)
    • We started using SentryExecutorService in 6.19.0 which caused the application to hang on shutdown unless Sentry.close() was called. By using daemon threads we no longer block shutdown.
  • Use Base64.NO_WRAP to avoid unexpected char errors in Apollo (#2745)
  • Don't warn R8 on missing ComposeViewHierarchyExporter class (#2743)

6.20.0

Features

  • Add support for Sentry Kotlin Compiler Plugin (#2695)
    • In conjunction with our sentry-kotlin-compiler-plugin we improved Jetpack Compose support for
  • More granular http requests instrumentation with a new SentryOkHttpEventListener (#2659)
    • Create spans for time spent on:
      • Proxy selection
      • DNS resolution
      • HTTPS setup
      • Connection
      • Requesting headers
      • Receiving response
    • You can attach the event listener to your OkHttpClient through client.eventListener(new SentryOkHttpEventListener()).addInterceptor(new SentryOkHttpInterceptor()).build();
    • In case you already have an event listener you can use the SentryOkHttpEventListener as well through client.eventListener(new SentryOkHttpEventListener(myListener)).addInterceptor(new SentryOkHttpInterceptor()).build();
  • Add a new option to disable RootChecker (#2735)

Fixes

  • Base64 encode internal Apollo3 Headers (#2707)
  • Fix SentryTracer crash when scheduling auto-finish of a transaction, but the timer has already been cancelled (#2731)
  • Fix AndroidTransactionProfiler crash when finishing a profile that happened due to race condition (#2731)

6.19.1

Fixes

  • Ensure screenshots and view hierarchies are captured on the main thread (#2712)

6.19.0

Features

  • Add Screenshot and ViewHierarchy to integrations list (#2698)
  • New ANR detection based on ApplicationExitInfo API (#2697)
    • This implementation completely replaces the old one (based on a watchdog) on devices running Android 11 and above:
      • New implementation provides more precise ANR events/ANR rate detection as well as system thread dump information. The new implementation reports ANRs exactly as Google Play Console, without producing false positives or missing important background ANR events.
      • New implementation reports ANR events with a new mechanism mechanism:AppExitInfo.
      • However, despite producing many false positives, the old implementation is capable of better enriching ANR errors (which is not available with the new implementation), for example:
        • Capturing screenshots at the time of ANR event;
        • Capturing transactions and profiling data corresponding to the ANR event;
        • Auxiliary information (such as current memory load) at the time of ANR event.
      • If you would like us to provide support for the old approach working alongside the new one on Android 11 and above (e.g. for raising events for slow code on main thread), consider upvoting this issue.
    • The old watchdog implementation will continue working for older API versions (Android < 11):
      • The old implementation reports ANR events with the existing mechanism mechanism:ANR.
  • Open up TransactionOptions, ITransaction and IHub methods allowing consumers modify start/end timestamp of transactions and spans (#2701)
  • Send source bundle IDs to Sentry to enable source context (#2663)
    • For more information on how to enable source context, please refer to #633

Fixes

  • Android Profiler on calling thread (#2691)
  • Use configureScope instead of withScope in Hub.close(). This ensures that the main scope releases the in-memory data when closing a hub instance. (#2688)
  • Remove null keys/values before creating concurrent hashmap in order to avoid NPE (#2708)
  • Exclude SentryOptions from R8/ProGuard obfuscation (#2699)
    • This fixes AGP 8.+ incompatibility, where full R8 mode is enforced

Dependencies

6.18.1

Fixes

  • Fix crash when Sentry SDK is initialized more than once (#2679)
  • Track a ttfd span per Activity (#2673)

6.18.0

Features

  • Attach Trace Context when an ANR is detected (ANRv1) (#2583)
  • Make log4j2 integration compatible with log4j 3.0 (#2634)
    • Instead of relying on package scanning, we now use an annotation processor to generate Log4j2Plugins.dat
  • Create User and Breadcrumb from map (#2614)
  • Add sent_at to envelope header item (#2638)

Fixes

  • Fix timestamp intervals of PerformanceCollectionData in profiles (#2648)
  • Fix timestamps of PerformanceCollectionData in profiles (#2632)
  • Fix missing propagateMinConstraints flag for SentryTraced (#2637)
  • Fix potential SecurityException thrown by ConnectivityManager on Android 11 (#2653)
  • Fix aar artifacts publishing for Maven (#2641)

Dependencies

  • Bump Kotlin compile version from v1.6.10 to 1.8.0 (#2563)
  • Bump Compose compile version from v1.1.1 to v1.3.0 (#2563)
  • Bump AGP version from v7.3.0 to v7.4.2 (#2574)
  • Bump Gradle from v7.6.0 to v8.0.2 (#2563)
  • Bump Gradle from v8.0.2 to v8.1.0 (#2650)

6.17.0

Features

  • Add name and geo to User (#2556)
  • Add breadcrumbs on network changes (#2608)
  • Add time-to-initial-display and time-to-full-display measurements to Activity transactions (#2611)
  • Read integration list written by sentry gradle plugin from manifest (#2598)
  • Add Logcat adapter (#2620)
  • Provide CPU count/frequency data as device context (#2622)

Fixes

  • Trim time-to-full-display span if reportFullyDisplayed API is never called (#2631)
  • Fix Automatic UI transactions having wrong durations (#2623)
  • Fix wrong default environment in Session (#2610)
  • Pass through unknown sentry baggage keys into SentryEnvelopeHeader (#2618)
  • Fix missing null check when removing lifecycle observer (#2625)

Dependencies

6.16.0

Features

  • Improve versatility of exception resolver component for Spring with more flexible API for consumers. (#2577)
  • Automatic performance instrumentation for WebFlux (#2597)
    • You can enable it by adding sentry.enable-tracing=true to your application.properties
  • The Spring Boot integration can now be configured to add the SentryAppender to specific loggers instead of the ROOT logger (#2173)
    • You can specify the loggers using "sentry.logging.loggers[0]=foo.bar and "sentry.logging.loggers[1]=baz in your application.properties
  • Add capabilities to track Jetpack Compose composition/rendering time (#2507)
  • Adapt span op and description for graphql to fit spec (#2607)

Fixes

  • Fix timestamps of slow and frozen frames for profiles (#2584)
  • Deprecate reportFullDisplayed in favor of reportFullyDisplayed (#2585)
  • Add mechanism for logging integrations and update spring mechanism types (#2595)
    • NOTE: If you're using these mechanism types (HandlerExceptionResolver, SentryWebExceptionHandler) in your dashboards please update them to use the new types.
  • Filter out session cookies sent by Spring and Spring Boot integrations (#2593)
    • We filter out some common cookies like JSESSIONID
    • We also read the value from server.servlet.session.cookie.name and filter it out
  • No longer send event / transaction to Sentry if beforeSend / beforeSendTransaction throws (#2591)
  • Add version to sentryClientName used in auth header (#2596)
  • Keep integration names from being obfuscated (#2599)
  • Change log level from INFO to WARN for error message indicating a failed Log4j2 Sentry.init (#2606)
    • The log message was often not visible as our docs suggest a minimum log level of WARN
  • Fix session tracking on Android (#2609)
    • Incorrect number of session has been sent. In addition, some of the sessions were not properly ended, messing up Session Health Metrics.

Dependencies

  • Bump opentelemetry-sdk to 1.23.1 and opentelemetry-javaagent to 1.23.0 (#2590)
  • Bump Native SDK from v0.5.4 to v0.6.0 (#2545)

6.15.0

Features

  • Adjust time-to-full-display span if reportFullDisplayed is called too early (#2550)
  • Add enableTracing option (#2530)
    • This change is backwards compatible. The default is null meaning existing behaviour remains unchanged (setting either tracesSampleRate or tracesSampler enables performance).
    • If set to true, performance is enabled, even if no tracesSampleRate or tracesSampler have been configured.
    • If set to false performance is disabled, regardless of tracesSampleRate and tracesSampler options.
  • Detect dependencies by listing MANIFEST.MF files at runtime (#2538)
  • Report integrations in use, report packages in use more consistently (#2179)
  • Implement ThreadLocalAccessor for propagating Sentry hub with reactor / WebFlux (#2570)

Fixes

  • Leave inApp flag for stack frames undecided in SDK if unsure and let ingestion decide instead (#2547)
  • Allow 0.0 error sample rate (#2573)
  • Fix memory leak in WebFlux related to an ever growing stack (#2580)
  • Use the same hub in WebFlux exception handler as we do in WebFilter (#2566)
  • Switch upstream Jetpack Compose dependencies to compileOnly in sentry-compose-android (#2578)
    • NOTE: If you're using Compose Navigation/User Interaction integrations, make sure to have the following dependencies on the classpath as we do not bring them in transitively anymore:
      • androidx.navigation:navigation-compose:
      • androidx.compose.runtime:runtime:
      • androidx.compose.ui:ui:

6.14.0

Features

  • Add time-to-full-display span to Activity auto-instrumentation (#2432)
  • Add main flag to threads and in_foreground flag for app contexts (#2516)

Fixes

  • Ignore Shutdown in progress when closing ShutdownHookIntegration (#2521)
  • Fix app start span end-time is wrong if SDK init is deferred (#2519)
  • Fix invalid session creation when app is launched in background (#2543)

6.13.1

Fixes

  • Fix transaction performance collector oom (#2505)
  • Remove authority from URLs sent to Sentry (#2366)
  • Fix sentry-bom containing incorrect artifacts (#2504)

Dependencies

6.13.0

Features

  • Send cpu usage percentage in profile payload (#2469)
  • Send transaction memory stats in profile payload (#2447)
  • Add cpu usage collection (#2462)
  • Improve ANR implementation: (#2475)
    • Add abnormal_mechanism to sessions for ANR rate calculation
    • Always attach thread dump to ANR events
    • Distinguish between foreground and background ANRs
  • Improve possible date precision to 10 μs (#2451)

Fixes

  • Fix performance collector setup called in main thread (#2499)
  • Expand guard against CVE-2018-9492 "Privilege Escalation via Content Provider" (#2482)
  • Prevent OOM by disabling TransactionPerformanceCollector for now (#2498)

6.12.1

Fixes

  • Create timer in TransactionPerformanceCollector lazily (#2478)

6.12.0

Features

  • Attach View Hierarchy to the errored/crashed events (#2440)
  • Collect memory usage in transactions (#2445)
  • Add traceOptionsRequests option to disable tracing of OPTIONS requests (#2453)
  • Extend list of HTTP headers considered sensitive (#2455)

Fixes

  • Use a single TransactionPerfomanceCollector (#2464)
  • Don't override sdk name with Timber (#2450)
  • Set transactionNameSource to CUSTOM when setting transaction name (#2405)
  • Guard against CVE-2018-9492 "Privilege Escalation via Content Provider" (#2466)

6.11.0

Features

  • Disable Android concurrent profiling (#2434)
  • Add logging for OpenTelemetry integration (#2425)
  • Auto add OpenTelemetryLinkErrorEventProcessor for Spring Boot (#2429)

Fixes

  • Use minSdk compatible Objects class (#2436)
  • Prevent R8 from warning on missing classes, as we check for their presence at runtime (#2439)

Dependencies

6.10.0

Features

  • Add time-to-initial-display span to Activity transactions (#2369)
  • Start a session after init if AutoSessionTracking is enabled (#2356)
  • Provide automatic breadcrumbs and transactions for click/scroll events for Compose (#2390)
  • Add blocked_main_thread and call_stack to File I/O spans to detect performance issues (#2382)

Dependencies

6.9.2

Fixes

  • Updated ProfileMeasurementValue types (#2412)
  • Clear window reference only on activity stop in profileMeasurements collector (#2407)
  • No longer disable OpenTelemetry exporters in default Java Agent config (#2408)
  • Fix ClassNotFoundException for io.sentry.spring.SentrySpringServletContainerInitializer in sentry-spring-jakarta (#2411)
  • Fix sentry-samples-spring-jakarta (#2411)

Features

  • Add SENTRY_AUTO_INIT environment variable to control OpenTelemetry Agent init (#2410)
  • Add OpenTelemetryLinkErrorEventProcessor for linking errors to traces created via OpenTelemetry (#2418)

Dependencies

  • Bump OpenTelemetry to 1.20.1 and OpenTelemetry Java Agent to 1.20.2 (#2420)

6.9.1

Fixes

  • OpenTelemetry modules were missing in 6.9.0 so we released the same code again as 6.9.1 including OpenTelemetry modules

6.9.0

Fixes

  • Use canonicalName in Fragment Integration for better de-obfuscation (#2379)
  • Fix Timber and Fragment integrations auto-installation for obfuscated builds (#2379)
  • Don't attach screenshots to events from Hybrid SDKs (#2360)
  • Ensure Hints do not cause memory leaks (#2387)
  • Do not attach empty sentry-trace and baggage headers (#2385)

Features

  • Add beforeSendTransaction which allows users to filter and change transactions (#2388)
  • Add experimental support for OpenTelemetry (README)(#2344)

Dependencies

  • Update Spring Boot Jakarta to Spring Boot 3.0.0 (#2389)
  • Bump Spring Boot to 2.7.5 (#2383)

6.8.0

Features

  • Add FrameMetrics to Android profiling data (#2342)

Fixes

  • Remove profiler main thread io (#2348)
  • Fix ensure all options are processed before integrations are loaded (#2377)

6.7.1

Fixes

  • Fix Gpu.vendorId should be a String (#2343)
  • Don't set device name on Android if sendDefaultPii is disabled (#2354)
  • Fix corrupted UUID on Motorola devices (#2363)
  • Fix ANR on dropped uncaught exception events (#2368)

Features

  • Update Spring Boot Jakarta to Spring Boot 3.0.0-RC2 (#2347)

6.7.0

Fixes

  • Use correct set-cookie for the HTTP Client response object (#2326)
  • Fix NoSuchElementException in CircularFifoQueue when cloning a Scope (#2328)

Features

  • Customizable fragment lifecycle breadcrumbs (#2299)
  • Provide hook for Jetpack Compose navigation instrumentation (#2320)
  • Populate event.modules with dependencies metadata (#2324)
  • Support Spring 6 and Spring Boot 3 (#2289)

Dependencies

6.6.0

Fixes

  • Ensure potential callback exceptions are caught #2123 (#2291)
  • Remove verbose FrameMetricsAggregator failure logging (#2293)
  • Ignore broken regex for tracePropagationTarget (#2288)
  • No longer serialize static fields; use toString as fallback (#2309)
  • Fix SentryFileWriter/SentryFileOutputStream append overwrites file contents (#2304)
  • Respect incoming parent sampled decision when continuing a trace (#2311)

Features

  • Profile envelopes are sent directly from profiler (#2298)
  • Add support for using Encoder with logback.SentryAppender (#2246)
  • Report Startup Crashes (#2277)
  • HTTP Client errors for OkHttp (#2287)
  • Add option to enable or disable Frame Tracking (#2314)

Dependencies

6.5.0

Fixes

  • Improve public facing API for creating Baggage from header (#2284)

6.5.0-beta.3

Features

  • Provide API for attaching custom measurements to transactions (#2260)
  • Bump spring to 2.7.4 (#2279)

6.5.0-beta.2

Features

  • Make user segment a top level property (#2257)
  • Replace user other with data (#2258)
  • isTraceSampling is now on by default. tracingOrigins has been replaced by tracePropagationTargets (#2255)

6.5.0-beta.1

Features

  • Server-Side Dynamic Sampling Context support (#2226)

6.4.4

Fixes

  • Fix ConcurrentModificationException due to FrameMetricsAggregator manipulation (#2282)

6.4.3

  • Fix slow and frozen frames tracking (#2271)

6.4.2

Fixes

  • Fixed AbstractMethodError when getting Lifecycle (#2228)
  • Missing unit fields for Android measurements (#2204)
  • Avoid sending empty profiles (#2232)
  • Fix file descriptor leak in FileIO instrumentation (#2248)

6.4.1

Fixes

  • Fix memory leak caused by throwableToSpan (#2227)

6.4.0

Fixes

  • make profiling rate defaults to 101 hz (#2211)
  • SentryOptions.setProfilingTracesIntervalMillis has been deprecated
  • Added cpu architecture and default environment in profiles envelope (#2207)
  • SentryOptions.setProfilingEnabled has been deprecated in favor of setProfilesSampleRate
  • Use toString for enum serialization (#2220)

Features

  • Concurrent profiling 3 - added truncation reason (#2247)
  • Concurrent profiling 2 - added list of transactions (#2218)
  • Concurrent profiling 1 - added envelope payload data format (#2216)
  • Send source for transactions (#2180)
  • Add profilesSampleRate and profileSampler options for Android sdk (#2184)
  • Add baggage header to RestTemplate (#2206)
  • Bump Native SDK from v0.4.18 to v0.5.0 (#2199)
  • Bump Gradle from v7.5.0 to v7.5.1 (#2212)

6.3.1

Fixes

  • Prevent NPE by checking SentryTracer.timer for null again inside synchronized (#2200)
  • Weakly reference Activity for transaction finished callback (#2203)
  • attach-screenshot set on Manual init. didn't work (#2186)
  • Remove extra space from spring.factories causing issues in old versions of Spring Boot (#2181)

Features

6.3.0

Features

  • Switch upstream dependencies to compileOnly in integrations (#2175)

Fixes

  • Lazily retrieve HostnameCache in MainEventProcessor (#2170)

6.2.1

Fixes

  • Only send userid in Dynamic Sampling Context if sendDefaultPii is true (#2147)
  • Remove userId from baggage due to PII (#2157)

Features

  • Add integration for Apollo-Kotlin 3 (#2109)
  • New package sentry-android-navigation for AndroidX Navigation support (#2136)
  • New package sentry-compose for Jetpack Compose support (Navigation) (#2136)
  • Add sample rate to baggage as well as trace in envelope header and flatten user (#2135)

6.1.4

Fixes

  • Filter out app starts with more than 60s (#2127)

6.1.3

Fixes

  • Fix thread leak due to Timer being created and never cancelled (#2131)

6.1.2

Fixes

  • Swallow error when reading ActivityManager#getProcessesInErrorState instead of crashing (#2114)
  • Use charset string directly as StandardCharsets is not available on earlier Android versions (#2111)

6.1.1

Features

  • Replace tracestate header with baggage header (#2078)
  • Allow opting out of device info collection that requires Inter-Process Communication (IPC) (#2100)

6.1.0

Features

  • Implement local scope by adding overloads to the capture methods that accept a ScopeCallback (#2084)
  • SentryOptions#merge is now public and can be used to load ExternalOptions (#2088)

Fixes

  • Fix proguard rules to work R8 issue around on AGP 7.3.0-betaX and 7.4.0-alphaX (#2094)
  • Fix GraalVM Native Image compatibility (#2172)

6.0.0

Sentry Self-hosted Compatibility

  • Starting with version 6.0.0 of the sentry package, Sentry's self hosted version >= v21.9.0 is required or you have to manually disable sending client reports via the sendClientReports option. This only applies to self-hosted Sentry. If you are using sentry.io, no action is needed.

Features

  • Allow optimization and obfuscation of the SDK by reducing proguard rules (#2031)
  • Relax TransactionNameProvider (#1861)
  • Use float instead of Date for protocol types for higher precision (#1737)
  • Allow setting SDK info (name & version) in manifest (#2016)
  • Allow setting native Android SDK name during build (#2035)
  • Include application permissions in Android events (#2018)
  • Automatically create transactions for UI events (#1975)
  • Hints are now used via a Hint object and passed into beforeSend and EventProcessor as NotNull Hint object (#2045)
  • Attachments can be manipulated via hint (#2046)
  • Add sentry-servlet-jakarta module (#1987)
  • Add client reports (#1982)
  • Screenshot is taken when there is an error (#1967)
  • Add Android profiling traces (#1897) (#1959) and its tests (#1949)
  • Enable enableScopeSync by default for Android (#1928)

⚠️ Changelog content truncated by 94432 characters because it was over the limit (60000) and wouldn't fit into PR description.

@bruno-garcia bruno-garcia force-pushed the deps/modules/sentry-java/6.33.0 branch from 8e901a9 to 2953313 Compare November 3, 2023 02:08
@bitsandfoxes
Copy link
Contributor

Skipping to 7.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants