npgsql breaking changes
Updated December 4, 2026
On this page
Latest version 11.0.0, released November 20, 2026. Source repository
Packages on NuGet run on .NET. .NET end of life dates.
- From 10.0.0 to 11.0.0: 13 breaking changes in 1 version.
- From 7.0.0 to 11.0.0: 138 breaking changes in 4 versions.
npgsql 11.0.0 breaking changes
- Removed
Npgsql no longer targets net8.0 or net9.0, so projects on those frameworks must move to a supported target. github.com - Removed
Multiplexing has been removed from the driver, so code that depended on it must change. github.com - Removed
The previously obsoleted large object API has been removed. github.com - Removed
Npgsql.NpgsqlConnectionStringBuilder.Multiplexing
Npgsql.NpgsqlConnectionStringBuilder.Multiplexing was removed in Npgsql 11.0.0 nuget.org - Removed
Npgsql.NpgsqlConnectionStringBuilder.WriteCoalescingBufferThresholdBytes
Npgsql.NpgsqlConnectionStringBuilder.WriteCoalescingBufferThresholdBytes was removed in Npgsql 11.0.0 nuget.org - Removed
Npgsql.NpgsqlLargeObjectManager
Npgsql.NpgsqlLargeObjectManager was removed in Npgsql 11.0.0 nuget.org - Removed
Npgsql.NpgsqlLargeObjectStream
Npgsql.NpgsqlLargeObjectStream was removed in Npgsql 11.0.0 nuget.org - Behavior changed
Any timeout between 0 and 1 ms is now treated as expired. github.com - Behavior changed
COPY operations now treat a timeout of 0 as infinite, in addition to -1. github.com - Behavior changed
The data source name no longer includes the password when Persist Security Info=true. github.com - Behavior changed
Writing geometry now honors handleOrdinates, which can change the written output. github.com - Default changed
The default metrics pool name is now the Application Name from the connection string. github.com - Default changed
Buffer bounds checks are now enabled by default. github.com
npgsql 10.0.0 breaking changes
- Removed
Npgsql no longer supports net6.0 targets; move to a supported .NET version before upgrading. github.com - Behavior changed
The SCRAM-SHA-256 SASL validation is stricter, so some servers that previously connected may now fail. github.com - Behavior changed
Metric names and shapes changed to match the latest OTel spec, which can affect existing monitoring. github.com - Behavior changed
Metrics and tracing names and attributes were aligned to newer OpenTelemetry specs, which can change dashboards and telemetry consumers. github.com - Behavior changed
NpgsqlCommand
Assignments to a disposed NpgsqlCommand now throw ObjectDisposedException, so code doing this must be changed. github.com - Behavior changed
NpgsqlConnectionStringBuilder
NpgsqlConnectionStringBuilder.GetProperties now returns different properties than before. github.com - Default changed
GSSAPI session encryption is now on by default, which changes connection behavior for Kerberos users. github.com - Default changed
The Include Realm option is enabled by default, which changes Kerberos authentication behavior. github.com - Default changed
date and time columns are read and written as DateOnly/TimeOnly by default instead of DateTime; code relying on the old mapping must opt back in. github.com - Default changed
The cidr to IPNetwork mapping is now the default, so code expecting the previous mapping must change. github.com
And 5 more in this version. Sign up to see every change
npgsql 9.0.0 breaking changes
- Removed
Some deprecated or unused authentication methods are removed and some enum values are renamed, so code referencing them must be updated. github.com - Removed
Multipass resolution is removed from type resolution; code depending on it must change. github.com - Removed
Npgsql.NpgsqlBatch.DisposeAsync
Npgsql.NpgsqlBatch.DisposeAsync was removed in Npgsql 9.0.0 nuget.org - Removed
Npgsql.NpgsqlCopyTextWriter.DisposeAsync
Npgsql.NpgsqlCopyTextWriter.DisposeAsync was removed in Npgsql 9.0.0 nuget.org - Removed
Npgsql.NpgsqlDataSource.DisposeAsync
Npgsql.NpgsqlDataSource.DisposeAsync was removed in Npgsql 9.0.0 nuget.org - Removed
Npgsql.NpgsqlMultiHostDataSource.Dispose
Npgsql.NpgsqlMultiHostDataSource.Dispose was removed in Npgsql 9.0.0 nuget.org - Removed
Npgsql.Replication.PgOutput.PgOutputReplicationOptions.Streaming
Npgsql.Replication.PgOutput.PgOutputReplicationOptions.Streaming was removed in Npgsql 9.0.0 nuget.org - Removed
System.Data.Common.DbBatch
System.Data.Common.DbBatch was removed in Npgsql 9.0.0 nuget.org - Removed
System.Data.Common.DbBatchCommand
System.Data.Common.DbBatchCommand was removed in Npgsql 9.0.0 nuget.org - Removed
System.Data.Common.DbBatchCommandCollection
System.Data.Common.DbBatchCommandCollection was removed in Npgsql 9.0.0 nuget.org
And 44 more in this version. Sign up to see every change
npgsql 8.0.0 breaking changes
- Removed
Npgsql.NpgsqlConnection.IntegratedSecurity
Npgsql.NpgsqlConnection.IntegratedSecurity was removed in Npgsql 8.0.0 nuget.org - Removed
Npgsql.NpgsqlConnectionStringBuilder.BackendTimeouts
Npgsql.NpgsqlConnectionStringBuilder.BackendTimeouts was removed in Npgsql 8.0.0 nuget.org - Removed
Npgsql.NpgsqlConnectionStringBuilder.ClientCertificate
Use NpgsqlConnectionStringBuilder.SslKey instead. nuget.org - Removed
Npgsql.NpgsqlConnectionStringBuilder.ClientCertificateKey
Use NpgsqlConnectionStringBuilder.SslPassword instead. nuget.org - Removed
Npgsql.NpgsqlConnectionStringBuilder.ContinuousProcessing
Npgsql.NpgsqlConnectionStringBuilder.ContinuousProcessing was removed in Npgsql 8.0.0 nuget.org - Removed
Npgsql.NpgsqlConnectionStringBuilder.ConvertInfinityDateTime
Npgsql.NpgsqlConnectionStringBuilder.ConvertInfinityDateTime was removed in Npgsql 8.0.0 nuget.org - Removed
Npgsql.NpgsqlConnectionStringBuilder.EntityAdminDatabase
Npgsql.NpgsqlConnectionStringBuilder.EntityAdminDatabase was removed in Npgsql 8.0.0 nuget.org - Removed
Npgsql.NpgsqlConnectionStringBuilder.EntityTemplateDatabase
Npgsql.NpgsqlConnectionStringBuilder.EntityTemplateDatabase was removed in Npgsql 8.0.0 nuget.org - Removed
Npgsql.NpgsqlConnectionStringBuilder.IncludeErrorDetails
Use NpgsqlConnectionStringBuilder.IncludeErrorDetail instead. nuget.org - Removed
Npgsql.NpgsqlConnectionStringBuilder.IntegratedSecurity
Npgsql.NpgsqlConnectionStringBuilder.IntegratedSecurity was removed in Npgsql 8.0.0 nuget.org
And 46 more in this version. Sign up to see every change
npgsql 7.0.0 breaking changes
- Removed
Npgsql.Logging.ConsoleLoggingProvider
Npgsql.Logging.ConsoleLoggingProvider was removed in Npgsql 7.0.0 nuget.org - Removed
Npgsql.Logging.INpgsqlLoggingProvider
Npgsql.Logging.INpgsqlLoggingProvider was removed in Npgsql 7.0.0 nuget.org - Removed
Npgsql.Logging.NpgsqlLogger
Npgsql.Logging.NpgsqlLogger was removed in Npgsql 7.0.0 nuget.org - Removed
Npgsql.Logging.NpgsqlLogLevel
Npgsql.Logging.NpgsqlLogLevel was removed in Npgsql 7.0.0 nuget.org - Removed
Npgsql.Logging.NpgsqlLogManager
Npgsql.Logging.NpgsqlLogManager was removed in Npgsql 7.0.0 nuget.org - Removed
Npgsql.NpgsqlConnection.MapComposite
Use NpgsqlConnection.TypeMapper.MapComposite instead. nuget.org - Removed
Npgsql.NpgsqlConnection.MapCompositeGlobally
Use NpgsqlConnection.GlobalTypeMapper.MapComposite instead. nuget.org - Removed
Npgsql.NpgsqlConnection.MapEnum
Use NpgsqlConnection.TypeMapper.MapEnum instead. nuget.org - Removed
Npgsql.NpgsqlConnection.MapEnumGlobally
Use NpgsqlConnection.GlobalTypeMapper.MapEnum instead. nuget.org - Removed
Npgsql.NpgsqlConnection.PhysicalOpenAsyncCallback
Npgsql.NpgsqlConnection.PhysicalOpenAsyncCallback was removed in Npgsql 7.0.0 nuget.org
And 22 more in this version. Sign up to see every change
Related packages
- npgsql.opentelemetry
- npgsql.json.net
- npgsql.nettopologysuite
- npgsql.entityframeworkcore.postgresql
- npgsql.entityframeworkcore.postgresql.nettopologysuite
- npgsql.entityframeworkcore.postgresql.nodatime
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.