|
| 1 | +# Changelog |
| 2 | + |
| 3 | +Notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 4 | + |
| 5 | +## [Unreleased] |
| 6 | + |
| 7 | +Breaking changes: |
| 8 | + |
| 9 | +New features: |
| 10 | + |
| 11 | +Bugfixes: |
| 12 | + |
| 13 | +Other improvements: |
| 14 | + |
| 15 | +## [v6.0.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v6.0.0) - 2019-03-15 |
| 16 | + |
| 17 | +Updated `purescript-foreign-object` dependency |
| 18 | + |
| 19 | +## [v5.0.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v5.0.0) - 2018-06-02 |
| 20 | + |
| 21 | +Updates for 0.12 |
| 22 | + |
| 23 | +**Breaking** |
| 24 | + |
| 25 | +- mkOnClose now reacts to the `close` signal instead of `exit` @Profpatsch |
| 26 | +- `kill` returns Unit instead of Boolean @Profpatsch |
| 27 | +- `exec`/`execFile` returns a ChildProcess @Profpatsch |
| 28 | + |
| 29 | +**Additions** |
| 30 | + |
| 31 | +- Bindings to the synchronous versions of exec @jyh1 |
| 32 | + |
| 33 | +## [v4.0.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v4.0.0) - 2017-04-05 |
| 34 | + |
| 35 | +Updates for 0.11 compiler |
| 36 | + |
| 37 | +## [v3.0.1](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v3.0.1) - 2016-11-19 |
| 38 | + |
| 39 | +- Fixed shadowed name warning |
| 40 | + |
| 41 | +## [v3.0.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v3.0.0) - 2016-10-22 |
| 42 | + |
| 43 | +- Updated dependencies |
| 44 | + |
| 45 | +## [v2.0.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v2.0.0) - 2016-07-31 |
| 46 | + |
| 47 | +- Updated dependencies |
| 48 | + |
| 49 | +## [v1.0.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v1.0.0) - 2016-06-19 |
| 50 | + |
| 51 | +Updates for 0.9.1 compiler and 1.0 core libraries. |
| 52 | + |
| 53 | +## [v0.6.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v0.6.0) - 2016-03-31 |
| 54 | + |
| 55 | +Bump dependencies (`purescript-node-streams` -> v0.4.0). |
| 56 | + |
| 57 | +## [v0.5.1](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v0.5.1) - 2016-01-14 |
| 58 | + |
| 59 | +- Add `execFile` |
| 60 | + |
| 61 | +## [v0.5.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v0.5.0) - 2016-01-06 |
| 62 | + |
| 63 | +- Bump dependencies (`node-fs` -> `~0.10.0`) |
| 64 | + |
| 65 | +## [v0.4.2](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v0.4.2) - 2016-01-01 |
| 66 | + |
| 67 | +- Fix `Node_ChildProcess.fork is not a function` errors when calling `Node.ChildProcess.fork` |
| 68 | +- Fix unused import warnings |
| 69 | + |
| 70 | +## [v0.4.1](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v0.4.1) - 2015-12-31 |
| 71 | + |
| 72 | +- Fix `onError` never firing. Oops. |
| 73 | + |
| 74 | +## [v0.4.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v0.4.0) - 2015-12-29 |
| 75 | + |
| 76 | +- **Breaking change**: |
| 77 | + - `SpawnOptions` now uses the `Uid` and `Gid` types from `purescript-posix-types` for its `uid` and `gid` options, instead of `Int`. |
| 78 | +- **Additions**: |
| 79 | + - Added `exec`. |
| 80 | + |
| 81 | +## [v0.3.2](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v0.3.2) - 2015-12-27 |
| 82 | + |
| 83 | +- Documentation updates |
| 84 | + |
| 85 | +## [v0.3.1](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v0.3.1) - 2015-12-27 |
| 86 | + |
| 87 | +- Move documentation to Pursuit |
| 88 | +- Documentation updates |
| 89 | + |
| 90 | +## [v0.3.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v0.3.0) - 2015-12-27 |
| 91 | + |
| 92 | +- Use purescript-posix-types |
| 93 | +- Fix a bug where `kill`, `connected`, and `send` would perform the effects too early |
| 94 | +- Modify type names to avoid repeating the module name: `ChildProcessExit` -> `Exit`, and `ChildProcessError` -> `Error`. |
| 95 | + |
| 96 | +## [v0.2.0](https://github.com/purescript-node/purescript-node-child-process/releases/tag/v0.2.0) - 2015-12-27 |
| 97 | + |
| 98 | +- Use a `StrMap String` for child process environments in `spawn`, in order to ensure environment variable values are strings |
| 99 | +- Allow inheritance of parent process environment by passing `Nothing` to the `env` parameter |
| 100 | +- Use an opaque data type for `ChildProcess` values |
| 101 | +- Use `Int` instead of `Number` where applicable (eg, `gid`, `uid`, `pid`) |
| 102 | +- Require `Eff` for reading mutable state of a `ChildProcess` |
| 103 | +- Simplify effects; now, we just have `cp :: CHILD_PROCESS` for spawning and communicating with child processes |
| 104 | +- Use a sum type to allow more flexibility with what to do with standard IO streams / file descriptors in the child process after spawning |
| 105 | +- Fix a bug where callbacks in `onExit` and `onClose` did not get called |
| 106 | +- Add a `ChildProcessExit` type with information about how a child process exited |
| 107 | +- Fix warnings |
| 108 | +- Update dependencies: `purescript-node-streams` -> `~0.3.0` |
| 109 | + |
| 110 | +See https://github.com/joneshf/purescript-node-child-process/issues/2 for the rationale behind many of these changes. |
| 111 | + |
0 commit comments