-
Notifications
You must be signed in to change notification settings - Fork 739
Migrating from v0.8 to v0.9
Nate Fischer edited this page Mar 19, 2025
·
2 revisions
Did we miss any features you like? Did we skip over any breaking changes you found? Feel free to document them below.
- We've dropped
v16
support. Some features may still work on node versions as old as v10, however official support is only for v18 and above. -
shell.sed('-i')
will now return an empty.stdout
value. This is consistent with how unixsed -i
is silent when running in-i
mode.
-
shell.cmd()
has arrived! This is the more secure alternative toshell.exec()
. This only supports synchronous use cases for now, but we recommend you switch if possible. - We've switched to
fast-glob
as the wildcard expansion implementation! This should mean a modest performance boost for all ShellJS commands. - Better compatibility with node bundlers.
- Lots of fixes for unix compatibility.