Sourced from github.com/jackc/pgx/v5's changelog.
5.8.0 (December 26, 2025)
- Require Go 1.24+
- Remove golang.org/x/crypto dependency
- Add OptionShouldPing to control ResetSession ping behavior (ilyam8)
- Fix: Avoid overflow when MaxConns is set to MaxInt32
- Fix: Close batch pipeline after a query error (Anthonin Bonnefoy)
- Faster shutdown of pgxpool.Pool background goroutines (Blake Gentry)
- Add pgxpool ping timeout (Amirsalar Safaei)
- Fix: Rows.FieldDescriptions for empty query
- Scan unknown types into *any as string or []byte based on format code
- Optimize pgtype.Numeric (Philip Dubé)
- Add AfterNetConnect hook to pgconn.Config
- Fix: Handle for preparing statements that fail during the Describe phase
- Fix overflow in numeric scanning (Ilia Demianenko)
- Fix: json/jsonb sql.Scanner source type is []byte
- Migrate from math/rand to math/rand/v2 (Mathias Bogaert)
- Optimize internal iobufpool (Mathias Bogaert)
- Optimize stmtcache invalidation (Mathias Bogaert)
- Fix: missing error case in interval parsing (Maxime Soulé)
- Fix: invalidate statement/description cache in Exec (James Hartig)
- ColumnTypeLength method return the type length for varbit type (DengChan)
- Array and Composite codecs handle typed nils
fe8740a
Release v5.8.0e5dde5a
Skip test on CockroachDB06f2d82
Remove trailing space2cf78dd
Merge pull request #2448 from
DengChan/column_type_lenth_varbit2d1c4ef
Skip tests on CockroachDB1a5fa7f
Array and Composite codecs handle typed nils5736d09
ColumnTypeLength method return the type length for varbit type.4c1308c
Revert "stdlib matches native pgx scanning support"14ce2b7
Skip test on CockroachDB65b2724
Merge pull request #2443 from
jameshartig/x-invalidate-cache-in-exec