PackageTrack
Sign in Get early access

deadpool-postgres

Dead simple async pool for tokio-postgres

0.14.1 21M downloads/mo #2057 most downloaded on crates.io bikeshedder/deadpool

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 4 months

Nearly every release is documented

notes for 34 of 34 stable releases

1 version withdrawn

withdrawn after publishing

7 years old

35 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

35 releases · Nov 2019 to Dec 2024
2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 35
  1. 0.14.1 18 Dec 2024
    Release notes
    • Add missing re-export of LoadBalanceHosts
    Open source →
  2. 0.14.0 04 Jun 2024
    Release notes
    • Add back async_trait to the GenericClient trait. The removal of async_trait caused some errors for code using the generic client interface. A test was added to ensure future removals of async_trait will not cause this code to break.
    Open source →
  3. 0.13.2 07 May 2024
    Release notes
    • Add WASM support
    • Expose API for providing a custom Connect implementation.
    • Add + Send to futures returned by GenericClient
    Open source →
  4. 0.13.1 04 May 2024
    Release notes
    • Update deadpool dependency to version 0.12
    • Add LICENSE-APACHE and LICENSE-MIT files to published crates
    Open source →
  5. 0.13.0 31 Mar 2024
    Release notes
    • Update deadpool dependency to version 0.11
    • Remove async_trait dependency
    • Bump up MSRV to 1.75
    Open source →
  6. 0.12.1 18 Dec 2023
    Release notes
    • Fix Config::url handling
    Open source →
  7. 0.12.0 15 Dec 2023
    Release notes
    • Add load_balance_hosts to Config struct.
    • Add hostaddr and hostaddrs to Config struct.
    • Add url field to Config struct. This enables parsing of connection URLs.
    Open source →
  8. 0.11.0 26 Sep 2023
    Release notes
    • BREAKING: Disconnect immediately from the database when dropping clients. This is considered a breaking change as in previous versions the connections would stick around until all queued queries were processed. This was considered a potential leak of resources. The Connection object is now tied to the lifetime of the ClientWrapper and dropped as soon as possible. The disconnect is not graceful and you might see error messages in the database log.
    • Update deadpool dependency to version 0.10
    • Bump up MSRV to 1.63 to match the one of tokio
    Open source →
  9. 0.10.5 24 Jan 2023
    Release notes
    • Fix infinite recursion in GenericClient
    Open source →
  10. 0.10.4 17 Jan 2023 withdrawn
    Release notes
    • Add GenericClient
    Open source →
  11. 0.10.3 26 Oct 2022
    Release notes
    • Make Transaction::statement_cache field public
    Open source →
  12. 0.10.2 22 Mar 2022
    Release notes
    • Export TargetSessionAttrs and ChannelBinding enums (part of Config struct)
    Open source →
  13. 0.10.1 15 Nov 2021
    Release notes
    • Config structs now implement Serialize
    Open source →
  14. 0.10.0 18 Oct 2021
    Release notes
    • Breaking: Replace config feature with serde (opted out by default)
    • Re-export deadpool::managed::Timeouts
    • Add Runtime parameter to Config::create_pool method
    • Remove redundant futures dependency
    Open source →
  15. 0.9.0 01 Jun 2021
    Release notes
    • Remove generic <T> parameter from Manager, Pool and Client types. This parameter was added by accident when deadpool switched to using associated types.
    Open source →
  16. 0.8.1 01 Jun 2021
    Release notes
    • Update tokio-postgres dependency to version 0.7.2 This crate depends on the GenericClient::client method which was added in tokio-postgres version 0.7.2.
    Open source →
  17. 0.8.0 20 May 2021
    Release notes
    • Do not detect unix domain socket paths at config creation.
    • Update config dependency to version 0.11
    • Remove deprecated from_env methods
    • Add Manager::statement_caches field which provides access to managing the statement cache for all clients.
    • Rename prepare to prepare_cached and prepare_typed to prepare_typed_cached. This makes the non-caching prepare methods available without having to dereference ClientWrapper or Transaction objects first.
    • Add rt_tokio_1 and rt_async-std_1 features
    • Enable RecyclingMethod::Fast by default
    Open source →
  18. 0.7.0 26 Dec 2020
    Release notes
    • Update tokio dependency to version 1
    • Update tokio-postgres dependency to version 0.7
    • Re-export deadpool::managed::PoolConfig
    • Add StatementCache::remove method
    Open source →
  19. 0.6.0 04 Nov 2020
    Release notes
    • Update tokio dependency to version 0.3
    • Update tokio-postgres dependency to version 0.6
    Open source →
  20. 0.5.6 14 Jul 2020
    Release notes
    • Add Config::new method
    • Add Client::build_transaction method which makes it possible to use the TransactionBuilder with the statement cache.
    • Add RecyclingMethod::Clean which works similar to DISCARD ALL but makes sure the statement cache is not rendered ineffective.
    • Add RecyclingMethod::Custom which allows to execute arbitary SQL when recycling connections.
    • Re-export tokio_postgres crate
    Open source →
  21. 0.5.5 28 Feb 2020
    Release notes
    • Deprecate Config::from_env
    • Add Manager::from_config, ManagerConfig and RecyclingMethod which makes it possible to specify how connections are recycled. The current default recycling method is Verified which is the same as before. The upcoming 0.6 release of this crate will change the default to Fast.
    Open source →
  22. 0.5.4 26 Jan 2020
    Release notes
    • Implement DerefMut for Transaction wrapper
    • Add transaction method to Transaction wrapper
    Open source →
  23. 0.5.3 24 Jan 2020
    Release notes
    • Add #[derive(Clone)] to Config struct
    • Make config module public
    Open source →
  24. 0.5.2 18 Jan 2020
    Release notes
    • Disable default-features for deadpool dependency
    Open source →
  25. 0.5.1 17 Jan 2020
    Release notes
    • Fix windows support
    Open source →
  26. 0.5.0 16 Jan 2020
    Release notes
    • Add support for config crate
    Open source →
  27. 0.4.3 10 Jan 2020
    Release notes
    • prepare and prepare_typed now accept a &self instead of &mut self which fixes support for pipelining.
    Open source →
  28. 0.4.2 31 Dec 2019
    Release notes
    • Add PoolError type alias
    Open source →
  29. 0.4.1 29 Dec 2019
    Release notes
    • Update to tokio-postgres 0.5.1
    • Add back DerefMut implementation for deadpool_postgres::Client which makes it compatible with code expecting &mut tokio_postgres::Client.
    • Add statement cache support for Client::prepare_typed and Transaction::prepare_typed.
    Open source →
  30. 0.4.0 19 Dec 2019
    Release notes
    • Rename Client struct to ClientWrapper
    • Add Client type alias
    Open source →
  31. 0.3.0 13 Dec 2019
    Release notes
    • Add StatementCache struct with the functions size and clear which are now accessible via Connection::statement_cache and Transaction::statement_cache.
    • Make recycling more robust by changing the Manager::recycle to a non consuming API.
    Open source →
  32. 0.2.3 02 Dec 2019
    Release notes
    • Add documentation for docs.rs
    • Improve example in README.md and crate root
    • Fix Transaction::commit and Transaction::rollback
    Open source →
  33. 0.2.2 02 Dec 2019
    Release notes
    • Update to tokio 0.2 and tokio-postgres 0.5.0-alpha.2
    Open source →
  34. 0.2.1 18 Nov 2019
    Release notes
    • deadpool_postgres::Client no longer implements DerefMut which was not needed anyways.
    • deadpool_postgres::Client.transaction now returns a wrapped transaction object which utilizes the statement cache of the wrapped client.
    Open source →
  35. 0.2.0 14 Nov 2019
    Release notes
    • First release

    <!-- next-url --> [Unreleased]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.14.1...HEAD [0.14.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.14.0...deadpool-postgres-v0.14.1 [0.14.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.13.2...deadpool-postgres-v0.14.0 [0.13.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.13.1...deadpool-postgres-v0.13.2 [0.13.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.13.0...deadpool-postgres-v0.13.1 [0.13.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.12.1...deadpool-postgres-v0.13.0 [0.12.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.12.0...deadpool-postgres-v0.12.1 [0.12.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.11.0...deadpool-postgres-v0.12.0 [0.11.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.10.5...deadpool-postgres-v0.11.0 [0.10.5]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.10.4...deadpool-postgres-v0.10.5 [0.10.4]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.10.3...deadpool-postgres-v0.10.4 [0.10.3]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.10.2...deadpool-postgres-v0.10.3 [0.10.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.10.1...deadpool-postgres-v0.10.2 [0.10.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.10.0...deadpool-postgres-v0.10.1 [0.10.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.9.0...deadpool-postgres-v0.10.0 [0.9.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.8.1...deadpool-postgres-v0.9.0 [0.8.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.8.0...deadpool-postgres-v0.8.1 [0.8.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.7.0...deadpool-postgres-v0.8.0 [0.7.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.6.0...deadpool-postgres-v0.7.0 [0.6.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.5.6...deadpool-postgres-v0.6.0 [0.5.6]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.5.5...deadpool-postgres-v0.5.6 [0.5.5]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.5.4...deadpool-postgres-v0.5.5 [0.5.4]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.5.3...deadpool-postgres-v0.5.4 [0.5.3]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.5.2...deadpool-postgres-v0.5.3 [0.5.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.5.1...deadpool-postgres-v0.5.2 [0.5.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.5.0...deadpool-postgres-v0.5.1 [0.5.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.4.3...deadpool-postgres-v0.5.0 [0.4.3]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.4.2...deadpool-postgres-v0.4.3 [0.4.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.4.1...deadpool-postgres-v0.4.2 [0.4.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.4.0...deadpool-postgres-v0.4.1 [0.4.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.3.0...deadpool-postgres-v0.4.0 [0.3.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.2.3...deadpool-postgres-v0.3.0 [0.2.3]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.2.2...deadpool-postgres-v0.2.3 [0.2.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.2.1...deadpool-postgres-v0.2.2 [0.2.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-postgres-v0.2.0...deadpool-postgres-v0.2.1 [0.2.0]: https://github.com/deadpool-rs/deadpool/releases/tag/deadpool-postgres-v0.2.0

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive