connection-pool v0.2 Release Notes
-
- ๐ Release has backward compatible API with 0.1 branch.
- Introducing
ConnectionPoolFor
type class which has instances for bothConnectionPool TcpClient
andConnectionPool UnixClient
. Class is located in its own moduleData.ConnectionPool.Class
, therefore it is part of stable API. It provideswithConnection
anddestroyAllConnections
methods which can be used instead of their more specific equivalents. (new) - ๐
ConnectionPool
data family moved in to its own moduleData.ConnectionPool.Family
, as a consequence it became part of stable API. (change) - Introducing
tryWithUnixClientConnection
andtryWithTcpClientConnection
functions. (new) - Providing instances of
Generic
andShow
where ever possible and reasonable. This is a backwards compatible change. (new) - Internal
ConnectionPool
data type is now more generic becauseSocket
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 toConnectionPool
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