8000 chore(deps): update Microsoft dependencies by oskogstad · Pull Request #2310 · Altinn/dialogporten · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore(deps): update Microsoft dependencies #2310

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

Merged
merged 1 commit into from
May 19, 2025

Conversation

oskogstad
Copy link
Collaborator

No description provided.

@oskogstad oskogstad requested a review from a team as a code owner May 19, 2025 08:06
Copy link
Contributor
coderabbitai bot commented May 19, 2025
📝 Walkthrough

Walkthrough

Multiple project files across the solution were updated to increment the versions of various Microsoft-related NuGet packages, primarily moving from version 9.0.4 (or similar) to 9.0.5 and updating some Azure AppConfiguration and Entity Framework packages. No code, logic, or public API changes were made.

Changes

File(s) Change Summary
src/Digdir.Domain.Dialogporten.Application/Digdir.Domain.Dialogporten.Application.csproj Upgraded Microsoft.Extensions.Hosting and Microsoft.Extensions.Options.ConfigurationExtensions from 9.0.4 to 9.0.5.
src/Digdir.Domain.Dialogporten.Domain/Digdir.Domain.Dialogporten.Domain.csproj Upgraded Microsoft.Extensions.DependencyInjection.Abstractions from 9.0.4 to 9.0.5.
src/Digdir.Domain.Dialogporten.GraphQL/Digdir.Domain.Dialogporten.GraphQL.csproj Upgraded Microsoft.AspNetCore.Authentication.JwtBearer (9.0.4 → 9.0.5) and Microsoft.Azure.AppConfiguration.AspNetCore (8.1.2 → 8.2.0).
src/Digdir.Domain.Dialogporten.Infrastructure/Digdir.Domain.Dialogporten.Infrastructure.csproj Upgraded several Microsoft.Extensions and EntityFrameworkCore packages from 9.0.2–9.0.4 to 9.0.5; minor formatting.
src/Digdir.Domain.Dialogporten.Janitor/Digdir.Domain.Dialogporten.Janitor.csproj Upgraded several Microsoft.Extensions.* packages from 9.0.4 to 9.0.5.
src/Digdir.Domain.Dialogporten.WebApi/Digdir.Domain.Dialogporten.WebApi.csproj Upgraded Microsoft.Azure.AppConfiguration.AspNetCore (8.1.2 → 8.2.0) and three ASP.NET Core packages from 9.0.4 to 9.0.5.
src/Digdir.Library.Dialogporten.WebApiClient.WebApiSample/Digdir.Library.Dialogporten.WebApiClient.WebApiSample.csproj Upgraded Microsoft.AspNetCore.OpenApi from 9.0.4 to 9.0.5.
src/Digdir.Library.Dialogporten.WebApiClient/Digdir.Library.Dialogporten.WebApiClient.csproj Upgraded Microsoft.Extensions.Hosting.Abstractions from 9.0.4 to 9.0.5; added trailing space.
src/Digdir.Library.Entity.EntityFrameworkCore/Digdir.Library.Entity.EntityFrameworkCore.csproj Upgraded Microsoft.EntityFrameworkCore.Relational from 9.0.4 to 9.0.5.
src/Digdir.Library.Utils.AspNet/Digdir.Library.Utils.AspNet.csproj Upgraded Microsoft.Extensions.Http (9.0.4 → 9.0.5) and Microsoft.Azure.AppConfiguration.AspNetCore (8.1.2 → 8.2.0).
tests/Digdir.Domain.Dialogporten.Architecture.Tests/Digdir.Domain.Dialogporten.Architecture.Tests.csproj Upgraded Microsoft.Build from 17.13.9 to 17.14.8.
tests/Digdir.Domain.Dialogporten.GraphQl.Integration.Tests/Digdir.Domain.Dialogporten.GraphQl.Integration.Tests.csproj,
tests/Digdir.Domain.Dialogporten.WebApi.Unit.Tests/Digdir.Domain.Dialogporten.WebApi.Unit.Tests.csproj
Upgraded Microsoft.AspNetCore.Mvc.Testing from 9.0.4 to 9.0.5.

Note

⚡️ AI Code Reviews for VS Code, Cursor, Windsurf

CodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback.
Learn more here.


Note

⚡️ Faster reviews with caching

CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.
Enjoy the performance boost—your workflow just got faster.

✨ Finishing Touches
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Commit Unit Tests in branch chore/update-microsoft-nugets
  • Post Copyable Unit Tests in Comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor
@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
src/Digdir.Domain.Dialogporten.Janitor/Digdir.Domain.Dialogporten.Janitor.csproj (1)

