github.com/jackc/pgx/v5 breaking changes
github.com/jackc/pgx/v5 v5.9.0 (March 21, 2026) is its newest release with breaking changes, 4 of them. The first: Signature changed github.com/jackc/pgx/v5/pgconn.HijackedConn.SecretKey. Every breaking API change we have recorded in github.com/jackc/pgx/v5 on Go modules: 7 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v5.13.0, released November 11, 2026. Source repository
Packages on Go modules run on Go. Go end of life dates.
github.com/jackc/pgx/v5 v5.9.0 breaking changes
- Signature changed
github.com/jackc/pgx/v5/pgconn.HijackedConn.SecretKey
Was SecretKey uint32; now SecretKey []byte. pkg.go.dev - Signature changed
github.com/jackc/pgx/v5/pgconn.PgConn.SecretKey
Was func SecretKey() uint32; now func SecretKey() []byte. pkg.go.dev - Signature changed
github.com/jackc/pgx/v5/pgproto3.BackendKeyData.SecretKey
Was SecretKey uint32; now SecretKey []byte. pkg.go.dev - Signature changed
github.com/jackc/pgx/v5/pgproto3.CancelRequest.SecretKey
Was SecretKey uint32; now SecretKey []byte. pkg.go.dev
github.com/jackc/pgx/v5 v5.7.6 breaking changes
- Signature changed
github.com/jackc/pgx/v5/pgtype/zeronull.Int2.ScanInt64
Was func ScanInt64(int64, bool) error; now func ScanInt64(pgtype.Int8) error. pkg.go.dev - Signature changed
github.com/jackc/pgx/v5/pgtype/zeronull.Int4.ScanInt64
Was func ScanInt64(int64, bool) error; now func ScanInt64(pgtype.Int8) error. pkg.go.dev - Signature changed
github.com/jackc/pgx/v5/pgtype/zeronull.Int8.ScanInt64
Was func ScanInt64(int64, bool) error; now func ScanInt64(pgtype.Int8) error. pkg.go.dev
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.