Skip to content

Update Npgsql dependencies to stable .NET 11-aligned versions - #22548

Open
Nicholas Davidson (ndavidson7) wants to merge 4 commits into
microsoft:mainfrom
ndavidson7:update-npgsql
Open

Nicholas Davidson (ndavidson7) wants to merge 4 commits into
microsoft:mainfrom
ndavidson7:update-npgsql

Conversation

@ndavidson7

Copy link
Copy Markdown

Description

Updates the Npgsql.DependencyInjection, Npgsql.OpenTelemetry, and Npgsql.EntityFrameworkCore.PostgreSQL dependencies to 10.0.4 by default. Overrides Npgsql.OpenTelemetry and Npgsql.EntityFrameworkCore.PostgreSQL with the newly stable .NET 11-aligned 11.0.0 when targeting .NET 11. With the release of Npgsql 11.0.0, Npgsql.DependencyInjection was merged into Npgsql, so it is conditionally included only when targeting .NET 10.

These versions have not yet been published to the configured dotnet-public Azure Artifacts feed. However, builds and tests for the affected projects succeed locally with an override to NuGet.config to resolve Npgsql* packages from the official NuGet feed.

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22548

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22548"

@github-actions github-actions Bot added the area-integrations Issues pertaining to Aspire Integrations packages label Nov 23, 2026
@ndavidson7

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants