Skip to content

Releases: dsherret/dax

0.41.0

04 May 18:02
0c1cc7b
Compare
Choose a tag to compare

What's Changed

  • feat: clearEnv on CommandBuilder by @Yohe-Am in #264
  • feat: Path - add linkTo and linkToSync by @dsherret in #268
  • refactor(BREAKING): Path - rename createSymlinkTo to symlinkTo by @dsherret in #267
  • feat(windows): request folder permissions when traversing path by @dsherret in #269
  • docs: add $.escapeArg by @dsherret in #266

Full Changelog: 0.40.1...0.41.0

0.40.1

19 Apr 15:05
f3d128a
Compare
Choose a tag to compare

What's Changed

  • fix: regression - .bytes() signature should support no argument by @dsherret in #265

Full Changelog: 0.40.0...0.40.1

0.40.0

06 Apr 17:43
3aa9523
Compare
Choose a tag to compare

What's Changed

New Contributors

Upgrading (Deno)

  1. Run deno add @david/dax
  2. Update your import statement:
    - import $ from "https://deno.land/x/dax@0.39.1/mod.ts";
    + import $ from "@david/dax";

Or if you're not using a deno.json, import directly:

- import $ from "https://deno.land/x/dax@0.39.1/mod.ts";
+ import $ from "jsr:@david/dax@0.40.0";

Full Changelog: 0.39.2...0.40.0

0.39.2

21 Feb 02:02
ed9fbd1
Compare
Choose a tag to compare

What's Changed

  • doc: fix incorrect output in an example in README by @Abrifq in #246
  • fix: proper resolve path in 'cat' built-in command by @lichwala in #248

New Contributors

Full Changelog: 0.39.1...0.39.2

0.39.1

09 Feb 20:31
a99d929
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.39.0...0.39.1

0.39.0

09 Feb 14:05
1c1b3c4
Compare
Choose a tag to compare

What's Changed

  • feat(BREAKING): a timed out $.request now throws a TimeoutError with a stack by @dsherret in #236
  • feat: npm distribution for Node.js by @dsherret in #237
  • feat: rename PathRef to Path (old Path export is still available, but marked as deprecated) by @dsherret in #238
  • fix: pass only cmd str to printCommandLogger by @Yohe-Am in #203
  • fix: better error message when providing a command builder to an expr by @dsherret in #240

You should now be able to use Dax in Node.js via the dax-sh npm package.

New Contributors

Full Changelog: 0.38.0...0.39.0

0.38.0

29 Jan 00:21
ea75093
Compare
Choose a tag to compare

What's Changed

Very large release. I will do a blog post on this once I get it published on npm.

  • feat: support subshells by @dsherret in #232
  • feat: basic output redirect support by @dsherret in #216
  • feat: support input redirects by @dsherret in #223
  • feat: ability to provide JavaScript objects and streams as file descriptors for redirects by @dsherret in #230 (similar to in Bun's new shell)
  • feat: ability to provide a CommandBuilder to .stdin(...) by @dsherret in #217
  • feat: add .pipe(...) for piping stdout of a command to another command by @dsherret in #218
  • feat: basic support of pipe sequences by @dsherret in (#219, #222)
  • feat: add KillSignal.prototype.abortedExitCode by @dsherret in #220
  • feat: ability to abort request's response by @dsherret in #229
  • feat(BREAKING): error when providing an unexpected object that doesn't override toString() in a command expr by @dsherret in #231
  • feat(BREAKING: remove need for kind: "continue" in custom commands by @dsherret in #221
  • refactor(BREAKING): command pipe writes may now return a promise by @dsherret in #225
  • refactor(BREAKING): rename RequestResult to RequestResponse by @dsherret in #228
  • fix: request wasn't timing out waiting for body by @dsherret in #227

Full Changelog: 0.37.1...0.38.0

0.37.1

26 Jan 02:38
34e8ed2
Compare
Choose a tag to compare

What's Changed

See 1.37.0 release notes for new features: https://github.com/dsherret/dax/releases/tag/0.37.0

Full Changelog: 0.37.0...0.37.1

0.37.0

26 Jan 02:01
90af734
Compare
Choose a tag to compare

What's Changed

  • feat: support providing a PathRef to .stdin(...), .stdout(...), and .stderr(...) by @dsherret in #212, #211
  • feat: support providing a RequestBuilder to .stdin(...) by @dsherret in #213
  • fix: removed usages of deprecated functions by @cseidr in #209
  • docs: show shebang in the readme by @matklad in #204
  • docs: more jsdocs by @dsherret in #214
  • fix: upgrade to deno_std 0.213 internally by @dsherret in #210

New Contributors

Full Changelog: 0.36.0...0.37.0

0.36.0

17 Dec 18:07
5d02141
Compare
Choose a tag to compare

What's Changed

  • feat: PathRef.prototype.append by @dsherret in #201
  • feat: allow passing writers to stdout and stderr builder methods by @pomdtr in #184
  • feat: noThrow to ignore specific exit codes on commands by @dsherret in #200
  • feat: extend Deno.FsFile from FsFileWrapper by @dsherret in #190
  • feat: upgrade to deno_std 0.209 by @dsherret in #198
  • fix: escapeArg was not escaping multiple quotes by @Ryooooooga in #194
  • fix: empty strings were ignored by @Ryooooooga in #195
  • fix: upgrade to deno_task_shell 0.14.2 by @dsherret in #197
  • fix: PathRef.prototype.withExtname should allow setting no extension by @dsherret in #199
  • fix: export some non-exported types by @dsherret in #188
  • fix: better logging of objects by @dsherret in #202
  • refactor: switch to local interfaces for Deno.Reader, WriterSync, Closer by @dsherret in #196

New Contributors

Full Changelog: 0.35.0...0.36.0