Skip to content

Tags

Tags give the ability to mark specific points in history as being important
  • v3.1.2.2
    58f1dcd7 · ver bumps up ·
  • v3.1.2.1
    da6533dd · ver bumps up. ·
  • v3.1.2.0
    337912b4 · Add version prefix ·
    Version 3.1.2.0
    
    * Added `-f devel` for test cases that are known to fail.
      [#471](https://github.com/haskell/network/pull/471)
    * Improved precedence-compliant Read/Show instances. Verified via QuickCheck.
      [#465](https://github.com/haskell/network/pull/465)
      [#466](https://github.com/haskell/network/pull/466)
    * Removed the racing graceful close implementation to avoid issues with `CLOSE_WAIT`.
      [#460](https://github.com/haskell/network/pull/438)
    * Gracefully handle binding of UNIX domain sockets.
      [#460](https://github.com/haskell/network/pull/460)
    * Replace Socket type and family with extensible `CInt` pattern and synonyms.
      [#459](https://github.com/haskell/network/pull/459)
    * Fixed race conditions in tests.
      [#458](https://github.com/haskell/network/pull/458)
    * Removed many legacy uses of `undefined`.
      [#456](https://github.com/haskell/network/pull/456)
    * Defined extensible `CustomSockOpt` via `ViewPatterns`.
      [#455](https://github.com/haskell/network/pull/455)
    * Defined `openSocket` in terms of `AddrInfo`.
      [5b0987197fe2ed7beddd7b2096522d624e71151e](https://github.com/haskell/network/commit/5b0987197fe2ed7beddd7b2096522d624e71151e)
    * Improved FreeBSD portability for Control Messages and tests
      [#452](https://github.com/haskell/network/pull/452)
    * Support `sendMsg` and `recvMsg`
      [#433](https://github.com/haskell/network/pull/433)
      [#445](https://github.com/haskell/network/pull/445)
      [#451](https://github.com/haskell/network/pull/451)
        * Added `sendMsg` and `recvMsg` APIs
        * Redefined `SocketOption` as pattern synonym
    * Implement total Show functions for SockAddr
      [#441](https://github.com/haskell/network/pull/441)
    * Improve portability changing `u_int32_t` to `uint32_t`.
      [#442](https://github.com/haskell/network/pull/442)
    * Removed obsolete CPP statements.
      [d1f4ee60ce6a4a85abb79532f64d4a4e71e2b1ce](https://github.com/haskell/network/commit/d1f4ee60ce6a4a85abb79532f64d4a4e71e2b1ce)
    * Loads of improved test coverage.
      [cbd67cc50a37770432eb978ac8b8eb6da3664817](https://github.com/haskell/network/commit/cbd67cc50a37770432eb978ac8b8eb6da3664817)
      [fcc2d86d53a6bec793f6a979a9e8fdf7fe3f4c22](https://github.com/haskell/network/commit/fcc2d86d53a6bec793f6a979a9e8fdf7fe3f4c22)
      [6db96969b3e8974abbfd50a7f073baa57376fd5e](https://github.com/haskell/network/commit/6db96969b3e8974abbfd50a7f073baa57376fd5e)
  • v3.1.1.1
    Version 3.1.1.1
    
    * Fix for GHCJS.
      [#431](https://github.com/haskell/network/pull/431)
  • v3.1.1.0
    Version 3.1.1.0
    
    * A new API: `gracefulClose`.
      [#417](https://github.com/haskell/network/pull/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](https://github.com/haskell/network/pull/423)
    * `socketToFd`: Duplicates a socket as a file desriptor and closes the source
      socket.
      [#424](https://github.com/haskell/network/pull/424)
  • v3.1.0.1
    bbb66aaf · Add 411 to changelog ·
    Version 3.1.0.1
    
    * getAddrInfo: raise exception if no AddrInfo returned.
      [#410](https://github.com/haskell/network/pull/410)
    * Avoid catching SomeException.
      [#411](https://github.com/haskell/network/pull/411)
  • v2.8.0.1
    e73f0b96 · ver bumps up. ·
    Version 2.8.0.1
    
    * Eensuring that accept returns a correct sockaddr for unix domain.
      [#400](https://github.com/haskell/network/pull/400)
    * Avoid out of bounds writes in pokeSockAddr.
      [#400](https://github.com/haskell/network/pull/400)
  • v3.1.0.0
    1a14e371 · ver bumps up. ·
    Version 3.1.0.0
    
    * Making GC of socket safer.
      [#399](https://github.com/haskell/network/pull/399)
    * Deprecating fdSocket. Use withFdSocket instead to ensure
      that sockets are GCed in proper time.
      [#399](https://github.com/haskell/network/pull/399)
  • v3.0.1.1
    Version 3.0.1.1
    
    * Fix blocking `if_nametoindex` errors on Windows
      [#391](https://github.com/haskell/network/pull/391)
  • v3.0.0.1
    Version 3.0.0.1
    
    * Fixed a bug in `connect` where exceptions were not thrown
      [#368](https://github.com/haskell/network/pull/368)
  • v3.0.1.0
    Version 3.0.1.0
    
    * Added `getSocketType :: Socket -> IO SocketType`.
      [#372](https://github.com/haskell/network/pull/372)
    * Correcting manual and brushing up test cases
      [#375](https://github.com/haskell/network/pull/375)
    * Fixed longstanded bug in `getContents` on mac
      [#375](https://github.com/haskell/network/pull/375)
    * Fixing regression: set correct sockaddr length for abstract addresses
      for Linux.
      [#374](https://github.com/haskell/network/pull/374)
  • v3.0.0.0
    275828b9 · updating changelog. ·
    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.
  • v2.8.0.0
    2de1c122 · Merge PR #349 ·
  • v2.7.0.2
    eca5961f · ver bumps up. ·
    Version 2.7.0.2
    
    * Removing withMVar to avoid the deadlock between "accept" and "close"
       [#330](https://github.com/haskell/network/pull/330)
    * "close" does not throw exceptions. A new API: "close'" throws
       exceptions when necessary.
       [#337](https://github.com/haskell/network/pull/337)
    * Fixing the hang of lazy sendAll.
       [#340](https://github.com/haskell/network/pull/340)
    * Installing NetDef.h (#334)
       [#334](https://github.com/haskell/network/pull/334)
  • v2.6.3.6
    f5ebe80b · Bump configure.ac version ·
    Version 2.6.3.6
    
     * Removed unnecessary withMVar, which caused locking on close.
       [#330](https://github.com/haskell/network/pull/330)
  • v2.6.3.5
    59f07346 · ver bumps up. ·
    Version 2.6.3.5
    
     * Reverting "Do not closeFd within sendFd"
       [#271](https://github.com/haskell/network/pull/271)
  • v2.7.0.0
    32655230 · fixing doc (#317). ·
    Version 2.7.0.0
    
     * 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.<Paste>
  • v2.7.0.1
    fe2d96ac · ver bumps up. ·
    network-2.7.0.1
    
     * A new API: socketPortSafe.
       [#319](https://github.com/haskell/network/pull/319)
     * Fixing a drain bug of sendAll.
       [#320](https://github.com/haskell/network/pull/320)
     * Porting the new CALLCONV convention from master.
       [#313](https://github.com/haskell/network/pull/313)
     * Withdrawing the deprecations of packFamily and unpackFamily.
       [#324](https://github.com/haskell/network/pull/324)
  • v2.6.3.4
  • v2.6.3.3
    Version 2.6.3.3
    
    * Adds a function to show the defaultHints without reading their undefined fields
      [#291](https://github.com/haskell/network/pull/292)
    * Improve exception error messages for getAddrInfo and getNameInfo
      [#289](https://github.com/haskell/network/pull/289)
    * Deprecating SockAddrCan.