You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few weeks ago zx took a part in OSS Library Night 🎉
Many thanks to the organizers and contributors who have boosted the project with their pull requests!
Today we are releasing the zx with a huge bunch of new features and improvements.
Features
API
Implemented [Symbol.asyncIterator] API for ProcessPromise#984#998#1000
Now you can iterate over the process output using for await loop from any point of the process execution.
constac=newAbortController()const{ signal }=acconstp=$({ signal,nothrow: true})`echo test`.pipe`sleep 999`setTimeout(()=>ac.abort(),50)try{awaitp}catch({ message }){message// The operation was aborted}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
A few weeks ago zx took a part in OSS Library Night 🎉
Many thanks to the organizers and contributors who have boosted the project with their pull requests!
Today we are releasing the zx with a huge bunch of new features and improvements.
Features
API
[Symbol.asyncIterator]
API forProcessPromise
#984 #998 #1000Now you can iterate over the process output using
for await
loop from any point of the process execution.Pipes
pipe()
#1023signal
handling on piping #992CLI
$.defaults
setting viaZX_
-prefixed environment variables #988 #998ZX_VERBOSE=true ZX_SHELL='/bin/bash' zx script.mjs
--env
option to load dotenvs 1022 #1030--prefer-local
option #1015Fixes
process.exit()
#993 #997ZX_SHELL
env handling #1024Docs
main
branch #985Chores
.node_version
to improve contributors devx #1012chalk
updated to v5.4.1 #1019Merry Christmas! 🎄🎅🎁
This discussion was created from the release 8.3.0 – Pipes of Steel.
Beta Was this translation helpful? Give feedback.
All reactions