Fixed in master.
Update to the new versions of:
network: >=2.3 => >=2.6 && < 2.7
network-transport: >= 0.4 => 0.6
netwrok-transport-tcp: >= 0.4 => 0.6
distributed-process: >= 0.5 => 0.7
binary: >= 0.5 => >= 0.8
bytestring: >= 0.9 => >= 0.10.8.2
mtl: >= 2.1 => 2.2
containers: >= 0.4 => 0.5.11
Concerning network-transport-tcp, as you’ve said earlier – the breaking change (which is not reflected in changelog of the aforementioned package) was introduced in 0.5.1 -> 0.6.0. Here it is:
signature in 0.5.1:
createTransport :: HostName -> ServiceName -> TCPParameters -> IO (Either IOException Transport)
signature in 0.6.0:
createTransport :: HostName -> ServiceName -> (ServiceName -> (HostName, ServiceName)) -> TCPParameters -> IO (Either IOException Transport)
related commit: https://github.com/haskell-distributed/network-transport-tcp/commit/6f8bf9db29ea035cb8e528be7f0c88b4e9dd6d6c#diff-02cd27d20988c63060687df45948cc8cL500
changes on a caller side: https://github.com/haskell-distributed/network-transport-tcp/commit/6f8bf9db29ea035cb8e528be7f0c88b4e9dd6d6c#diff-d5e90c4dadc77c4f372f1d3db75f48cbL114
According to PVP (https://pvp.haskell.org/#version-numbers) I’ve bumped the major version to 0.2.0.0
Update to the new versions of:
network: >=2.3 => >=2.6 && < 2.7
network-transport: >= 0.4 => 0.6
netwrok-transport-tcp: >= 0.4 => 0.6
distributed-process: >= 0.5 => 0.7
binary: >= 0.5 => >= 0.8
bytestring: >= 0.9 => >= 0.10.8.2
mtl: >= 2.1 => 2.2
containers: >= 0.4 => 0.5.11
Concerning network-transport-tcp, as you’ve said earlier – the breaking change (which is not reflected in changelog of the aforementioned package) was introduced in 0.5.1 -> 0.6.0. Here it is:
signature in 0.5.1:
createTransport :: HostName -> ServiceName -> TCPParameters -> IO (Either IOException Transport)
signature in 0.6.0:
createTransport :: HostName -> ServiceName -> (ServiceName -> (HostName, ServiceName)) -> TCPParameters -> IO (Either IOException Transport)
related commit: https://github.com/haskell-distributed/network-transport-tcp/commit/6f8bf9db29ea035cb8e528be7f0c88b4e9dd6d6c#diff-02cd27d20988c63060687df45948cc8cL500
changes on a caller side: https://github.com/haskell-distributed/network-transport-tcp/commit/6f8bf9db29ea035cb8e528be7f0c88b4e9dd6d6c#diff-d5e90c4dadc77c4f372f1d3db75f48cbL114
According to PVP (https://pvp.haskell.org/#version-numbers) I’ve bumped the major version to 0.2.0.0