Changelog of @hackage/connection-pool 0.2

ChangeLog / ReleaseNotes

Version 0.2

  • Release has backward compatible API with 0.1 branch.
  • Introducing ConnectionPoolFor type class which has instances for both ConnectionPool TcpClient and ConnectionPool UnixClient. Class is located in its own module Data.ConnectionPool.Class, therefore it is part of stable API. It provides withConnection and destroyAllConnections methods which can be used instead of their more specific equivalents. (new)
  • ConnectionPool data family moved in to its own module Data.ConnectionPool.Family, as a consequence it became part of stable API. (change)
  • Introducing tryWithUnixClientConnection and tryWithTcpClientConnection functions. (new)
  • Providing instances of Generic and Show where ever possible and reasonable. This is a backwards compatible change. (new)
  • Internal ConnectionPool data type is now more generic because Socket handle isn't hard-coded in it any more. This change breaks packages depending on internal API. (change)
  • Internal type class HasConnectionPool was introduced to simplify access to ConnectionPool data type wrapped in other types. (new)
  • Internal modules were heavily reorganized and TCP and UNIX Sockets related implementations were moved in to their own modules. This change breaks packages depending on internal API. (change)
  • Heavy inlining of everything. Purpose is to be safe that this library gets abstracted away as much as possible. Best result is if only direct references to resource-pool and streaming-commons remain. (change)
  • Uploaded to Hackage: http://hackage.haskell.org/package/connection-pool-0.2

Version 0.1.3

Version 0.1.2.1

Version 0.1.2.0

Version 0.1.1.0

  • Package is now buildable on Windows. (new)
  • Introducing function validateResourcePoolParams. (new)
  • Introducing internal function destroyAllConnections. (new)
  • Introducing functions destroyAllTcpClientConnections and destroyAllTcpClientConnections both build on top of destroyAllConnections. (new)
  • Corrected some typos in documentation and Haddock markup.
  • Small documentation enhancements.
  • Uploaded to Hackage: http://hackage.haskell.org/package/connection-pool-0.1.1.0

Version 0.1.0.0