Release tokio-postgres v0.5.0

This commit is contained in:
Steven Fackler 2019-12-23 15:40:49 -08:00
parent 245ccb7bab
commit 1f773f08e3
5 changed files with 24 additions and 4 deletions

View File

@ -21,7 +21,7 @@ futures = "0.3"
native-tls = "0.2"
tokio = "0.2"
tokio-tls = "0.3"
tokio-postgres = { version = "=0.5.0-alpha.2", path = "../tokio-postgres", default-features = false }
tokio-postgres = { version = "0.5.0", path = "../tokio-postgres", default-features = false }
[dev-dependencies]
tokio = { version = "0.2", features = ["full"] }

View File

@ -21,7 +21,7 @@ futures = "0.3"
openssl = "0.10"
tokio = "0.2"
tokio-openssl = "0.4"
tokio-postgres = { version = "=0.5.0-alpha.2", path = "../tokio-postgres", default-features = false }
tokio-postgres = { version = "0.5.0", path = "../tokio-postgres", default-features = false }
[dev-dependencies]
tokio = { version = "0.2", features = ["full"] }

View File

@ -32,7 +32,7 @@ with-uuid-0_8 = ["tokio-postgres/with-uuid-0_8"]
bytes = "0.5"
fallible-iterator = "0.2"
futures = "0.3"
tokio-postgres = { version = "=0.5.0-alpha.2", path = "../tokio-postgres" }
tokio-postgres = { version = "0.5.0", path = "../tokio-postgres" }
tokio = { version = "0.2", features = ["rt-core"] }
log = "0.4"

View File

@ -1,5 +1,25 @@
# Change Log
## v0.5.0 - 2019-12-23
### Changed
* `Client::copy_in` now returns a `Sink` rather than taking in a `Stream`.
* `CopyStream` has been renamed to `CopyOutStream`.
* `Client::copy_in` and `Client::copy_out` no longer take query parameters as PostgreSQL doesn't support parameters in
COPY queries.
* `TargetSessionAttrs`, `SslMode`, and `ChannelBinding` are now true non-exhaustive enums.
### Added
* Added `Client::query_opt` for queries expected to return zero or one rows.
* Added binary copy format support to the `binary_copy` module.
* Added back query logging.
### Removed
* Removed `uuid` 0.7 support.
## v0.5.0-alpha.2 - 2019-11-27
### Changed

View File

@ -1,6 +1,6 @@
[package]
name = "tokio-postgres"
version = "0.5.0-alpha.2"
version = "0.5.0"
authors = ["Steven Fackler <sfackler@gmail.com>"]
edition = "2018"
license = "MIT/Apache-2.0"