You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 3.2KB

2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. CHANGELOG
  2. =========
  3. 4.2.0
  4. -----
  5. * added the `Process::fromShellCommandline()` to run commands in a shell wrapper
  6. * deprecated passing a command as string when creating a `Process` instance
  7. * deprecated the `Process::setCommandline()` and the `PhpProcess::setPhpBinary()` methods
  8. * added the `Process::waitUntil()` method to wait for the process only for a
  9. specific output, then continue the normal execution of your application
  10. 4.1.0
  11. -----
  12. * added the `Process::isTtySupported()` method that allows to check for TTY support
  13. * made `PhpExecutableFinder` look for the `PHP_BINARY` env var when searching the php binary
  14. * added the `ProcessSignaledException` class to properly catch signaled process errors
  15. 4.0.0
  16. -----
  17. * environment variables will always be inherited
  18. * added a second `array $env = []` argument to the `start()`, `run()`,
  19. `mustRun()`, and `restart()` methods of the `Process` class
  20. * added a second `array $env = []` argument to the `start()` method of the
  21. `PhpProcess` class
  22. * the `ProcessUtils::escapeArgument()` method has been removed
  23. * the `areEnvironmentVariablesInherited()`, `getOptions()`, and `setOptions()`
  24. methods of the `Process` class have been removed
  25. * support for passing `proc_open()` options has been removed
  26. * removed the `ProcessBuilder` class, use the `Process` class instead
  27. * removed the `getEnhanceWindowsCompatibility()` and `setEnhanceWindowsCompatibility()` methods of the `Process` class
  28. * passing a not existing working directory to the constructor of the `Symfony\Component\Process\Process` class is not
  29. supported anymore
  30. 3.4.0
  31. -----
  32. * deprecated the ProcessBuilder class
  33. * deprecated calling `Process::start()` without setting a valid working directory beforehand (via `setWorkingDirectory()` or constructor)
  34. 3.3.0
  35. -----
  36. * added command line arrays in the `Process` class
  37. * added `$env` argument to `Process::start()`, `run()`, `mustRun()` and `restart()` methods
  38. * deprecated the `ProcessUtils::escapeArgument()` method
  39. * deprecated not inheriting environment variables
  40. * deprecated configuring `proc_open()` options
  41. * deprecated configuring enhanced Windows compatibility
  42. * deprecated configuring enhanced sigchild compatibility
  43. 2.5.0
  44. -----
  45. * added support for PTY mode
  46. * added the convenience method "mustRun"
  47. * deprecation: Process::setStdin() is deprecated in favor of Process::setInput()
  48. * deprecation: Process::getStdin() is deprecated in favor of Process::getInput()
  49. * deprecation: Process::setInput() and ProcessBuilder::setInput() do not accept non-scalar types
  50. 2.4.0
  51. -----
  52. * added the ability to define an idle timeout
  53. 2.3.0
  54. -----
  55. * added ProcessUtils::escapeArgument() to fix the bug in escapeshellarg() function on Windows
  56. * added Process::signal()
  57. * added Process::getPid()
  58. * added support for a TTY mode
  59. 2.2.0
  60. -----
  61. * added ProcessBuilder::setArguments() to reset the arguments on a builder
  62. * added a way to retrieve the standard and error output incrementally
  63. * added Process:restart()
  64. 2.1.0
  65. -----
  66. * added support for non-blocking processes (start(), wait(), isRunning(), stop())
  67. * enhanced Windows compatibility
  68. * added Process::getExitCodeText() that returns a string representation for
  69. the exit code returned by the process
  70. * added ProcessBuilder