File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ futures = "0.3"
2121native-tls = " 0.2"
2222tokio = " 0.2"
2323tokio-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 ]
2727tokio = { version = " 0.2" , features = [" full" ] }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ futures = "0.3"
2121openssl = " 0.10"
2222tokio = " 0.2"
2323tokio-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 ]
2727tokio = { version = " 0.2" , features = [" full" ] }
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ with-uuid-0_8 = ["tokio-postgres/with-uuid-0_8"]
3232bytes = " 0.5"
3333fallible-iterator = " 0.2"
3434futures = " 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
3737tokio = { version = " 0.2" , features = [" rt-core" ] }
3838log = " 0.4"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11[package ]
22name = " tokio-postgres"
3- version = " 0.5.0-alpha.2 "
3+ version = " 0.5.0"
44authors = [" Steven Fackler <sfackler@gmail.com>" ]
55edition = " 2018"
66license = " MIT/Apache-2.0"
You can’t perform that action at this time.
0 commit comments