Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.44 KB

CHANGELOG.md

File metadata and controls

61 lines (38 loc) · 1.44 KB

Change Log

v0.5.0 (unreleased)

  • Add passive version of the pool which does not use a Manager and requires all objects to be created upfront.

v0.4.3

  • Add std::error::Error implementation for PoolError and RecycleError. This makes it more convenient to use the ? operator.

v0.4.2

  • Replace tokio::sync::mpsc::channel by crossbeam_queue::ArrayQueue which gets rid of the mutex when fetching an object from the pool.

v0.4.1

  • Make Pool::timeout_get public

v0.4.0

  • Add support for timeouts
  • Make fields of pool status public
  • Fix possible deadlock and make implementation a lot simpler by using the new tokio Semaphore and Receiver::try_recv.
  • Add Pool::try_get and Pool::timeout_get functions

v0.3.0

  • Add deadpool-lapin to README
  • Add deadpool-redis to README
  • Fix possible stale state and deadlock if a future calling Pool::get is aborted. This is related to tokio-rs/tokio#1898
  • Make recycling more robust by changing the Manager::recycle to a non consuming API.

v0.2.3

  • Add documentation for docs.rs
  • Remove PoolInner and PoolSize struct from public interface
  • Improve example in README.md and crate root

v0.2.2

  • Update to tokio 0.2

v0.2.1

  • Version skipped; only tokio-postgres was updated.

v0.2.0

  • Split deadpool and deadpool-postgres in separate crates instead of one with feature flags.

v0.1.0

  • First release