Releases: getsentry/sentry-cocoa
8.56.2
8.56.1
8.56.0
Warning
This version can cause runtime crashes because the UIApplication.sharedApplication
/NSApplication.sharedApplication
is not yet available during SDK initialization, due to the changes in PR #5900, released in 8.56.0.
Features
- Structured Logs: Flush logs on SDK flush/close (#5834)
- Add masking options for screenshots (#5401)
- Add significant time change breadcrumb (#6112)
- Add support for iOS 26, macOS 26, visionOS 26, watchOS 26, and tvOS 26 in device tests (#6063)
Improvements
- Lazily CharacterSet only once in SentryBaggageSerialization (#5871)
- Structured Logging: Log
SentrySDK.logger
calls toSentrySDKLog
(#5991) - The build type in the app context now differentiates between
enterprise
andadhoc
(#6044) - visionOS no longer needs swift's interoperability mode (#6077)
- Ensure IP address is only inferred by Relay if sendDefaultPii is true (#5877)
- Sentry without UIKit / AppKit is available to install with SPM (#6160)
Fixes
- Don't capture replays for events dropped in
beforeSend
(#5916) - Fix linking with SentrySwiftUI on Xcode 26 for visionOS (#5823)
- Structured Logging: Logger called before
SentrySDK.start
becomes unusable (#5984) - Add masking for AVPlayerView (#5910)
- Fix missing view hierachy when enabling
attachScreenshot
too (#5989) - Fix macOS's frameworks not following the versioned framework structure (#6049)
- Add warning to addBreadcrumb when used before SDK init (#6083)
- Add null-handling for parsed DSN in SentryHTTPTransport (#5800)
- Fix crash in Session Replay when opening the camera UI on iOS 26+ by skipping redaction of internal views.
This may result in more of the camera screen being redacted. (#6045) - Fix crash in SentryDependencyContainer init when using the SDK as a static framework (#6125)
- Fixes a React Native legacy build failure by adding the missing self references for explicit capture semantics (#6156)
8.56.0-alpha.3
Features
- Structured Logs: Flush logs on SDK flush/close (#5834)
- Add masking options for screenshots (#5401)
- Add significant time change breadcrumb (#6112)
- Add support for iOS 26, macOS 26, visionOS 26, watchOS 26, and tvOS 26 in device tests (#6063)
Fixes
- Don't capture replays for events dropped in
beforeSend
(#5916) - Fix linking with SentrySwiftUI on Xcode 26 for visionOS (#5823)
- Structured Logging: Logger called before
SentrySDK.start
becomes unusable (#5984) - Add masking for AVPlayerView (#5910)
- Fix missing view hierachy when enabling
attachScreenshot
too (#5989) - Fix macOS's frameworks not following the versioned framework structure (#6049)
- Add warning to addBreadcrumb when used before SDK init (#6083)
- Add null-handling for parsed DSN in SentryHTTPTransport (#5800)
- Fix crash in Session Replay when opening the camera UI on iOS 26+ by skipping redaction of internal views.
This may result in more of the camera screen being redacted. (#6045) - Fix crash in SentryDependencyContainer init when using the SDK as a static framework (#6125)
- Fixes a React Native legacy build failure by adding the missing self references for explicit capture semantics (#6156)
Improvements
- Lazily CharacterSet only once in SentryBaggageSerialization (#5871)
- Structured Logging: Log
SentrySDK.logger
calls toSentrySDKLog
(#5991) - The build type in the app context now differentiates between
enterprise
andadhoc
(#6044) - visionOS no longer needs swift's interoperability mode (#6077)
- Ensure IP address is only inferred by Relay if sendDefaultPii is true (#5877)
8.56.0-alpha.2
Features
- Structured Logs: Flush logs on SDK flush/close (#5834)
- Add masking options for screenshots (#5401)
- Add significant time change breadcrumb (#6112)
- Add support for iOS 26, macOS 26, visionOS 26, watchOS 26, and tvOS 26 in device tests (#6063)
Fixes
- Don't capture replays for events dropped in
beforeSend
(#5916) - Fix linking with SentrySwiftUI on Xcode 26 for visionOS (#5823)
- Structured Logging: Logger called before
SentrySDK.start
becomes unusable (#5984) - Add masking for AVPlayerView (#5910)
- Fix missing view hierachy when enabling
attachScreenshot
too (#5989) - Fix macOS's frameworks not following the versioned framework structure (#6049)
- Add warning to addBreadcrumb when used before SDK init (#6083)
- Add null-handling for parsed DSN in SentryHTTPTransport (#5800)
- Fix crash in Session Replay when opening the camera UI on iOS 26+ by skipping redaction of internal views.
This may result in more of the camera screen being redacted. (#6045) - Fix crash in SentryDependencyContainer init when using the SDK as a static framework (#6125)
Improvements
- Lazily CharacterSet only once in SentryBaggageSerialization (#5871)
- Structured Logging: Log
SentrySDK.logger
calls toSentrySDKLog
(#5991) - The build type in the app context now differentiates between
enterprise
andadhoc
(#6044) - visionOS no longer needs swift's interoperability mode (#6077)
- Ensure IP address is only inferred by Relay if sendDefaultPii is true (#5877)
8.56.0-alpha.1
Features
Fixes
- Don't capture replays for events dropped in
beforeSend
(#5916) - Fix linking with SentrySwiftUI on Xcode 26 for visionOS (#5823)
- Structured Logging: Logger called before
SentrySDK.start
becomes unusable (#5984) - Add masking for AVPlayerView (#5910)
- Fix missing view hierachy when enabling
attachScreenshot
too (#5989) - Fix macOS's frameworks not following the versioned framework structure (#6049)
- Add warning to addBreadcrumb when used before SDK init (#6083)
- Add null-handling for parsed DSN in SentryHTTPTransport (#5800)
Improvements
- Lazily CharacterSet only once in SentryBaggageSerialization (#5871)
- Structured Logging: Log
SentrySDK.logger
calls toSentrySDKLog
(#5991) - The build type in the app context now differentiates between
enterprise
andadhoc
(#6044) - visionOS no longer needs swift's interoperability mode (#6077)
- Ensure IP address is only inferred by Relay if sendDefaultPii is true (#5877)
8.56.0-alpha.0
Features
Fixes
- Don't capture replays for events dropped in
beforeSend
(#5916) - Fix linking with SentrySwiftUI on Xcode 26 for visionOS (#5823)
- Structured Logging: Logger called before
SentrySDK.start
becomes unusable (#5984) - Add masking for AVPlayerView (#5910)
- Fix missing view hierachy when enabling
attachScreenshot
too (#5989) - Fix macOS's frameworks not following the versioned framework structure (#6049)
- Add warning to addBreadcrumb when used before SDK init (#6083)
- Add null-handling for parsed DSN in SentryHTTPTransport (#5800)
Improvements
- Lazily CharacterSet only once in SentryBaggageSerialization (#5871)
- Structured Logging: Log
SentrySDK.logger
calls toSentrySDKLog
(#5991) - The build type in the app context now differentiates between
enterprise
andadhoc
(#6044) - visionOS no longer needs swift's interoperability mode (#6077)
- Ensure IP address is only inferred by Relay if sendDefaultPii is true (#5877)
8.55.1
8.55.0
Important
Xcode 26 no longer allows individual frameworks to contain arm64e slices anymore if the main binary doesn't contain them.
We have decided to split the Dynamic variant and Sentry-WithoutUIKitOrAppKit of Sentry into two variants:
Sentry-Dynamic
: Without ARM64eSentry-Dynamic-WithARM64e
: With ARM64e sliceSentry-WithoutUIKitOrAppKit
: Without ARM64eSentry-WithoutUIKitOrAppKit-WithARM64e
: With ARM64e slice
If your app does not need arm64e, you don't need to make any changes.
But if your app needs arm64e please use Sentry-Dynamic-WithARM64e
or Sentry-WithoutUIKitOrAppKit-WithARM64e
from 8.55.0 so you don't have issues uploading to the App Store.
Features
- Add a new prebuilt framework with arm64e and remove it from the regular one (#5788)
- Add
beforeSendLog
callback toSentryOptions
(#5678) - Structured Logs: Flush logs on SDK flush/close (#5834)
- Add a new prebuilt framework with ARM64e for WithoutUIKitOrAppKit (#5897)
- Add source context and vars fields to SentryFrame (#5853)
Fixes
- Add support for PDFKit views in session replay (#5750)
- Fix Infinite Session Replay Processing Loop (#5765)
- Fix memory leak in SessionReplayIntegration (#5770)
- Fix reporting of energy used while profiling (#5768)
- Fixed a build error in
SentryFeedback.swift
when building with cocoapods on Xcode 14.2 (#5917) - Fix linking against Sentry on an app extension (#5813)
8.54.1-alpha.2
Important
Xcode 26 no longer allows individual frameworks to contain arm64e slices anymore if the main binary doesn't contain them.
We have decided to split the Dynamic variant and Sentry-WithoutUIKitOrAppKit of Sentry into two variants:
Sentry-Dynamic
: Without ARM64eSentry-Dynamic-WithARM64e
: With ARM64e sliceSentry-WithoutUIKitOrAppKit
: Without ARM64eSentry-WithoutUIKitOrAppKit-WithARM64e
: With ARM64e slice
If your app does not need arm64e, you don't need to make any changes.
But if your app needs arm64e please use Sentry-Dynamic-WithARM64e
or Sentry-WithoutUIKitOrAppKit-WithARM64e
from 8.55.0 so you don't have issues uploading to the App Store.
Features
- Structured Logs: Flush logs on SDK flush/close (#5834)
- Add a new prebuilt framework with ARM64e for WithoutUIKitOrAppKit (#5897)
- Add source context and vars fields to SentryFrame (#5853)
Fixes
- Fixed a build error in
SentryFeedback.swift
when building with cocoapods on Xcode 14.2 (#5917)