Features
- Add
enableStandaloneAppStartTracingoption to send app start as a standalone transaction instead of attaching it as a child span of the first activity transaction (#5342)- Disabled by default; opt in via
options.isEnableStandaloneAppStartTracing = trueor manifest meta-dataio.sentry.standalone-app-start-tracing.enable - Emits a transaction named
App Startwith opapp.start, carrying the existing app start measurements and phase spans (process.load,contentprovider.load,application.load, activity lifecycle spans) as direct children of the root - The standalone transaction shares the same
traceIdas the firstui.loadactivity transaction so they remain linked in the trace view - Also covers non-activity starts (broadcast receivers, services, content providers)
- Disabled by default; opt in via
Improvements
- Reduce boxing to improve performance (#5523, #5527, #5551)
- Replace
Datewith a unix timestamp inSentryNanotimeDateto improve performance (#5550)SentryNanotimeDateis now marked@ApiStatus.Internal. A new(long unixDateMillis, long nanos)constructor was added, whereunixDateMillisis milliseconds since the epoch. The existing(Date, long)constructor is retained but deprecated.