Releases: getsentry/sentry-cocoa
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)
8.54.1-alpha.1
- No documented changes.
8.54.1-alpha.0
Important
Xcode 26 is not allowing individual frameworks to contain arm64e slices anymore if the main binary doesn't contain it.
We have decided to split the Dynamic variant of Sentry into two variants:
Sentry-Dynamic
: Without arm64eSentry-Dynamic-WithARM64e
: With ARM64e slice
If your app does not need arm64e, you don't need to do any changes.
But if your app needs arm64e please use Sentry-Dynamic-WithARM64e
from 8.55.0 so you don't have issues uploading to the AppStore.
Features
- Add a new prebuilt framework with arm64e and remove it from the regular one (#5788)
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)
Internal
- Add nullability property for
screenName
(#5782)
8.54.0
Warning
This version can cause compilation errors when used in projects with app extensions. This is fixed in v8.55.0.
As a workaround you can also stay on v8.53.2 or v8.53.1.
Features
- Add experimental support for capturing structured logs via
SentrySDK.logger
(#5532, #5593, #5639, #5628, #5637, #5643) - Add
isiOSAppOnMac
andisMacCatalystApp
from ProcessInfo to the runtime context (#5570) - The SDK will show a warning in the console if it detects it was loaded twice (#5298)
Fixes
- Add null-handling for internal array sanitization (#5722)
- Fix video replay crashes due to video writer inputs not marked as finished on cancellation (#5608)
- Fix wrong flush timeout (#5565). When flush timed out before the SDK finished sending data, it always blocked the full flush timeout the next time being called. This is fixed now.
- Launch profiling now respects original configured options if they change on the next launch (#5417)
- User feedback no longer subject to sample rates or
beforeSend
(#5692) - Build error in app extensions (#5682)
- Fix frame metrics including time while in background (#5681)