Skip to content

Releases: getsentry/sentry-java

6.0.0-alpha.1

23 Nov 09:54
595bb62
Compare
Choose a tag to compare
6.0.0-alpha.1 Pre-release
Pre-release
  • Feat: Use float instead of Date for protocol types for higher precision (#1737)
  • 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)

Breaking changes:

  • 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
  • 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
  • Bump: Kotlin to 1.5 and compatibility to 1.4 for sentry-android-timber (#1815)

5.4.1

18 Nov 13:12
b1178f0
Compare
Choose a tag to compare
  • Feat: Refactor OkHttp and Apollo to Kotlin functional interfaces (#1797)
  • Feat: Add secondary constructor to SentryInstrumentation (#1804)
  • Fix: Do not start fragment span if not added to the Activity (#1813)

5.4.0

11 Nov 14:54
caf3446
Compare
Choose a tag to compare
  • Feat: Add graphql-java instrumentation (#1777)
  • Fix: Do not crash when event processors throw a lower level Throwable class (#1800)
  • Fix: ActivityFramesTracker does not throw if Activity has no observers (#1799)

5.3.0

29 Oct 09:31
e35125e
Compare
Choose a tag to compare
  • Feat: Add datasource tracing with P6Spy (#1784)
  • Fix: ActivityFramesTracker does not throw if Activity has not been added (#1782)
  • Fix: PerformanceAndroidEventProcessor uses up to date isTracingEnabled set on Configuration callback (#1786)

5.2.4

18 Oct 12:08
68c44ce
Compare
Choose a tag to compare
  • Fix: Window.FEATURE_NO_TITLE does not work when using activity traces (#1769)
  • Fix: unregister UncaughtExceptionHandler on close (#1770)

5.2.3

15 Oct 11:21
967b860
Compare
Choose a tag to compare
  • Fix: Make ActivityFramesTracker operations thread-safe (#1762)
  • Fix: Clone Scope Contexts (#1763)
  • Bump: AGP to 7.0.3 (#1765)

5.2.2

11 Oct 14:40
5dd687d
Compare
Choose a tag to compare
  • Fix: Close HostnameCache#executorService on SentryClient#close (#1757)

5.2.1

04 Oct 13:30
daf069c
Compare
Choose a tag to compare
  • Feat: Add isCrashedLastRun support (#1739)
  • Fix: Handle exception if Context.registerReceiver throws (#1747)
  • Feat: Attach Java vendor and version to events and transactions (#1703)

5.2.0

21 Sep 13:10
1e831f8
Compare
Choose a tag to compare
  • Feat: Allow setting proguard via Options and/or external resources (#1728)
  • Feat: Add breadcrumbs for the Apollo integration (#1726)
  • Fix: Don't set lastEventId for transactions (#1727)
  • Fix: ActivityLifecycleIntegration#appStartSpan memory leak (#1732)

5.2.0-beta.3

15 Sep 15:21
5156f6d
Compare
Choose a tag to compare
5.2.0-beta.3 Pre-release
Pre-release
  • Fix: Check at runtime if AndroidX.Core is available (#1718)
  • Feat: Add "data" to spans (#1717)
  • Fix: Should not capture unfinished transaction (#1719)