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

chore(deps): update nuget non-major dependencies #13590

Merged
merged 7 commits into from
Oct 7, 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
20 changes: 10 additions & 10 deletions backend/packagegroups/NuGet.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

<ItemGroup Label="Altinn specific packages">
<PackageReference Update="Altinn.App.Core" Version="8.0.0-rc1" />
<PackageReference Update="Altinn.Common.AccessToken" Version="4.5.0" />
<PackageReference Update="Altinn.Common.AccessTokenClient" Version="3.0.6" />
<PackageReference Update="Altinn.Platform.Storage.Interface" Version="3.30.0" />
<PackageReference Update="Altinn.Common.AccessToken" Version="4.5.1" />
<PackageReference Update="Altinn.Common.AccessTokenClient" Version="3.0.7" />
<PackageReference Update="Altinn.Platform.Storage.Interface" Version="3.34.0" />
</ItemGroup>

<ItemGroup Label="Shared nuget packages">
Expand All @@ -26,16 +26,16 @@
<PackageReference Update="Microsoft.Extensions.Configuration.AzureKeyVault" Version="3.1.24" />
<PackageReference Update="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.8" />
<PackageReference Update="Microsoft.VisualStudio.Web.BrowserLink" Version="2.2.0" />
<PackageReference Update="HtmlAgilityPack" Version="1.11.65" />
<PackageReference Update="HtmlAgilityPack" Version="1.11.66" />
<PackageReference Update="Microsoft.DiaSymReader.Native" Version="1.7.0" />
<PackageReference Update="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.4" />
<PackageReference Update="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.8" />
<PackageReference Update="Microsoft.EntityFrameworkCore.Tools" Version="8.0.8" />
<PackageReference Update="Microsoft.FeatureManagement.AspNetCore" Version="3.5.0" />
<PackageReference Update="Scrutor" Version="4.2.2" />
<PackageReference Update="Swashbuckle.AspNetCore" Version="6.7.3" />
<PackageReference Update="Polly" Version="8.4.1" />
<PackageReference Update="Swashbuckle.AspNetCore" Version="6.8.0" />
<PackageReference Update="Polly" Version="8.4.2" />
<PackageReference Update="Altinn.Authorization.ABAC" Version="0.0.8" />
<PackageReference Update="Altinn.ApiClients.Maskinporten" Version="9.1.0" />
<PackageReference Update="Altinn.ApiClients.Maskinporten" Version="9.2.0" />
<PackageReference Update="MediatR" Version="12.4.1" />
<PackageReference Update="DotNetEnv" Version="3.1.1" />
<PackageReference Update="NuGet.Versioning" Version="6.11.0" />
Expand All @@ -47,10 +47,10 @@
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<!-- Do not upgrade Moq version from 4.18.4 -->
<PackageReference Update="Moq" Version="4.18.4" />
<PackageReference Update="xunit" Version="2.9.0" />
<PackageReference Update="xunit" Version="2.9.2" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.8.2" />
<PackageReference Update="coverlet.collector" Version="6.0.2" />
<PackageReference Update="Basic.Reference.Assemblies" Version="1.7.8" />
<PackageReference Update="Basic.Reference.Assemblies" Version="1.7.9" />
<PackageReference Update="Fare" Version="2.2.1" />
<PackageReference Update="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
<PackageReference Update="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public static void PropertyShouldContainCustomAnnotationAndHaveTypeType(Type typ
.First(x => x.Name == "DynamicAnnotationClass").Properties().Single();
IsEquivalentTo(expectedProperty.PropertyType, property.PropertyType);
var expectedAnnotation = expectedProperty.CustomAttributes.Single();
Assert.Single(property.CustomAttributes.Where(x => x.ToString() == expectedAnnotation.ToString()));
Assert.Single(property.CustomAttributes, x => x.ToString() == expectedAnnotation.ToString());
}

private static string DynamicAnnotationClassString(string propertyName, string propertyType, string annotation) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public async Task IncompatibleSchema_ShouldReturn422(string modelPath, string sc
foreach ((string pointer, string errorCode) in expectedValidationIssues)
{
var pointerObject = JsonPointer.Parse(pointer);
Assert.Single(errorResponse.Errors.Keys.Where(p => JsonPointer.Parse(p) == pointerObject));
Assert.Single(errorResponse.Errors.Keys, p => JsonPointer.Parse(p) == pointerObject);
errorResponse.Errors[pointerObject.ToString(JsonPointerStyle.UriEncoded)].Contains(errorCode).Should().BeTrue();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Designer.Tests.Helpers
public class PackageVersionHelperTests
{
[Theory]
[InlineData("Altinn.App.Api", true, "8.0.0")]
[InlineData("Altinn.App.Api", true, "8.3.5")]
[InlineData("NonExistingNuget", false)]
public void TryGetPackageVersionFromCsprojFile_GivenValidCsprojFile_ReturnsTrue(string packageName, bool expectedResult, string expectedVersion = "")
{
Expand Down
5 changes: 4 additions & 1 deletion frontend/testing/playwright/pages/GiteaPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ export class GiteaPage extends BasePage {
"autoCreate": true,
"classRef": "Altinn.App.Models.${dataModel}.${dataModel}",
"allowAnonymousOnStateless": false,
"autoDeleteOnProcessEnd": false
"autoDeleteOnProcessEnd": false,
"allowUserCreate": false,
"allowUserDelete": false,
"allowInSubform": false
},
"taskId": "${id}",
"maxCount": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.1" />
<PackageReference Include="System.Text.Json" Version="7.0.2" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down
4 changes: 2 additions & 2 deletions testdata/AppTemplates/AspNet/App/App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<RootNamespace>Altinn.App</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Altinn.App.Api" Version="8.0.0">
<PackageReference Include="Altinn.App.Api" Version="8.3.5">
<CopyToOutputDirectory>lib\$(TargetFramework)\*.xml</CopyToOutputDirectory>
</PackageReference>
<PackageReference Include="Altinn.App.Core" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.3" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.8.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="wwwroot\css\" />
Expand Down
Loading