Skip to content

Latest commit

 

History

History
448 lines (339 loc) · 17.5 KB

CHANGELOG.md

File metadata and controls

448 lines (339 loc) · 17.5 KB

0.4.0 (Jul 17, 2022)

BREAKING CHANGES

  • runtime: remove $.throwErrors (#77) (0fc54c8)
  • runtime: remove $s shorthand in favor of statusCode (#75) (5a8a218)

Features

  • runtime: add .cwd() method (#95) (4b88438)
  • runtime: add .env() method (#94) (ca64927)
  • runtime: add .retry() callback handler (#89) (34984c2)
  • runtime: add stdout and stderr properties (#83, #92) (7a216e6, 6f93d58)
  • runtime: capture stack trace for cd method and fmt error message (#78) (b59e737)

Bug Fixes

  • runtime: add missing import (#87) (3e52bfb)
  • runtime: don't inject globals by default (#72) (ff9910e)

Code Refactoring

  • runtime: move std modules to a separate sub-folder and add shell.ts entry file (#91) (76b9e72)

Documentation Updates

0.3.2 (Jul 11, 2022)

Features

  • cli: start repl by default and print dzx version on start (#34) (ce2a1c7)
  • cli: add --verbose option and change $.verbose type from boolean to boolean | number (#30) (c253d77)
  • runtime: add .delay() method (#68) (a05e1ab)
  • runtime: add .timeout() method (#67) (8219581)
  • runtime: add kill method (#64) (0d0044b)
  • runtime: add statusCode property (#63) (eb85a1b)
  • runtime: add noThrow property (#62) (dcaa0e8)
  • runtime: add pid property (#61) (66d9c6a)
  • runtime: add .retry() method and print retries on error (#58) (a04d370)
  • runtime: capture stack trace from $ call's (#44) (7c06a04)
  • runtime: print exit code info and signal on error (#43) (9cc7ec9)

Bug Fixes

  • cli: fix base64 module bootstrapping (#31) (3292575)
  • runtime: make readlines aboartable (#65) (b737487)

Code Refactoring

  • bundle: use deno_emit for bundling (#36) (3050c89)
  • cli: remove useRawArgs from eval command (#35) (0bf9a2e)
  • cli: refactor repl options handling (#33) (607b12a)
  • runtime: use dynamic import for emit module to improve cli performance (#70) (fa9e52f)
  • runtime: implement process class (#42) (2059567)
  • runtime: make $.mainModule, $.args & $.startTime readonly (#32) (bcb02fd)

Chore

  • ci: install zsh on canary gh action (#41) (a464b58)
  • ci: setup zsh in gh action (615f826)
  • ci: run workflows on pull request (#37) (6d1699c)
  • ci: re-enable coverage and upgrade codecov/codecov-action to v3 (#15) (2668379)
  • ci: upgrade checkout action to v3 (#29) (006c8ce)
  • upgrade: deno/std@0.140.0, cliffy@0.24.2 (#38) (27923c6)
  • upgrade: deno/std@v0.136.0, cliffy@v0.23.1 (#28) (0d70bc7)

0.3.1 (Mar 20, 2022)

Features

  • cli: Add repl command (#20) (5850a4d)
  • cli: add eval command (#23) (f613be7)

Bug Fixes

  • cli: throw errors in repl (#24) (b3b7bc6)

Code Refactoring

  • cli: refactor runtime bootstrapping (#22) (c86b667)

Chore

  • upgrade: deno/std@v0.130.0, cliffy@v0.22.2 (#25) (d97535e)

Documentation Updates

0.3.0 (Nov 9, 2021)

Features

  • cli: add the ability to run markdown files (#2) (933149b)
  • runtime: add streams module (#12) (62eb4ed)
  • runtime: add $s, $o and $e shorthands (#3) (d7f40a6)

Bug Fixes

  • compile: ensure flags are properly parsed and embedded (#5) (2b16240)
  • runtime: ensure $.args is populated for bundled/compiled scripts (#10) (db61cd9)

Code Refactoring

  • default to unknown in catch variables (#14) (60ab69c)
  • cli: move worker and markdown code into separate files (#13) (8218d23)

Chore

  • ci: fix workflow names (0b7c673)
  • ci: split workflow files, add canary test's and generate code coverage (#9) (da153f4)
  • upgrade: deno/std v0.113.0 (#16) (c2e28ec)

Unit/Integration Tests

  • runtime: add process output and process error test's (#11) (f3d513a)

Documentation Updates

v0.2.4 (2021-08-14)

Features

  • cli: add upgrade command (08981fe)

Bug Fixes

  • cli: replace --allow-plugin with --allow-ffi (ede926d)
  • cli: exclude source maps from bundle command (0da5a1e)
  • runtime: take only stdout when passing a process output to another process (0da5a1e)

Code Refactoring

  • cli: exit with exit code 2 if reading from stdin fails (5911dff)
  • runtime: add typings in runtime files (2b5656b)
  • runtime: change default shell to bash (513a4da)

Chore

  • ci: switch to denoland/setup-deno action (b163313)
  • ci: add testing step to github action (c2b7a5b)
  • upgrade: deno/std v0.104.0 (513a4da, 0e8d0a7)
  • upgrade: cliffy v0.19.5 (fd82808)

Unit/Integration Tests

  • test behavior of passing exec result to another exec call (21f78c0)
  • add a basic set of test cases (8673e8c)
  • get the initial test suite passing (1e57841)
  • add initial tests (c90ea2a)

Documentation Updates

v0.2.3 (2021-05-14)

Features

Bug Fixes

  • add time logging to bundle (a4021ac)

Chore

Documentation Updates

v0.2.2 (2021-05-14)

Features

  • add log types to log namespace (62db895)
  • add io types to io namespace (3bdd903)
  • add path types to path namespace (99a3913)
  • add async types to async namespace (b22b929)
  • add flags types to flags namespace (0963dc0)
  • add $.args (b1cdd29)

Bug Fixes

Chore

Documentation Updates

v0.2.1 (2021-05-14)

Features

Bug Fixes

Chore

Documentation Updates

v0.2.0 (2021-05-13)

Features

Bug Fixes

Code Refactoring

  • refactor error method (562b65f)
  • remove $.cwd and use Deno.chdir for cd (33e097a)
  • use cliffy for command line interfaces (51c234b, 95e6f3c)

Chore

Documentation Updates

v0.1.1 (2021-05-08)

Bug Fixes

v0.1.0 (2021-05-08)

  • Revert "refactor: import from path instead of data url" (4ee4800, b99669e)

Features

  • add quote method to global space and remove cd from $ symbol (866793c)
  • add cd to global namespace (855a800)
  • escape template literal params (0bf5920)
  • add $.cd (9dafdfd)
  • add support for $.shell, execute from url and from stdin (c37e32b)

Bug Fixes

Code Refactoring

  • remove example file (247713a)
  • import from path instead of data url (ad6431a)
  • remove recursive imports (a8226a4)
  • refactor folder structure and add mod.ts file (907a7a1)
  • rename ProcessResult to ProcessOutput (9ce1a61)
  • use combined as error message (8e994b9)

Chore

Documentation Updates