Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-29 | chore(ci): fix lsp bench due to notification that was accidentally added ↵ | David Sherret | |
(#14148) | |||
2022-03-29 | feat(cli/fmt): ignore .git folder when formatting files (#14138) | TrickyPi | |
2022-03-29 | chore: upgrade dprint-core to 0.54.1 (#14146) | David Sherret | |
2022-03-29 | chore(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-29 | refactor(flags): rename CheckFlag to TypecheckMode (#14111) | Bartek Iwańczuk | |
2022-03-29 | feat(lsp): support API for config file (#14139) | Kitson Kelly | |
Closes: #13910 | |||
2022-03-28 | chore: fix compile_windows_ext test (#14142) | David Sherret | |
2022-03-28 | fix(task): handle `PATHEXT` with trailing semi-colon (#14140) | David Sherret | |
2022-03-28 | fix(lsp): watch .jsonc files (#14135) | Kitson Kelly | |
2022-03-28 | chore: update clap and completions (#14136) | Robert | |
2022-03-25 | chore: forward v1.20.3 release commit to main (#14121) | Luca Casonato | |
2022-03-25 | fix: `Deno.run` - do not modify user provided `cmd` array (#14109) | David Sherret | |
2022-03-25 | docs(cli): fix typo in `PermissionOptionsObject` (#14114) | Aleksandr Bukhalo | |
2022-03-25 | fix(ext/ffi): enforce unstable check on ops (#14115) | Luca Casonato | |
2022-03-24 | docs: `WorkerOptions` - fix permissions description (#14011) | David Sherret | |
2022-03-24 | 1.20.2 | Kitson Kelly | |
2022-03-24 | tests(cli): ignore previously unignored test (#14104) | Kitson Kelly | |
Ref: #14103 | |||
2022-03-23 | fix(bench): require --unstable flag in JavaScript (#14091) | Bartek Iwańczuk | |
2022-03-23 | chore: remove all `pub(crate)`s from the cli crate (#14083) | David Sherret | |
2022-03-23 | feat(unstable): add ref/unref to Listener (#13961) | Yoshiya Hinosawa | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-03-23 | fix(test): don't error on missing op details (#14074) | Bartek Iwańczuk | |
2022-03-22 | refactor: remove loops in cli/tests/unit/http_test.ts (#14075) | Bartek Iwańczuk | |
2022-03-22 | fix(compat): Changes an instance of collect::<Vec<_>>().join("") to ↵ | Yoav Lavi | |
collect::<String>() (#14082) | |||
2022-03-22 | chore: replace `.expect("...")` calls with `.unwrap()` in test code (#14081) | David Sherret | |
2022-03-22 | fix(tests): do not use global env vars in install tests (#14078) | David Sherret | |
2022-03-22 | fix(ext/fetch): Connect async error stack with user code (#13899) | Nayeem Rahman | |
2022-03-22 | fix(unstable): upgrade deno_task_shell to 0.2 (#14073) | David Sherret | |
2022-03-22 | feat: upgrade to swc_ecmascript 0.137.0 (#14067) | David Sherret | |
2022-03-22 | fix(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-21 | chore: fix development issues on Windows (#14030) | David Sherret | |
2022-03-21 | feat(lsp): support deno.enablePaths setting (#13978) | Kitson Kelly | |
Ref: denoland/vscode_deno#633 | |||
2022-03-20 | fix: actually don't inherit runtime permissions (#14024) | Luca Casonato | |
2022-03-20 | fix(ext/console): fix error with a Proxy of a Map (#14032) | Jason | |
2022-03-19 | feat(ext/net): Deno.upgradeHttp handles unix connections (#13987) | Bartek Iwańczuk | |
2022-03-18 | fix(cli): improve `deno compile` error messages (#13944) | TrickyPi | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-03-18 | fix(cli): add support for DENO_CERT in upgrade command (#13862) | Sylvain Cau | |
2022-03-18 | chore(ops): include argument position in serde_v8 errors (#14027) | Divy Srivastava | |
2022-03-17 | fix(config-file): fix config-file.v1.json schema to allow colons in the task ↵ | David Sherret | |
name (#14013) | |||
2022-03-16 | v1.20.1 | Ryan Dahl | |
2022-03-16 | chore: fix build (#13997) | Ryan Dahl | |
2022-03-17 | fix: cargo publish fails without absolute paths (#13993) | Ryan Dahl | |
This reverts commit 4e3ed37037a2aa1edeac260dc3463a81d9cf9b88. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-03-16 | v1.20.0 | Ryan Dahl | |
2022-03-16 | feat(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-16 | chore(cli): Disallow cross compiling for snapshots (#13976) | Divy Srivastava | |
2022-03-16 | perf(web): optimize Blob.text and Blob.arrayBuffer (#13981) | Divy Srivastava | |
2022-03-16 | feat(ext/fetch): Allow Response status 101 (#13969) | Ryan Dahl | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-03-16 | perf(web): use DOMString for BlobParts (#13979) | Divy Srivastava | |
2022-03-15 | feat(task): add unstable warning to `deno task` (#13966) | David Sherret | |
2022-03-16 | BREAKING: 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-16 | feat(ops): optional OpState (#13954) | Aaron O'Mullan | |