Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2022-03-14 | fix(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-14 | feat(core): codegen ops (#13861) | Divy Srivastava | |
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com> | |||
2022-03-14 | chore: improve build times for `ext/` changes (#13927) | Divy Srivastava | |
2022-03-11 | fix(ext/crypto): handle JWK import with "use" (#13912) | Filip Skokan | |
2022-03-11 | fix(ext/crypto): use EcKeyImportParams dictionary (#13894) | Filip Skokan | |
2022-03-10 | v1.19.3 | Yoshiya Hinosawa | |
2022-03-09 | chore(ext/crypto): remove old todos (#13887) | Divy Srivastava | |
2022-03-07 | chore: bump deno_http to 0.33.0 (#13867) | Satya Rohith | |
2022-03-07 | fix(ext/http): drop content-length header on compression (#13866) | Satya Rohith | |
2022-03-07 | chore: bump deno_http to 0.32.0 (#13850) | Satya Rohith | |
2022-03-05 | perf(ext/web): optimize atob/btoa (#13841) | Aaron O'Mullan | |
Follow up to #13839, optimizing `base64_roundtrip` ~20x (~125ms => ~6.5ms) | |||
2022-03-05 | feat(ext/net): Use socket2 crate to create TcpListener (#13808) | Gianluca Oldani | |
2022-03-05 | chore: update deps (#13821) | Satya Rohith | |
2022-03-04 | feat(net): add Deno.UnixConn interface (#13787) | Bartek Iwańczuk | |
2022-03-04 | feat(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-03 | chore: bump crate version for 1.19.2 (#13824) | Satya Rohith | |
2022-03-02 | feat(ext/crypto): AES-GCM support for 128bit IVs (#13805) | Divy Srivastava | |
2022-02-27 | feat: Add Deno.TcpConn class, change return type from Deno.connect (#13714) | Bartek Iwańczuk | |
2022-02-24 | chore: bump crate versions for 1.19.1 (#13760) | David Sherret | |
2022-02-24 | feat(ext/net): support cert, key options in listenTls (#13740) | Yoshiya Hinosawa | |
2022-02-22 | docs: code example to `structuredClone`, `CompressionStream`, ↵ | Geert-Jan Zwiers | |
`DecompressionStream` (#13719) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-02-18 | feat(ext/ffi): Support read only global statics (#13662) | Aapo Alasuutari | |
2022-02-17 | chore: release crates for v1.19.0 (#13698) | Bartek Iwańczuk | |
2022-02-16 | feat: deno vendor (#13670) | David Sherret | |
2022-02-16 | chore: make new TCP conn methods unstable (#13686) | Luca Casonato | |
2022-02-16 | fix(ext/console): print circular ref indicator in cyan (#13684) | Leo Kettmeir | |
2022-02-16 | docs(ext/fetch): fix copy-paste errors in Request docs (#13681) | ylxdzsw | |
2022-02-16 | chore: 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. |