Releases: getsentry/sentry-java
Releases · getsentry/sentry-java
6.0.0-alpha.1
- 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 fromExternalOptions
instead of another instance ofSentryOptions
- Following boolean properties from
SentryOptions
that allowednull
values are now not nullable -debug
,enableUncaughtExceptionHandler
,enableDeduplication
SentryOptions
cannot be created anymore usingPropertiesProvider
withSentryOptions#from
method. UseExternalOptions#from
instead and merge created object withSentryOptions#merge
- Feat: Vendor JSON (#1554)
- Introduce
JsonSerializable
andJsonDeserializer
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
- Introduce
- Bump: Kotlin to 1.5 and compatibility to 1.4 for sentry-android-timber (#1815)