Releases: reflex-frp/reflex-process
Releases · reflex-frp/reflex-process
v0.3.3.1
What's Changed
- Add eq, show for SendPipe by @ali-abrar in #33
- Output line handling by @ali-abrar in #34
Full Changelog: v0.3.2.0...v0.3.3.1
v0.3.2.0
v0.3.1.2-r1
0.3.1.2-r1
- Loosen version bounds to support reflex-0.9 and reflex-vty 0.4
v0.3.1.2
v0.3.1.1
v0.3.1.0
v0.3.0.0
- (#15, #13) (Breaking change) Introduce
SendPipe
type for encoding when an input stream should send EOF. ChangecreateProcess
to take aProcessConfig t (SendPipe ByteString)
so that sending EOF is possible.- IMPORTANT: For
createProcess
messages tostdin
must now be wrapped inSendPipe_Message
and have a"\n"
manually appended to regain the old behavior. PreviouslycreateProcess
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 allowscreateProcess
to work with processes in a encoding-agnostic way onstdin
.
- IMPORTANT: For
- (#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 changecreateProcess
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
Event
s and processstdout
/stderr
Event
s. Process completion is now always the very lastEvent
to fire for a givenProcess
. - (#17) Add
defProcessConfig
to avoid forcing users to depend ondata-default
.
v0.2.1.0: Merge pull request #5 from reflex-frp/aa-check-readable
createProcess: Ensure handle is open before checking if it can be read