Releases: getsentry/sentry-java
Releases · getsentry/sentry-java
5.5.2
5.5.1
5.5.0
- Bump: log4j to 2.15.0 (#1839)
- Ref: Rename Fragment span operation from
ui.fragment.loadtoui.load(#1824) - Feat: Add locale to device context and deprecate language (#1832)
- Ref: change
java.util.Randomtojava.security.SecureRandomfor possible security reasons (#1831) - Feat: Add
SentryFileInputStreamandSentryFileOutputStreamfor File I/O performance instrumentation (#1826)
- Feat: Add
SentryFileReaderandSentryFileWriterfor File I/O instrumentation (#1843)
5.4.3
5.4.2
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:
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)