summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2021-09-30feat(tls): custom in memory CA certificates (#12219)Luca Casonato
This adds support for using in memory CA certificates for `Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`. `certFile` is deprecated in `startTls` and `connectTls`, and removed from `Deno.createHttpClient`.
2021-09-29fix(ext/fetch): avoid panic when header is invalid (#12244)Ahab
2021-09-29bench(cli): add deno_http_native_headers.js (#12267)Aaron O'Mullan
2021-09-29feat: support serializing `WebAssembly.Module` objects (#12140)Andreu Botella
2021-09-281.14.2 (#12254)Aaron O'Mullan
2021-09-28chore: bump crate versions for 1.14.2 (#12253)Aaron O'Mullan
2021-09-27fix: subprocess kill support on windows (#12134)Luca Casonato
2021-09-26fix(ext/http): include port number in h2 urls (#12181)Ben Noordhuis
2021-09-25perf(ext/fetch): Use the WebIDL conversion to DOMString rather than ↵Luis Malheiro
USVString for Response constructor (#12201)
2021-09-25fix(http): panic when responding to a closed conn (#12216)Aaron O'Mullan
Our oneshot receiver in `HyperService::call` would unwrap and panic, the `.await` on the oneshot receiver happens when the sender is dropped. The sender is dropped in `op_http_response` because: 1. We take `ResponseSenderResource` 2. Then get `ConnResource` and early exit on failure (conn already closed) 3. The taken sender then gets dropped in this early exit before any response is sent over the channel Fallbacking to returning a dummy response to hyper seems to be a fine quickfix
2021-09-24chore(workers): Test that closing a worker closes any child workers (#12215)Andreu Botella
Before #12156, closing a worker which had children would cause a panic (https://github.com/denoland/deno/issues/11342#issuecomment-918327693). After that PR, closing a worker will also close any child workers.
2021-09-25refactor: Remove unused code (#12210)Ryan Dahl
2021-09-24refactor: Remove op_state parameter (#12202)Ryan Dahl
2021-09-24refactor: Rename ProgramState to ProcState (#12204)Ryan Dahl
Move Arc into struct
2021-09-24docs: fix native http jsdoc examples (#12207)Leo K
2021-09-23refactor: clean up watcher tests (#12200)Ryan Dahl
2021-09-23feat(cli/fmt): support more markdown extensions (#12195)Satya Rohith
2021-09-23test(cli): align unit test permissions with runtime test permissions (#12189)Casper Beyer
2021-09-22refactor: simplify FetchFuture (#12185)Ryan Dahl
No need for static lifetime
2021-09-22fix(workers): Don't panic when a worker's parent thread stops running (#12156)Andreu Botella
This panic could happen in the following cases: - A non-fatal error being thrown from a worker, that doesn't terminate the worker's execution, but propagates to the main thread without being handled, and makes the main thread terminate. - A nested worker being alive while its parent worker gets terminated. - A race condition if the main event loop terminates the worker as part of its last task, but the worker doesn't fully terminate before the main event loop stops running. This panic happens because a worker's event loop should have pending ops as long as the worker isn't closed or terminated – but if an event loop finishes running while it has living workers, its associated `WorkerThread` structs will be dropped, closing the channels that keep those ops pending. This change adds a `Drop` implementation to `WorkerThread`, which terminates the worker without waiting for a response. This fixes the panic, and makes it so nested workers are automatically terminated once any of their ancestors is closed or terminated. This change also refactors a worker's termination code into a `WorkerThread::terminate()` method. Closes #11342. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-09-22chore: replace calls to assertThrowsAsync with assertRejects (#12176)Casper Beyer
2021-09-221.14.1Kitson Kelly
2021-09-22chore: bump crate versions for 1.14.1 (#12172)Kitson Kelly
2021-09-21bench(deno_common): track new Request() (#12164)Aaron O'Mullan
Indirectly tests for: - url parsing - abort signal no-ops - webidl & other overhead
2021-09-21chore: bump deno_net (#12157)Satya Rohith
2021-09-20chore(tests): windows pty tests (#12091)David Sherret
2021-09-20test(ext/ffi): add tests for different parameter and return types (#12158)Elias Sjögreen
2021-09-20fix(config-schema): correct default value of "lib" (#12145)Eyal Shalev
Changed it from `"deno.window"` to `["deno.window"]`
2021-09-19fix(cli): move Deno.flock and Deno.funlock to unstable types (#12138)Casper Beyer
2021-09-18refactor(cli): don't generate a module for side loading tests (#12129)Casper Beyer
2021-09-18fix(cli/fmt_errors): Abbreviate long data URLs in stack traces (#12127)Nayeem Rahman
Co-authored-by: Mike White <mike.white@auctane.com>
2021-09-18fix(core): prevent multiple main module loading (#12128)Bartek Iwańczuk
This commit fixes a problem where loading and executing multiple modules leads to all of the having "import.meta.main" set to true. Following Rust APIs were deprecated: - deno_core::JsRuntime::load_module - deno_runtime::Worker::execute_module - deno_runtime::WebWorker::execute_module Following Rust APIs were added: - deno_core::JsRuntime::load_main_module - deno_core::JsRuntime::load_side_module - deno_runtime::Worker::execute_main_module - deno_runtime::Worker::execute_side_module - deno_runtime::WebWorker::execute_main_module Trying to load multiple "main" modules into the runtime now results in an error. If user needs to load additional "non-main" modules they should use APIs for "side" module.
2021-09-17chore(tests): maybe fix flaky flock tests (#12122)David Sherret
2021-09-17chore(tests): fix flaky fetchPostBodyTypedArray (#12104)David Sherret
2021-09-17chore(tests): fix flaky flock tests (#12099)David Sherret
2021-09-17chore: Remove unused deps from Cargo.toml files (#12106)Squirrel
2021-09-17fix(cli): don't ignore diagnostics about for await (#12116)Kitson Kelly
Fixes #12115
2021-09-16fix(ext/crypto): don't use core.decode for encoding jwk keys (#12088)Divy Srivastava
2021-09-16chore: update tagline (#12095)Satya Rohith
2021-09-16fix(lsp): align filter text to vscode logic (#12081)Kitson Kelly
Fixes #11861
2021-09-15chore(lsp): use pretty_assertions in e2e tests (#12083)Satya Rohith
2021-09-141.14.0 (#12074)David Sherret
2021-09-14chore: bump crate versions for 0.14 (#12072)David Sherret
2021-09-14chore: update URL for schemas (#12070)Bartek Iwańczuk
2021-09-14feat(ext/crypto): import RSA pkcs#8 keys (#11891)Divy Srivastava
2021-09-14fix(lsp): correctly parse registry patterns (#12063)Kitson Kelly
2021-09-14feat(lsp): ignore specific lint for entire file (#12023)Satya Rohith
2021-09-14chore: add JSON schema for configuration file (#12062)Bartek Iwańczuk
2021-09-14docs: Update --config flag help text (#12059)Bartek Iwańczuk
2021-09-13feat: add option flags to 'deno fmt' (#12060)Bartek Iwańczuk