Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Sentry .NET 4.5.0 #154

Merged
merged 6 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
</plist>
```

### Dependencies

- Bump Sentry.NET 4.5.0 ([#154](https://github.com/getsentry/sentry-xamarin/pull/154))

## 2.0.0

### Sentry Self-hosted Compatibility
Expand Down
1 change: 1 addition & 0 deletions Samples/Sample.Xamarin.Droid/Sample.Xamarin.Droid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<!-- Sends sources to Sentry, enabling display of source context. -->
<SentryUploadSources>true</SentryUploadSources>
<SentryCLIUploadOptions>--wait</SentryCLIUploadOptions>
<UseSentryCLI>false</UseSentryCLI>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Android" />
Expand Down
3 changes: 3 additions & 0 deletions Samples/Sample.Xamarin.iOS/Sample.Xamarin.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<!-- Sends sources to Sentry, enabling display of source context. -->
<SentryUploadSources>true</SentryUploadSources>
<SentryCLIUploadOptions>--wait</SentryCLIUploadOptions>
<UseSentryCLI>false</UseSentryCLI>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
Expand Down Expand Up @@ -80,6 +81,8 @@
<SentryUploadSymbols>true</SentryUploadSymbols>
<!-- Sends sources to Sentry, enabling display of source context. -->
<SentryUploadSources>true</SentryUploadSources>
<SentryCLIUploadOptions>--wait</SentryCLIUploadOptions>
<UseSentryCLI>false</UseSentryCLI>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhone\Release</OutputPath>
Expand Down
6 changes: 3 additions & 3 deletions Src/Sentry.Xamarin/Sentry.Xamarin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
<None Include="Internals\**\*.mac*.cs" />
<None Include="Internals\**\*.droid*.cs" />
<None Include="Internals\**\*.uwp*.cs" />
<None Include="Privacy\SentryPrivacyInfo.xcprivacy" Pack="true" PackagePath="Privacy\SentryPrivacyInfo.xcprivacy"/>
<None Include="Privacy\SentryPrivacyInfo.xcprivacy" Pack="true" PackagePath="Privacy\SentryPrivacyInfo.xcprivacy" />
<None Include="buildTransitive\Sentry.Xamarin.targets" Pack="true" PackagePath="buildTransitive\Sentry.Xamarin.targets" />
<None Include="buildTransitive\Sentry.Xamarin.targets" Pack="true" PackagePath="build\Sentry.Xamarin.targets" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Sentry" Version="4.0.3" />
<PackageReference Include="Sentry" Version="4.5.0" />
<PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
</ItemGroup>

Expand All @@ -70,7 +70,7 @@

<ItemGroup Condition=" $(TargetFramework.StartsWith('monoandroid')) ">
<Compile Include="Internals\**\*.droid*.cs" />
<PackageReference Include="Sentry.Android.AssemblyReader" Version="4.0.3" />
<PackageReference Include="Sentry.Android.AssemblyReader" Version="4.5.0" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.StartsWith('uap'))">
Expand Down
2 changes: 2 additions & 0 deletions Tests/Sentry.Xamarin.Forms.Testing/Mock/MockHub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,7 @@ public SentryId CaptureEvent(SentryEvent evt, Scope scope = null, SentryHint hin
public void CaptureTransaction(SentryTransaction transaction, Scope scope, SentryHint hint) { }

public bool CaptureEnvelope(Envelope envelope) => true;

public SentryId CaptureCheckIn(string monitorSlug, CheckInStatus status, SentryId? sentryId = null, TimeSpan? duration = null, Scope scope = null) => SentryId.Empty;
}
}
Loading