Skip to content

v0.12.1

Choose a tag to compare

@github-actions github-actions released this 15 Jun 13:52
· 27 commits to main since this release
02e9d83

Fixed

  • Managed-identity Postgres connections now enforce SSL. The assembled connection string omitted the SslMode keyword, so Npgsql fell back to its Prefer default (silent non-SSL) — which Azure Database for PostgreSQL rejects for AAD / managed-identity users, with no knob to force it. Managed-identity connections now default to SslMode=Require, so AAD auth works out of the box; static-password mode is unchanged (local/bundled non-SSL container still works). A new POSTGRES_SSL_MODE env var (and matching Postgres:SslMode appsettings key) overrides the SSL mode for either auth mode, passed verbatim to Npgsql. See Configuration.