Skip to content

Commit 0f2a015

Browse files
author
getsentry-bot
committed
release 4.1.0
1 parent ad36b58 commit 0f2a015

170 files changed

Lines changed: 279270 additions & 223342 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
# Changelog
22

3+
## 4.1.0
4+
5+
### Deprecations
6+
7+
- The time-based log debouncing system (`TimeDebounceBase`, `LogTimeDebounce`, `ErrorTimeDebounce`, `WarningTimeDebounce`) and related options (`EnableLogDebouncing`, `DebounceTimeLog`, `DebounceTimeWarning`, `DebounceTimeError`) are now marked as `[Obsolete]`. Use the new content-based event throttling instead. ([#2479](https://github.com/getsentry/sentry-unity/pull/2479))
8+
9+
### Behavioral Changes
10+
11+
- The SDK no longer refreshes the trace ID when changing active scene. This follows the changes to not do so based on lifecycle events, meaning that the trace ID persists from game start to game end, as intended in `4.0.0`. ([#2502](https://github.com/getsentry/sentry-unity/pull/2502))
12+
13+
### Fixes
14+
15+
- When targeting Xbox, the SDK now properly includes `Sentry.Unity.Native` ([#2529](https://github.com/getsentry/sentry-unity/pull/2529))
16+
- Fixed IL2CPP line number support for 32-bit Windows and Linux ([#2514](https://github.com/getsentry/sentry-unity/pull/2514))
17+
- The SDK now specifies the files and directories targeted for debug symbol upload instead of pointing sentry-cli at the build output directory ([#2485](https://github.com/getsentry/sentry-unity/pull/2485))
18+
- The 'SceneManagerTracingIntegration' properly respects the `AutoSceneTracing` flag again ([#2496](https://github.com/getsentry/sentry-unity/pull/2496))
19+
- When targeting Android, the capturing native SDK now has its name correctly set ([#2476](https://github.com/getsentry/sentry-unity/pull/2476))
20+
- Automatically captured transactions and spans now have their `Origin` correctly set. ([#2464](https://github.com/getsentry/sentry-unity/pull/2464))
21+
22+
### Features
23+
24+
- Added Nintendo Switch Native Support. The SDK now automatically syncs the scope - tags, breadcrumbs, context - to the native layer, so native crashes have the same rich context as managed events. ([#2503](https://github.com/getsentry/sentry-unity/pull/2503))
25+
- [Sentry trace-connected Metrics](https://docs.sentry.io/product/explore/metrics/) are now available as _experimental_. ([#2533](https://github.com/getsentry/sentry-unity/pull/2533))
26+
- Added content-based error event throttling to prevent repeated errors from consuming quota. The new `IThrottler` interface and `ErrorEventThrottler` implementation deduplicate `LogError`, `LogException`, and `LogAssertion` events based on message + stacktrace fingerprinting. Configurable via the Editor window ("Enable Error Event Throttling" + "Dedupe Window"). Breadcrumbs and structured logs are not affected by default. ([#2479](https://github.com/getsentry/sentry-unity/pull/2479))
27+
28+
### Dependencies
29+
30+
- Bump .NET SDK from v6.0.0 to v6.1.0 ([#2533](https://github.com/getsentry/sentry-unity/pull/2533))
31+
- [changelog](https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md#610)
32+
- [diff](https://github.com/getsentry/sentry-dotnet/compare/6.0.0...6.1.0)
33+
- Bump Java SDK from v8.28.0 to v8.31.0 ([#2462](https://github.com/getsentry/sentry-unity/pull/2462), [#2481](https://github.com/getsentry/sentry-unity/pull/2481), [#2493](https://github.com/getsentry/sentry-unity/pull/2493))
34+
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#8310)
35+
- [diff](https://github.com/getsentry/sentry-java/compare/8.28.0...8.31.0)
36+
- Bump Native SDK from v0.12.2 to v0.12.6 ([#2471](https://github.com/getsentry/sentry-unity/pull/2471), [#2505](https://github.com/getsentry/sentry-unity/pull/2505), [#2512](https://github.com/getsentry/sentry-unity/pull/2512), [#2524](https://github.com/getsentry/sentry-unity/pull/2524))
37+
- [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#0126)
38+
- [diff](https://github.com/getsentry/sentry-native/compare/0.12.2...0.12.6)
39+
- Bump Cocoa SDK from v9.1.0 to v9.4.0 ([#2492](https://github.com/getsentry/sentry-unity/pull/2492), [#2507](https://github.com/getsentry/sentry-unity/pull/2507), [#2521](https://github.com/getsentry/sentry-unity/pull/2521))
40+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#940)
41+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/9.1.0...9.4.0)
42+
- Bump CLI from v2.58.4 to v3.2.0 ([#2474](https://github.com/getsentry/sentry-unity/pull/2474), [#2531](https://github.com/getsentry/sentry-unity/pull/2531))
43+
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#320)
44+
- [diff](https://github.com/getsentry/sentry-cli/compare/2.58.4...3.2.0)
45+
346
## 4.0.0
447

548
### Breaking Changes
@@ -767,7 +810,6 @@ If you have compilation errors you can find the affected types or overloads miss
767810
- The `TracePropagationTarget` class has been removed, use the `SubstringOrRegexPattern` class instead. ([#2763](https://github.com/getsentry/sentry-dotnet/pull/2763))
768811
- The `WithScope` and `WithScopeAsync` 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](https://github.com/getsentry/sentry-dotnet/pull/2717))
769812
Replace your usage of `WithScope` with overloads of `Capture*` methods:
770-
771813
- `SentrySdk.CaptureEvent(SentryEvent @event, Action<Scope> scopeCallback)`
772814
- `SentrySdk.CaptureMessage(string message, Action<Scope> scopeCallback)`
773815
- `SentrySdk.CaptureException(Exception exception, Action<Scope> scopeCallback)`

Editor.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 Bytes
Binary file not shown.

Editor/Sentry.Microsoft.Extensions.FileSystemGlobbing.dll.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/Sentry.Mono.Cecil.Mdb.dll

0 Bytes
Binary file not shown.

Editor/Sentry.Mono.Cecil.Mdb.dll.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/Sentry.Mono.Cecil.Pdb.dll

0 Bytes
Binary file not shown.

Editor/Sentry.Mono.Cecil.Pdb.dll.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/Sentry.Mono.Cecil.Rocks.dll

0 Bytes
Binary file not shown.

Editor/Sentry.Mono.Cecil.Rocks.dll.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)