github getsentry/sentry-java 6.0.0-alpha.1

latest releases: 7.9.0, 7.9.0-alpha.1, 7.8.0-alpha.0...
pre-release2 years ago
  • 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)

Don't miss a new sentry-java release

NewReleases is sending notifications on new releases.