All Versions
29
Latest Version
Avg Release Cycle
73 days
Latest Release
-

Changelog History
Page 2

  • v3.1.0.0 Changes

    April 26, 2019
    • Making GC of socket safer. #399
    • ๐Ÿ—„ Deprecating fdSocket. Use withFdSocket instead to ensure that sockets are GCed in proper time. #399
  • v3.0.1.1 Changes

    March 26, 2019
    • ๐Ÿ›  Fix blocking if_nametoindex errors on Windows #391
  • v3.0.1.0 Changes

    February 07, 2019
    • โž• Added getSocketType :: Socket -> IO SocketType. #372
    • โœ… Correcting manual and brushing up test cases #375
    • ๐Ÿ›  Fixed longstanded bug in getContents on mac #375
    • ๐Ÿ›  Fixing regression: set correct sockaddr length for abstract addresses for Linux. #374
  • v3.0.0.1 Changes

    February 07, 2019
    • ๐Ÿ›  Fixed a bug in connect where exceptions were not thrown #368
  • v3.0.0.0 Changes

    January 19, 2019
    • ๐Ÿ’ฅ 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 -> IO 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 change: 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.
    
  • v2.8.0.1 Changes

    April 26, 2019
    • Eensuring that accept returns a correct sockaddr for unix domain. #400
    • Avoid out of bounds writes in pokeSockAddr. #400
  • v2.8.0.0 Changes

    September 05, 2018
    • ๐Ÿ’ฅ Breaking change: PortNumber originally contained Word16 in network byte order and used "deriving Ord". This results in strange behavior on the Ord instance. Now PortNumber holds Word16 in host byte order. #347
    • ๐Ÿ’ฅ Breaking change: stopping the export of the PortNum constructor in PortNumber.
    • โœ… Use bytestring == 0.10.* only.
    • ๐Ÿ‘‰ Use base >= 4.7 && < 5.
  • v2.7.0.2 Changes

    July 07, 2018
    • Removing withMVar to avoid the deadlock between "accept" and "close" #330
    • "close" does not throw exceptions. A new API: "close'" throws exceptions when necessary. #337
    • ๐Ÿ›  Fixing the hang of lazy sendAll. #340
    • Installing NetDef.h (#334) #334
  • v2.7.0.1 Changes

    • A new API: socketPortSafe. #319
    • Fixing a drain bug of sendAll. #320
    • Porting the new CALLCONV convention from master. #313
    • Withdrawing the deprecations of packFamily and unpackFamily. #324
  • v2.7.0.0 Changes

    • 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
    • Breaking change: do not closeFd within sendFd. #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.