diff --git a/postgres-native-tls/Cargo.toml b/postgres-native-tls/Cargo.toml index 598531ad..c55963c5 100644 --- a/postgres-native-tls/Cargo.toml +++ b/postgres-native-tls/Cargo.toml @@ -20,7 +20,7 @@ futures = "0.3" native-tls = "0.2" tokio = "1.0" tokio-native-tls = "0.3" -tokio-postgres = { version = "0.6.0", path = "../tokio-postgres", default-features = false } +tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false } [dev-dependencies] tokio = { version = "1.0", features = ["full"] } diff --git a/postgres-openssl/Cargo.toml b/postgres-openssl/Cargo.toml index 11fd9f82..ac68c549 100644 --- a/postgres-openssl/Cargo.toml +++ b/postgres-openssl/Cargo.toml @@ -20,7 +20,7 @@ futures = "0.3" openssl = "0.10" tokio = "1.0" tokio-openssl = "0.6" -tokio-postgres = { version = "0.6.0", path = "../tokio-postgres", default-features = false } +tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false } [dev-dependencies] tokio = { version = "1.0", features = ["full"] } diff --git a/postgres/Cargo.toml b/postgres/Cargo.toml index 70d7ee30..ebbb919f 100644 --- a/postgres/Cargo.toml +++ b/postgres/Cargo.toml @@ -33,7 +33,7 @@ with-time-0_2 = ["tokio-postgres/with-time-0_2"] bytes = "1.0" fallible-iterator = "0.2" futures = "0.3" -tokio-postgres = { version = "0.6.0", path = "../tokio-postgres" } +tokio-postgres = { version = "0.7.0", path = "../tokio-postgres" } tokio = { version = "1.0", features = ["rt", "time"] } log = "0.4" diff --git a/tokio-postgres/CHANGELOG.md b/tokio-postgres/CHANGELOG.md index 95fd3ed6..7d513daa 100644 --- a/tokio-postgres/CHANGELOG.md +++ b/tokio-postgres/CHANGELOG.md @@ -1,10 +1,21 @@ # Change Log +## v0.7.0 - 2020-12-25 + +### Changed + +* Upgraded to `tokio` 1.0. +* Upgraded to `postgres-types` 0.2. + +### Added + +* Methods taking iterators of `ToSql` values can now take both `&dyn ToSql` and `T: ToSql` values. + ## v0.6.0 - 2020-10-17 ### Changed -* Upgraded to tokio `0.3`. +* Upgraded to `tokio` 0.3. * Added the detail and hint fields to `DbError`'s `Display` implementation. ## v0.5.5 - 2020-07-03 diff --git a/tokio-postgres/Cargo.toml b/tokio-postgres/Cargo.toml index 908d1a38..613af127 100644 --- a/tokio-postgres/Cargo.toml +++ b/tokio-postgres/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tokio-postgres" -version = "0.6.0" +version = "0.7.0" authors = ["Steven Fackler "] edition = "2018" license = "MIT/Apache-2.0" diff --git a/tokio-postgres/src/lib.rs b/tokio-postgres/src/lib.rs index 90c2b040..6e73b883 100644 --- a/tokio-postgres/src/lib.rs +++ b/tokio-postgres/src/lib.rs @@ -112,7 +112,7 @@ //! | `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/tokio-postgres/0.6")] +#![doc(html_root_url = "https://docs.rs/tokio-postgres/0.7")] #![warn(rust_2018_idioms, clippy::all, missing_docs)] pub use crate::cancel_token::CancelToken;