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 (Android) to v6.5.0 #129

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

github-actions[bot]
Copy link
Contributor

Bumps modules/sentry-java from 6.5.0-1-g4ca1d7b2 to 6.5.0.

Auto-generated by a dependency updater.

Changelog

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)
  • Add more convenient way to pass BeforeSpanCallback in OpenFeign integration (#1637)

Fixes

  • Bump: sentry-native to 0.4.12 (#1651)

5.1.0-beta.9

  • No documented changes.

5.1.0-beta.8

Features

  • Generate Sentry BOM (#1486)

5.1.0-beta.7

Features

  • Slow/Frozen frames metrics (#1609)

5.1.0-beta.6

Features

  • Add request body extraction for Spring MVC integration (#1595)

Fixes

  • set min sdk version of sentry-android-fragment to API 14 (#1608)
  • Ser/Deser of the UserFeedback from cached envelope (#1611)

5.1.0-beta.5

Fixes

  • Make SentryAppender non-final for Log4j2 and Logback (#1603)
  • Do not throw IAE when tracing header contain invalid trace id (#1605)

5.1.0-beta.4

Fixes

  • Update sentry-native to 0.4.11 (#1591)

5.1.0-beta.3

Features

  • Spring Webflux integration (#1529)

5.1.0-beta.2

Features

  • Support transaction waiting for children to finish. (#1535)
  • Capture logged marker in log4j2 and logback appenders (#1551)
  • Allow clearing of attachments in the scope (#1562)
  • Set mechanism type in SentryExceptionResolver (#1556)
  • Perf. for fragments (#1528)

Fixes

  • Handling missing Spring Security on classpath on Java 8 (#1552)
  • Use a different method to get strings from JNI, and avoid excessive Stack Space usage. (#1214)
  • Add data field to SentrySpan (#1555)
  • Clock drift issue when calling DateUtils#getDateTimeWithMillisPrecision (#1557)
  • Prefer snake case for HTTP integration data keys (#1559)
  • Assign lastEventId only if event was queued for submission (#1565)

5.1.0-beta.1

Features

  • Measure app start time (#1487)
  • Automatic breadcrumbs logging for fragment lifecycle (#1522)

5.0.1

Fixes

  • Sources and Javadoc artifacts were mixed up (#1515)

5.0.0

This release brings many improvements but also new features:

  • OkHttp Interceptor for Android (#1330)
  • GraalVM Native Image Compatibility (#1329)
  • Add option to ignore exceptions by type (#1352)
  • Enrich transactions with device contexts (#1430) (#1469)
  • Better interoperability with Kotlin null-safety (#1439) and (#1462)
  • Add coroutines support (#1479)
  • OkHttp callback for Customising the Span (#1478)
  • Add breadcrumb in Spring RestTemplate integration (#1481)

Breaking changes:

Other fixes:

  • Fix: Add attachmentType to envelope ser/deser. (#1504)

Thank you:

  • maciejwalkowiak for coding most of it.

5.0.0-beta.7

Fixes

  • Ref: Deprecate SentryBaseEvent#getOriginThrowable and add SentryBaseEvent#getThrowableMechanism (#1502)
  • Graceful Shutdown flushes event instead of Closing SDK (#1500)
  • Do not append threads that come from the EnvelopeFileObserver (#1501)
  • Ref: Deprecate cacheDirSize and add maxCacheItems (#1499)
  • Append all threads if Hint is Cached but attachThreads is enabled (#1503)

5.0.0-beta.6

Features

  • Add secondary constructor to SentryOkHttpInterceptor (#1491)
  • Add option to enable debug mode in Log4j2 integration (#1492)

Fixes

  • Ref: Replace clone() with copy constructor (#1496)

5.0.0-beta.5

Features

  • OkHttp callback for Customising the Span (#1478)
  • Add breadcrumb in Spring RestTemplate integration (#1481)
  • Add coroutines support (#1479)

Fixes

5.0.0-beta.4

Fixes

  • Enrich Transactions with Context Data (#1469)
  • Bump: Apache HttpClient to 5.0.4 (#1476)

5.0.0-beta.3

Fixes

  • Handling immutable collections on SentryEvent and protocol objects (#1468)
  • Associate event with transaction when thrown exception is not a direct cause (#1463)
  • Ref: nullability annotations to Sentry module (#1439) and (#1462)
  • NPE when adding Context Data with null values for log4j2 (#1465)

5.0.0-beta.2

Fixes

  • sentry-android-timber package sets sentry.java.android.timber as SDK name (#1456)
  • When AppLifecycleIntegration is closed, it should remove observer using UI thread (#1459)
  • Bump: AGP to 4.2.0 (#1460)

Breaking Changes:

  • Remove: Settings.Secure.ANDROID_ID in favor of generated installationId (#1455)
  • Rename: enableSessionTracking to enableAutoSessionTracking (#1457)

5.0.0-beta.1

Fixes

  • Ref: Refactor converting HttpServletRequest to Sentry Request in Spring integration (#1387)
  • Bump: sentry-native to 0.4.9 (#1431)
  • Activity tracing auto instrumentation for Android API < 29 (#1402)
  • use connection and read timeouts in ApacheHttpClient based transport (#1397)
  • set correct transaction status for unhandled exceptions in SentryTracingFilter (#1406)
  • handle network errors in SentrySpanClientHttpRequestInterceptor (#1407)
  • set scope on transaction (#1409)
  • set status and associate events with transactions (#1426)
  • Do not set free memory and is low memory fields when it's a NDK hard crash (#1399)
  • Apply user from the scope to transaction (#1424)
  • Pass maxBreadcrumbs config. to sentry-native (#1425)
  • Run event processors and enrich transactions with contexts (#1430)
  • Set Span status for OkHttp integration (#1447)
  • Set user on transaction in Spring & Spring Boot integrations (#1443)

4.4.0-alpha.2

Features

  • Add option to ignore exceptions by type (#1352)
  • Sentry closes Android NDK and ShutdownHook integrations (#1358)
  • Allow inheritance of SentryHandler class in sentry-jul package(#1367)
  • Make NoOpHub public (#1379)
  • Configure max spans per transaction (#1394)

Fixes

  • Bump: Upgrade Apache HttpComponents Core to 5.0.3 (#1375)
  • NPE when MDC contains null values (sentry-logback) (#1364)
  • Avoid NPE when MDC contains null values (sentry-jul) (#1385)
  • Accept only non null value maps (#1368)
  • Do not bind transactions to scope by default. (#1376)
  • Hub thread safety (#1388)
  • SentryTransactionAdvice should operate on the new scope (#1389)

4.4.0-alpha.1

Features

  • Add an overload for startTransaction that sets the created transaction to the Scope (#1313)
  • Set SDK version on Transactions (#1307)
  • GraalVM Native Image Compatibility (#1329)
  • Add OkHttp client application interceptor (#1330)

Fixes

  • Bump: sentry-native to 0.4.8
  • Ref: Separate user facing and protocol classes in the Performance feature (#1304)
  • Use logger set on SentryOptions in GsonSerializer (#1308)
  • Use the bindToScope correctly
  • Allow 0.0 to be set on tracesSampleRate (#1328)
  • set "java" platform to transactions (#1332)
  • Allow disabling tracing through SentryOptions (#1337)

4.3.0

Features

  • Activity tracing auto instrumentation

Fixes

  • Aetting in-app-includes from external properties (#1291)
  • Initialize Sentry in Logback appender when DSN is not set in XML config (#1296)
  • JUL integration SDK name (#1293)

4.2.0

Features

  • Improve EventProcessor nullability annotations (#1229).
  • Add ability to flush events synchronously.
  • Support SentrySpan and SentryTransaction on classes and interfaces. (#1243)
  • Do not serialize empty collections and maps (#1245)
  • Integration interface better compatibility with Kotlin null-safety
  • Simplify Sentry configuration in Spring integration (#1259)
  • Simplify configuring Logback integration when environment variable with the DSN is not set (#1271)
  • Add Request to the Scope. #1270)
  • Optimize SentryTracingFilter when hub is disabled.

Fixes

  • Bump: sentry-native to 0.4.7
  • Optimize DuplicateEventDetectionEventProcessor performance (#1247).
  • Prefix sdk.package names with io.sentry (#1249)
  • Remove experimental annotation for Attachment (#1257)
  • Mark stacktrace as snapshot if captured at arbitrary moment (#1231)
  • Disable Gson HTML escaping
  • Make the ANR Atomic flags immutable
  • Prevent NoOpHub from creating heavy SentryOptions objects (#1272)
  • SentryTransaction#getStatus NPE (#1273)
  • Discard unfinished Spans before sending them over to Sentry (#1279)
  • Interrupt the thread in QueuedThreadPoolExecutor (#1276)
  • SentryTransaction#finish should not clear another transaction from the scope (#1278)

Breaking Changes:

  • Enchancement: SentryExceptionResolver should not send handled errors by default (#1248).
  • Ref: Simplify RestTemplate instrumentation (#1246)
  • Enchancement: Add overloads for startTransaction taking op and description (#1244)

4.1.0

Features

  • Improve Kotlin compatibility for SdkVersion (#1213)
  • Support logging via JUL (#1211)

Fixes

  • Returning Sentry trace header from Span (#1217)
  • Remove misleading error logs (#1222)

4.0.0

This release brings the Sentry Performance feature to Java SDK, Spring, Spring Boot, and Android integrations. Read more in the reference documentation:

Other improvements:

Core:
  • Improved loading external configuration:
    • Load sentry.properties from the application's current working directory (#1046)
    • Resolve in-app-includes, in-app-excludes, tags, debug, uncaught.handler.enabled parameters from the external configuration
  • Set global tags on SentryOptions and load them from external configuration (#1066)
  • Add support for attachments (#1082)
  • Resolve servername from the localhost address
  • Simplified transport configuration through setting TransportFactory instead of ITransport on SentryOptions (#1124)
Spring Boot:
  • Add the ability to register multiple OptionsConfiguration beans (#1093)
  • Initialize Logback after context refreshes (#1129)
Android:
  • Add isSideLoaded and installerStore tags automatically (Where your App. was installed from eg Google Play, Amazon Store, downloaded APK, etc...)
  • Bump: sentry-native to 0.4.6
  • Bump: Gradle to 6.8.1 and AGP to 4.1.2

4.0.0-beta.1

Features

  • Add addToTransactions to Attachment (#1191)
  • Support SENTRY_TRACES_SAMPLE_RATE conf. via env variables (#1171)
  • Pass request to CustomSamplingContext in Spring integration (#1172)
  • Move SentrySpanClientHttpRequestInterceptor to Spring module (#1181)
  • Add overload for transaction/span.finish(SpanStatus) (#1182)
  • Simplify registering traces sample callback in Spring integration (#1184)
  • Polish Performance API (#1165)
  • Set "debug" through external properties (#1186)
  • Simplify Spring integration (#1188)
  • Init overload with dsn (#1195)
  • Enable Kotlin map-like access on CustomSamplingContext (#1192)
  • Auto register custom ITransportFactory in Spring integration (#1194)
  • Improve Kotlin property access in Performance API (#1193)
  • Copy options tags to transactions (#1198)
  • Add convenient method for accessing event's throwable (#1202)

Fixes

  • Ref: Set SpanContext on SentryTransaction to avoid potential NPE (#1173)
  • Free Local Refs manually due to Android local ref. count limits
  • Bring back support for setting transaction name without ongoing transaction (#1183)

4.0.0-alpha.3

Features

  • Improve ITransaction and ISpan null-safety compatibility (#1161)
  • Automatically assign span context to captured events (#1156)
  • Autoconfigure Apache HttpClient 5 based Transport in Spring Boot integration (#1143)
  • Send user.ip_address = {{auto}} when sendDefaultPii is true (#1015)
  • Read tracesSampleRate from AndroidManifest
  • OutboxSender supports all envelope item types (#1158)
  • Read uncaught.handler.enabled property from the external configuration
  • Resolve servername from the localhost address
  • Add maxAttachmentSize to SentryOptions (#1138)
  • Drop invalid attachments (#1134)
  • Set isSideLoaded info tags
  • Add non blocking Apache HttpClient 5 based Transport (#1136)

Fixes

  • Ref: Make Attachment immutable (#1120)
  • Ref: using Calendar to generate Dates
  • Ref: Return NoOpTransaction instead of null (#1126)
  • Ref: ITransport implementations are now responsible for executing request in asynchronous or synchronous way (#1118)
  • Ref: Add option to set TransportFactory instead of ITransport on SentryOptions (#1124)
  • Ref: Simplify ITransport creation in ITransportFactory (#1135)
  • Fixes and Tests: Session serialization and deserialization
  • Inheriting sampling decision from parent (#1100)
  • Exception only sets a stack trace if there are frames
  • Initialize Logback after context refreshes (#1129)
  • Do not crash when passing null values to Nullable methods, eg User and Scope
  • Resolving dashed properties from external configuration
  • Consider {{ auto }} as a default ip address (#1015)
  • Set release and environment on Transactions (#1152)
  • Do not set transaction on the scope automatically

4.0.0-alpha.2

Features

  • Add basic support for attachments (#1082)
  • Set transaction name on events and transactions sent using Spring integration (#1067)
  • Set global tags on SentryOptions and load them from external configuration (#1066)
  • Add API validator and remove deprecated methods
  • Add more convenient method to start a child span (#1073)
  • Autoconfigure traces callback in Spring Boot integration (#1074)
  • Resolve in-app-includes and in-app-excludes parameters from the external configuration
  • Make InAppIncludesResolver public (#1084)
  • Add the ability to register multiple OptionsConfiguration beans (#1093)
  • Database query tracing with datasource-proxy (#1095)

Fixes

  • Ref: Refactor resolving SpanContext for Throwable (#1068)
  • Ref: Change "op" to "operation" in SentrySpan and SentryTransaction
  • Remove method reference in SentryEnvelopeItem (#1091)
  • Set current thread only if there are no exceptions
  • SentryOptions creates GsonSerializer by default
  • Append DebugImage list if event already has it
  • Sort breadcrumbs by Date if there are breadcrumbs already in the event

4.0.0-alpha.1

Features

  • Load sentry.properties from the application's current working directory (#1046)
  • Performance monitoring (#971)
  • Performance monitoring for Spring Boot applications (#971)

Fixes

  • Ref: Refactor JSON deserialization (#1047)

3.2.1

Fixes

  • Set current thread only if theres no exceptions (#1064)
  • Append DebugImage list if event already has it (#1092)
  • Sort breadcrumbs by Date if there are breadcrumbs already in the event (#1094)
  • Free Local Refs manually due to Android local ref. count limits (#1179)

3.2.0

Features

  • Expose a Module (Debug images) Loader for Android thru sentry-native (#1043)
  • Added java doc to protocol classes based on sentry-data-schemes project (#1045)
  • Make SentryExceptionResolver Order configurable to not send handled web exceptions (#1008)
  • Resolve HTTP Proxy parameters from the external configuration (#1028)
  • Sentry NDK integration is compiled against default NDK version based on AGP's version (#1048)

Fixes

  • Bump: AGP 4.1.1 (#1040)
  • Update to sentry-native 0.4.4 and fix shared library builds (#1039)
  • use neutral Locale for String operations (#1033)
  • Clean up JNI code and properly free strings (#1050)
  • set userId for hard-crashes if no user is set (#1049)

3.1.3

Fixes

  • Fix broken NDK integration on 3.1.2 (release failed on packaging a .so file)
  • Increase max cached events to 30 (#1029)
  • Normalize DSN URI (#1030)

3.1.2

Features

  • Manually capturing User Feedback
  • Set environment to "production" by default.
  • Make public the Breadcrumb constructor that accepts a Date (#1012)

Fixes

  • ref: Validate event id on user feedback submission

3.1.1

Features

  • Bind logging related SentryProperties to Slf4j Level instead of Logback to improve Log4j2 compatibility

Fixes

  • Prevent Logback and Log4j2 integrations from re-initializing Sentry when Sentry is already initialized
  • Make sure HttpServletRequestSentryUserProvider runs by default before custom SentryUserProvider beans
  • Fix setting up Sentry in Spring Webflux annotation by changing the scope of Spring WebMvc related dependencies

3.1.0

Features

  • Make getThrowable public and improve set contexts (#967)

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

@tustanivsky tustanivsky merged commit a11d155 into main Oct 11, 2022
@tustanivsky tustanivsky deleted the deps/modules/sentry-java/6.5.0 branch October 11, 2022 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants