Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-25 | fix(ext/http): truncate read bytes when streaming bodies (#14389) | Divy Srivastava | |
stream shutdown wasn't happening correctly (moved it to call op_http_shutdown) & extra zeroed bytes were being sent for when body length not a multiple of 64*1024 | |||
2022-04-25 | feat(ext/console): Add string abbreviation size option for "Deno.inspect" ↵ | Ben Heidemann | |
(#14384) | |||
2022-04-25 | perf(ext/http): fast path for uncompressed bodies (#14366) | Divy Srivastava | |
2022-04-24 | perf(ext/http): faster is_content_compressible (#14383) | Aaron O'Mullan | |
Cleanup + benches | |||
2022-04-24 | perf(serde_v8): zero-copy StringOrBuffer (#14381) | Aaron O'Mullan | |
2022-04-23 | chore(ext/fetch): custom arity (#14198) | Divy Srivastava | |
2022-04-22 | chore: bump crates (#14365) | Luca Casonato | |
2022-04-22 | Reland "perf(http): optimize ReadableStreams backed by a resource" (#14346) | Divy Srivastava | |
2022-04-21 | Reland "feat(ext/http): stream auto resp body compression" (#14345) | Divy Srivastava | |
2022-04-20 | 1.21.0 (#14336) | denobot | |
Co-authored-by: ry <ry@users.noreply.github.com> Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-04-21 | Revert various PRs related to "ext/http" (#14339) | Bartek Iwańczuk | |
* Revert "feat(ext/http): stream auto resp body compression (#14325)" * Revert "core: introduce `resource.read_return` (#14331)" * Revert "perf(http): optimize `ReadableStream`s backed by a resource (#14284)" | |||
2022-04-21 | feat(runtime): two-tier subprocess API (#11618) | Leo Kettmeir | |
2022-04-20 | feat(ext/http): stream auto resp body compression (#14325) | Luca Casonato | |
This commit adds support for auto response body compression for streaming bodies. | |||
2022-04-20 | core: introduce `resource.read_return` (#14331) | Divy Srivastava | |
2022-04-20 | perf(http): optimize `ReadableStream`s backed by a resource (#14284) | Divy Srivastava | |
2022-04-19 | perf(fmt/lint): incremental formatting and linting (#14314) | David Sherret | |
2022-04-19 | perf(runtime): bypass tokio file and bump op buffer size to 64K (#14319) | Divy Srivastava | |
2022-04-19 | feat(ext/web): add globalThis.reportError() (#13799) | Nayeem Rahman | |
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 |