[Haskell-cafe] ANN: network 3.0.0.0

Bryan Richter b at chreekat.net
Sat Jan 19 15:41:01 UTC 2019


Excellent!

FYI Hackage isn't showing Haddocks for network yet, although I've noticed
this for a few packages again recently.

On Sat, 19 Jan 2019, 17.35 evan at evan-borden.com <
evan at evanrutledgeborden.dreamhosters.com wrote:

> Announcing the release of network 3.0.0.0
> http://hackage.haskell.org/package/network-3.0.0.0
>
> Version 3.0.0.0 of network is less platform dependent, easier to build,
> easier to use correctly (yay no more String api), more extensible, and all
> around safer. Kazu Yamamoto and Tamar Christina deserve a special shout
> out, they put an exceptional amount of thought and work into this version
> and it really shows. Thanks to network's contributors for kicking the tires
> and continuing to keep quality high.
>
> Version 3.0.0.0
>
> * Breaking change: the Network and Network.BSD are removed.
>   Network.BSD is provided a new package: network-bsd.
> * Breaking change: the signatures are changed:
> ```
> old fdSocket :: Socket -> CInt
> new fdSocket :: Socket -> IO CInt
>
> old mkSocket :: CInt -> Family -> SocketType -> ProtocolNumber ->
> SocketStatus -> IO Socket
> new mkSocket :: CInt Socket
> ```
> * Breaking change: the deprecated APIs are removed: send, sendTo, recv,
> recvFrom, recvLen, htonl, ntohl, inet_addr, int_ntoa, bindSocket, sClose,
> SocketStatus, isConnected, isBound, isListening, isReadable, isWritable,
> sIsConnected, sIsBound, sIsListening, sIsReadable, sIsWritable, aNY_PORT,
> iNADDR_ANY, iN6ADDR_ANY, sOMAXCONN, sOL_SOCKET, sCM_RIGHTS, packSocketType,
> getPeerCred.
> * Breaking chage: SockAddrCan is removed from SockAddr.
> * Socket addresses are extendable with Network.Socket.Address.
> * "socket" is now asynchronous-exception-safe.
>   [#336](https://github.com/haskell/network/pull/336)
> * "recvFrom" returns (0, addr) instead of throwing an error on EOF.
>   [#360](https://github.com/haskell/network/pull/360)
> * All APIs are available on any platforms.
> * Build system is simplified.
> * Bug fixes.
>
> --
> Evan Borden
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20190119/7f7241ca/attachment.html>


More information about the Haskell-Cafe mailing list