summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2022-05-121.21.3 (#14584)Bert Belder
2022-05-11chore: fix flaky integration::test::pass test (#14571)David Sherret
2022-05-11chore: fix flaky lsp_testing_api test (#14569)David Sherret
2022-05-11fix(task): accept double hyphen arg immediately following task name (#14567)David Sherret
2022-05-11fix: stdout and stderr encoding on Windows (#14559)David Sherret
2022-05-11feat(runtime/spawn): add `AbortSignal` support (#14538)Leo Kettmeir
2022-05-10fix: do not panic on `TestOutputPipe::flush` when receiver dropped (#14560)David Sherret
2022-05-10chore: fix flaky steps_output_within - part 2 (#14562)David Sherret
2022-05-10fix(runtime/web_worker): Use biased select when getting module result (#14553)Nayeem Rahman
2022-05-09feat(cli): add deno version to manual links (#14505)Mark Ladyshau
2022-05-09feat(test): repeat test name if there's user output (#14495)Bartek Iwańczuk
This commit changes test report output to repeat test name before printing result, but only if there's user output, denoted by markers.
2022-05-09feat(test): Represent uncaught errors (#14513)Nayeem Rahman
This commit adds better reporting of uncaught errors in top level scope of testing files. This change affects both console runner as well as LSP runner.
2022-05-09feat(test): change "failures:" headers in test report (#14490)Bartek Iwańczuk
2022-05-08fix(core): avoid panic on non-string Error.name (#14529)Aaron O'Mullan
Fixes #14518
2022-05-07refactor(core): add AssertedModuleType enum (#14501)Bartek Iwańczuk
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-05-06feat(web): add `performance.timeOrigin` (#14489)Geert-Jan Zwiers
Add support for the `performance.timeOrigin` web API. Co-authored-by: Jovi De Croock <decroockjovi@gmail.com>
2022-05-051.21.2 (#14508)Colin Ihrig
1.21.2
2022-05-05refactor(core): use Box<u8> for ModuleSource.code instead of a String (#14487)Bartek Iwańczuk
2022-05-05chore: update deps (#14416)Luca Casonato
2022-05-05feat(test): Show Deno.test() call locations for failures (#14484)Nayeem Rahman
2022-05-05test: Manually truncate path string (#14407)Nayeem Rahman
2022-05-04chore: fix flaky `steps_output_within` test (#14479)David Sherret
2022-05-04fix(ext/http): explicitly close resource after reading (#14471)Divy Srivastava
2022-05-04fix(coverage): exclude .snap files (#14480)Geert-Jan Zwiers
2022-05-03feat(ext/net): add "NS" record support in Deno.resolveDns API (#14372)Thanapat Chotipun
2022-05-03refactor: add core.formatLocationFilename, remove op_format_filename (#14474)Bartek Iwańczuk
This commit moves "op_format_location" to "core/ops_builtin.rs" and removes "Deno.core.createPrepareStackTrace" in favor of "Deno.core.prepareStackTrace". Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-03BREAKING: Remove unstable Deno.applySourceMap API (#14473)Bartek Iwańczuk
2022-05-02fix(test/bench): accept file protocol module specifier CLI args (#14429)Adilson Schmitt Junior
2022-05-02feat(unstable/task): resolve the current executable for the deno command ↵David Sherret
(#14462) Closes #14427
2022-05-02fix(vendor): do not panic on relative specifier with scheme-like folder name ↵David Sherret
(#14453)
2022-05-01fix(runtime): lossy utf8 readTextFile (#14456)Aaron O'Mullan
2022-05-01fix(test): actually capture stdout and stderr in workers (#14435)David Sherret
2022-05-01fix: improve formatting jsdocs with asterisk as first char on line (#14446)David Sherret
2022-04-29fix(task): support forwarding lone double hyphen (#14436)David Sherret
2022-04-29fix(task): allow hyphen values after task name (#14434)David Sherret
2022-04-29fix(cli): add dom.extras lib (#14430)Kitson Kelly
Closes: #12558 Fixes: #14344
2022-04-28Forward 1.21.1 (#14428)Leo Kettmeir
2022-04-28fix(cli): wrap long line of the env variables help (#14422)Ikumi Nakamura
2022-04-27fix: `deno task` forward double hyphen (#14419)David Sherret
2022-04-27fix(workers): Make `worker.terminate()` not block the current thread (#13941)Andreu Botella
Calling `worker.terminate()` used to kill the worker's isolate and then block until the worker's thread finished. This blocks the calling thread if the worker's event loop was blocked in a sync op (as with `Deno.sleepSync`), which wasn't realized at the time, but since the worker's isolate was killed at that moment, it would not block the calling thread if the worker was in a JS endless loop. However, in #12831, in order to work around a V8 bug, worker termination was changed to first set a signal to let the worker event loop know that termination has been requested, and only kill the isolate if the event loop has not finished after 2 seconds. However, this change kept the blocking, which meant that JS endless loops in the worker now blocked the parent for 2 seconds. As it turns out, after #12831 it is fine to signal termination and even kill the worker's isolate without waiting for the thread to finish, so this change does that. However, that might leave the async ops that receive messages and control data from the worker pending after `worker.terminate()`, which leads to odd results from the op sanitizer. Therefore, we set up a `CancelHandler` to cancel those ops when the worker is terminated.
2022-04-27perf(runtime): read entire files in single ops (#14261)Aaron O'Mullan
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-04-27refactor: Remove PrettyJsError and js_error_create_fn (#14378)Nayeem Rahman
This commit: - removes "fmt_errors::PrettyJsError" in favor of "format_js_error" fn - removes "deno_core::JsError::create" and "deno_core::RuntimeOptions::js_error_create_fn" - adds new option to "deno_runtime::ops::worker_host::init"
2022-04-26fix(test): capture worker stdout and stderr in test output (#14410)David Sherret
2022-04-26chore: remove git.io link (#14402)Baoshuo Ren
All links on git.io will stop redirecting after April 29, 2022. - https://github.blog/changelog/2022-04-25-git-io-deprecation/
2022-04-26fix(test): capture inherited stdout and stderr for subprocesses in test ↵David Sherret
output (#14395)
2022-04-26chore: fix pty_complete_imports test (#14400)David Sherret
2022-04-26feat(ext/console): Compact empty iterables when calling Deno.inspect with ↵Ben Heidemann
compact false (#14387)
2022-04-25fix(ext/http): truncate read bytes when streaming bodies (#14389)Divy Srivastava
stream shutdown wasn't happening correctly (moved it to call op_http_shutdown) & extra zeroed bytes were being sent for when body length not a multiple of 64*1024
2022-04-25refactor(lsp): store all the assets in Rust when initializing (#14367)David Sherret
2022-04-25feat(ext/console): Add string abbreviation size option for "Deno.inspect" ↵Ben Heidemann
(#14384)