[Haskell-cafe] ANN: network-2.7.0.0

evan@evan-borden.com evan at evanrutledgeborden.dreamhosters.com
Sat Apr 28 23:19:08 UTC 2018


Announcing network-2.7.0.0
https://hackage.haskell.org/package/network-2.7.0.0

The 2.7.0.0 release is mostly communicating change. There are a few new
APIs,
but much of this release is dedicated to preperation for 3.0.0.0. Many long
standing functions and modules with tacit deprecation have been officially
marked as such.

Change log:
 * Obsoleting the Network module.
 * Obsoleting the Network.BSD module.
 * Obsoleting APIs: MkSocket, htonl, ntohl,
              getPeerCred, getPeerEid,
              send, sendTo, recv, recvFrom, recvLen,
              inet_addr, inet_ntoa,
              isConnected, isBound, isListening, isReadable, isWritable,
              aNY_PORT, iNADDR_ANY, iN6ADDR_ANY, sOMAXCONN,
          sOL_SOCKET, sCM_RIGHTS,
              packFamily, unpackFamily, packSocketType
 * Do not closeFd within sendFd
   [#271](https://github.com/haskell/network/pull/271)
 * Exporting ifNameToIndex and ifIndexToName from Network.Socket.
 * New APIs: setCloseOnExecIfNeeded, getCloseOnExec and getNonBlock
 * New APIs: isUnixDomainSocketAvailable and getPeerCredential
 * socketPair, sendFd and recvFd are exported even on Windows.

Upcoming changes in 3.0.0.0 will include:
 * Functions and modules marked as deprecated in 2.7.0.0 will be removed.
 * New APIs introduced in 2.7.0.0 will be present in 3.0.0.0.
 * Socket addresses will have an extensible API.
 * Linux, BSD and Windows will all have the same API.

3.0.0.0 has been implemented, but we will wait a sufficient period of time
before releasing it.

As always thanks to network contributors!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180428/bbd0b45a/attachment.html>


More information about the Haskell-Cafe mailing list