diff --git a/postgres-native-tls/Cargo.toml b/postgres-native-tls/Cargo.toml index 188108fb..d6b0bd8b 100644 --- a/postgres-native-tls/Cargo.toml +++ b/postgres-native-tls/Cargo.toml @@ -25,4 +25,4 @@ tokio-postgres = { version = "0.5.0", path = "../tokio-postgres", default-featur [dev-dependencies] tokio = { version = "0.2", features = ["full"] } -postgres = { version = "=0.17.0-alpha.2", path = "../postgres" } +postgres = { version = "0.17.0", path = "../postgres" } diff --git a/postgres-openssl/Cargo.toml b/postgres-openssl/Cargo.toml index faa86547..b15b6691 100644 --- a/postgres-openssl/Cargo.toml +++ b/postgres-openssl/Cargo.toml @@ -25,4 +25,4 @@ tokio-postgres = { version = "0.5.0", path = "../tokio-postgres", default-featur [dev-dependencies] tokio = { version = "0.2", features = ["full"] } -postgres = { version = "=0.17.0-alpha.2", path = "../postgres" } +postgres = { version = "0.17.0", path = "../postgres" } diff --git a/postgres/CHANGELOG.md b/postgres/CHANGELOG.md index 11693ca5..686830db 100644 --- a/postgres/CHANGELOG.md +++ b/postgres/CHANGELOG.md @@ -1,5 +1,26 @@ # Change Log +## v0.17.0 - 2019-12-23 + +### Changed + +* Each `Client` now has its own non-threaded tokio `Runtime` rather than sharing a global threaded `Runtime`. This + significantly improves performance by minimizing context switches and cross-thread synchronization. +* `Client::copy_in` now returns a writer rather than taking in a reader. +* `Client::query_raw` now returns a named type. +* `Client::copy_in` and `Client::copy_out` no longer take query parameters as PostgreSQL doesn't support them in COPY + queries. + +### Removed + +* Removed support for `uuid` 0.7. + +### Added + +* Added `Client::query_opt` for queries that are expected to return zero or one rows. +* Added binary copy support in the `binary_copy` module. +* The `fallible-iterator` crate is now publicly reexported. + ## v0.17.0-alpha.2 - 2019-11-27 ### Changed diff --git a/postgres/Cargo.toml b/postgres/Cargo.toml index 94b86e55..41d50032 100644 --- a/postgres/Cargo.toml +++ b/postgres/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "postgres" -version = "0.17.0-alpha.2" +version = "0.17.0" authors = ["Steven Fackler "] edition = "2018" license = "MIT/Apache-2.0"