Skip to content

Releases: getsentry/sentry-java

5.5.2

21 Dec 06:57
63f3a46

Choose a tag to compare

  • Fix: 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

17 Dec 06:27
b2a5067

Choose a tag to compare

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

5.5.0

14 Dec 08:56
911c03b

Choose a tag to compare

  • Bump: log4j to 2.15.0 (#1839)
  • Ref: Rename Fragment span operation from ui.fragment.load to ui.load (#1824)
  • Feat: Add locale to device context and deprecate language (#1832)
  • Ref: change java.util.Random to java.security.SecureRandom for possible security reasons (#1831)
  • Feat: Add SentryFileInputStream and SentryFileOutputStream for File I/O performance instrumentation (#1826)
  • Feat: Add SentryFileReader and SentryFileWriter for File I/O instrumentation (#1843)

5.4.3

30 Nov 10:32
3d79721

Choose a tag to compare

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

5.4.2

25 Nov 12:40
3f5d779

Choose a tag to compare

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

6.0.0-alpha.1

23 Nov 09:54
595bb62

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

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

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

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

Choose a tag to compare

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