Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-18 | perf: move Deno.writeTextFile and like functions to Rust (#14221) | David Sherret | |
Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2022-04-16 | feat: Better formatting for AggregateError (#14285) | Bartek Iwańczuk | |
This commit adds "aggregated" field to "deno_core::JsError" that stores instances of "JsError" recursively to properly handle "AggregateError" formatting. Appropriate logics was added to "PrettyJsError" and "console" API to format AggregateErrors. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2022-04-16 | refactor: update runtime code for primordial check x in y (#13642) | Bartek Iwańczuk | |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2022-04-14 | chore: forward v1.20.6 release commit to main (#14288) | David Sherret | |
2022-04-13 | refactor(core/error): Clarify JsError message fields (#14269) | Nayeem Rahman | |
2022-04-13 | feat(ext/web): Add error events for event listener and timer errors (#14159) | Nayeem Rahman | |
- feat: Add handleable error event for even listener errors - feat: Add handleable error event for setTimeout()/setInterval() errors - feat: Add Deno.core.destructureError() - feat: Add Deno.core.terminate() - fix: Don't throw listener errors from dispatchEvent() - fix: Use biased mode when selecting between mod_evaluate() and run_event_loop() results | |||
2022-04-07 | chore: forward v1.20.5 release commit to main (#14232) | David Sherret | |
2022-04-07 | fix(ext/crypto): check extractable in exportKey (#14222) | EduM22 | |
2022-04-04 | chore(ext/websocket): custom arity (#14202) | Divy Srivastava | |
2022-04-04 | chore(ext/http): custom arity (#14200) | Divy Srivastava | |
2022-04-04 | chore(ext/broadcast_channel): custom arity (#14199) | Divy Srivastava | |
2022-04-04 | chore(ext/webstorage): custom arity (#14201) | Divy Srivastava | |
2022-04-03 | chore(ext/url): cleanup url ops (#14177) | Divy Srivastava | |
2022-04-02 | chore: update tokio, tokio-util and libc dependencies (#14174) | Bartek Iwańczuk | |
2022-04-02 | experiment(serde_v8): derive_more enabled opaque wrappers (#14096) | Aaron O'Mullan | |
2022-03-31 | 1.20.4 (#14168) | 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-28 | fix(ext/fetch): extend deprecated fetch() overload with `string | Request` ↵ | Nayeem Rahman | |
(#14134) | |||
2022-03-25 | chore: forward v1.20.3 release commit to main (#14121) | Luca Casonato | |
2022-03-25 | chore: update rusqlite (#14117) | Rafael Ávila de Espíndola | |
2022-03-25 | fix(ext/ffi): enforce unstable check on ops (#14115) | Luca Casonato | |
2022-03-25 | fix: deprecate URL as the first arg of fetch (#14113) | Yoshiya Hinosawa | |
2022-03-25 | chore(ext): fix typo in ext/webgpu, ext/fetch (#14106) | apeltop | |
2022-03-24 | 1.20.2 | Kitson Kelly | |
2022-03-23 | perf(http): avoid Set.has() when closing connection resource (#14085) | Divy Srivastava | |
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 | perf(http): avoid checking promise every request (#14079) | Divy Srivastava | |
2022-03-22 | fix(ext/fetch): Connect async error stack with user code (#13899) | Nayeem Rahman | |
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 | perf(http): avoid per header alloc (#14051) | Aaron O'Mullan | |
2022-03-20 | cleanup(web, fetch): dedupe minesniff / "extract a MIME type" algorithm (#14044) | Andreu Botella | |
Closes #14002 | |||
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-19 | refactor: cleanup assert() & AssertionError definitions (#13859) | Leo Kettmeir | |
2022-03-19 | chore(core,ext): minor JS optimisations (#13950) | Aapo Alasuutari | |
2022-03-16 | v1.20.1 | 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 | 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-16 | chore(ext/webidl): change spec link (#13960) | 木杉 | |
2022-03-16 | feat(ops): optional OpState (#13954) | Aaron O'Mullan | |
2022-03-16 | perf(web): Optimize `TextDecoder` by adding a new `U16String` type (#13923) | Andreu Botella | |
2022-03-15 | cleanup(core): OpPair => OpDecl (#13952) | Aaron O'Mullan | |
2022-03-14 | fix: upgrade reqwest to 0.11.10 (#13951) | wspsxing | |
2022-03-14 | feat(ops): custom arity (#13949) | Aaron O'Mullan | |
Also cleanup & drop ignored wildcard op-args | |||
2022-03-14 | feat(ext/web): Add `AbortSignal.timeout()` (#13687) | Andreu Botella | |