summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-26refactor(core): Remove ErrWithV8Handle (#14394)Nayeem Rahman
2022-04-26refactor(ops/process): add `StdioOrRid` enum (#14393)David Sherret
2022-04-26feat(ext/console): Compact empty iterables when calling Deno.inspect with ↵Ben Heidemann
compact false (#14387)
2022-04-25chore: deno_http v0.43.1 (#14392)Aaron O'Mullan
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-25cleanup(serde_v8): disambiguate ZeroCopyBuf (#14380)Aaron O'Mullan
2022-04-25feat(ext/console): Add string abbreviation size option for "Deno.inspect" ↵Ben Heidemann
(#14384)
2022-04-25perf(ext/http): fast path for uncompressed bodies (#14366)Divy Srivastava
2022-04-24perf(ext/http): faster is_content_compressible (#14383)Aaron O'Mullan
Cleanup + benches
2022-04-24feat: change shade of "gray" color in eye-catchers (#14309)Bartek Iwańczuk
This commit changes "gray" color for eye-catchers to use Ansi(245) color.
2022-04-24fix(runtime/js/spawn): Pass stdio options for spawn() and spawnSync() (#14358)Nayeem Rahman
2022-04-24perf(serde_v8): zero-copy StringOrBuffer (#14381)Aaron O'Mullan
2022-04-23chore(ext/fetch): custom arity (#14198)Divy Srivastava
2022-04-23fix(bench): eliminate sanitizeExit overhead (#14361)evan
2022-04-23fix(bench): report pending summary before clearing (#14369)evan
2022-04-22chore(tests): fix pty_clear_function on Windows (#14364)David Sherret
2022-04-22chore: bump crates (#14365)Luca Casonato
2022-04-22tests: unflake streaming compression tests (#14363)Luca Casonato
2022-04-22fix(bench): reset reporter context (#14360)evan
This commit fixes previous file benchmarks leaking into the next file benchmarks summary.
2022-04-22Reland "perf(http): optimize ReadableStreams backed by a resource" (#14346)Divy Srivastava
2022-04-21chore: add release step failure instructions (#14352)David Sherret
2022-04-21chore(ci): skip ci cache when doing a release (#14350)David Sherret
2022-04-21fix(watcher): don't clear screen on start (#14351)Bartek Iwańczuk
2022-04-21chore(scripts): allow running version_bump workflow without releasing ↵David Sherret
deno_std yet (#14341)
2022-04-21chore(cli/dts): fix the display of the Deno.spawnSync() document (#14342)ayame113
2022-04-21Reland "feat(ext/http): stream auto resp body compression" (#14345)Divy Srivastava
2022-04-201.21.0 (#14336)denobot
Co-authored-by: ry <ry@users.noreply.github.com> Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-21Revert various PRs related to "ext/http" (#14339)Bartek Iwańczuk
* Revert "feat(ext/http): stream auto resp body compression (#14325)" * Revert "core: introduce `resource.read_return` (#14331)" * Revert "perf(http): optimize `ReadableStream`s backed by a resource (#14284)"
2022-04-20chore: fix version bump credentials (#14338)David Sherret
2022-04-20upgrade: rusty_v8 0.42.0 (#14334)Ryan Dahl
2022-04-21feat(runtime): two-tier subprocess API (#11618)Leo Kettmeir
2022-04-20feat(ext/http): stream auto resp body compression (#14325)Luca Casonato
This commit adds support for auto response body compression for streaming bodies.
2022-04-20feat(repl): add global clear() function (#14332)Colin Ihrig
This commit adds a clear() function in the REPL which works similar to console.clear().