Releases: dsherret/dax
Releases · dsherret/dax
0.42.0
0.41.0
What's Changed
- feat:
clearEnv
onCommandBuilder
by @Yohe-Am in #264 - feat: Path - add
linkTo
andlinkToSync
by @dsherret in #268 - refactor(BREAKING): Path - rename
createSymlinkTo
tosymlinkTo
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
0.40.0
What's Changed
- feat: enable text, lines, and json to pull from stderr or combined buffers by @zephraph in #241
- feat: add cross-platform
which
command by @dsherret in #252 - feat: add
TemplateExpr
type by @dsherret in #259 - feat(path):
copyFile
->copy
and support copying directories by @dsherret in #260 - feat: publish to jsr by @dsherret in #261
- fix: better shebang support by @dsherret in #256
- fix: not finding a command should error in the shell by @dsherret in #257
New Contributors
Upgrading (Deno)
- Run
deno add @david/dax
- 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
0.39.1
0.39.0
What's Changed
- feat(BREAKING): a timed out
$.request
now throws aTimeoutError
with a stack by @dsherret in #236 - feat: npm distribution for Node.js by @dsherret in #237
- feat: rename
PathRef
toPath
(oldPath
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
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
toRequestResponse
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
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
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