From 60b9e788a8a5ba0a8bea72b6f60c48bc2b697dee Mon Sep 17 00:00:00 2001 From: Flash0ver <38893694+Flash0ver@users.noreply.github.com> Date: Wed, 5 Aug 2026 00:12:36 +0200 Subject: [PATCH] Bump Sentry from 6.1.0 to 6.8.0 --- Directory.Packages.props | 2 +- src/Files.App/Data/Commands/ActionCommand.cs | 2 +- src/Files.App/Services/Git/LibGit2Service.cs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 277547f6f2ff..add2d8068e15 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -31,7 +31,7 @@ - + diff --git a/src/Files.App/Data/Commands/ActionCommand.cs b/src/Files.App/Data/Commands/ActionCommand.cs index e6bb3609001e..6b8c494e26a9 100644 --- a/src/Files.App/Data/Commands/ActionCommand.cs +++ b/src/Files.App/Data/Commands/ActionCommand.cs @@ -162,7 +162,7 @@ public Task ExecuteAsync(object? parameter = null) { if (IsExecutable) { - SentrySdk.Experimental.Metrics.EmitCounter("actions", 1, [new KeyValuePair("command", Code.ToString())]); + SentrySdk.Metrics.EmitCounter("actions", 1, [new KeyValuePair("command", Code.ToString())]); return Action.ExecuteAsync(parameter); } diff --git a/src/Files.App/Services/Git/LibGit2Service.cs b/src/Files.App/Services/Git/LibGit2Service.cs index fc96980da5cc..d800cea84f19 100644 --- a/src/Files.App/Services/Git/LibGit2Service.cs +++ b/src/Files.App/Services/Git/LibGit2Service.cs @@ -162,7 +162,7 @@ public async Task GetBranchNames(string? path) public async Task Checkout(string? repositoryPath, string? branch) { - SentrySdk.Experimental.Metrics.EmitCounter("Triggered git checkout", 1); + SentrySdk.Metrics.EmitCounter("Triggered git checkout", 1); if (string.IsNullOrWhiteSpace(repositoryPath) || !IsRepoValid(repositoryPath)) return false; @@ -255,7 +255,7 @@ public async Task Checkout(string? repositoryPath, string? branch) public async Task CreateNewBranchAsync(string repositoryPath, string activeBranch) { - SentrySdk.Experimental.Metrics.EmitCounter("Triggered create git branch", 1); + SentrySdk.Metrics.EmitCounter("Triggered create git branch", 1); var viewModel = new AddBranchDialogViewModel(repositoryPath, activeBranch); var loadBranchesTask = viewModel.LoadBranches(); @@ -285,7 +285,7 @@ await Checkout(repositoryPath, viewModel.BasedOn)) public async Task DeleteBranchAsync(string? repositoryPath, string? activeBranch, string? branchToDelete) { - SentrySdk.Experimental.Metrics.EmitCounter("Triggered delete git branch", 1); + SentrySdk.Metrics.EmitCounter("Triggered delete git branch", 1); if (string.IsNullOrWhiteSpace(repositoryPath) || string.IsNullOrWhiteSpace(activeBranch) ||