Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.0.7
->^8.0.0
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
google/zx
v8.2.4
Compare Source
v8.2.3
Compare Source
This release continues the work on pipe API enhancements:
ProcessOutput
data to promisified pipe values #954 #949We've also slightly tweaked up dist contents for better compatibility with bundlers #957
v8.2.2
Compare Source
What's Changed
Full Changelog: google/zx@8.2.1...8.2.2
v8.2.1
Compare Source
v8.2.0
Compare Source
Pipes supercharge today! 🚀
Features
Chore
v8.1.9
Compare Source
Today's release is a minor update that includes:
Enhancements
ProcessOutput
fields with lazy getters to reduce mem consumption #903, #908argv
reference on update #916Shell
interface to properly handlesync
mode #915:Fixes
stdall
fill for$.sync
calls: #911, #912v8.1.8
Compare Source
TeplateStringArray
detection #904, #905PromiseProcess
got lazy getters to optimize mem usage #903v8.1.7
Compare Source
Step by step on the road to improvements
Fixes
Finally, we've fixed the issue with piped process rejection #640 #899:
Enhancements
Added
cmd
display toProcessPromise
#891:and
duration
field toProcessOutput
#892:Enabled zurk-like pipe string literals #900:
v8.1.6
Compare Source
Improvements & Fixes
$.preferLocal
option 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.
$.killSignal
option for the symmetry with the$.timeoutSignal
. You can override the default termination flow #885:$
opt presets became chainable #883:Duration
parser #884:v8.1.5
Compare Source
We've rolled out a new release!
Fixes
API. #870 #879
Chores
cd()
,within()
andsyncProcessCwd()
interactions. #878cwd
option in the documentation. #868v8.1.4
Compare Source
We continue optimizing bundles and CI/CD pipelines.
zx/core
entry size. #856defaults
. #864Which gives us: 897 kB → 829 kB (-7.58%)
v8.1.3
Compare Source
Nothing special today. We just keep improving the implementation.
Features
#824, #827, #828
zx/cli
exports its inners to allow more advanced usage.Imagine, your own CLI tool that uses
zx
as a base:#828
#650, #849
ps
:#840
Chore
$.log
acceptskind: 'custom'
#834$.verbose
and$.quiet
modes internals #835quotePowerShell
in docs #851async_hooks.createHook
warning on bun #848v8.1.2
Compare 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
main
entrypoint #827Chore
v8.1.1
Compare Source
This release brings a pinch of sugar and minor fixes.
Features
$.preferLocal
option to prefernode_modules/.bin
located binaries over globally system installed ones.#798
ProcessPromise
:#764, #811, #815
ProcessPromise
now exposes itssignal
reference.#816
Fixes
--quiet
is mapped to$.quiet
option. #813ProcessPromise
if it's missing. #810v8.1.0
Compare 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+ #790timeout
is now configurable$
opts #796Added
--cwd
option for CLI #804Introduced
tmpdir
andtmpfile
helpers #803v8.0.2
Compare Source
In this release:
detached
option (#782)v8.0.1
Compare Source
In this release:
stdio
option (#772)signal
opt (#769)process.kill
fallback for bun (#770)v8.0.0
Compare Source
We are thrilled to announce the release of
zx
v8.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 and dts-bundle-generator for typings 2acb0f, #722
More safety, more stability and significantly reduced installation time. Zx now is ~20x smaller.
Options presets are here. To implement this, we have also completely refactored the
zx
core, and now it's available as a separate package – zurk\ aeec7a, #733, #600We have introduced
$.sync()
API\ 1f8c8b, #738, #681, 1d8aa9, #739You can also override the internal API to implement pools, test mocking, etc.
The
input
option is now available to pass data to the command.\ b38972, #736AbortController
has been introduced to abort the command execution. It's available via theac
option.\ fa4a7b, #734, #527If not specified, the default instance will be used. Abortion trigger is also available via
PromiseResponse
:kill
method is exposed now. To terminate any (not only zx starter) process:Btw, we have replaced
ps-tree
with @webpod/ps & @webpod/ingrid, and exposedps
util:Introduced
$.postfix
option. It's like a$.prefix
, but for the end of the command. fb9554, #756, #536minimist
API exposed\ #661Fixed npm package name pattern on
--install
mode 956dcc, #659, #660, #663$.verbose
is set tofalse
by default, but errors are still printed tostderr
. Set$.quiet = true
to suppress all output.\ cafb90, #745, #569ssh
API was dropped. Install webpod package instead.\ 8925a1, #750zx is not looking for
powershell
anymore, on Windows by default. If you still need it, use theusePowerShell
helper:\ 24dcf3, #757Process cwd synchronization between
$
invocations is disabled by default. This functionality is provided via an async hook and can now be controlled directly.\ d79a63, #765🧰 Other Improvements
lib DOM
fe0356 #735, #619, #722)ProcessPromise.valueOf()
to simplify value comparisons 0640b8, #737, #690--install
API: use depkeek for deps extraction 1a03a6--experimental
toggle, all APIs are available by default 8a7a8f, #751spinner
issue on weird TTY 1124e3, #755, #607node:test
cd1835v7.2.3
Compare Source
What's Changed
New Contributors
Full Changelog: google/zx@7.2.2...7.2.3
v7.2.2
Compare Source
What's Changed
New Contributors
Full Changelog: google/zx@7.2.1...7.2.2
v7.2.1
Compare Source
What's Changed
zx/globals
missing type by @fz6m in https://github.com/google/zx/pull/591New Contributors
Full Changelog: google/zx@7.2.0...7.2.1
v7.2.0
Compare Source
🐚 zx v7.2.0 release! 🎉
A tool for writing better scripts
In this release:
~~~
blocks in markdown scripts.PS: Plan for the next v8 release.
v7.1.1
Compare Source
v7.1.0
Compare Source
Autoinstall
This release introduces a new flag
--install
which will parse and install all required or imported packages automatically.And running
zx --install script.mjs
will trigger installation of tinysh package! It even possible to specify a needed version in comment with@
symbol:PowerShell
Another big change is for Windows. Now, the default shell on Windows is
powershell.exe
.This should fix a lot of issues with "dollar" signs.
Fixes
v7.0.8
Compare Source
What's Changed
$.verbose
reassignment on CLI init by @antongolub in https://github.com/google/zx/pull/475Full Changelog: google/zx@7.0.7...7.0.8
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 has been generated by Renovate Bot.