Skip to content

Commit 461b9fa

Browse files
committed
Release v5.4.0
1 parent 45520d5 commit 461b9fa

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# 5.4.0 (June 14, 2023)
2+
3+
* Replace platform specific syscalls for non-blocking IO with more traditional goroutines and deadlines. This returns to the v4 approach with some additional improvements and fixes. This restores the ability to use a pgx.Conn over an ssh.Conn as well as other non-TCP or Unix socket connections. In addition, it is a significantly simpler implementation that is less likely to have cross platform issues.
4+
* Optimization: The default type registrations are now shared among all connections. This saves about 100KB of memory per connection. `pgtype.Type` and `pgtype.Codec` values are now required to be immutable after registration. This was already necessary in most cases but wasn't documented until now. (Lev Zakharov)
5+
* Fix: Ensure pgxpool.Pool.QueryRow.Scan releases connection on panic
6+
* CancelRequest: don't try to read the reply (Nicola Murino)
7+
* Fix: correctly handle bool type aliases (Wichert Akkerman)
8+
* Fix: pgconn.CancelRequest: Fix unix sockets: don't use RemoteAddr()
9+
* Fix: pgx.Conn memory leak with prepared statement caching (Evan Jones)
10+
* Add BeforeClose to pgxpool.Pool (Evan Cordell)
11+
* Fix: various hstore fixes and optimizations (Evan Jones)
12+
* Fix: RowToStructByPos with embedded unexported struct
13+
* Support different bool string representations (Lev Zakharov)
14+
* Fix: error when using BatchResults.Exec on a select that returns an error after some rows.
15+
* Fix: pipelineBatchResults.Exec() not returning error from ResultReader
16+
* Fix: pipeline batch results not closing pipeline when error occurs while reading directly from results instead of using
17+
a callback.
18+
* Fix: scanning a table type into a struct
19+
* Fix: scan array of record to pointer to slice of struct
20+
* Fix: handle null for json (Cemre Mengu)
21+
* Batch Query callback is called even when there is an error
22+
* Add RowTo(AddrOf)StructByNameLax (Audi P. Risa P)
23+
124
# 5.3.1 (February 27, 2023)
225

326
* Fix: Support v4 and v5 stdlib in same program (Tomáš Procházka)

0 commit comments

Comments
 (0)