Skip to content

Commit

Permalink
Update dependency Serilog.AspNetCore to v9 (#17190)
Browse files Browse the repository at this point in the history
Co-authored-by: Zoltán Lehóczky <[email protected]>
  • Loading branch information
renovate[bot] and Piedone authored Dec 10, 2024
1 parent d21acb2 commit 4ab7c34
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
<PackageVersion Include="OpenIddict.Validation.SystemNetHttp" Version="5.8.0" />
<PackageVersion Include="OrchardCore.Translations.All" Version="2.1.0" />
<PackageVersion Include="PdfPig" Version="0.1.9" />
<PackageVersion Include="Serilog.AspNetCore" Version="8.0.3" />
<PackageVersion Include="Shortcodes" Version="1.3.4" />
<PackageVersion Include="SixLabors.ImageSharp.Web" Version="3.1.3" />
<PackageVersion Include="SixLabors.ImageSharp.Web.Providers.Azure" Version="3.1.3" />
Expand Down Expand Up @@ -129,9 +128,6 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'" >
<!-- Several transitive dependencies on 8.0.4 and lower which is vulnerable -->
<PackageVersion Include="System.Text.Json" Version="9.0.0" />

<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="9.0.0" />
</ItemGroup>

Expand All @@ -152,6 +148,9 @@

<!-- dotnet/extensions repository -->
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="9.0.0" />

<!-- Serilog.AspNetCore -->
<PackageVersion Include="Serilog.AspNetCore" Version="9.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
Expand All @@ -168,6 +167,9 @@

<!-- dotnet/extensions repository -->
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="8.10.0" />

<!-- Serilog.AspNetCore -->
<PackageVersion Include="Serilog.AspNetCore" Version="8.0.3" />
</ItemGroup>

</Project>

1 comment on commit 4ab7c34

@touseefahmad5565
Copy link

Choose a reason for hiding this comment

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

"Great post! Updating Serilog.AspNetCore to v9 is crucial for ensuring better performance and compatibility with the latest .NET Core features. It’s always a good practice to stay on top of dependency updates to avoid potential security vulnerabilities and improve overall application stability. I recently explored more about managing dependencies in .NET applications on my blog; feel free to check it out: Micropip. Looking forward to more insightful posts!"

Please sign in to comment.