2019-03-06 03:03:36 +00:00
|
|
|
# Change Log
|
|
|
|
|
|
|
|
## [Unreleased]
|
|
|
|
|
2019-03-07 05:05:04 +00:00
|
|
|
## [v0.4.0-rc.2] - 2019-03-05
|
2019-03-06 05:49:41 +00:00
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* Fixed Cargo features to actually enable the functionality they claim to.
|
|
|
|
|
2019-03-07 05:05:04 +00:00
|
|
|
## [v0.4.0-rc.1] - 2019-03-05
|
2019-03-06 03:03:36 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* The client API has been significantly overhauled. It now resembles `hyper`'s, with separate `Connection` and `Client`
|
|
|
|
objects. See the crate-level documentation for more details.
|
|
|
|
* Connection string configuration now fully mirrors libpq's syntax, and supports both URL-style and key-value style
|
|
|
|
strings.
|
|
|
|
* The TLS connection mode (e.g. `prefer`) is now part of the connection configuration rather than being passed in
|
|
|
|
separately.
|
|
|
|
* The Cargo features enabling `ToSql` and `FromSql` implementations for external crates are now versioned. For example,
|
|
|
|
`with-uuid` is now `with-uuid-0_7`. This enables us to add support for new major versions of the crates in parallel
|
|
|
|
without breaking backwards compatibility.
|
|
|
|
* Upgraded from `tokio-core` to `tokio`.
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* `FromSql` implementations can now borrow from the data buffer. In particular, this means that you can deserialize
|
|
|
|
values as `&str`. The `FromSqlOwned` trait can be used as a bound to restrict code to deserializing owned values.
|
|
|
|
* Added support for channel binding with SCRAM authentication.
|
|
|
|
* Added multi-host support in connection configuration.
|
|
|
|
* The client now supports query pipelining, which can be used as a latency hiding measure.
|
|
|
|
* While the crate uses `tokio` by default, the base API can be used with any asynchronous stream type on any reactor.
|
|
|
|
* Added support for simple query requests returning row data.
|
|
|
|
|
|
|
|
### Removed
|
|
|
|
|
|
|
|
* The `with-openssl` feature has been removed. Use the `tokio-postgres-openssl` crate instead.
|
|
|
|
* The `with-rustc_serialize` and `with-time` features have been removed. Use `serde` and `SystemTime` or `chrono`
|
|
|
|
instead.
|
|
|
|
|
|
|
|
## Older
|
|
|
|
|
|
|
|
Look at the [release tags] for information about older releases.
|
|
|
|
|
2019-03-06 05:49:41 +00:00
|
|
|
[Unreleased]: https://github.com/sfackler/rust-postgres/compare/tokio-postgres-v0.4.0-rc.2...master
|
|
|
|
[v0.4.0-rc.2]: https://github.com/sfackler/rust-postgres/compare/tokio-postgres-v0.4.0-rc.1...tokio-postgres-v0.4.0-rc.2
|
2019-03-06 03:03:36 +00:00
|
|
|
[v0.4.0-rc.1]: https://github.com/sfackler/rust-postgres/compare/tokio-postgres-v0.3.0...tokio-postgres-v0.4.0-rc.1
|
|
|
|
[release tags]: https://github.com/sfackler/rust-postgres/releases
|