Skip to content

Commit 1f773f0

Browse files
committed
Release tokio-postgres v0.5.0
1 parent 245ccb7 commit 1f773f0

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

postgres-native-tls/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ futures = "0.3"
2121
native-tls = "0.2"
2222
tokio = "0.2"
2323
tokio-tls = "0.3"
24-
tokio-postgres = { version = "=0.5.0-alpha.2", path = "../tokio-postgres", default-features = false }
24+
tokio-postgres = { version = "0.5.0", path = "../tokio-postgres", default-features = false }
2525

2626
[dev-dependencies]
2727
tokio = { version = "0.2", features = ["full"] }

postgres-openssl/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ futures = "0.3"
2121
openssl = "0.10"
2222
tokio = "0.2"
2323
tokio-openssl = "0.4"
24-
tokio-postgres = { version = "=0.5.0-alpha.2", path = "../tokio-postgres", default-features = false }
24+
tokio-postgres = { version = "0.5.0", path = "../tokio-postgres", default-features = false }
2525

2626
[dev-dependencies]
2727
tokio = { version = "0.2", features = ["full"] }

postgres/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ with-uuid-0_8 = ["tokio-postgres/with-uuid-0_8"]
3232
bytes = "0.5"
3333
fallible-iterator = "0.2"
3434
futures = "0.3"
35-
tokio-postgres = { version = "=0.5.0-alpha.2", path = "../tokio-postgres" }
35+
tokio-postgres = { version = "0.5.0", path = "../tokio-postgres" }
3636

3737
tokio = { version = "0.2", features = ["rt-core"] }
3838
log = "0.4"

tokio-postgres/CHANGELOG.md

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

3+
## v0.5.0 - 2019-12-23
4+
5+
### Changed
6+
7+
* `Client::copy_in` now returns a `Sink` rather than taking in a `Stream`.
8+
* `CopyStream` has been renamed to `CopyOutStream`.
9+
* `Client::copy_in` and `Client::copy_out` no longer take query parameters as PostgreSQL doesn't support parameters in
10+
COPY queries.
11+
* `TargetSessionAttrs`, `SslMode`, and `ChannelBinding` are now true non-exhaustive enums.
12+
13+
### Added
14+
15+
* Added `Client::query_opt` for queries expected to return zero or one rows.
16+
* Added binary copy format support to the `binary_copy` module.
17+
* Added back query logging.
18+
19+
### Removed
20+
21+
* Removed `uuid` 0.7 support.
22+
323
## v0.5.0-alpha.2 - 2019-11-27
424

525
### Changed

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.0-alpha.2"
3+
version = "0.5.0"
44
authors = ["Steven Fackler <[email protected]>"]
55
edition = "2018"
66
license = "MIT/Apache-2.0"

0 commit comments

Comments
 (0)