diff --git a/postgres-native-tls/Cargo.toml b/postgres-native-tls/Cargo.toml index c55963c53..471101af4 100644 --- a/postgres-native-tls/Cargo.toml +++ b/postgres-native-tls/Cargo.toml @@ -24,4 +24,4 @@ tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-featur [dev-dependencies] tokio = { version = "1.0", features = ["full"] } -postgres = { version = "0.18.0", path = "../postgres" } +postgres = { version = "0.19.0", path = "../postgres" } diff --git a/postgres-openssl/Cargo.toml b/postgres-openssl/Cargo.toml index ac68c549c..cf16055c7 100644 --- a/postgres-openssl/Cargo.toml +++ b/postgres-openssl/Cargo.toml @@ -24,4 +24,4 @@ tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-featur [dev-dependencies] tokio = { version = "1.0", features = ["full"] } -postgres = { version = "0.18.0", path = "../postgres" } +postgres = { version = "0.19.0", path = "../postgres" } diff --git a/postgres/CHANGELOG.md b/postgres/CHANGELOG.md index 2c9443986..2376068a8 100644 --- a/postgres/CHANGELOG.md +++ b/postgres/CHANGELOG.md @@ -1,6 +1,18 @@ # Change Log -## v0.18.1 - 20201-10-19 +## v0.19.0 - 2020-12-25 + +### Changed + +* Upgraded to `tokio-postgres` 0.7. +* Methods taking iterators of `ToSql` values can now take both `&dyn ToSql` and `T: ToSql` values. + +### Added + +* Added `Client::is_valid` which can be used to check that the connection is still alive with a + timeout. + +## v0.18.1 - 2020-10-19 ### Fixed @@ -69,7 +81,7 @@ * `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. diff --git a/postgres/Cargo.toml b/postgres/Cargo.toml index ebbb919f2..ed63d0c1a 100644 --- a/postgres/Cargo.toml +++ b/postgres/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "postgres" -version = "0.18.1" +version = "0.19.0" authors = ["Steven Fackler "] edition = "2018" license = "MIT/Apache-2.0" diff --git a/postgres/src/lib.rs b/postgres/src/lib.rs index dc0fd4440..f25fe1175 100644 --- a/postgres/src/lib.rs +++ b/postgres/src/lib.rs @@ -61,7 +61,6 @@ //! | `with-serde_json-1` | Enable support for the `serde_json` crate. | [serde_json](https://crates.io/crates/serde_json) 1.0 | no | //! | `with-uuid-0_8` | Enable support for the `uuid` crate. | [uuid](https://crates.io/crates/uuid) 0.8 | no | //! | `with-time-0_2` | Enable support for the `time` crate. | [time](https://crates.io/crates/time) 0.2 | no | -#![doc(html_root_url = "https://docs.rs/postgres/0.17")] #![warn(clippy::all, rust_2018_idioms, missing_docs)] pub use fallible_iterator;