summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
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-21perf(http): avoid per header alloc (#14051)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-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-16v1.20.1Ryan Dahl
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-16perf(web): optimize Blob.text and Blob.arrayBuffer (#13981)Divy Srivastava
2022-03-16feat(ext/fetch): Allow Response status 101 (#13969)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-03-16perf(web): use DOMString for BlobParts (#13979)Divy Srivastava
2022-03-16chore(ext/webidl): change spec link (#13960)木杉
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-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
2022-03-14feat(ext/web): Add `AbortSignal.timeout()` (#13687)Andreu Botella
2022-03-14fix(core): Don't override structured clone error messages from V8 (#13942)Andreu Botella
In the implementation of structured serialization in `Deno.core.serialize`, whenever there is a serialization error, an exception will be thrown with the message "Failed to serialize response", even though V8 provides a message to use in such cases. This change instead throws an exception with the V8-provided message, if there is one.
2022-03-14feat(core): codegen ops (#13861)Divy Srivastava
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-14chore: improve build times for `ext/` changes (#13927)Divy Srivastava
2022-03-11fix(ext/crypto): handle JWK import with "use" (#13912)Filip Skokan
2022-03-11fix(ext/crypto): use EcKeyImportParams dictionary (#13894)Filip Skokan
2022-03-10v1.19.3Yoshiya Hinosawa
2022-03-09chore(ext/crypto): remove old todos (#13887)Divy Srivastava
2022-03-07chore: bump deno_http to 0.33.0 (#13867)Satya Rohith
2022-03-07fix(ext/http): drop content-length header on compression (#13866)Satya Rohith
2022-03-07chore: bump deno_http to 0.32.0 (#13850)Satya Rohith
2022-03-05perf(ext/web): optimize atob/btoa (#13841)Aaron O'Mullan
Follow up to #13839, optimizing `base64_roundtrip` ~20x (~125ms => ~6.5ms)
2022-03-05feat(ext/net): Use socket2 crate to create TcpListener (#13808)Gianluca Oldani
2022-03-05chore: update deps (#13821)Satya Rohith
2022-03-04feat(net): add Deno.UnixConn interface (#13787)Bartek Iwańczuk
2022-03-04feat(ext/http): auto-compression of fixed response bodies (#13769)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Satya Rohith <me@satyarohith.com> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2022-03-03chore: bump crate version for 1.19.2 (#13824)Satya Rohith
2022-03-02feat(ext/crypto): AES-GCM support for 128bit IVs (#13805)Divy Srivastava
2022-02-27feat: Add Deno.TcpConn class, change return type from Deno.connect (#13714)Bartek Iwańczuk
2022-02-24chore: bump crate versions for 1.19.1 (#13760)David Sherret
2022-02-24feat(ext/net): support cert, key options in listenTls (#13740)Yoshiya Hinosawa
2022-02-22docs: code example to `structuredClone`, `CompressionStream`, ↵Geert-Jan Zwiers
`DecompressionStream` (#13719) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-02-18feat(ext/ffi): Support read only global statics (#13662)Aapo Alasuutari
2022-02-17chore: release crates for v1.19.0 (#13698)Bartek Iwańczuk
2022-02-16feat: deno vendor (#13670)David Sherret
2022-02-16chore: make new TCP conn methods unstable (#13686)Luca Casonato
2022-02-16fix(ext/console): print circular ref indicator in cyan (#13684)Leo Kettmeir
2022-02-16docs(ext/fetch): fix copy-paste errors in Request docs (#13681)ylxdzsw
2022-02-16chore: improve error messages in CompressionStream (#13585)Luca Casonato
This commit makes the error messages that one sees when passing something other than a BufferSource to a (De)CompressionStream. The WPT tests already pass, because they just check for error type (TypeError), and not error message. A TypeError was already thrown for invalid values via serde_v8.