# 0.4.0
## New Features
* #57 The `drain` method has been added to the
`Connection` and `Subscription` structs.
## Breaking Changes
* #36 `Connection::close` is now infallible and has no
return value
* #36 The redundant `Subscription::close` has been
removed. The same functionality exists in
`Subscription::unsubscribe`.
* bumped the MSRV to 1.39.0 in anticipation of possible
async support.
# 0.3.2
## Misc
* The minimum supported Rust version (MSRV) is now
made explicit, and lowered to version 1.37.0 from
1.42.0. Crate version 0.3.1 has been yanked due to
it having silently broken older Rust versions than
1.42.0.
# 0.3.1
## New Features
* #19 TLS support has been added.
# 0.3
## New Features
* #16 Implement reconnection logic.
* #16 Buffer outbound data when in a disconnected state.
* #16 Learn about new servers using the received INFO block.
* #16 Callback functions may be provided via the new
`Options::set_disconnect_callback` and
`Options::set_reconnect_callback` which will be executed
when the connection to a server has been terminated
or when a new connection has been established afterward.
## Breaking Changes
* #11 `Connection::new` has been renamed `Options::new`.
* #13 The various iterators have been replaced with concrete
implementations: `Iter`, `IntoIter`, `TimeoutIter` which
ensure that the backing `Subscription` is not closed
while they are in use.