This release has FFI usage on iOS/macOS. In some setups, iOS may stop sending events in production builds due to symbol stripping. To fix this, set Stripping Style to Non-Global in your Xcode build settings. If you come across this issue please report it as an issue in the GitHub repository.
Features
- Mark file sync spans run in the main isolate with
blocked_main_thread(#3270) - This allows Sentry to create issues automatically out of file spans running a certain time on the main thread: https://docs.sentry.io/product/issues/issue-details/performance-issues/file-main-thread-io/
Enhancements
- Refactor
setExtraandremoveExtrato use FFI/JNI (#3314) - Refactor
setTagandremoveTagto use FFI/JNI (#3313) - Refactor
setContextsandremoveContextsto use FFI/JNI (#3312) - Refactor
setUserto use FFI/JNI (#3295) - Refactor native breadcrumbs sync to use FFI/JNI (#3293)
- Refactor app hang and crash apis to use FFI/JNI (#3289)
- Refactor
AndroidReplayRecorderto use the new worker isolate api (#3296) - Refactor fetching app start and display refresh rate to use FFI and JNI (#3288)
- Offload
captureEnvelopeto background isolate for Cocoa and Android (#3232) - Add
sentry.replay_idto flutter logs (#3257)
Fixes
- Fix unsafe json access in
sentry_device(#3309)