Releases: getsentry/sentry-cocoa
Releases · getsentry/sentry-cocoa
8.7.3
Fixes
- Convert one of the two remaining usages of
sprintf
to snprintf
(#2866)
- Fix use-after-free ASAN warning (#3042)
- Fix memory leaks in the profiler (#3055, #3061)
8.7.2
Fixed
- Fix crashes in profiling serialization race condition (#3018, #3035)
- Fix a crash for user interaction transactions (#3036)
8.7.1
Fixes
- Add
sent_at
to envelope header (#2859)
- Fix import of
User
& Breadcrumb
(#3017)
8.7.0
Features
- Allow starting the SDK with an initial scope (#2982)
- Swift Error Names (#2960)
enum LoginError: Error {
case wrongUser(id: String)
case wrongPassword
}
SentrySDK.capture(error: LoginError.wrongUser("12345678"))
For the Swift error above Sentry displays:
sentry-cocoa SDK |
Title |
Description |
Since 8.7.0 |
LoginError |
wrongUser(id: "12345678") (Code: 1) |
Before 8.7.0 |
LoginError |
Code: 1 |
Customized error descriptions have precedence over this feature.
This change has no impact on grouping of the issues in Sentry.
Fixes
- Propagate span when copying scope (#2952)
- Remove "/" from crash report file name (#3005)
8.6.0
Features
- Send trace origin (#2957)
Trace origin indicates what created a trace or a span. Not all transactions and spans contain enough information to tell whether the user or what precisely in the SDK created it. Origin solves this problem. The SDK now sends origin for transactions and spans.
- Create User and Breadcrumb from map (#2820)
Fixes
- Improved performance serializing profiling data (#2863)
- Possible crash in Core Data tracking (#2865)
- Ensure the current GPU frame rate is always reported for concurrent transaction profiling metrics (#2929)
- Move profiler metric collection to a background queue (#2956)
8.5.0
Features
- feat: Core data operation in the main thread (#2879)
Fixes
- Crash when serializing invalid objects (#2858)
- Don't send screenshots with either width or height of 0 (#2876)
- GPU frame alignment with stack traces in profiles (#2856)
8.4.0
Features
- Time to initial and full display (#2724)
- Add time-to-initial-display and time-to-full-display measurements to ViewController transactions (#2843)
- Add
name
and geo
to User (#2710)
Fixes
- Correctly track and send GPU frame render data in profiles (#2823)
- Xcode 14.3 compiling issue regarding functions declaration with no prototype (#2852)
8.3.3
Fixes
- View hierarchy not sent for crashes (#2781)
- Crash in Tracer for idle timeout (#2834)
8.3.2
Fixes
- Updating AppHang state on main thread (#2793)
- App Hang report crashes with too many threads (#2811)
Improvements
- Remove not needed locks in SentryUser (#2809)
8.3.1
Fixes
- Stop using UIScreen.main (#2762)
- Profile timestamp alignment with transactions (#2771) and app start spans (#2772)
- Fix crash when compiling profiling data during transaction serialization (#2786)