All Versions
21
Latest Version
Avg Release Cycle
74 days
Latest Release
64 days ago

Changelog History
Page 1

  • v3.1.1.0

    September 19, 2019
    • A new API: gracefulClose. #417
    • touchSocket, unsafeFdSocket: Allow direct access to a socket's file descriptor while providing tools to prevent it from being garbage collected. This also deprecated fdSocket in favor of unsafeFdSocket and withFdSocket. #423
    • socketToFd: Duplicates a socket as a file desriptor and closes the source socket. #424
  • v3.1.0.1

    June 20, 2019
    • 👻 getAddrInfo: raise exception if no AddrInfo returned. #410
    • Avoid catching SomeException. #411
  • v3.1.0.0

    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

    March 26, 2019
    • 🛠 Fix blocking if_nametoindex errors on Windows #391
  • v3.0.1.0

    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

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

    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

    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

    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

    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