- The native layer on iOS no longer self-initializes before the Unity game starts. Instead, it accepts the options at the end of the configure call. To restore the old behavior, users can opt-in to initializing native first via
IosInitializeNativeFirst
. Note that using this option comes with the limitation of baking the options into the generated Xcode project at build-time. (#1915)
- Bump CLI from v2.39.0 to v2.39.1 (#1922)
- Bump Java SDK from v7.18.0 to v7.18.1 (#1926)
- Bump Native SDK from v0.7.15 to v0.7.16 (#1928)
- The Runtime- and BuildTime-Configuration have been merged into a single
OptionsConfiguration
script. This allows for programmatic configuration of the SDK in one place using precompile directives. Note, that the current limitation of options for Android and iOS being baked into the project at build time still remains. (#1888) This is part of a larger effort to simplify the configuration of the native SDKs and enable users to modify their options at runtime. For more information see #1907
- The SDK now provides a dedicated sentry-cli scriptable config, available on the
Debug Symbols
tab. This allows for programmatic configuration of the used cli-options during build. (#1887)
- Fix potential NullReferenceException when trying to attach a view hierarchy to an event (#1919)
- The SDK no longer sends events when it fails to initialize the native SDK on Windows and Linux and logs those instead. It also suppresses
EntryPointNotFoundException
if sentry-native is not available at runtime. Native crashes won't get capture but it'll continue to capture C# errors. (#1898) - The SDK no longer closes the underlying native SDK during the games shutdown if native support has not been enabled. This allows the SDK to support and capture errors in case of building the game as a library on a mobile (Android or iOS) game. (#1897)
- Bump .NET SDK from v4.12.1 to v4.13.0 (#1879, #1885)
- Bump CLI from v2.38.1 to v2.39.0 (#1883, #1917)
- Bump Native SDK from v0.7.11 to v0.7.15 (#1886, #1906, #1910, #1913)
- Bump Cocoa SDK from v8.39.0 to v8.41.0 (#1890, #1893, #1916)
- Bump Java SDK from v7.16.0 to v7.18.0 (#1899, #1905)
- Fixed an issue where the SDK would write the
SampleRate
as anint
instead of afloat
to the Android Manifest, causing issues during the Android SDK's initialization (#1872) - The SDK no longer calls into
Application.persistentDataPath
on unknown platforms. This prevents crashes during startup on platforms with restricted disk access like the Nintendo Switch (#1870) sentry-native
DLL is now statically linked against Windows CRT. This allows the SDK to provide native support on some Windows systems that do not have CRT installed locally (#1875)
- The SDK now also supports capturing native crashes via the WER handler on Windows (#1873)
- Bump Java SDK from v7.15.0 to v7.16.0 (#1862)
- Bump Native SDK from v0.7.10 to v0.7.11 (#1867)
- Bump Cocoa SDK from v8.38.0 to v8.39.0 (#1868)
- Bump CLI from v2.37.0 to v2.38.1 (#1860, #1874)
- The SDK no longer fails to report contexts like
device
andgpu
(#1850)
- The
SentrySdk.Metrics
module is deprecated and will be removed in the next major release. Sentry will reject all metrics sent after October 7, 2024. Learn more: https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Upcoming-API-Changes-to-Metrics (#3619)
- The SDK now uses the .NET SDK's
Options.FileWriteDisabled
to opt-out on any writing operations on 'unknown' platforms such as the Nintendo Switch (1814) - The SDK no longer freezes the game during shutdown when targeting WebGL (#3619)
- The SDK no longer passes a mangled
gpu.vendorId
to the Android native layer (#1813) - Access to the
StackTraceMode
was intended to be restricted due to incompatibility between IL2CPP andStackTraceMode.Enhanced
. The access modifier has been changed toprivate
to avoid pitfall and potential crashes (#1806)
- Contexts, such as
device
andgpu
that the SDK retrieves during the game's startup is now available even earlier and irrespective whether an error was captured on the main or on a background thread (#1802) - Added an
ApplicationNotRespondingException
type that allows filtering of ANR events (#1800)
- Bump Native SDK from v0.7.9 to v0.7.10 (#1809)
- Bump .NET SDK from v4.10.2 to v4.12.0 (#1823)
- Bump CLI from v2.34.1 to v2.37.0 (#1788, #1792, #1796, #1810, #1815, #1819, #1820, #1822, #1829)
- The update of the Cocoa dependency resolves various crashes on Apple platforms
- Bump CLI from v2.33.1 to v2.34.1 (#1781)
- Bump Cocoa SDK from v8.34.0 to v8.36.0 (#1770, #1776, #1778)
- Bump Native SDK from v0.7.8 to v0.7.9 (#1780)
- The SDK no longer deadlocks during the game shutting down when targeting WebGL (#1771)
- The SDK no longer fails to report errors after switching scenes when targeting WebGL (#1754)
- Bump Java SDK from v7.12.0 to v7.14.0 (#1751, #1762)
- Bump Cocoa SDK from v8.32.0 to v8.34.0 (#1760, #1766)
- Bump Native SDK from v0.7.7 to v0.7.8 (#1756)
- Bump CLI from v2.33.0 to v2.33.1 (#1753)
- Bump .NET SDK from v4.9.0 to v4.10.2 (#1765, #1768, #1771)
- The SDK no longer throws
System.DllNotFoundException
during initialization when running a headless Linux server build (#1748) - The SDK now correctly uses forward slashes when modifying the gradle project when setting up debug symbol and mapping upload (#1747)
- The SDK no longer causes games to crash out of the box on platforms that have disk access restrictions (i.e. Nintendo Switch) (#1728)
- The SDK no longer causes crashes on Unity 6 in an attempt to provide line numbers (#1735)
- Bump Cocoa SDK from v8.30.1 to v8.31.1 (#1726)
- Bump Java SDK from v7.11.0 to v7.12.0 (#1725)
- Bump CLI from v2.32.2 to v2.33.0 (#1733)
- Bump CLI from v2.32.1 to v2.32.2 (#1724)
- Added a fallback for user.id on Android and iOS in case none could be extracted from the native layer (#1710)
- The IL2CPP exception processor no longer fails when the native support has been disabled (#1708)
- The SDK now checks whether the Android SDK is available before attempting to initialize it. This prevents
AndroidJavaException: java.lang.ClassNotFoundException: io.sentry.Sentry
from being thrown (#1714)
- Bump Cocoa SDK from v8.29.1 to v8.30.1 (#1702, #1720)
- Bump .NET SDK from v4.7.0 to v4.9.0 (#1704, #1711, #1723)
- Bump Java SDK from v7.10.0 to v7.11.0 (#1709)
- The SDK no longer throws an exception when failing to initialize the native SDK (#1693)
- On iOS, UnityWebRequests no longer break due to the native SDK appending the request URL a second time (#1699)
- The SDKs loglevel now also applies to sentry-cli logging (#1693)
- When targeting Android, sentry-cli will now log to the editor console (#1693)
- Fixed an issue with the SDK failing to automatically uploading debug symbols when exporting an
.aab
when targeting Android (#1698)
- Added an
IgnoreCliErrors
to the Sentry-CLI options, allowing you to ignore errors during symbol and mapping upload (#1687)
- When exporting Android projects, the SDK will now correctly add the symbol upload at the end of bundling (#1692)
- Bump Cocoa SDK from v8.27.0 to v8.29.1 (#1685, #1690, #1694)
- Bump Java SDK from v7.9.0 to v7.10.0 (#1686)
- Bump Native SDK from v0.7.5 to v0.7.6 (#1688)
- The SDK no longer causes deadlocks during synchronization with the native layer on Android (#1679)
- When targeting Android, builds no longer fail due to errors during symbol upload. These get logged to the console instead (#1672)
- Bump .NET SDK from v4.6.2 to v4.7.0 (#1665)
- Bump Native SDK from v0.7.4 to v0.7.5 (#1668)
- Bump CLI from v2.31.2 to v2.32.1 (#1669)
- Bump Cocoa SDK from v8.25.0-6-g8aec30eb to v8.27.0 (#1680)
- For Android, we updated the debug symbol upload task on Gradle, to be guaranteed to run last (#1657)
- The SDK now has improved stacktraces for C++ exceptions on iOS (#1655)
- The SDK no longer crashes on Android versions 5 and 6 with native support enabled (#1652)
- Bump Cocoa SDK from v8.25.2 to v8.26.0 (#1648)
- Bump .NET SDK from v4.6.0 to v4.6.2 (#1653)
- Bump Native SDK from v0.7.2 to v0.7.4 (#1660)
- The automatic debug symbol upload for Android builds now also picks up the ProGuard mapping file. (#1626)
- Bump .NET SDK from v4.4.0 to v4.6.0 (#1635, #1645)
- Bump CLI from v2.31.0 to v2.31.2 (#1639)
- Bump Cocoa SDK from v8.24.0 to v8.25.2 (#1642)
- Bump Java SDK from v7.8.0 to v7.9.0 (#1643)
- Tweaked the SDK reinstalling the backend to capture native crashes on Windows. C++ exceptions are now getting properly captured again (#1622)
- Added options to control the order of the SDK's PostGeneratedGradle callback (#1624)
- The SDK now has a more robust way of dealing with custom gradle templates (#1624)
- Bump Java SDK from v7.6.0 to v7.7.0 (#1610)
- Bump Cocoa SDK from v8.21.0 to v8.24.0 (#1616)
- Bump Java SDK from v7.6.0 to v7.8.0 (#1610, #1613)
- Bump .NET SDK from v4.2.1 to v4.4.0 (#1618)
- The SDK no longer fails to capture native crashes on Windows. It now properly reinstalls the capturing backend during the initialization (#1603)
- When building for iOS, the SDK no longer adds its dependencies multiple times (#1558) (#1595)
- Bump CLI from v2.30.1 to v2.31.0 (#1589, #1600)
- Bump Native SDK from v0.7.0 to v0.7.2 (#1596, #1605)
- The SDK no longer throws
InvalidOperationExceptions
on platforms that rely on theUnityWebRequestTransport
(i.e. Switch, Hololens) (#1587)
- Bump Cocoa SDK from v8.20.0 to v8.21.0 (#1575)
- Bump CLI from v2.28.6 to v2.30.1 (#1574, #1578, #1585)
- Bump Java SDK from v7.5.0 to v7.6.0 (#1581)
- Bump .NET SDK from v4.1.2 to v4.2.1 (#1586)
- Fixed potential crashes on Android devices by removing the use of the persistent scope observer (#1555)
This major release is based on the .NET 4.0 release and includes features like Metrics(preview) and Spotlight.
- Transactions' spans are no longer automatically finished with the status
deadline_exceeded
by the transaction. This is now handled by the Relay.- Customers self hosting Sentry must use verion 22.12.0 or later (#3013)
- The
User.IpAddress
is now set to{{auto}}
by default, even when sendDefaultPII is disabled (#2981)- The "Prevent Storing of IP Addresses" option in the "Security & Privacy" project settings on sentry.io can be used to control this instead
- The
DiagnosticLogger
signature forLogWarning
changed to take theexception
as the first parameter. That way it no longer gets mixed up with the TArgs. (#2987)
If you have compilation errors you can find the affected types or overloads missing in the changelog entries below.
- Class renamed from
Sentry.Attachment
toSentry.SentryAttachment
(#3116) - Class renamed from
Sentry.Constants
toSentry.SentryConstants
(#3125) - Class renamed from
Sentry.Context
toSentry.SentryContext
(#3121) - Class renamed from
Sentry.Hint
toSentry.SentryHint
(#3116) - Class renamed from
Sentry.Package
toSentry.SentryPackage
(#3121) - Class renamed from
Sentry.Request
toSentry.SentryRequest
(#3121) - Class renamed from
Sentry.Runtime
toSentry.SentryRuntime
(#3016) - Class renamed from
Sentry.Session
toSentry.SentrySession
(#3110) - Class renamed from
Sentry.Span
toSentry.SentrySpan
(#3021) - Class renamed from
Sentry.Transaction
toSentry.SentryTransaction
(#3023) - Class renamed from
Sentry.User
toSentry.SentryUser
(#3015) - Interface renamed from
Sentry.IJsonSerializable
toSentry.ISentryJsonSerializable
(#3116) - Interface renamed from
Sentry.ISession
toSentry.ISentrySession
(#3110) SentryClient.Dispose
is no longer obsolete (#2842)ISentryClient.CaptureEvent
overloads have been replaced by a single method accepting optionalHint
andScope
parameters. You will need to passhint
as a named parameter from code that callsCaptureEvent
without passing ascope
argument. (#2749)ITransaction
has been renamed toITransactionTracer
. You will need to update any references to these interfaces in your code to use the new interface names (#2731, #2870)TransactionContext
andSpanContext
constructors were updated. If you're constructing instances of these classes, you will need to adjust the order in which you pass parameters to these. (#2694, #2696)- The
DiagnosticLogger
signature forLogError
andLogFatal
changed to take theexception
as the first parameter. That way it no longer gets mixed up with the TArgs. TheDiagnosticLogger
now also receives an overload forLogError
andLogFatal
that accepts a message only. (#2715) Distribution
added toIEventLike
. (#2660)StackFrame
'sImageAddress
,InstructionAddress
, andFunctionId
changed tolong?
. (#2691)DebugImage
andDebugMeta
moved toSentry.Protocol
namespace. (#2815)DebugImage.ImageAddress
changed tolong?
. (#2725)- Contexts now inherit from
IDictionary
rather thanConcurrentDictionary
. The specific dictionary being used is an implementation detail. (#2729)
-
SentrySinkExtensions.ConfigureSentrySerilogOptions is now internal. If you were using this method, please use one of the
SentrySinkExtensions.Sentry
extension methods instead. (#2902) -
A number of
[Obsolete]
options have been removed (#2841)BeforeSend
- useSetBeforeSend
instead.BeforeSendTransaction
- useSetBeforeSendTransaction
instead.BeforeBreadcrumb
- useSetBeforeBreadcrumb
instead.CreateHttpClientHandler
- useCreateHttpMessageHandler
instead.DisableTaskUnobservedTaskExceptionCapture
method has been renamed toDisableUnobservedTaskExceptionCapture
.DebugDiagnosticLogger
- useTraceDiagnosticLogger
instead.KeepAggregateException
- this property is no longer used and has no replacement.ReportAssemblies
- useReportAssembliesMode
instead.
-
Obsolete
SystemClock
constructor removed, useSystemClock.Clock
instead. (#2856) -
Obsolete
Runtime.Clone()
removed, this shouldn't have been public in the past and has no replacement. (#2856) -
Obsolete
SentryException.Data
removed, useSentryException.Mechanism.Data
instead. (#2856) -
Obsolete
AssemblyExtensions
removed, this shouldn't have been public in the past and has no replacement. (#2856) -
Obsolete
SentryDatabaseLogging.UseBreadcrumbs()
removed, it is called automatically and has no replacement. (#2856) -
Obsolete
Scope.GetSpan()
removed, useSpan
property instead. (#2856) -
Obsolete
IUserFactory
removed, useISentryUserFactory
instead. (#2856, #2840) -
IHasMeasurements
has been removed, useISpanData
instead. (#2659) -
IHasBreadcrumbs
has been removed, useIEventLike
instead. (#2670) -
ISpanContext
has been removed, useITraceContext
instead. (#2668) -
IHasTransactionNameSource
has been removed, useITransactionContext
instead. (#2654) -
(#2694)
-
The unused
StackFrame.InstructionOffset
has been removed. (#2691) -
The unused
Scope.Platform
property has been removed. (#2695) -
The obsolete setter
Sentry.PlatformAbstractions.Runtime.Identifier
has been removed (2764) -
Sentry.Values<T>
is now internal as it is never exposed in the public API (#2771) -
The
TracePropagationTarget
class has been removed, use theSubstringOrRegexPattern
class instead. (#2763) -
The
WithScope
andWithScopeAsync
methods have been removed. We have discovered that these methods didn't work correctly in certain desktop contexts, especially when using a global scope. (#2717) Replace your usage ofWithScope
with overloads ofCapture*
methods:SentrySdk.CaptureEvent(SentryEvent @event, Action<Scope> scopeCallback)
SentrySdk.CaptureMessage(string message, Action<Scope> scopeCallback)
SentrySdk.CaptureException(Exception exception, Action<Scope> scopeCallback)
// Before SentrySdk.WithScope(scope => { scope.SetTag("key", "value"); SentrySdk.CaptureEvent(new SentryEvent()); }); // After SentrySdk.CaptureEvent(new SentryEvent(), scope => { // Configure your scope here scope.SetTag("key", "value"); });
- Experimental pre-release availability of Metrics. We're exploring the use of Metrics in Sentry. The API will very likely change and we don't yet have any documentation. (#2949)
- Support for Spotlight, a debug tool for local development. (#2961)
- Enable it with the option
EnableSpotlight
- Optionally configure the URL to connect via
SpotlightUrl
. Defaults tohttp://localhost:8969/stream
.
- Enable it with the option
- Bump .NET SDK from v3.41.3 to v4.0.0 #1505
- Bump CLI from v2.24.1 to v2.28.6 (#1534, #1539, #1540, #1542, #1547, #1560, #1562)
- Bump Native SDK from v0.6.7 to v0.7.0 (#1535)
- Bump Java SDK from v7.1.0 to v7.3.0 (#1538, #1548)
- Bump .NET SDK from v3.41.3 to v3.41.4 (#1544)
- Bump Cocoa SDK from v8.18.0 to v8.20.0 (#1545, #1549)
- The static
SentryMonoBehaviour
now has it'sUpdatePauseStatus
public, allowing users to manually update the SDK's internal pause status. This helps work around false positive ANR events when using plugins that take away control from the game i.e. ad frameworks like AppLovin or Ironsource (#1529) - It's now possible enable to
CaptureFailedRequests
and the statuscode ranges via the editor. These also apply to the native SDK oniOS
(#1514)
- The SDK no longer fails to resolve the debug symbol type on dedicated server builds (#1522)
- Fixed screenshots not being attached to iOS native crashes (#1517)
- Bump CLI from v2.21.2 to v2.24.1 (#1501, #1502, #1525, #1528, #1532)
- Bump Cocoa SDK from v8.16.1 to v8.17.1 [#1503](#1503, #1508, #1520, #1530)
- Bump .NET SDK from v3.41.2 to v3.41.3 #1505
- Bump Java SDK from v6.27.0 to v7.1.0 (#1506, #1523)
- Fix SIGSEV, SIGABRT and SIGBUS crashes happening after/around the August Google Play System update, see #2955 for more details (fix provided by Native SDK bump) (#1491)
- Fixed an issue with the SDK failing to properly detect application pause and focus lost events and creating false positive ANR events (specifically on Android) (#1484)
- Bump CLI from v2.21.2 to v2.21.5 (#1485, #1494, #1495)
- Bump Cocoa SDK from v8.15.0 to v8.16.1 (#1486, #1489, #1497, #1499)
- Bump .NET SDK from v3.40.1 to v3.41.2 (#1487, #1498, #1500)
- Bump Native SDK from v0.6.6 to v0.6.7 (#1493)
- Added the dedicated server platforms to the known platforms to prevent the SDK from interpreting them as restricted platforms (i.e. disabling offline caching, session tracking) (#1468)
- Bump CLI from v2.21.1 to v2.21.2 (#1454)
- Bump Native SDK from v0.6.5 to v0.6.6 (#1457)
- Bump Cocoa SDK from v8.13.0 to v8.15.0 (#1466, #1472, #1473, #1479)
- Bump .NET SDK from v3.39.1 to v3.40.1 (#1464)
- The SDK now surfaces options to opt out of the Android
NDK integration
andNDK Scope Sync
(#1452)
- Fixed IL2CPP line number processor to no longer crash in Unity 2023 builds (#1450)
- Fixed an issue with the Android dependency setup when using a custom
mainTemplate.gradle
(#1446)
- Bump Cocoa SDK from v8.10.0 to v8.13.0 (#1433, #1445, #1451)
- Bump .NET SDK from v3.36.0 to v3.39.1 (#1436, #1443)
- Bump CLI from v2.20.6 to v2.21.1 (#1437, #1447, #1449)
- The SDK no longer creates transactions with their start date set to Jan 01, 001 #1423
- The screenshot capture no longer leaks memory (#1427)
- Bump Cocoa SDK from v8.9.4 to v8.10.0 (#1422, #1424, #1425)
- Bump .NET SDK from v3.35.0 to v3.36.0 (#1423, #1426)
- Bump CLI from v2.20.5 to v2.20.6 (#1430)
- Resolved the internal dependency issue with the Android SDK that lead to build time issues like
runtime.jar is missing
andClassNotFoundException
during runtime (#1417) - The SDK now handles proguardfiles sections indicated by both
consumerProguardFiles
andproguardFiles
(#1401)
- Bump CLI from v2.19.1 to v2.20.5 (#1387, #1388, #1405, #1408, #1410, #1412, #1419)
- Bump Java SDK from v6.24.0 to v6.27.0 (#1390, #1396, #1400, #1403, #1407)
- Bump Native SDK from v0.6.4 to v0.6.5 (#1392)
- Bump Cocoa SDK from v8.8.0 to v8.9.4 (#1397, #1399, #1404, #1406, #1413)
- Bump .NET SDK from v3.33.1 to v3.35.0 (#1398, #1418)
- Fixed an Android build issue where Sentry options would be cached with the first build until Editor restart (#1379)
- Adding a remote repository filter to the gradle project (#1367)
- Setting Android SDK version explicit to prevent version conflicts with remote repositories (#1378)
- Set debug symbol upload logging to debug verbosity (#1373)
- The SDK no longer causes an exception during initialiation on Android API level 32 and newer (#1365)
- Suspending Android native support for Mono builds to prevent C# exceptions form causing crashes (#1362)
- Fixed an issue where the debug image UUID normalization would malform the UUID leading to a failed symbolication (#1361)
- When building for iOS, the debug symbol upload now works irrespective of whether
Bitcode
is enabled or not (#1381)
- Bump .NET SDK from v3.33.0 to v3.33.1 (#1370)
- Bump CLI from v2.18.1 to v2.19.1 (#1372, #1374)
- Bump Cocoa SDK from v8.7.3 to v8.8.0 (#1371, #1376)
- Bump Java SDK from v6.21.0 to v6.24.0 (#1363, #1375, #1382)
- Bump Native SDK from v0.6.3 to v0.6.4 (#1384)
- Fixed Xcode linking error with the SDK disabled (#1352)
- Fixed an issue triggering an error
Failed to find the closing bracket
when using custom gradle files (#1359) - Fixed the Android native integration for builds with Unity 2022.3 and newer (#1354)
- Updated sample configure callback to use the new
BeforeSend
methods that allow the use ofHints
(#1341) - Updated the Sentry CLI command to upload debug symbols (#1336)
- Added automatic filtering of
BadGatewayExceptions
originating from Unity telemetry on the native iOS layer (#1345)
- Fixed native support build integration for Android (#1318)
- The SDK filters
System.Net.WebException
andSystem.Net.Sockets.SocketException
by default (#1294) - The SDK no longer runs performance auto instrumentation with the SDK disabled (#1314)
- Fixed an issue where the SDK would throw a
NullReferenceException
when trying to capture a log message (#1309) - Fixed the
BreadcrumbsForErrors
checkbox on the config window (#1306) - The SDK filters
Bad Gateway
Exceptions of typeException
by default (#1293)
- Surfaced debounce times to the options (#1310)
- Bump CLI from v2.16.1 to v2.18.1 (#1288, #1289, #1299, #1329, #1332)
- Bump Cocoa SDK from v8.3.3 to v8.7.2 (#1285, #1298, #1316, #1326)
- Bump Java SDK from v6.14.0 to v6.18.1 (#1300)
- Bump Native SDK from v0.6.1 to v0.6.2 (#1308)
- Bump .NET SDK from v3.29.1 to v3.33.0 (#1307, #1331)
- Resolved the
Microsoft.Extensions.FileSystemGlobbing.dll
dependency conflict (#1253) - Sentry CLI integration when exporting an Android project (#1242)
- The SDK now supports exporting the project to iOS without any modifications to Xcode (#1233)
- The SDK now supports exporting the project to Android without any modifications to gradle (#1263)
- Bump CLI from v2.14.4 to v2.16.1 (#1231, #1236, #1251, #1255)
- Bump Cocoa SDK from v8.3.1 to v8.3.3 (#1250)
- Bump Native SDK from v0.6.0 to v0.6.1 (#1254)
- Fixed missing debug file upload for assembly definitions for Mono builds (#1226)
- The ANR detection is now unaffected by changes to
Time.timescale
(#1225)
- Added
View Hierarchy
as an opt-in attachment. This will capture the scene hierarchy at the moment an event occurs and send it to Sentry (#1169)
- Bump CLI from v2.13.0 to v2.14.4 (#1213, #1217)
- Bump .NET SDK from v3.28.1 to v3.29.1 (#1218, #1223)
- Bump Cocoa SDK from v8.2.0 to v8.3.1 (#1219, #1228)
- Renamed
OptionsConfiguration
toRuntimeOptionsConfiguration
on the ScriptableSentryOptions (#1196)
If you make use of programmatic runtime options configuration, you will need to reassign the scriptable object in the configuration tab - Renamed
SentryBuildtimeOptionsConfiguration
toSentryBuildTimeOptionsConfiguration
(#1187)
If you make use of the programmatic build time configuration, you will need to update your implementation with the base class - Removed
Override Sentry URL
from editor window (#1188)
The option is still available from within theSentryBuildTimeOptionsConfiguration
- The SDK no longer logs a warning due to a missing log file on non-windows player platforms (#1195)
- Preventing
LoggingIntegration
from registering multiple times (#1178) - Fixed the logging integration only capturing tags and missing the message (#1150)
- Added Performance Integration options to editor window (#1198)
- Much improved line numbers for IL2CPP builds by setting the
instruction_addr_adjustment
appropriately (#1165) - Added ANR options to the editor window and made ANR timeout accessible on the options object (#1181)
- Bump Java SDK from v6.12.1 to v6.14.0 (#1156, #1171, #1184)
- Bump Native SDK from v0.5.3 to v0.6.0 (#1157, #1182)
- Bump CLI from v2.11.0 to v2.13.0 (#1163, #1186)
- Bump .NET SDK from v3.26.2 to v3.28.1 (#1164, #1170, #1172, #1175)
- Bump Cocoa SDK from v7.31.5 to v8.2.0 (#1162, #1199)
- Fixed conflicting default name for scriptable options configuration scripts (#1146)
- Made inlined helpers on the macOS bridge static (#1148)
- Fixed the SDK creating warnings before initializing when loading the options.
Sentry.Unity.ScriptableOptionsConfiguration
changed toSentryRuntimeOptionsConfiguration
- and
Sentry.Unity.Editor.ScriptableOptionsConfiguration
changed toSentryBuildtimeOptionsConfiguration
If you make use of the programmatic configuration, you will need to update your implementation with those base classes (#1128)
- Removed build GUID from automated release creation to keep events from different layers in the same release (#1127)
- Fixed an issue related to the IL2CPP line number feature where a C# exception could lead to a crash (#1126)
- No longer log warnings about missing IL2CPP methods when running in the Editor (#1132)
- Mono PDB files upload during build (#1106)
- Bump Java SDK from v6.9.1 to v6.11.0 (#1107, #1122, #1133)
- Bump Native SDK from v0.5.2 to v0.5.3 (#1109)
- Bump Cocoa SDK from v7.31.3 to v7.31.5 (#1115, #1129)
- Bump .NET SDK from v3.24.0 to v3.26.0 (#1121, #1137)
- Bump CLI from v2.10.0 to v2.11.0 (#1124)
- Added missing SDK closing functionality (#1092)
- Fixed logging for automated debug symbol upload for iOS (#1091)
- Bump Cocoa SDK from v7.30.2 to v7.31.3 (#1079, #1082, #1089, #1097)
- Bump CLI from v2.8.1 to v2.10.0 (#1080, #1101)
- Bump .NET SDK from v3.23.1 to v3.24.0 (#1090)
- Bump Java SDK from v6.7.0 to v6.9.1 (#1083, #1088, #1098)
- Added Unity version to event context (#1072)
- Add build-time
ScriptableOptionsConfiguration
scripting interface to support changing settings for native integrations and CLI (#1046)
- Auto Instrumentation now correctly resolves prebuilt assemblies (#1066)
- Newly created
ScriptableOptionsConfiguration
script not being set in editor window UI (#1046)
- Resolved conflicting dependencies for Mono.Cecil (#1064)
- Bump .NET SDK from v3.23.0 to v3.23.1 (#1062)
- Bump CLI from v2.8.0 to v2.8.1 (#1061)
- Bump Cocoa SDK from v7.29.0 to v7.30.1 (#1067, #1069)
- Bump Java SDK from v6.6.0 to v6.7.0 (#1070)
- Removing Sentry.framework from being copied as ResourceBundle (#1056)
- Automated Performance Instrumentation for MonoBehaviour.Awake methods (#998)
- Disabled Android lifecycle breadcrumbs (#1038)
- Additional IL2CPP arguments get added only once (#997)
- Releasing temp render texture after capturing a screenshot (#983)
- Automatic screenshot mirroring on select devices. (#1019)
- Hide
StackTraceMode
from options to avoid accidental errors when used with IL2CPP (#1033)
- Added flags per LogType for automatically adding breadcrumbs (#1030)
- The Cocoa SDK is now bundled as
.xcframework
(#1002) - Automated Performance Instrumentation for Runtime Initialization (#991)
- Automated Performance Instrumentation for Scene Loading (#768)
- Bump Java SDK from v6.4.1 to v6.5.0 (#980, #1005, #1011)
- Bump CLI from v2.5.2 to v2.8.0 (#986, #999, #1043)
- Bump Cocoa SDK from v7.25.1 to v7.29.0 (#988, #996, #1004, #1016, #1041)
- Bump .NET SDK from v3.21.0 to v3.22.0 (#1008)
- Bump Native SDK from v0.5.0 to v0.5.2 (#1022, #1032)
- Don't access Unity
AnalyticsSessionInfo.userId
on unknown platforms (#971) - Keep previously set IL2CPP compiler arguments (i.e append instead of overwriting) (#972)
- Add transaction processor (#978)
- Fixed a crash during startup due in connection to the Google Ads Unity package (#953)
- The SDK failing to reinstall the backend will no longer lead to events being sent to Sentry (#962)
- Don't access Unity
AnalyticsSessionInfo.userId
on unknown platforms (#971)
- IL2CPP line number support is enabled by default (#963)
- Bump Java SDK from v6.4.0 to v6.4.1 (#954)
- Bump Cocoa SDK from v7.23.0 to v7.24.1 (#957, #961)
- Bump .NET SDK from v3.20.1-33-g76b13448 to v3.21.0 (#958)
- Fixed an 'Undefined symbols' issue within the Sentry Native Bridge when building for iOS (#932)
- ANR detection no longer creates an error by trying to capture a screenshot from a background thread (#937)
- Screenshots quality no longer scales off of current resolution but tries match thresholds instead (#939)
- iOS samples were missing the Objective-C plugin (#921)
- Save SampleRate to Options.asset (#916)
- Increase CLI file upload limit to 10 MiB (#922)
- Correctly byte-swap ELF build-ids (#872)
- Wizard autoselects with only one option available (#891)
- Reenabled IL2CPP line number support for mobile (#902)
- Added parameters to the options to control screenshot quality (#912)
- Added highlights and info messages to editor configuration window (#910)
- Added programmatic access to enable the experimental IL2CPP line numbers support (#905)
- Bump Java SDK to v6.3.0 (#887, #894)
- Bump CLI to v2.5.0 (#889, #898)
- Bump Cocoa SDK to v7.22.0 (#892, #909)
- Bump .NET SDK to v3.20.1 (#907, #911)
- Fix ProGuard setup if build.gradle uses CRLF (Windows) line breaks (#885)
- Attach screenshots to native errors on iOS (#878)
- Bump CLI to v2.3.1 (#875)
- Bump Cocoa SDK to v7.20.0 (#877)
- Explicitly disable Windows x86 native-error tracking and IL2CPP processing integration (#871)
- Generate and upload IL2CPP line mappings alongside debug files (#790)
- Launch a setup wizard after installation (#780)
- Reduced automated screenshot attachment controls to a simple toggle (#784)
- Disable AutoSessionTracking on unknown platforms (#840)
- Support Android apps minified with Proguard (#844)
- Bump Cocoa SDK to v7.19.0 (#802, #821, #835, #854, #868)
- Bump .NET SDK to v3.19.0 (#807, #860)
- Bump Java SDK to v6.1.4 (#811, #820, #828, #847, #857)
- Bump Native SDK to v0.4.18 (#810, #824)
- Bump CLI to v2.3.0 (#826, #867)
- Only use application-not-responding detection in C#, disable in native plugins (#852)
- The SDK no longer accesses the disk on unknown platforms (e.g. Switch) (#865)
- Don't report Application-Not-Responding while the app is in the background (#796)
- Capture Native Instruction Addrs for Exceptions (#683)
- Enable native crash support with Mono scripting backend on Android, Windows and Linux (#751)
- Application-Not-Responding detection (#771)
- Allow uploading sources for debug files (#773)
- Bump Sentry Java SDK to v6.0.0 (#787)
- The SDK now uses the Unity Log Handler to capture errors, instead of manually parsing events received on Application.logMessageReceived (#731)
- Linux native crash support (#734)
- Collect context information synchronously during init to capture it for very early events (#744)
- Automatic user IDs on native crashes & .NET events (#728)
- Use single-threaded HTTP transport on unknown platforms (#756)
- Disable offline caching on unknown platforms (#770)
- Bump Sentry Cocoa SDK to v7.16.0 (#725)
- Bump Sentry Java SDK to v6.0.0-rc.1 (#725)
- macOS native crash support (#710)
- The SentryUnityOptions now provide a method to disable the UnityLoggingIntegration (#724)
- The automated debug symbol upload now works with Unity 2021.2 and newer (#730)
- Dropped support for Sentry options as Json (#709)
- If you're migrating from version 0.3.0 or older, make sure to upgrade to 0.15.0 first, as it is the last version supporting the automated conversion of the options as Json file to a Scriptable Object.
- Bump Sentry .NET SDK 3.17.0 (#726)
- WebGL - .NET support (#657)
- The SDK no longer creates a custom link.xml (#707)
- Fixed
DebugOnlyInEditor
only applying to the Unity logger (#706) - Sentry no longer fails to send events in Unity 2019.4 IL2CPP builds for macOS (#701)
- Bump Sentry Cocoa SDK 7.13.0 (#697)
- Capture
Debug.LogError()
andDebug.LogException()
also on background threads (#673) - Adding override for Sentry CLI URL (#666)
- Option to automatically attach screenshots to all events (#670)
- Refactor InApp logic from Stack Traces (#661)
- Whitespaces no longer cause issues when uploading symbols for Windows native (#655)
- AndroidManifest update removes previous
io.sentry
entries (#652) - Bump Sentry .NET SDK 3.16.0 (#678)
- Bump Sentry Java SDK to v6.0.0-alpha.4 (#653)
- Windows - include sentry.dll & .pdb in debug symbol upload (#641)
- Resolved issue of the SDK accessing the same cache directory with multiple game instances running (#643)
- Bump Sentry .NET SDK 3.15.0 (#639)
- The SDK no longer depends on Unity's iOS module for non iOS builds (#601)
- Update native SDK to v0.4.16 (pre-release) (#615)
- Windows native support (64-bit)
- iOS builds no longer break when native support disabled or not available (#592)
- Close sentry instance when quitting the app (#608)
- iOS options.CrashedLastRun() reported an incorrect value (#615)
- Config window support for programmatic options configuration (#569)
- Samples include programmatic options configuration snippet (#568)
- Support for programmatic options configuration (#564)
- Updated native samples to only display buttons for the currently active platform (#551)
- Unity logged exceptions are marked as unhandled by default (#542)
- Sentry.Unity.Editor.iOS.dll no longer breaks builds on Windows when the iOS module has not been installed (#559)
- Importing the link.xml when opening the config window no longer causes an infinite loop (#539)
- Bump Sentry .NET SDK 3.14.0 (#561)
- Android Native Support no longer crashes when built with Mono while trying to capture a crash (#524)
- Bump Sentry CLI 1.72.0 (#526)
- Bump Sentry .NET SDK 3.13.0 (#503)
- Automated Android symbols upload now uses valid paths on Windows (#509)
- Tag whether event was created in the UI thread (#495)
- Fix missing Sentry/Sentry.h (#504)
- Automated Android symbols upload now correctly escapes sentry-cli executable path (#507)
- Suppress errors when adding attachments (#485)
- Sample scene with custom context and screenshot (#472)
- Initializing the SDK with an options object won't bypass default option values (#469)
- Fixed overwriting Xcode build properties (#466)
- Xcode exports no longer break with sentry-cli already added (#457)
- Explicitly set false (#470). So that Sentry.dll is not strong named when consumed inside Unity.
- Bump Sentry .NET SDK 3.12.3 (#484)
- Bump Sentry Cocoa SDK 7.7.0 (#481)
- Bump Sentry Android SDK 5.5.0 (#474)
- ScriptableSentryUnityOptions is now public (#419)
- Automated symbols upload for iOS builds when bitcode is enabled (#444)
- Automated symbols upload for iOS builds when bitcode is disabled (#443)
- Android: Automated symbol upload no longer breaks non IL2CPP builds (#450)
- Config window now saves changes to sentry-cli options (#454)
- Sentry no longer requires Xcode projects to be exported on macOS (#442)
- Added automated symbols upload support for Android (#408)
- Avoid DLL conflict with other Unity packages (#425)
- fix release packaging (#417)
- Added sentry-cli to Unity package (#414)
- Added missing release string validation (#389)
- Sentry internal logs no longer show up as breadcrumbs (#377)
- Fixed missing context data when initializing SDK programmatically (#376)
- Fixed CaptureInEditor flag when initializing SDK programmatically (#370)
- Preventing numeric options to be set negative in the editor window (#364)
- Bump Sentry .NET SDK 3.11.1 (#407)
- Bump Sentry Cocoa SDK 7.5.2 (#407)
- Bump Sentry Android SDK 5.4.0 (#411)
- Added iOS simulator support (#358)
- Android Native Support (#307)
- Android mark sessions as crashed (#347)
- Android native bridge for scope sync (#308)
- iOS native bridge for scope sync (#296)
- Sample: Throw exceptions in C++ and Objective-C. C++ segfault (#342)
- Update Unity from 2019.4.21f to 2019.4.30f (#350)
- Fixed Xcode generation with invalid or disabled SentryOptions (#330)
- Fixed iOS support related reference resolution issue for Windows (#325)
- Import link.xml caused an infinite loop (#315)
- Removed unused .asmdefs which clears a warning from console (#316)
- Don't send negative line number (#317)
- Android SDK: re-installation of native backend through C# (#339)
- Bump Sentry .NET SDK 3.9.3 (#328)
- Bump Sentry Cocoa SDK 7.3.0 (#328)
- Bump Sentry Android SDK 5.2.1 (#359)
- Operating System reported as raw_description and parsed by Sentry (#305)
- Release & Environment now sync with native options (#298)
- Bump Sentry .NET SDK 3.9.0 (#299)
- Removed editor flag checks from options validation during build process (#295)
- By default, don't block Sentry.Init up to 2 seconds to flush events (#291)
- iOS native support (#254)
- Compile Initialization with the game (#272)
- Native crash in sample (#270)
- Cache, background threads and data for UnityEventProcessor (#268)
- Bump Sentry Cocoa SDK 7.2.2 (#289)
- Included NativeExample.c in sample project (#288)
- Added attribute to SentryInitialization to prevent codestripping of Init (#285)
- Fixed passing Sentry diagnostic level to iOS native layer (#281)
- Fixed stuck traces sample rate slider (#276)
- Fixed selected input field tab glitches (#276)
- Bump Sentry .NET SDK 3.8.3 (#269)
- Log in single line (#262)
- Added IsGlobalModeEnabled to SetDefaults (#260)
- Release process cleanup
- Link.xml file exist check (#248)
- Logger now attaching again (#244)
- Sentry config is now a scriptable object (#220)
- Unity protocol (#234)
- Release health integration & Event-listener (#225)
- Default options values (#241)
- Un-embedding the link.xml to fix code stripping (#237)
- Setting IsEnvironmentUser to false by default (#230)
- Fallback for missing/empty product name (#205)
- Add product name to release as default (#202)
- normalize line endings (#204)
- Simplified scene breadcrumbs messages (#197)
- Embedded link.xml in assembly (#194)
- Transition scene to test scene loading events (breadcrumbs) (#185)
- Check/create directory before saving (#196)
- Exclude SentryOptions.json from release package (#195)
- default env and version (#199)
- SentryEvent.ServerName forced to 'null' (#201)
- Simulator is set only when Application.isEditor is true (#190)
- Sentry UnityLogger aligned to Unity Debug API (#163)
- Scene manager integration for breadcrumbs (#170)
- Flag simulator based on Application.isEditor (#184)
- il2cpp remove zeroes from path (#179)
- SDK version format correction (#120)
- Auto compression option is part of drop down (no extra checkbox) (#160)
- Rename DiagnosticsLogger to DiagnosticLogger (#168)
- SentryOptions config proper check (#176)
- Diagnostic logger writes to console that it was disabled (#183)
- Missing meta files warnings (#146)
- Release process improvements
- Craft Release
- Add missing meta files (cd9c7fd)
- Unity Sentry SDK programmatic setup (#130)
- SentryWindow updated
- UPM meta updated (#124)
- Bump dotnet 3.3.4 (#132)
- https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md#334
- Bug fixes for performance monitoring
- Ability to keep failed envelopes for troubleshooting when they are too large
- Bump sentry-dotnet to 8ca0906 - fix IL2CPP crash (#122)
- IL2CPP players crash due to startup time detection (#123)
- Strip zeroes for ill2cpp builds (#108)
- Proper sdk name reporting for sentry event (#111)
- Bump .NET SDK to 3.3.1 (#115)
- Release package samples (#113)
- .NET SDK setup for Unity with Unity editor configuration.