All notable changes will be documented in this file. EZ Spawn adheres to Semantic Versioning.
v3.0.0 (2020-02-19)
-
Moved EZ Spawn to the @JSDevTools scope on NPM
-
The "ez-spawn" NPM package is now just a wrapper around the scoped "@jsdevtools/ez-spawn" package
v2.1.0 (2018-12-21)
- If the process exits with a non-zero exit code, the error message now always includes the command, args, and exit code. If there was any stderr output, then that is appended to the error message as well.
v2.0.0 (2018-12-16)
-
The
encoding
option now defaults to"utf8"
, since most CLIs output UTF-8 text. You can set theencoding
option to a different encoding, or to"buffer"
to get raw binary output. -
Errors (including non-zero exit codes) are now thrown, rather than returning an object with an
error
property. See Error Handling for more details.
-
EZ-Spawn now includes TypeScript definitions.
-
All releases are now automatically tested on all active LTS versions of Node on Windows, Mac, and Linux.