- Better connection string sanitization (ip.novikov)
- Use proper pgpass location on Windows (Moshe Katz)
- Use errors instead of golang.org/x/xerrors
- Resume fallback on server error in Connect (Andrey Borodin)
- Add StatementErrored method to stmtcache.Cache. This allows the cache to purge invalidated prepared statements. (Ethan Pailes)
- Fix data value slices into work buffer with capacities larger than length.
- Do not asyncClose after receiving FATAL error from PostgreSQL server
- Exec(Params|Prepared) return ResultReader with FieldDescriptions loaded
- Add ReceiveResults (Sebastiaan Mannem)
- Fix parsing DSN connection with bad backslash
- Add PgConn.CleanupDone so connection pools can determine when async close is complete
- Fix deadlock on error after CommandComplete but before ReadyForQuery
- Fix panic on parsing DSN with trailing '='
- Fix error message after AppendCertsFromPEM failure (vahid-sohrabloo)
- Update pgservicefile library
- Update golang.org/x/crypto to latest
- Update golang.org/x/text to 0.3.3
- Fix error handling for bad PGSERVICE definition
- Redact passwords in ParseConfig errors (Lukas Vogel)
- Fix panic when closing conn during cancellable query
- Fix behavior of sslmode=require with sslrootcert present (Petr Jediný)
- Fix field descriptions available after command concluded (Tobias Salzmann)
- Support connect_timeout (georgysavva)
- Handle IPv6 in connection URLs (Lukas Vogel)
- Fix ValidateConnect with cancelable context
- Improve CopyFrom performance
- Add Config.Copy (georgysavva)
- Update golang.org/x/crypto for security fix
- Implement "verify-ca" SSL mode (Greg Curtis)
- Fix ExecParams and ExecPrepared handling of empty query.
- Support reading config from PostgreSQL service files.
- Update chunkreader to v2.0.1 for optimized default buffer size.
- Fix CopyFrom deadlock when multiple NoticeResponse received during copy
- Add Hijack and Construct.
- Update pgproto3 to v2.0.1.
- Fix data race in context cancellation introduced in v1.2.0.
- Add Insert(), Update(), Delete(), and Select() statement type query methods to CommandTag.
- Add PgError.SQLState method. This could be used for compatibility with other drivers and databases.
- Improve performance when context.Background() is used. (bakape)
- CommandTag.RowsAffected is faster and does not allocate.
- Try to cancel any in-progress query when a conn is closed by ctx cancel.
- Handle NoticeResponse during CopyFrom.
- Ignore errors sending Terminate message while closing connection. This mimics the behavior of libpq PGfinish.
- Add PgConn.IsBusy() method.
- Fix statement cache not properly cleaning discarded statements.