Migration
from 0.1.x to 0.2
- The
startmethod on processes now requires ablockingExecutionContextargument Ignorehas been renamed toDrainLoghas been renamed toToVector
from 0.2 to 0.4
Processnow takes the effect type as parameter, so in case of cats-effect,Process(...)becomesProcess[IO](...)- The
startmethod on processes now gets aBlockerinstead of an execution context
from 0.4 to 0.5
0.5 is a complete rewrite of the original library, and the API changed a lot, especially if the process types were used in code to pass around / wrap them. Please refer to the other sections of the documentation to learn how to reimplement them. For simple use cases where constructing and running the processes directly the main differences are:
- Different operators / methods for different source and target types, see the page about redirection
- The need of an implicit process runner in scope
- New ways to start and wait for the process, see the page about runnning processes
from 0.5 to 0.6
0.6 introduces the native ZIO/ZStream version of the library. For existing code the following differences apply:
- Instead of
prox, the artifact is now calledprox-fs2 - Instead of global imports, the FS2 prox module now has to be constructed with the
FS2constructor and the API is imported from that - Because the
FS2module captures theF[_]and theBlocker, they are no longer needed to pass on to the API functions and types