summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-30build: use workflows for bumping versions and cargo publishing on the CI ↵David Sherret
(#13995)
2022-03-30chore: add semi-colon to compat/mod.rs export default output (#14154)David Sherret
2022-03-30feat(lsp): add experimental testing API (#13798)Kitson Kelly
Ref: denoland/vscode_deno#629
2022-03-29chore(ci): fix lsp bench due to notification that was accidentally added ↵David Sherret
(#14148)
2022-03-29feat(cli/fmt): ignore .git folder when formatting files (#14138)TrickyPi
2022-03-29chore: upgrade dprint-core to 0.54.1 (#14146)David Sherret
2022-03-29chore(wasm): Don't await on the argument to `handleWasmStreaming` (#14000)Andreu Botella
`handleWasmStreaming` is the function that provides the binding with the `fetch` API needed for `WebAssembly.instantiateStreaming()` and `WebAssembly.compileStreaming()`. When I implemented it in #11200, I thought V8 was calling these functions with the argument of the `WebAssembly` streaming functions, without doing any resolving, and so `handleWasmStreaming` awaits for the parameter to resolve. However, as discovered in https://github.com/denoland/deno/issues/13917#issuecomment-1065805565, V8 does in fact resolve the parameter if it's a promise (and handles rejections arising from that). This change removes the `async` IIFE inside `handleWasmStreaming`, letting initial errors be handled synchronously (which will however not throw synchronously from the `WebAssembly` namespace functions). Awaiting is still necessary for reading the bytes of the response, though, and so there is an `async` IIFE for that.
2022-03-29fix(runtime/ops/signal.rs): Add Solaris signals (#13931)ichizok
2022-03-29refactor(flags): rename CheckFlag to TypecheckMode (#14111)Bartek Iwańczuk
2022-03-29feat(lsp): support API for config file (#14139)Kitson Kelly
Closes: #13910
2022-03-28chore: fix compile_windows_ext test (#14142)David Sherret
2022-03-28chore: update dprint internally to 0.24.1 (#14141)David Sherret
2022-03-28fix(task): handle `PATHEXT` with trailing semi-colon (#14140)David Sherret
2022-03-28fix(ext/fetch): extend deprecated fetch() overload with `string | Request` ↵Nayeem Rahman
(#14134)
2022-03-28fix(lsp): watch .jsonc files (#14135)Kitson Kelly
2022-03-28chore: update clap and completions (#14136)Robert
2022-03-27perf: micro-optimize core.encode (#14120)Divy Srivastava
2022-03-25chore: forward v1.20.3 release commit to main (#14121)Luca Casonato
2022-03-25chore: update rusqlite (#14117)Rafael Ávila de Espíndola
2022-03-25fix: `Deno.run` - do not modify user provided `cmd` array (#14109)David Sherret
2022-03-25docs(cli): fix typo in `PermissionOptionsObject` (#14114)Aleksandr Bukhalo
2022-03-25fix(ext/ffi): enforce unstable check on ops (#14115)Luca Casonato
2022-03-25fix: deprecate URL as the first arg of fetch (#14113)Yoshiya Hinosawa
2022-03-25chore(ext): fix typo in ext/webgpu, ext/fetch (#14106)apeltop
2022-03-24docs: `WorkerOptions` - fix permissions description (#14011)David Sherret
2022-03-24chore: drop src/ in bench_util & serde_v8 (#14097)Aaron O'Mullan
To align with conventions used in our other crates
2022-03-24ci: update actions/checkout@v2 to v3 (#14089)Eliaz Bobadilla
2022-03-241.20.2Kitson Kelly
2022-03-24tests(cli): ignore previously unignored test (#14104)Kitson Kelly
Ref: #14103
2022-03-23cleanup(serde_v8): streamline magic types (#14076)Aaron O'Mullan
Formalize magic types and how they're "transerialized", also makes U16String deserializable
2022-03-23fix(bench): require --unstable flag in JavaScript (#14091)Bartek Iwańczuk
2022-03-23chore: remove all `pub(crate)`s from the cli crate (#14083)David Sherret
2022-03-23perf(http): avoid Set.has() when closing connection resource (#14085)Divy Srivastava
2022-03-23feat(unstable): add ref/unref to Listener (#13961)Yoshiya Hinosawa
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-03-23perf(http): avoid checking promise every request (#14079)Divy Srivastava
2022-03-23fix(test): don't error on missing op details (#14074)Bartek Iwańczuk
2022-03-22refactor: remove loops in cli/tests/unit/http_test.ts (#14075)Bartek Iwańczuk
2022-03-22fix(compat): Changes an instance of collect::<Vec<_>>().join("") to ↵Yoav Lavi
collect::<String>() (#14082)
2022-03-22chore(core): Remove a note that is no longer relevant. (#14069)Andreu Botella
This note about how `v8::SnapshotCreator::create_blob` must not be called from a `HandleScope` stopped being relevant in #6801, and was now attached to code that had nothing to do with `HandleScope`s.
2022-03-22chore: replace `.expect("...")` calls with `.unwrap()` in test code (#14081)David Sherret
2022-03-22fix(tests): do not use global env vars in install tests (#14078)David Sherret
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