summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-22fix(ext/fetch): Connect async error stack with user code (#13899)Nayeem Rahman
2022-03-22feat(core): disableable extensions & ops (#14063)Aaron O'Mullan
Streamlines a common middleware pattern and provides foundations for avoiding variably sized v8::ExternalReferences & enabling fully monomorphic op callpaths
2022-03-22fix(unstable): upgrade deno_task_shell to 0.2 (#14073)David Sherret
2022-03-22feat(core): Add JsRuntime::get_module_namespace to access the namespace ↵Filip Kieres
object of a module (#14026)
2022-03-22feat: upgrade to swc_ecmascript 0.137.0 (#14067)David Sherret
2022-03-22fix(fetch): Fix uncaught rejection panic with ↵Andreu Botella
`WebAssembly.instantiateStreaming` (#13925) When an exception is thrown during the processing of streaming WebAssembly, `op_wasm_streaming_abort` is called. This op calls into V8, which synchronously rejects the promise and calls into the promise rejection handler, if applicable. But calling an op borrows the isolate's `JsRuntimeState` for the duration of the op, which means it is borrowed when V8 calls into `promise_reject_callback`, which tries to borrow it again, panicking. This change changes `op_wasm_streaming_abort` from an op to a binding (`Deno.core.abortWasmStreaming`). Although that binding must borrow the `JsRuntimeState` in order to access the `WasmStreamingResource` stored in the `OpTable`, it also takes ownership of that `WasmStreamingResource` instance, which means it can drop any borrows of the `JsRuntimeState` before calling into V8.
2022-03-21fix(core): variadic opSync/opAsync (#14062)Aaron O'Mullan
2022-03-21chore: fix development issues on Windows (#14030)David Sherret
2022-03-21perf(http): avoid per header alloc (#14051)Aaron O'Mullan
2022-03-21feat(lsp): support deno.enablePaths setting (#13978)Kitson Kelly
Ref: denoland/vscode_deno#633
2022-03-20fix: actually don't inherit runtime permissions (#14024)Luca Casonato
2022-03-20cleanup(core): drop op_void_async's state arg (#14045)Aaron O'Mullan
2022-03-20cleanup(web, fetch): dedupe minesniff / "extract a MIME type" algorithm (#14044)Andreu Botella
Closes #14002
2022-03-20fix(ext/console): fix error with a Proxy of a Map (#14032)Jason
2022-03-20chore(core): update deno_core README (#14042)Divy Srivastava
Co-authored-by: Andreu Botella <andreu@andreubotella.com>
2022-03-19chore(ops): hide implementation details from rustdoc (#14038)Divy Srivastava
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-19fix(ops): throw TypeError on op return failure (#14033)Aaron O'Mullan
Fixes #14028
2022-03-19feat(ext/net): Deno.upgradeHttp handles unix connections (#13987)Bartek Iwańczuk
2022-03-19refactor: cleanup assert() & AssertionError definitions (#13859)Leo Kettmeir
2022-03-19chore(core,ext): minor JS optimisations (#13950)Aapo Alasuutari
2022-03-18fix(cli): improve `deno compile` error messages (#13944)TrickyPi
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-03-18fix(cli): add support for DENO_CERT in upgrade command (#13862)Sylvain Cau
2022-03-18chore(ops): include argument position in serde_v8 errors (#14027)Divy Srivastava
2022-03-17fix(config-file): fix config-file.v1.json schema to allow colons in the task ↵David Sherret
name (#14013)
2022-03-17chore: add Rust toolchain components (#14004)Divy Srivastava
2022-03-16v1.20.1Ryan Dahl
2022-03-16chore: fix build (#13997)Ryan Dahl
2022-03-16chore: release script should automatically figure out CLI crate dependencies ↵David Sherret
(#13992)
2022-03-17fix: cargo publish fails without absolute paths (#13993)Ryan Dahl
This reverts commit 4e3ed37037a2aa1edeac260dc3463a81d9cf9b88. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-03-16v1.20.0Ryan Dahl
2022-03-16feat(unstable): Add Deno.upgradeHttp API (#13618)Bert Belder
This commit adds "Deno.upgradeHttp" API, which allows to "hijack" connection and switch protocols, to eg. implement WebSocket required for Node compat. Co-authored-by: crowlkats <crowlkats@toaxl.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-03-16chore(cli): Disallow cross compiling for snapshots (#13976)Divy Srivastava
2022-03-16perf(web): optimize Blob.text and Blob.arrayBuffer (#13981)Divy Srivastava
2022-03-16chore: uploading WPT shouldn't make CI fail (#13984)Ryan Dahl
2022-03-16feat(ext/fetch): Allow Response status 101 (#13969)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-03-16chore: add CODEOWNERS for `deno_ops` (#13982)Divy Srivastava
2022-03-16cleanup(core): recursive get & ensure helpers (#13972)Aaron O'Mullan
2022-03-16perf(web): use DOMString for BlobParts (#13979)Divy Srivastava
2022-03-16chore(ext/webidl): change spec link (#13960)木杉
2022-03-15feat(task): add unstable warning to `deno task` (#13966)David Sherret
2022-03-16BREAKING: don't inherit permissions by default (#13668)Luca Casonato
Previously specifying permissions: {} was the same as specifying permissions: "inherit". Now it will be the same as permissions: "none". Not specifying any permissions (permissions: undefined) still means permissions: "inherit".
2022-03-16feat(ops): optional OpState (#13954)Aaron O'Mullan
2022-03-16perf(web): Optimize `TextDecoder` by adding a new `U16String` type (#13923)Andreu Botella
2022-03-15cleanup(core): OpPair => OpDecl (#13952)Aaron O'Mullan
2022-03-15chore(test_util): use pretty_assertions::assert_eq when not pattern matching ↵David Sherret
(#13965)
2022-03-15cleanup(core): remove void_op_a?sync (#13953)Aaron O'Mullan
In favour of `op_void_sync` & `op_void_async`
2022-03-15fix(core): nuke Deno.core.ops pre-snapshot (#13970)Aaron O'Mullan
To avoid OOB & other ExternalReference snapshot serialization issues Co-authored-by: Bert Belder <bertbelder@gmail.com>
2022-03-15disable flakes (#13962)Ryan Dahl
2022-03-14fix: upgrade reqwest to 0.11.10 (#13951)wspsxing
2022-03-14feat(ops): custom arity (#13949)Aaron O'Mullan
Also cleanup & drop ignored wildcard op-args