summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2022-06-08fix(http/upgradewebsocket): check for open state for idle timeout (#14813)Leo Kettmeir
2022-06-08feat(ext/ffi): support passing and returning bigints (#14523)Elias Sjögreen
2022-06-08feat(ext/crypto): export elliptic keys as "raw" (#14764)diachedelic
This commit adds support for the "raw" format when exporting public ECDH/ECDSA keys via the SubtleCrypto.exportKey method.
2022-06-07refactor(core): Move Deno.core bindings to ops (#14793)Nayeem Rahman
2022-06-07fix(ext/fetch): remove deprecation of `URL` in deno `fetch` (#14769)Mark Ladyshau
2022-06-06fix: Format non-error exceptions (#14604)Nayeem Rahman
This commit adds "Deno.core.setFormatExceptionCallback" which can be used to provide custom formatting for errors. It is useful in cases when user throws something that is non-Error (eg. a string, plain object, etc).
2022-06-02chore: Forward v1.22.2 to main (#14785)Bartek Iwańczuk
2022-06-02fix(ext/crypto): adjust `getRandomValues` types (#14714)Mark Ladyshau
2022-06-01feat: update to TypeScript 4.7 (#14242)Kitson Kelly
2022-05-271.22.1Kitson Kelly
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
2022-05-26fix(core): rethrow exception during structured cloning serialization (#14671)Mark Ladyshau
- Introduced optional callback for Deno.core.serialize API, that returns cloning error if there is one. - Removed try/catch in seralize structured clone function and throw error from callback. - Removed "Object with a getter that throws" assertion from WPT.
2022-05-25fix(fmt): prevent infinite loop when formatting certain binary expressions ↵David Sherret
(#14725)
2022-05-23fix(ext/websocket): WebSocket dispatch single close event (#13443)Leo Kettmeir
2022-05-181.22.0 (#14657)denobot
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-05-18fix: add types for `Response.json` (#14655)Luca Casonato
2022-05-18perf(ext/http): faster accept-encoding parsing (#14654)Aaron O'Mullan
2022-05-18chore: update rustls (#14647)Luca Casonato
This fixes thevery annoying "Received a ServerHelloDone handshake message while expecting [CertificateRequest]" debug log from rustls.
2022-05-18fix(ext/tls): ability to ignore IP-address certificate errors (#14610)Aleksei Kosyrev
2022-05-18fix(ext/http): no response body reader when cancelling during shutdown (#14653)Divy Srivastava
2022-05-17chore: fix failing bench (#14644)Bartek Iwańczuk
2022-05-17perf(ext/web): Add fast path for non-streaming TextDecoder (#14217)randomicon00
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-05-17fix(ext/http): error on invalid headers (#14642)Aaron O'Mullan
Minor regression/change-in-behaviour from #14552 that filtered out invalid http headers in rust vs error-ing back to JS
2022-05-17fix(ext/http): skip auto-compression if content-encoding present (#14641)Aaron O'Mullan
Regression from #14552
2022-05-16fix(ext/web): throw if listener and signal are null (#14601)Colin Ihrig
This commit fixes a failing WPT test by making EventTarget's addEventListener() method throw if both the listener and the signal option are null. Fixes: https://github.com/denoland/deno/issues/14593
2022-05-16feat(ext/net): add `CAA` DNS record support in Deno.resolveDns() API (#14624)Craig Morten
2022-05-15feat(ext/net): support NAPTR records in Deno.resolveDns() API (#14613)Craig Morten
2022-05-15feat(ext/net): support full `SOA` record interface (#14617)Craig Morten
2022-05-15Revert "core: don't include_str extension js code (#10786)" (#14614)Aaron O'Mullan
This reverts commit 10e50a120744de71d6915af4ae93f8231607573d Alternative to #13217, IMO the tradeoffs made by #10786 aren't worth it. It breaks abstractions (crates being self-contained, deno_core without snapshotting etc...) and causes pain points / gotchas for both embedders & devs for a relatively minimal gain in incremental build time ... Closes #11030
2022-05-14feat(ext/net): add support for SOA records in Deno.resolveDns() API (#14534)Thanapat Chotipun
2022-05-13feat(ext/web): add performance.toJSON (#14548)Geert-Jan Zwiers
2022-05-13feat(ext/web): implement static `Response.json` (#14566)Luca Casonato
This commit adds support for the static `Response.json` method.
2022-05-13fix(ext/http): make serveHttp compress for Accept-Encoding: deflate, gzip ↵Andy Kurnia
(#14525)
2022-05-13feat(serde_v8): bytes::Bytes support (#14412)Aaron O'Mullan
2022-05-13chore(runtime): Make some ops in ext and runtime infallible. (#14589)Andreu Botella
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-121.21.3 (#14584)Bert Belder
2022-05-10cleanup(ext/http): simpler http write ops (#14552)Aaron O'Mullan
Facilitates making `op_http_write_headers` sync and thus faster
2022-05-10fix: finish TLS handshake before shutting down (#14547)Colin Ihrig
This commit ensures that the TLS handshake completes before attempting to close the connection.
2022-05-10fix(ext/web): brand check in `performance.timeOrigin` (#14550)Luca Casonato
2022-05-06feat(web): add `performance.timeOrigin` (#14489)Geert-Jan Zwiers
Add support for the `performance.timeOrigin` web API. Co-authored-by: Jovi De Croock <decroockjovi@gmail.com>
2022-05-051.21.2 (#14508)Colin Ihrig
1.21.2
2022-05-05chore: update deps (#14416)Luca Casonato
2022-05-04fix(ext/http): explicitly close resource after reading (#14471)Divy Srivastava
2022-05-03feat(ext/net): add "NS" record support in Deno.resolveDns API (#14372)Thanapat Chotipun
2022-04-28Forward 1.21.1 (#14428)Leo Kettmeir
2022-04-26feat(ext/console): Compact empty iterables when calling Deno.inspect with ↵Ben Heidemann
compact false (#14387)
2022-04-25chore: deno_http v0.43.1 (#14392)Aaron O'Mullan
2022-04-25fix(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-25feat(ext/console): Add string abbreviation size option for "Deno.inspect" ↵Ben Heidemann
(#14384)
2022-04-25perf(ext/http): fast path for uncompressed bodies (#14366)Divy Srivastava
2022-04-24perf(ext/http): faster is_content_compressible (#14383)Aaron O'Mullan
Cleanup + benches