github getsentry/sentry-cocoa 8.7.0

latest releases: 9.0.0-alpha.0, 8.57.2, 8.57.1...
2 years ago

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)

Don't miss a new sentry-cocoa release

NewReleases is sending notifications on new releases.