MIT licensed by Michael Snoyman, Emanuel Borsboom
Maintained by [email protected]
This version can be pinned in stack with:streaming-commons-0.2.2.6@sha256:d5c6fb99efd4e71bdb0351d55f2d87e16c11880f42998e39363eb63f057ae24b,4827

streaming-commons

Common lower-level functions needed by various streaming data libraries. Intended to be shared by libraries like conduit and pipes.

Build status

Dependencies

One of the requirements of this package is to restrict ourselves to “core” dependencies. The definition of core is still to be decided, but here’s a working start:

  • No dependency on system libraries, beyond that which is required by other dependencies.
  • Anything which ships with GHC. However, we must retain compatibility with versions of those packages going back to at least GHC 7.4, and preferably earlier.
  • text, once again with backwards compatibility for versions included with legacy Haskell Platform. In other words, 0.11.2 support is required.
  • network, support back to 2.3. We do not need to support the network/network-bytestring split.
  • stm, preferably all the way back to 2.1.
  • transformers

For debate:

  • Other Haskell Platform packages, especially vector and attoparsec.

Changes

ChangeLog for streaming-commons

0.2.2.6

  • Remove the zlib headers #72

0.2.2.4

  • Fix docstrings for text 2.0

0.2.2.3

  • Support text 2.0 #65

0.2.2.2

  • Support GHC 9.2 #62

0.2.2.1

0.2.2.0

  • Remove AI_ADDRCONFIG #58

0.2.1.2

  • Update defaultReadBufferSize to use system default instead of hardcoded value #54

0.2.1.1

  • Fix a failing test case (invalid ByteString copying), does not affect library itself

0.2.1.0

  • Change bindRandomPortGen to use binding to port 0

0.2.0

  • Drop blaze-builder dependency

0.1.19

  • Update getAddrInfo hints to allow hostnames and portnames #46

0.1.18

  • Add isCompleteInflate

0.1.17

  • Add bindPortGenEx

0.1.16

  • Add closeStreamingProcessHandle

0.1.15.5

  • Make getSocket{Family}TCP try all addr candidates #32

0.1.15.3

  • Fix benchmarks

0.1.15.2

  • Document child process behavior in waitForProcess

0.1.15.1

  • Catch exceptions thrown by waitForProcess

0.1.15

  • Use `NO_DELAY1 for TCP client connections #27

0.1.14.2

  • Fix bug in process exception display of args with spaces/quotes

0.1.14

  • Exporting HasReadBufferSize; instance for ClientSettingsUnix #24

0.1.13

  • Make size of read buffer configurable, change default size to 32 kiB #23

0.1.12.1

0.1.12

  • appRawSocket

0.1.11

  • getUnusedInflated: Return uncompressed data following compressed data #20

0.1.10

Support blaze-builder >= 0.4. Add newByteStringBuilderRecv to Data.Streaming.ByteString.Builder; add modules Data.Streaming.ByteString.Builder.Buffer and Data.Streaming.ByteString.Builder.Class.

0.1.9

Add Data.Streaming.ByteString.Builder

0.1.8

Generalise types of run*Server which never cleanly return #13

0.1.7.1

Fix streamingProcess so that it doesn’t close Handles passed in with UseProvidedHandle.

0.1.7

withCheckedProcess added.

0.1.6

Provide appCloseConnection to get the underlying connection from an AppData.