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.20.0 #1344

Merged
merged 2 commits into from
May 30, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 27, 2023

Bumps modules/sentry-java from 6.20.0-4-gf1e4d4c3 to 6.20.0.

Auto-generated by a dependency updater.

Changelog

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.
      • 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)
  • 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)
  • Feat: Vendor JSON (#1554)
    • Introduce JsonSerializable and JsonDeserializer interfaces for manual json
      serialization/deserialization.
    • Introduce JsonUnknwon interface to preserve unknown properties when deserializing/serializing
      SDK classes.
    • When passing custom objects, for example in Contexts, these are supported for serialization:
      • JsonSerializable
      • Map, Collection, Array, String and all primitive types.
      • Objects with the help of refection.
        • Map, Collection, Array, String and all primitive types.
        • Call toString() on objects that have a cyclic reference to a ancestor object.
        • Call toString() where object graphs exceed max depth.
    • Remove gson dependency.
    • Remove IUnknownPropertiesConsumer
  • Pass MDC tags as Sentry tags (#1954)

Fixes

  • Calling Sentry.init and specifying contextTags now has an effect on the Logback SentryAppender (#2052)
  • Calling Sentry.init and specifying contextTags now has an effect on the Log4j SentryAppender (#2054)
  • Calling Sentry.init and specifying contextTags now has an effect on the jul SentryAppender (#2057)
  • Update Spring Boot dependency to 2.6.8 and fix the CVE-2022-22970 (#2068)
  • Sentry can now self heal after a Thread had its currentHub set to a NoOpHub (#2076)
  • No longer close OutputStream that is passed into JsonSerializer (#2029)
  • Fix setting context tags on events captured by Spring (#2060)
  • Isolate cached events with hashed DSN subfolder (#2038)
  • SentryThread.current flag will not be overridden by DefaultAndroidEventProcessor if already set (#2050)
  • Fix serialization of Long inside of Request.data (#2051)
  • Update sentry-native to 0.4.17 (#2033)
  • Update Gradle to 7.4.2 and AGP to 7.2 (#2042)
  • Change order of event filtering mechanisms (#2001)
  • Only send session update for dropped events if state changed (#2002)
  • Android profiling initializes on first profile start (#2009)
  • Profiling rate decreased from 300hz to 100hz (#1997)
  • Allow disabling sending of client reports via Android Manifest and external options (#2007)
  • Ref: Upgrade Spring Boot dependency to 2.5.13 (#2011)
  • Ref: Make options.printUncaughtStackTrace primitive type (#1995)
  • Ref: Remove not needed interface abstractions on Android (#1953)
  • Ref: Make hints Map<String, Object> instead of only Object (#1929)
  • Ref: Simplify DateUtils with ISO8601Utils (#1837)
  • Ref: Remove deprecated and scheduled fields (#1875)
  • Ref: Add shutdownTimeoutMillis in favor of shutdownTimeout (#1873)
  • Ref: Remove Attachment ContentType since the Server infers it (#1874)
  • Ref: Bind external properties to a dedicated class. (#1750)
  • Ref: Debug log serializable objects (#1795)
  • Ref: catch Throwable instead of Exception to suppress internal SDK errors (#1812)
  • SentryOptions can merge properties from ExternalOptions instead of another instance of SentryOptions
  • Following boolean properties from SentryOptions that allowed null values are now not nullable - debug, enableUncaughtExceptionHandler, enableDeduplication
  • SentryOptions cannot be created anymore using PropertiesProvider with SentryOptions#from method. Use ExternalOptions#from instead and merge created object with SentryOptions#merge
  • Bump: Kotlin to 1.5 and compatibility to 1.4 for sentry-android-timber (#1815)

5.7.4

Fixes

  • Change order of event filtering mechanisms and only send session update for dropped events if session state changed (#2028)

5.7.3

Fixes

  • Sentry Timber integration throws an exception when using args (#1986)

5.7.2

Fixes

  • Bring back support for Timber.tag (#1974)

5.7.1

Fixes

  • Sentry Timber integration does not submit msg.formatted breadcrumbs (#1957)
  • ANR WatchDog won't crash on SecurityException (#1962)

5.7.0

Features

  • Automatically enable Timber and Fragment integrations if they are present on the classpath (#1936)

5.6.3

Fixes

  • If transaction or span is finished, do not allow to mutate (#1940)
  • Keep used AndroidX classes from obfuscation (Fixes UI breadcrumbs and Slow/Frozen frames) (#1942)

5.6.2

Fixes

  • Ref: Make ActivityFramesTracker public to be used by Hybrid SDKs (#1931)
  • Bump: AGP to 7.1.2 (#1930)
  • NPE while adding "response_body_size" breadcrumb, when response body length is unknown (#1908)
  • Do not include stacktrace frames into Timber message (#1898)
  • Potential memory leaks (#1909)

Breaking changes:
Timber.tag is no longer supported by our Timber integration and will not appear on Sentry for error events.
Please vote on this issue, if you'd like us to provide support for that.

5.6.2-beta.3

Fixes

  • Ref: Make ActivityFramesTracker public to be used by Hybrid SDKs (#1931)
  • Bump: AGP to 7.1.2 (#1930)

5.6.2-beta.2

Fixes

  • NPE while adding "response_body_size" breadcrumb, when response body length is unknown (#1908)

5.6.2-beta.1

Fixes

  • Do not include stacktrace frames into Timber message (#1898)
  • Potential memory leaks (#1909)

Breaking changes:
Timber.tag is no longer supported by our Timber integration and will not appear on Sentry for error events.
Please vote on this issue, if you'd like us to provide support for that.

5.6.1

Features

  • Add options.printUncaughtStackTrace to print uncaught exceptions (#1890)

Fixes

  • NPE while adding "response_body_size" breadcrumb, when response body is null (#1884)
  • Bump: AGP to 7.1.0 (#1892)

5.6.0

Features

  • Add breadcrumbs support for UI events (automatically captured) (#1876)

Fixes

  • Change scope of servlet-api to compileOnly (#1880)

5.5.3

Fixes

  • Do not create SentryExceptionResolver bean when Spring MVC is not on the classpath (#1865)

5.5.2

Fixes

  • Detect App Cold start correctly for Hybrid SDKs (#1855)
  • Bump: log4j to 2.17.0 (#1852)
  • Bump: logback to 1.2.9 (#1853)

5.5.1

Fixes

  • Bump: log4j to 2.16.0 (#1845)
  • Make App start cold/warm visible to Hybrid SDKs (#1848)

5.5.0

Features

  • Add locale to device context and deprecate language (#1832)
  • Add SentryFileInputStream and SentryFileOutputStream for File I/O performance instrumentation (#1826)
  • Add SentryFileReader and SentryFileWriter for File I/O instrumentation (#1843)

Fixes

  • Bump: log4j to 2.15.0 (#1839)
  • Ref: Rename Fragment span operation from ui.fragment.load to ui.load (#1824)
  • Ref: change java.util.Random to java.security.SecureRandom for possible security reasons (#1831)

5.4.3

Fixes

  • Only report App start measurement for full launch on Android (#1821)

5.4.2

Fixes

  • Ref: catch Throwable instead of Exception to suppress internal SDK errors (#1812)

5.4.1

Features

  • Refactor OkHttp and Apollo to Kotlin functional interfaces (#1797)
  • Add secondary constructor to SentryInstrumentation (#1804)

Fixes

  • Do not start fragment span if not added to the Activity (#1813)

5.4.0

Features

  • Add graphql-java instrumentation (#1777)

Fixes

  • Do not crash when event processors throw a lower level Throwable class (#1800)
  • ActivityFramesTracker does not throw if Activity has no observers (#1799)

5.3.0

Features

  • Add datasource tracing with P6Spy (#1784)

Fixes

  • ActivityFramesTracker does not throw if Activity has not been added (#1782)
  • PerformanceAndroidEventProcessor uses up to date isTracingEnabled set on Configuration callback (#1786)

5.2.4

Fixes

  • Window.FEATURE_NO_TITLE does not work when using activity traces (#1769)
  • unregister UncaughtExceptionHandler on close (#1770)

5.2.3

Fixes

  • Make ActivityFramesTracker operations thread-safe (#1762)
  • Clone Scope Contexts (#1763)
  • Bump: AGP to 7.0.3 (#1765)

5.2.2

Fixes

  • Close HostnameCache#executorService on SentryClient#close (#1757)

5.2.1

Features

  • Add isCrashedLastRun support (#1739)
  • Attach Java vendor and version to events and transactions (#1703)

Fixes

  • Handle exception if Context.registerReceiver throws (#1747)

5.2.0

Features

  • Allow setting proguard via Options and/or external resources (#1728)
  • Add breadcrumbs for the Apollo integration (#1726)

Fixes

  • Don't set lastEventId for transactions (#1727)
  • ActivityLifecycleIntegration#appStartSpan memory leak (#1732)

5.2.0-beta.3

Features

  • Add "data" to spans (#1717)

Fixes

  • Check at runtime if AndroidX.Core is available (#1718)
  • Should not capture unfinished transaction (#1719)

5.2.0-beta.2

Fixes

  • Bump AGP to 7.0.2 (#1650)
  • Drop spans in BeforeSpanCallback. (#1713)

5.2.0-beta.1

Features

  • Add tracestate HTTP header support (#1683)
  • Add option to filter which origins receive tracing headers (#1698)
  • Include unfinished spans in transaction (#1699)
  • Add static helpers for creating breadcrumbs (#1702)
  • Performance support for Android Apollo (#1705)

Fixes

  • Move tags from transaction.contexts.trace.tags to transaction.tags (#1700)

Breaking changes:

  • Updated proguard keep rule for enums, which affects consumer application code (#1694)

5.1.2

Fixes

  • Servlet 3.1 compatibility issue (#1681)
  • Do not drop Contexts key if Collection, Array or Char (#1680)

5.1.1

Features

  • Add support for async methods in Spring MVC (#1652)
  • Add secondary constructor taking IHub to SentryOkHttpInterceptor (#1657)
  • Merge external map properties (#1656)

Fixes

  • Remove onActivityPreCreated call in favor of onActivityCreated (#1661)
  • Do not crash if SENSOR_SERVICE throws (#1655)
  • Make sure scope is popped when processing request results in exception (#1665)

5.1.0

Features

  • Spring WebClient integration (#1621)
  • OpenFeign integration (#1632)

⚠️ Changelog content truncated by 75985 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.20.0 branch from eb2d676 to fb4ff25 Compare May 30, 2023 02:19
@bitsandfoxes bitsandfoxes enabled auto-merge (squash) May 30, 2023 18:45
@bitsandfoxes bitsandfoxes merged commit 0442843 into main May 30, 2023
@bitsandfoxes bitsandfoxes deleted the deps/modules/sentry-java/6.20.0 branch May 30, 2023 18:45
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