Revert "Bump upper bound on unix to < 2.9"
[packages/process.git] / changelog.md
1 # Changelog for [`process` package](http://hackage.haskell.org/package/process)
2
3 ## Unreleased changes
4
5 ## 1.6.5.0 *December 2018*
6
7 * Bug fix: On Windows ignore ERROR_ACCESS_DENIED for TerminateProcess() if the process did terminate
8   [#110](https://github.com/haskell/process/issues/110)
9 * Improve documentation of the `NoStream` data constructor
10
11 ## 1.6.4.0 *July 2018*
12
13 * Bug fix: Don't leak pipes on failure
14   [#122](https://github.com/haskell/process/issues/122)
15 * Expose `cleanupProcess` from `System.Process` 
16   [#130](https://github.com/haskell/process/pull/130)
17 * Drop support for GHC before 7.10.3
18
19 ## 1.6.3.0 *January 2018*
20
21 * Added `getPid` and export of platform specific `Pid` type
22   [#109](https://github.com/haskell/process/pull/109)
23
24 ## 1.6.2.0 *October 2017*
25
26 * Allow async exceptions to be delivered to masked thread calling `waitForProcess`
27   [#101](https://github.com/haskell/process/pull/101)
28 * Update Win32 package version to 2.6.x
29
30 ## 1.6.1.0 *July 2017*
31
32 * Expose `CGid`, `GroupID`, and `UserID` from `System.Process.Internals`
33   [#90](https://github.com/haskell/process/issues/90)
34   [#91](https://github.com/haskell/process/pull/91)
35
36 ## 1.6.0.0 *February 2017*
37
38 * Fix: waitForProcess race condition
39   [#46](https://github.com/haskell/process/issues/46)
40   [#58](https://github.com/haskell/process/pull/58)
41
42 ## 1.5.0.0 *February 2017*
43
44 * Bug fix: Don't close already closed pipes
45   [#81](https://github.com/haskell/process/pull/81)
46 * Relax version bounds of Win32 to allow 2.5.
47 * Add support for monitoring process tree for termination with the parameter `use_process_jobs`
48   in `CreateProcess` on Windows. Also added a function `terminateJob` to kill entire process tree.
49
50 ## 1.4.3.0 *December 2016*
51
52 * New exposed `withCreateProcess`
53 * Derive `Show` and `Eq` for `CreateProcess`, `CmdSpec`, and `StdStream`
54
55 ## 1.4.2.0 *January 2016*
56
57 * Added `createPipeFD` [#52](https://github.com/haskell/process/pull/52)
58     * New function `createPipeFD` added which returns a POSIX File Descriptor (CInt)
59       instead of a GHC Handle to a pipe
60
61 ## 1.4.1.0 *November 2015*
62
63 * Use less CPP [#47](https://github.com/haskell/process/pull/47)
64     * Refactor to have separate Windows and POSIX modules internally
65     * Remove the broken non-GHC code paths
66
67 ## 1.4.0.0 *November 2015*
68
69 * Added `child_user` and `child_group` to `CreateProcess` for unix. [#45](https://github.com/haskell/process/pull/45)
70
71 ## 1.3.0.0 *August 2015*
72
73 * Add `StdStream(NoStream)` to have standard handles closed. [#13](https://github.com/haskell/process/pull/13)
74 * Support for Windows `DETACHED_PROCESS` and `setsid` [#32](https://github.com/haskell/process/issues/32)
75 * Support for Windows `CREATE_NEW_CONSOLE` [#38](https://github.com/haskell/process/issues/38)
76
77 ## 1.2.3.0 *March 2015*
78
79   * [Meaningful error message when exe not found on close\_fds is
80   True](https://ghc.haskell.org/trac/ghc/ticket/3649#comment:10)
81
82   * New functions `readCreateProcess` and `readCreateProcessWithExitCode`
83
84 ## 1.2.2.0  *Jan 2015*
85
86   * Fix delegated CTRL-C handling in `createProcess` in case of failed
87     process creation. See [issue #15](https://github.com/haskell/process/issues/15)
88     for more details.
89
90   * `waitpid` on child PID after pre-exec failure in child to prevent zombies.
91     See also [issue #14](https://github.com/haskell/process/issues/14).
92
93 ## 1.2.1.0  *Dec 2014*
94
95   * Add support for `base-4.8.0.0`
96
97   * Remove Hugs98 specific code
98
99   * New `IsString CmdSpec` instance
100
101   * Expose documentation for `System.Process.Internals`
102
103   * With GHC 7.10, `System.Cmd` and `System.Process` are now `Safe`
104     (when compiled with older GHC versions they are just `Trustworthy`)
105
106   * Expose `createProcess_` function, and document behavior of `UseHandle` for
107     `createProcess`. See [issue #2](https://github.com/haskell/process/issues/2).
108
109   * New `System.Process.createPipe` operation.
110     See also [GHC #8943](https://ghc.haskell.org/trac/ghc/ticket/8943)
111
112 ## 1.2.0.0  *Dec 2013*
113
114   * Update to Cabal 1.10 format
115   * Remove NHC specific code
116   * Add support for `base-4.7.0.0`
117   * Improve `showCommandForUser` to reduce redundant quoting
118   * New functions `callProcess`, `callCommand`, `spawnProcess` and `spawnCommand`
119   * Implement WCE handling according to http://www.cons.org/cracauer/sigint.html
120   * New `delegate_ctlc` field in `CreateProcess` for WCE handling
121   * Use `ExitFailure (-signum)` on Unix when a proc is terminated due to
122     a signal.
123   * Deprecate `module System.Cmd`
124   * On non-Windows, the child thread now comunicates any errors back
125     to the parent thread via pipes.
126   * Fix deadlocks in `readProcess` and `readProcessWithExitCode`