Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-12 | fix(ext/crypto): add HkdfParams and Pkdf2Params types (#11991) | Divy Srivastava | |
2021-09-12 | fix: FileReader onevent attributes don't conform to spec (#11908) | Feng Yu | |
2021-09-11 | feat(ext/crypto): implement HKDF operations (#11865) | Divy Srivastava | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-09-11 | feat(ext/crypto): verify ECDSA signatures (#11739) | Divy Srivastava | |
2021-09-11 | refactor: use Deno.core.tryClose (#11980) | Bartek Iwańczuk | |
2021-09-10 | perf(ext/http): optimize auto cleanup of request resource (#11978) | Bert Belder | |
Fixes #11963. | |||
2021-09-08 | fix(ext/web): Preserve stack traces for DOMExceptions (#11959) | Nayeem Rahman | |
2021-09-08 | chore: add README to ext/http/ (#11958) | Bartek Iwańczuk | |
2021-09-08 | chore: release deno_http 0.8.0 (#11956) | Bartek Iwańczuk | |
2021-09-08 | fix: a `Request` whose URL is a revoked blob URL should still fetch (#11947) | Andreu Botella | |
In the spec, a URL record has an associated "blob URL entry", which for `blob:` URLs is populated during parsing to contain a reference to the `Blob` object that backs that object URL. It is this blob URL entry that the `fetch` API uses to resolve an object URL. Therefore, since the `Request` constructor parses URL inputs, it will have an associated blob URL entry which will be used when fetching, even if the object URL has been revoked since the construction of the `Request` object. (The `Request` constructor takes the URL as a string and parses it, so the object URL must be live at the time it is called.) This PR adds a new `blobFromObjectUrl` JS function (backed by a new `op_blob_from_object_url` op) that, if the URL is a valid object URL, returns a new `Blob` object whose parts are references to the same Rust `BlobPart`s used by the original `Blob` object. It uses this function to add a new `blobUrlEntry` field to inner requests, which will be `null` or such a `Blob`, and then uses `Blob.prototype.stream()` as the response's body. As a result of this, the `blob:` URL resolution from `op_fetch` is now useless, and has been removed. | |||
2021-09-08 | feat: add URLPattern API (#11941) | Luca Casonato | |
This adds support for the URLPattern API. The API is added in --unstable only, as it has not yet shipped in any browser. It is targeted for shipping in Chrome 95. Spec: https://wicg.github.io/urlpattern/ Co-authored-by: crowlKats < crowlkats@toaxl.com > | |||
2021-09-08 | fix(ext/http): resource leak if request body is not consumed (#11955) | Bartek Iwańczuk | |
2021-09-07 | docs(ext/net): add note about listening 0.0.0.0 (#11938) | Yoshiya Hinosawa | |
Co-authored-by: Craig Morten <cmorten@users.noreply.github.com> | |||
2021-09-02 | feat(fmt): add basic JS doc formatting (#11902) | David Sherret | |
2021-09-02 | chore: update dependencies (#11856) | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-08-31 | feat(ext/crypto): AES key generation (#11869) | Luca Casonato | |
Support AES-CTR, AES-CBC, AES-GCM, and AES-KW in SubtleCrypto#generateKey. | |||
2021-08-31 | fix: move unstable declarations to deno.unstable (#11876) | Luca Casonato | |
2021-08-29 | feat(ext/crypto): support JWK export for HMAC (#11864) | Divy Srivastava | |
2021-08-27 | feat(ext/crypto): support JWK import for HMAC (#11716) | Divy Srivastava | |
2021-08-26 | feat(ext/crypto): implement importKey and deriveBits for PBKDF2 (#11642) | Divy Srivastava | |
2021-08-25 | feat(fetch): mTLS client certificates for fetch() (#11721) | Sean Michael Wykes | |
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`. | |||
2021-08-25 | feat: ArrayBuffer in structured clone transfer (#11840) | Luca Casonato | |
2021-08-25 | fix(ext/http): websocket upgrade header check (#11830) | Dayan C. Galiazzi | |
2021-08-24 | feat(ext/crypto): implement encrypt, decrypt & generateKey for RSA-OAEP (#11654) | Divy Srivastava | |
2021-08-24 | refactor(webgpu): use op interface idiomatically (#11835) | Luca Casonato | |
2021-08-24 | feat(extensions/console): right align numeric columns in table (#11748) | Nicolas Stucki | |
2021-08-24 | fix(ext/crypto): KeyAlgorithm typings for supported algorithms (#11738) | Divy Srivastava | |
2021-08-24 | feat(unstable): Support file URLs in Deno.dlopen() (#11658) | Nayeem Rahman | |
2021-08-24 | chore(ext/webgpu): update wgpu to 0.10.0 (#11781) | Leo K | |
Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2021-08-24 | fix: FileReader.readAsText compat (#11814) | Luca Casonato | |
Fixes a WPT test. | |||
2021-08-23 | chore: release crates for 1.13.2 (#11820) | David Sherret | |
2021-08-23 | fix(ext/ffi): don't panic on invalid enum values (#11815) | Luca Casonato | |
Co-authored-by: Feng Yu <f3n67u@gmail.com> | |||
2021-08-23 | fix(ext/http): resource leak on HttpConn.close() (#11805) | Bartek Iwańczuk | |
This commit adds tracking of resources that are related to "HttpConn" so they can be closed automatically when closing the connection. | |||
2021-08-23 | fix(ext/crypto): remove duplicate Algorithm interface defination (#11807) | Feng Yu | |
2021-08-21 | fiz(ext/fetch): Headers constructor error message (#11778) | Feng Yu | |
2021-08-20 | chore: upgrade dlint and run `prefer-primordials` rule (#11777) | Yusuke Tanaka | |
2021-08-19 | perf(ext/url): use DOMString instead of USVString as webidl converter for ↵ | Aaron O'Mullan | |
URL parsing (#11775) A 20% decrease in url parsing: - before: `~2450ns/parse` - after: `~1950ns/parse` | |||
2021-08-19 | perf(ext/url): optimize UrlParts op serialization (#11765) | Aaron O'Mullan | |
2021-08-18 | perf(ext/url): cleanup and optimize url parsing op args (#11763) | Aaron O'Mullan | |
This splits the previous `op_url_parse` into: - `op_url_parse`: parses a href with an optional base - `op_url_reparse`: reparses a href with a modifier This is a cleaner separation of concerns and it allows us to optimize & simplify args passed. Resulting in a 25% reduction in call overhead (~5000ns/call => ~3700ns/call in url_ops bench on my M1 Air) | |||
2021-08-17 | fix(ext/crypto): exportKey() for HMAC (#11737) | Divy Srivastava | |
Fixes typings and innerKey processing (WPT doesn't test exportKey for HMAC so this wasn't caught earlier). | |||
2021-08-16 | chore: release crates for 1.13.1 (#11729) | David Sherret | |
2021-08-16 | fix(ext/fetch): better error if no content-type | Ben Noordhuis | |
The streaming WASM support code inspects the Response object's Content-Type header but if that was missing, it failed with a fairly inscrutable "String.prototype.toLowerCase called on null or undefined" exception. Now it raises a more legible "Invalid WebAssembly content type" exception. | |||
2021-08-16 | fix(ext/fetch): don't use global Deno object | Ben Noordhuis | |
Don't use `Deno.core`, it's not present in embedders that don't expose the Deno global object. | |||
2021-08-16 | fix(ext/crypto): enable non-extractable keys (#11705) | Divy Srivastava | |
2021-08-16 | feat(runtime): support classic workers for internal testing (#11338) | Andreu Botella | |
This commit implements classic workers, but only when the `--enable-testing-features-do-not-use` flag is provided. This change is not user facing. Classic workers are used extensively in WPT tests. The classic workers do not support loading from disk, and do not support TypeScript. Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2021-08-16 | test(ext/http): add test for incomplete HTTP message and fix resource leak ↵ | Bartek Iwańczuk | |
(#11717) This commit adds a test case for "Http: connection closed before message completed" error as well as fixing an edge with resource leak when the error is raised. | |||
2021-08-15 | refactor(ops): return BadResource errors in ResourceTable calls (#11710) | Aaron O'Mullan | |
* refactor(ops): return BadResource errors in ResourceTable calls Instead of relying on callers to map Options to Results via `.ok_or_else(bad_resource_id)` at over 176 different call sites ... | |||
2021-08-15 | perf(ext/http): faster req_url string assembly (#11711) | Aaron O'Mullan | |
This stood out on a flamegraph, it took up ~1% of a profiled loadtest of `cli/bench/deno_http_native.js` | |||
2021-08-15 | fix(ext/crypto): fix copying buffersource (#11714) | Divy Srivastava | |
2021-08-14 | perf: improve localStorage throughput (#11709) | Luca Casonato | |
This PR improves localStorage write throughput by around 150x by caching the prepared statements for SQLite and adding some DB pragmas. Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> |