From d88bccc27c021fcc5727e563a8ff5ec38f403a49 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 31 Jan 2020 18:00:05 -0800 Subject: [PATCH] Release tokio-postgres v0.5.2 --- tokio-postgres/CHANGELOG.md | 18 ++++++++++++++++++ tokio-postgres/Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/tokio-postgres/CHANGELOG.md b/tokio-postgres/CHANGELOG.md index 95bf19bc..c40f7e13 100644 --- a/tokio-postgres/CHANGELOG.md +++ b/tokio-postgres/CHANGELOG.md @@ -1,5 +1,23 @@ # Change Log +## v0.5.2 - 2020-01-31 + +### Fixed + +* Notice messages sent during the initial connection process are now collected and returned first from + `Connection::poll_message`. + +### Deprecated + +* Deprecated `Client::cancel_query` and `Client::cancel_query_raw` in favor of `Client::cancel_token`. + +### Added + +* Added `Client::build_transaction` to allow configuration of various transaction options. +* Added `Client::cancel_token`, which returns a separate owned object that can be used to cancel queries. +* Added accessors for `Client` fields. +* Added a `GenericClient` trait implemented for `Client` and `Transaction` and covering shared functionality. + ## v0.5.1 - 2019-12-25 ### Fixed diff --git a/tokio-postgres/Cargo.toml b/tokio-postgres/Cargo.toml index dc2c140a..2f3dd40c 100644 --- a/tokio-postgres/Cargo.toml +++ b/tokio-postgres/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tokio-postgres" -version = "0.5.1" +version = "0.5.2" authors = ["Steven Fackler "] edition = "2018" license = "MIT/Apache-2.0"