From a48e9bf63c413ae0498d16e339f94c2884fa988e Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 11 Jan 2020 19:07:39 -0600 Subject: [PATCH] Update changelog --- CHANGELOG.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92497f47..1debb10b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,25 @@ +# 1.2.0 (January 11, 2020) + +## Features + +* 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. + +## Performance + +* Improve performance when context.Background() is used. (bakape) +* CommandTag.RowsAffected is faster and does not allocate. + +## Fixes + +* 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. + # 1.1.0 (October 12, 2019) -* Add PgConn.IsBusy() method +* Add PgConn.IsBusy() method. # 1.0.1 (September 19, 2019) -* Fix statement cache not properly cleaning discarded statements +* Fix statement cache not properly cleaning discarded statements.