10-15: Bump Microsoft.Extensions packages from 9.0.4 to 9.0.5
PackageReference versions for Hosting, Configuration, Configuration.Json, Configuration.EnvironmentVariables, Configuration.UserSecrets, and DependencyInjection have been updated to 9.0.5 to stay in sync with the solution-wide dependency upgrade. No API or config changes are expected in this patch release.

Consider centralizing these version numbers in a shared Directory.Build.props or CentralPackageVersions.props to avoid repeated version bumps in each csproj.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d0cc025 and 757b879.

📒 Files selected for processing (13)
  • src/Digdir.Domain.Dialogporten.Application/Digdir.Domain.Dialogporten.Application.csproj (1 hunks)
  • src/Digdir.Domain.Dialogporten.Domain/Digdir.Domain.Dialogporten.Domain.csproj (1 hunks)
  • src/Digdir.Domain.Dialogporten.GraphQL/Digdir.Domain.Dialogporten.GraphQL.csproj (1 hunks)
  • src/Digdir.Domain.Dialogporten.Infrastructure/Digdir.Domain.Dialogporten.Infrastructure.csproj (1 hunks)
  • src/Digdir.Domain.Dialogporten.Janitor/Digdir.Domain.Dialogporten.Janitor.csproj (1 hunks)
  • src/Digdir.Domain.Dialogporten.WebApi/Digdir.Domain.Dialogporten.WebApi.csproj (1 hunks)
  • src/Digdir.Library.Dialogporten.WebApiClient.WebApiSample/Digdir.Library.Dialogporten.WebApiClient.WebApiSample.csproj (1 hunks)
  • src/Digdir.Library.Dialogporten.WebApiClient/Digdir.Library.Dialogporten.WebApiClient.csproj (1 hunks)
  • src/Digdir.Library.Entity.EntityFrameworkCore/Digdir.Library.Entity.EntityFrameworkCore.csproj (1 hunks)
  • src/Digdir.Library.Utils.AspNet/Digdir.Library.Utils.AspNet.csproj (1 hunks)
  • tests/Digdir.Domain.Dialogporten.Architecture.Tests/Digdir.Domain.Dialogporten.Architecture.Tests.csproj (1 hunks)
  • tests/Digdir.Domain.Dialogporten.GraphQl.Integration.Tests/Digdir.Domain.Dialogporten.GraphQl.Integration.Tests.csproj (1 hunks)
  • tests/Digdir.Domain.Dialogporten.WebApi.Unit.Tests/Digdir.Domain.Dialogporten.WebApi.Unit.Tests.csproj (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (5)
  • GitHub Check: Dry run deploy apps / Deploy web-api-so to test
  • GitHub Check: Dry run deploy apps / Deploy service to test
  • GitHub Check: Dry run deploy apps / Deploy graphql to test
  • GitHub Check: Dry run deploy apps / Deploy web-api-eu to test
  • GitHub Check: build / build-and-test
🔇 Additional comments (16)
src/Digdir.Library.Dialogporten.WebApiClient/Digdir.Library.Dialogporten.WebApiClient.csproj (1)

27-27: Approve dependency version bump

The Microsoft.Extensions.Hosting.Abstractions package has been updated from 9.0.4 to 9.0.5, aligning with the coordinated version upgrades across the solution. No issues detected.

src/Digdir.Library.Entity.EntityFrameworkCore/Digdir.Library.Entity.EntityFrameworkCore.csproj (1)

8-8: Upgrade of EF Core Relational package looks good
Bumping Microsoft.EntityFrameworkCore.Relational to 9.0.5 aligns with the broader set of dependency updates in this PR and should introduce no breaking changes.

tests/Digdir.Domain.Dialogporten.Architecture.Tests/Digdir.Domain.Dialogporten.Architecture.Tests.csproj (1)

12-12: Dependency update approved.

Bumping Microsoft.Build to version 17.14.8 aligns with the PR’s goal of keeping Microsoft dependencies in sync and up-to-date.

tests/Digdir.Domain.Dialogporten.GraphQl.Integration.Tests/Digdir.Domain.Dialogporten.GraphQl.Integration.Tests.csproj (1)

10-10: Approve dependency version bump for Microsoft.AspNetCore.Mvc.Testing
The package reference has been updated from 9.0.4 to 9.0.5, aligning this integration test project with the rest of the solution. This is a non-breaking patch upgrade.

src/Digdir.Domain.Dialogporten.Domain/Digdir.Domain.Dialogporten.Domain.csproj (1)

5-5: Approve version bump for Microsoft.Extensions.DependencyInjection.Abstractions
Upgrading from 9.0.4 to 9.0.5 ensures consistency across projects without affecting public APIs.

tests/Digdir.Domain.Dialogporten.WebApi.Unit.Tests/Digdir.Domain.Dialogporten.WebApi.Unit.Tests.csproj (1)

9-9: Approve dependency version bump for Microsoft.AspNetCore.Mvc.Testing
The test project now references version 9.0.5, matching other test and application projects.

src/Digdir.Library.Dialogporten.WebApiClient.WebApiSample/Digdir.Library.Dialogporten.WebApiClient.WebApiSample.csproj (1)

8-8: Approve version bump for Microsoft.AspNetCore.OpenApi
Updating from 9.0.4 to 9.0.5 keeps the sample project in sync with updated OpenAPI dependencies.

src/Digdir.Domain.Dialogporten.Application/Digdir.Domain.Dialogporten.Application.csproj (1)

12-13: Approve Microsoft.Extensions package upgrades
Both Microsoft.Extensions.Hosting and Microsoft.Extensions.Options.ConfigurationExtensions have been correctly updated from 9.0.4 to 9.0.5, maintaining consistency with related projects.

src/Digdir.Library.Utils.AspNet/Digdir.Library.Utils.AspNet.csproj (1)

11-13: Update Http and AppConfiguration packages
The Microsoft.Extensions.Http package is bumped to 9.0.5 and Microsoft.Azure.AppConfiguration.AspNetCore to 8.2.0, aligning with the broader dependency updates. No behavioral changes are expected in these minor/patch releases.

src/Digdir.Domain.Dialogporten.GraphQL/Digdir.Domain.Dialogporten.GraphQL.csproj (2)

7-7: Upgrade JwtBearer authentication package
Microsoft.AspNetCore.Authentication.JwtBearer moved from 9.0.4 to 9.0.5. This patch should introduce no breaking changes but please validate your authentication flows post-upgrade.

Run existing integration tests or manual smoke tests against a secured endpoint to ensure the new patch release does not affect token validation.


12-12: Upgrade Azure AppConfiguration AspNetCore package
Microsoft.Azure.AppConfiguration.AspNetCore updated from 8.1.2 to 8.2.0. Confirm that your configuration refresh and feature-flag behaviors remain unchanged after this bump.

A quick manual or automated check on builder.Configuration.AddAzureAppConfiguration() would ensure no behavioral drift.

src/Digdir.Domain.Dialogporten.WebApi/Digdir.Domain.Dialogporten.WebApi.csproj (2)

12-12: Upgrade Azure AppConfiguration AspNetCore package
The version is bumped from 8.1.2 to 8.2.0. Ensure that startup-time configuration loading and feature management continue to work as expected.


16-18: Bump ASP.NET Core packages to 9.0.5
Microsoft.AspNetCore.Authentication.JwtBearer, Microsoft.AspNetCore.Mvc.NewtonsoftJson, and Microsoft.AspNetCore.OpenApi have been upgraded to 9.0.5. These patch releases should be backward-compatible; please run your API contracts and Swagger generation scenarios to confirm.

Execute your end-to-end API tests or regenerate the OpenAPI spec to verify no regressions.

src/Digdir.Domain.Dialogporten.Infrastructure/Digdir.Domain.Dialogporten.Infrastructure.csproj (3)

9-12: Upgrade caching, user secrets, and Http.Polly packages
References for Microsoft.Extensions.Caching.StackExchangeRedis, Configuration.UserSecrets, and Http.Polly have been bumped to 9.0.5. No API surface changes are expected, but ensure your resilience policies still behave correctly.

Consider running a brief load-test or fault-injection test to validate your retry policies.


15-15: Upgrade EF Core Tools to 9.0.5
Microsoft.EntityFrameworkCore.Tools has been updated to 9.0.5 with PrivateAssets and IncludeAssets configured. Confirm your migrations and tooling remain functional.


20-22: Upgrade HealthChecks and Hosting.Abstractions
Microsoft.Extensions.Diagnostics.HealthChecks, Diagnostics.HealthChecks.EntityFrameworkCore, and Hosting.Abstractions are now at 9.0.5. Please verify that your health check endpoints and EF health probes report correctly after the upgrade.

Run dotnet healthchecks-ui or your equivalent endpoint to confirm.

@oskogstad oskogstad merged commit 0d4641c into main May 19, 2025
26 checks passed
@oskogstad oskogstad deleted the chore/update-microsoft-nugets branch May 19, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0