6.0.0-alpha.1
Pre-release
Pre-release
·
2466 commits
to main
since this 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:
SentryOptionscan merge properties fromExternalOptionsinstead of another instance ofSentryOptions- Following boolean properties from
SentryOptionsthat allowednullvalues are now not nullable -debug,enableUncaughtExceptionHandler,enableDeduplication SentryOptionscannot be created anymore usingPropertiesProviderwithSentryOptions#frommethod. UseExternalOptions#frominstead and merge created object withSentryOptions#merge- Feat: Vendor JSON (#1554)
- Introduce
JsonSerializableandJsonDeserializerinterfaces for manual json
serialization/deserialization. - Introduce
JsonUnknwoninterface to preserve unknown properties when deserializing/serializing
SDK classes. - When passing custom objects, for example in
Contexts, these are supported for serialization:JsonSerializableMap,Collection,Array,Stringand all primitive types.- Objects with the help of refection.
Map,Collection,Array,Stringand 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
gsondependency. - Remove
IUnknownPropertiesConsumer
- Introduce
- Bump: Kotlin to 1.5 and compatibility to 1.4 for sentry-android-timber (#1815)