Skip to content

Update nuget depencencies (back port of #1218) - #1221

Merged
ivarne merged 2 commits into
release/v8.5from
ivarne/cherry-pic-deps
Apr 4, 2025
Merged

ivarne merged 2 commits into
release/v8.5from
ivarne/cherry-pic-deps

Conversation

@ivarne

@ivarne ivarne commented Mar 30, 2025

Copy link
Copy Markdown
Member

Notable changes from #1218

* Update nuget depencencies

Notable changes
* Changed from Microsoft.CodeAnalysis.Workspaces to Microsoft.CodeAnalysis.CSharp, in Inernal.Analyzers because of a compiller warning
see: https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md
* Updated SDK reference in global.json
* Updated Applicationinsights package and removed the test from #594
* Updated to released version of HybridCache and remove #pragma waring disable for preview
* Used [CallerFilePath] intead of assemly location to find test data folder.
@ivarne ivarne added dependency Label Pull requests with dependency updates. Used when generation releasenotes backport-ignore This PR is a new feature and should not be cherry-picked onto release branches labels Mar 30, 2025
@ivarne
ivarne requested a review from Copilot March 30, 2025 20:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR back-ports dependency updates and improvements from a previous PR (#1218) to address compiler warnings and update NuGet packages.

  • Removed an outdated test for keyed services telemetry diagnostics.
  • Updated test data location resolution by using [CallerFilePath] instead of assembly location.
  • Removed obsolete pragma warnings for HybridCache in the service collection extensions.

Reviewed Changes

Copilot reviewed 4 out of 12 changed files in this pull request and generated 1 comment.

File Description
test/Altinn.App.Api.Tests/Telemetry/TelemetryConfigurationTests.cs Removed deprecated test verifying keyed services error diagnostics.
test/Altinn.App.Api.Tests/Data/TestData.cs Updated retrieval of test data directory using CallerFilePath.
src/Altinn.App.Core/Extensions/ServiceCollectionExtensions.cs Removed pragma warning disabling for EXTEXP0018 in favor of released HybridCache.
Files not reviewed (8)
  • global.json: Language not supported
  • src/Altinn.App.Api/Altinn.App.Api.csproj: Language not supported
  • src/Altinn.App.Core/Altinn.App.Core.csproj: Language not supported
  • test/Altinn.App.Api.Tests/Altinn.App.Api.Tests.csproj: Language not supported
  • test/Altinn.App.Api.Tests/OpenApi/OpenApiSpecChangeDetection.SaveJsonSwagger.verified.txt: Language not supported
  • test/Altinn.App.Api.Tests/OpenApi/swagger.json: Language not supported
  • test/Altinn.App.Common.Tests/Altinn.App.Common.Tests.csproj: Language not supported
  • test/Altinn.App.Core.Tests/Altinn.App.Core.Tests.csproj: Language not supported

Comment thread test/Altinn.App.Api.Tests/Data/TestData.cs
@sonarqubecloud

Copy link
Copy Markdown

@ivarne
ivarne merged commit 338af09 into release/v8.5 Apr 4, 2025
@ivarne
ivarne deleted the ivarne/cherry-pic-deps branch April 4, 2025 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-ignore This PR is a new feature and should not be cherry-picked onto release branches dependency Label Pull requests with dependency updates. Used when generation releasenotes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants