Skip to content

Commit d88bccc

Browse files
committed
Release tokio-postgres v0.5.2
1 parent 2ce4f08 commit d88bccc

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

tokio-postgres/CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Change Log
22

3+
## v0.5.2 - 2020-01-31
4+
5+
### Fixed
6+
7+
* Notice messages sent during the initial connection process are now collected and returned first from
8+
`Connection::poll_message`.
9+
10+
### Deprecated
11+
12+
* Deprecated `Client::cancel_query` and `Client::cancel_query_raw` in favor of `Client::cancel_token`.
13+
14+
### Added
15+
16+
* Added `Client::build_transaction` to allow configuration of various transaction options.
17+
* Added `Client::cancel_token`, which returns a separate owned object that can be used to cancel queries.
18+
* Added accessors for `Client` fields.
19+
* Added a `GenericClient` trait implemented for `Client` and `Transaction` and covering shared functionality.
20+
321
## v0.5.1 - 2019-12-25
422

523
### Fixed

tokio-postgres/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tokio-postgres"
3-
version = "0.5.1"
3+
version = "0.5.2"
44
authors = ["Steven Fackler <[email protected]>"]
55
edition = "2018"
66
license = "MIT/Apache-2.0"

0 commit comments

Comments
 (0)