-
Notifications
You must be signed in to change notification settings - Fork 17
chore(deps): update dependency zx to v8 - autoclosed #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: pnpm-lock.yaml |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
8127e11 to
8bbd249
Compare
|
This PR contains the following updates:
^7.0.0->^8.0.0Release Notes
google/zx (zx)
v8.8.5: — Temporary ReservoirCompare Source
This release fixes the issue, when zx flushes external
node_moduleson linking #1348 #1349 #1355Also
globby@15.0.0arrives here.v8.8.4: — Flange CouplingCompare Source
It's time. This release updates zx internals to make the
psAPI and related methodsProcessPromise.kill(),kill()work on Windows systems withoutwmic.#1344 webpod/ps#15
https://github.blog/changelog/2025-07-31-github-actions-new-apis-and-windows-latest-migration-notice/#windows-latest-image-label-migration
v8.8.3: — Sealing GasketCompare Source
Continues #1339 to prevent injections via
Proxyinput or customtoString()manipulations.v8.8.2: — Leaking ValveCompare Source
Fixes potential cmd injection via
kill()method for Windows platform. #1337 #1339. Affects the versions range8.7.1...8.8.1.v8.8.1: — Turbo FlushCompare Source
We keep improving the projects internal infra to bring more stability, safety and performance for artifacts.
Featfixes
kill()event logging #1312SIGTERMaskill()fallback signal #1313stdio()arg be an array #1311Enhancements
ProcessPromise[asyncIterator]inners #1307shellsetters #1314v8.8.0: — Pressure TestedCompare Source
This release enhances the coherence between the ProcessPromise and the Streams API, eliminating the need for certain script-level workarounds.
✨ New Features
unpipe()— Selectively stop pipingYou can now call
.unpipe()to stop data transfer from a source to a destination without closing any of the pair. #1302Many-to-one piping
Multiple sources can now stream into a single destination. All sources complete before the destination closes. #1300
Piping from rejected processes
Processes that exit with errors can now still pipe their output. The internal recorder retains their stream, status, and exit code. #1296
Components versions
Since zx bundles third-party libraries without their package.jsons, their versions weren’t previously visible. You can now access them via the
versionsstatic map — including zx itself. #1298 #1295v8.7.2: — Copper CrafterCompare Source
Stability and customizability improvements
nothrowoption onProcessPromiseinit stage #1288_snapshot.killSignalvalue onkill()#1287Failclass #1285$as type #1283Internal tweak ups #1276 #1277 #1278 #1279 #1280 #1281 #1282 #1286 #1289
Described the zx architecture basics. This section helps to better understand the zx concepts and internal logic, and will be useful for those who want to become a project contributor, make tools based on it, or create something similar from scratch. #1290 #1291 #1292
v8.7.1: — Pipe WhispererCompare Source
Continues v8.7.0: handles new
ps()corner case and improves$.killmechanics on Windows #1266 #1267 #1269 webpod/ps#14v8.7.0: — Solder SaviorCompare Source
Important fixes for annoying flaky bugs
kill() 🐞
We've found an interesting case #1262
If we kill the process again, the result might be unexpected:
This happens because the
pidmay be reused by the system for another process, so we've added extra assertions to prevent indeterminacy:ps() 🐛
ps()uses wmic internally on Windows, it relies on fragile heuristics to parse the output. We have improved this logic to handle more format variants, but over time (in v9 maybe) we're planning to change the approach.#1256 #1263 webpod/ps#12 webpod/ingrid#6
v8.6.2: — Flow UnstoppableCompare Source
Fixes
$.prefix&$.postfixvalues settings via env variables #1261 #1260v8.6.1: — Drain HeroCompare Source
process.env.SHELLas default shell if defined #1252parseDuration()arg #1249node:24-alpine#1239v8.6.0: — Valve VanguardCompare Source
thenableparams processing for$literals #1237v8.5.5: — PVC WizardCompare Source
Minor feature polish.
ProcessPromiseandProcessOutputlines()getters now accept a custom delimiter #1220 #1218.nothrow()option inProcessProcess[AsyncIterator]#1216 #1217v8.5.4: — Pipe DreamerCompare Source
pipe(file: string)signature type declaration #1208 #1209v8.5.3: — Trap MasterCompare Source
expBackoffimplementation$.log.outputas defaultspinner()outputquestion()I/Ov8.5.2: — Threaded PerfectionCompare Source
v8.5.0: — Flow SplitterCompare Source
In this release we're significantly expanding the zx setup capabilities.
zx@lite
Just core functions without extras, ~7x smaller than the full version.
#1131
Detailed comparison: zx/versions
Channels
We have completely reforged the distribution flow. Now zx is available in multiple formats:
#1141...
#1157
Docker
If you'd prefer to run zx in a container, you can pull the image from the GH docker registry.
node:22-alpine is used as a base. #1142 #1145
docker pull ghcr.io/google/zx:8.5.0 docker run -t ghcr.io/google/zx:8.5.0 -e="await \$({verbose: true})\`echo foo\`" docker run -t -i -v ./:/script ghcr.io/google/zx:8.5.0 script/t.jsChores
glob.syncshortcut #1135ZX_REGISTRY='https://custom-registry.example.com' zx script.jsv8.4.2Compare Source
v8.4.1: – Rusty ElbowCompare Source
Logger enhancements are arriving in this release. #1119 #1122 #1123 #1125
v8.4.0: – Drip DetectiveCompare Source
Try the new batch of enhancements:
npm i zx@8.4.0https://www.npmjs.com/package/zx/v/8.4.0Changes
--prefer-localnow allows linking both external binaries and packages #1116 #1117quotehas been slightly changed for a conner case, when zx literal gets an array.#999 #1113
nothrowoption to suppress any errors #1108 #1109@types/nodeand@types/fs-extradeps replaced with triple-slash typing refs #1102ProcessOutputiterable #1101ProcessPromiseinstantiation #1097 #1098ProcessOuputcause #1110ProcessOutputinners #1096 #1095.tsextensions for relative imports #1111v8.3.2: – Clogged DrainCompare Source
Restrics unsafe vals usage on
dotenv.stringify#1093 #1094v8.3.1: – Perfect SealCompare Source
The release essence: introduced full-featured
.envsupport #461 → #1060 #1052 #1043 #1037 #1032 #1030 #1022API
envapi is a tiny 100 LOC dotenv-inspired parser and serializer that we've integrated into zx.
CLI
QnA
— Why not use
dotenvdirectly?— 1) Size does matter 2) We'd like to avoid internal vaults.
— Why not load
.envby default?— 1) Explicit is better than implicit 2) Runtime itself (like bun) may provide the feature.
Chore
stdallpiping #1033fullCmdand uniqueid#1035haltandrunAPI in docs #1046timeoutoption handling for corner cases #1049killSignalsetting via env vars #1054diagnostic_channelto built-ins list #1056idfield and introducedendevent #1057 #1058nothrown()toggleable #1066 #1029ZX_REPL_HISTORYenvvar #1065file://protocol check #1064modeoption fortmpdirandtmpfile#1063_timeoutSignaloverride #1075ProcessPromisestage #1077 #967v8.3.0: – Pipes of SteelCompare Source
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 awaitloop from any point of the process execution.Pipes
pipe()#1023signalhandling on piping #992CLI
$.defaultssetting viaZX_-prefixed environment variables #988 #998ZX_VERBOSE=true ZX_SHELL='/bin/bash' zx script.mjs--envoption to load dotenvs 1022 #1030--prefer-localoption #1015Fixes
process.exit()#993 #997ZX_SHELLenv handling #1024Docs
mainbranch #985Chores
.node_versionto improve contributors devx #1012chalkupdated to v5.4.1 #1019Merry Christmas! 🎄🎅🎁
v8.2.4: – Leaky FaucetCompare Source
v8.2.3: – Golden WrenchCompare Source
This release continues the work on pipe API enhancements:
ProcessOutputdata to promisified pipe values #954 #949We've also slightly tweaked up dist contents for better compatibility with bundlers #957
v8.2.2Compare Source
What's Changed
Full Changelog: google/zx@8.2.1...8.2.2
v8.2.1Compare Source
v8.2.0Compare Source
Pipes supercharge today! 🚀
Features
Chore
v8.1.9Compare Source
Today's release is a minor update that includes:
Enhancements
ProcessOutputfields with lazy getters to reduce mem consumption #903, #908argvreference on update #916Shellinterface to properly handlesyncmode #915:Fixes
stdallfill for$.synccalls: #911, #912v8.1.8Compare Source
TeplateStringArraydetection #904, #905PromiseProcessgot lazy getters to optimize mem usage #903v8.1.7Compare Source
Step by step on the road to improvements
Fixes
Finally, we've fixed the issue with piped process rejection #640 #899:
Enhancements
Added
cmddisplay toProcessPromise#891:and
durationfield toProcessOutput#892:Enabled zurk-like pipe string literals #900:
v8.1.6Compare Source
Improvements & Fixes
$.preferLocaloption now also accepts a directory #886, #887.Why not just
$.env['PATH'] = 'extra:' + '$.env['PATH']?Well, the API internally does the same, but also handles the win paths peculiarities.
$.killSignaloption for the symmetry with the$.timeoutSignal. You can override the default termination flow #885:$opt presets became chainable #883:Durationparser #884:v8.1.5Compare Source
We've rolled out a new release!
Fixes
API. #870 #879
Chores
cd(),within()andsyncProcessCwd()interactions. #878cwdoption in the documentation. #868v8.1.4Compare Source
We continue optimizing bundles and CI/CD pipelines.
zx/coreentry size. #856defaults. #864Which gives us: 897 kB → 829 kB (-7.58%)
v8.1.3Compare Source
Nothing special today. We just keep improving the implementation.
Features
#824, #827, #828
zx/cliexports its inners to allow more advanced usage.Imagine, your own CLI tool that uses
zxas a base:#828
#650, #849
ps:#840
Chore
$.logacceptskind: 'custom'#834$.verboseand$.quietmodes internals #835quotePowerShellin docs #851async_hooks.createHookwarning on bun #848v8.1.2Compare Source
Every new zx version is better than previous one. What have we here?
Features
ProcessPromise.verbose()to enhance debugging experience.#820, #710
ProcessPromise.isSmth()API:#823
Bug Fixes
mainentrypoint #827Chore
v8.1.1Compare Source
This release brings a pinch of sugar and minor fixes.
Features
$.preferLocaloption to prefernode_modules/.binlocated binaries over globally system installed ones.#798
ProcessPromise:#764, #811, #815
ProcessPromisenow exposes itssignalreference.#816
Fixes
--quietis mapped to$.quietoption. #813ProcessPromiseif it's missing. #810v8.1.0Compare Source
This new release is a big deal. It brings significant improvements in reliability and compatibility.
New features
Added
usePwsh()helper to switch to PowerShell v7+ #790timeoutis now configurable$opts #796Added
--cwdoption for CLI #804Introduced
tmpdirandtmpfilehelpers #803v8.0.2Compare Source
In this release:
detachedoption (#782)v8.0.1Compare Source
In this release:
stdiooption (#772)signalopt (#769)process.killfallback for bun (#770)v8.0.0Compare Source
We are thrilled to announce the release of
zxv8.0.0! 🎉With this release, we have introduced a lot of new features, improvements, and bug fixes.
We have also made some breaking changes, so please read the following release notes carefully.
🚀 New Shiny Features
Squashed deps: we use esbuild with custom plugins to forge js bundles
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.