Skip to content

Releases: google/zx

7.2.2

01 May 15:31
d1cd1aa
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 7.2.1...7.2.2

7.2.1

17 Mar 08:45
Compare
Choose a tag to compare

What's Changed

  • fix: zx/globals missing type by @fz6m in #591

New Contributors

  • @fz6m made their first contribution in #591

Full Changelog: 7.2.0...7.2.1

7.2.0

27 Feb 13:43
Compare
Choose a tag to compare

🐚 zx v7.2.0 release! 🎉

A tool for writing better scripts

zx

In this release:

  • Helpers retry() & spinner() now available in zx without the experimental flag.
  • Added support for ~~~ blocks in markdown scripts.
  • Updated npm dependencies.
  • Added support for ssh commands via webpod.

PS: Plan for the next v8 release.

7.1.1

07 Oct 20:26
79222d7
Compare
Choose a tag to compare
  • Fixed default shell on Windows: if bash is installed, use bash by default.

7.1.0

05 Oct 20:34
691e6cb
Compare
Choose a tag to compare

Autoinstall

This release introduces a new flag --install which will parse and install all required or imported packages automatically.

import sh from 'tinysh'
sh.say('Hello, world!')

And running zx --install script.mjs will trigger installation of tinysh package! It even possible to specify a needed version in comment with @ symbol:

import sh from 'tinysh' // @^1.0.0

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

  • Minimist now correctly parses argv when using zx cli.

7.0.8

01 Aug 20:35
53fd6db
Compare
Choose a tag to compare

What's Changed

Full Changelog: 7.0.7...7.0.8

7.0.7

02 Jul 21:16
c73ccb4
Compare
Choose a tag to compare
  • Fixed $ to be more like a normal function in #472

Now it's possible to do:

const my$ = $.bind(null)
const foo = await my$`echo foo`

7.0.6

01 Jul 20:00
68c7a0e
Compare
Choose a tag to compare
  • Bunch of fixes and improvements. ᕕ( ᐛ )ᕗ

7.0.5

30 Jun 18:41
8e81938
Compare
Choose a tag to compare
  • Fixed types definitions for autocomplete in VSCode #466

7.0.4

29 Jun 20:57
e6bed57
Compare
Choose a tag to compare
  • Fixed default shell on Windows.
  • Fixed missing chalk import in zx/experimental.