Skip to content

v0.3.0.0

Choose a tag to compare

@3noch 3noch released this 03 Jun 15:53
· 49 commits to develop since this release
v0.3.0.0
159db38
  • (#15, #13) (Breaking change) Introduce SendPipe type for encoding when an input stream should send EOF. Change createProcess to take a ProcessConfig t (SendPipe ByteString) so that sending EOF is possible.
    • IMPORTANT: For createProcess messages to stdin must now be wrapped in SendPipe_Message and have a "\n" manually appended to regain the old behavior. Previously createProcess implicitly added a "\n" to all messages sent to the process. This has been removed and you must now manually add any necessary new lines to your messages. This change allows createProcess to work with processes in a encoding-agnostic way on stdin.
  • (#17) Deprecate createRedirectedProcess in favor of a new, scarier name: unsafeCreateProcessWithHandles. This was done to communicate that it does not enforce necessary guarantees for the process to be handled correctly.
  • (#11) Add createProcessBufferingInput for buffering input to processes and change createProcess to use an unbounded buffer instead of blocking the FRP network when the process blocks on its input handle.
  • (#11, #14) ProcessConfig now includes a _processConfig_createProcess field for customizing how the process is created.
  • (#13) Fix race condition between process completion Events and process stdout/stderr Events. Process completion is now always the very last Event to fire for a given Process.
  • (#17) Add defProcessConfig to avoid forcing users to depend on data-default.