Skip to content

Commit be8ed87

Browse files
committed
Update changelog
1 parent f6bbf4b commit be8ed87

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
# 4.0.0 (Prerelease)
1+
# 4.0.0 (Release candidate)
22

3-
v4 is a major release with many significant changes.
3+
v4 is a major release with many significant changes. The most significant are included below.
44

55
* Simplified establishing a connection with a connection string.
66
* All potentially blocking operations now require a context.Context. The non-context aware functions have been removed.
77
* OIDs are hard-coded for known types. This saves the query on connection.
88
* Context cancellations while network activity is in progress is now always fatal. Previously, it was sometimes recoverable. This led to increased complexity in pgx itself and in application code.
99
* Go modules are required.
10-
* Errors are now implemented in the Go 1.13 style. Tests for specific error types must use `As` or `Is`.
11-
* `Rows` is now an interface.
10+
* Errors are now implemented in the Go 1.13 style.
11+
* `Rows` and `Tx` are now interfaces.
1212
* The connection pool as been decoupled from pgx and is now a separate, included package (github.com/jackc/pgx/v4/pgxpool).
1313
* pgtype has been spun off to a separate package (github.com/jackc/pgtype).
1414
* pgproto3 has been spun off to a separate package (github.com/jackc/pgproto3).
15+
* Logical replication support has been spun off to a separate package (github.com/jackc/pglogrepl).
1516
* Lower level PostgreSQL functionality is now implemented in a separate package (github.com/jackc/pgconn).
16-
* Replication support has been temporarily removed. It will be implemented in a separate package.
1717
* Tests are now configured with environment variables.
18+
* Conn has an automatic statement cache by default.
19+
* Batch interface has been simplified.
20+
* QueryArgs has been removed.

0 commit comments

Comments
 (0)