Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-04 | fix(ext/crypto): ecdh spki key import/export roundtrip (#16152) | Filip Skokan | |
2022-10-03 | fix(ext/crypto): deriveBits for ECDH not taking length into account (#16128) | Aurélien Bertron | |
Fixes #16047 | |||
2022-10-03 | fix(ext/cache): close resource on error (#16129) | Marcos Casagrande | |
2022-10-03 | fix(ext/crypto): fix importKey error when leading zeroes (#16009) | 李瑞丰 | |
Co-authored-by: Jason <m.jason.liu@outlook.com> | |||
2022-10-02 | fix(ext/cache): acquire reader lock before async op (#16126) | Marcos Casagrande | |
2022-09-29 | fix(ext/fetch): `Body#bodyUsed` for static body (#16080) | Marcos Casagrande | |
This fixes a bug where `Body#bodyUsed` incorrectly returns `false` for a body that has actually already been consumed, after `Body#body` is called. | |||
2022-09-29 | chore(ext/flash): Enabling disabled windows tests (#16081) | ayame113 | |
2022-09-28 | fix(ext/flash): reregister socket on partial read on Windows (#16076) | Divy Srivastava | |
2022-09-28 | feat(core): add Deno.core.setPromiseHooks (#15475) | Guilherme Bernal | |
2022-09-28 | feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797) | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-09-28 | feat: add --allow-sys permission flag (#16028) | Yoshiya Hinosawa | |
2022-09-28 | feat: implement Web Cache API (#15829) | Satya Rohith | |
2022-09-27 | fix(ext/fetch): blob url (#16057) | Satya Rohith | |
Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2022-09-26 | perf(ext/fetch): use content-length in InnerBody.consume (#15925) | Marcos Casagrande | |
This fast path prevents repeated allocations when receiving a fetch body with a known size. Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2022-09-26 | fix(ext/console): fix error when logging a proxied Date (#16018) | 李瑞丰 | |
2022-09-26 | perf(ext/console): break on iterableLimit & better sparse array handling ↵ | Marcos Casagrande | |
(#15935) | |||
2022-09-23 | test(ext/fetch): enable null body status test on windows (#15995) | Marcos Casagrande | |
2022-09-21 | fix(runtime): better error message with Deno.env.get/set (#15966) | Yoshiya Hinosawa | |
2022-09-20 | fix(flash): panic if response if undefined (#15964) | Bartek Iwańczuk | |
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2022-09-20 | feat(cli): update to TypeScript 4.8 (#15064) | Kitson Kelly | |
2022-09-19 | refactor: move out test files from root testdata directory into sub ↵ | David Sherret | |
directories (#15949) | |||
2022-09-16 | fix(runtime): fix permission status cache keys (#15899) | Nayeem Rahman | |
2022-09-15 | chore(ext/flash): disable flaky flash test (#15908) | Divy Srivastava | |
2022-09-07 | fix(core): make errors more resistant to tampering (#15789) | Colin Ihrig | |
This commit makes error objects more resistant to prototype tampering. This bug was found when updating the deno_std Node compatibility layer to Node 18. The Node test 'parallel/test-assert-fail.js' was breaking std's assertion library. Refs: https://github.com/denoland/deno_std/pull/2585 | |||
2022-09-07 | fix(ext/flash): use utf8 length as Content-Length (#15793) | Divy Srivastava | |
2022-09-06 | perf(runtime): short-circuit `queue_async_op` for Poll::Ready (#15773) | Divy Srivastava | |
2022-09-02 | fix(ext/timers): create primordial `eval` (#15110) | Garcia | |
2022-09-02 | fix(cli/repl): await Promise.any([])... (#15623) | Jason | |
2022-09-01 | fix(serde_v8): no panic on reading large text file (#15494) | Geert-Jan Zwiers | |
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2022-09-01 | fix(ext/flash): retry write failures (#15591) | Divy Srivastava | |
2022-08-26 | fix(ext/flash): panic on AddrInUse (#15607) | Bartek Iwańczuk | |
2022-08-24 | fix(unstable): finish HTTP response for 205 and 304 responses (#15584) | Bartek Iwańczuk | |
This commit fixes "Deno.serve()" API by making sure that 205 and 304 responses end with "\r\n\r\n". | |||
2022-08-24 | fix(unstable): Deno.serve() can parse hostnames (#15579) | Bartek Iwańczuk | |
2022-08-24 | feat(ext/flash): split upgradeHttp into two APIs (#15557) | Luca Casonato | |
This commit splits `Deno.upgradeHttp` into two different APIs, because the same API is currently overloaded with two different functions. Flash requests upgrade immediately, with no need to return a `Response` object. Instead you have to manually write the response to the socket. Hyper requests only upgrade once a `Response` object has been sent. These two behaviours are now split into `Deno.upgradeHttp` and `Deno.upgradeHttpRaw`. The latter is flash only. The former only supports hyper requests at the moment, but can be updated to support flash in the future. Additionally this removes `void | Promise<void>` as valid return types for the handler function. If one wants to use `Deno.upgradeHttpRaw`, they will have to type cast the handler signature - the signature is meant for the 99.99%, and should not be complicated for the 0.01% that use `Deno.upgradeHttpRaw()`. | |||
2022-08-24 | feat: update `Deno.serve` function signature (#15563) | Luca Casonato | |
This commit changes the `Deno.serve` function signature to be more versatile and easier to use. It is now a drop in replacement for std/http's `serve`. The input validation has also been reworked. | |||
2022-08-23 | fix(ext/fetch): ignore user content-length header (#15555) | Luca Casonato | |
Previously if a user specified a content-length header for an POST request without a body, the request would contain two `content-length` headers. One added by us, and one added by the user. This commit ignores all content-length headers coming from the user, because we need to have the sole authority on the content-length because we transmit the body. | |||
2022-08-22 | fix(ext/flash): fix default onListen callback (#15533) | Yoshiya Hinosawa | |
2022-08-21 | fix(unstable): better error for invalid hostname in Deno.serve() (#15529) | Bartek Iwańczuk | |
2022-08-21 | fix(ext/flash): fix listening port (#15519) | Yoshiya Hinosawa | |
2022-08-19 | feat(unstable): change Deno.serve() API (#15498) | Bartek Iwańczuk | |
- Merge "Deno.serve()" and "Deno.serveTls()" API - Remove first argument and use "fetch" field options instead - Update type declarations - Add more documentation | |||
2022-08-19 | fix(ext/flash): concurrent response streams (#15493) | Divy Srivastava | |
2022-08-18 | feat(ext/flash): An optimized http/1.1 server (#15405) | Divy Srivastava | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> Co-authored-by: crowlkats <crowlkats@toaxl.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2022-08-11 | perf(ops): Monomorphic sync op calls (#15337) | Aapo Alasuutari | |
Welcome to better optimised op calls! Currently opSync is called with parameters of every type and count. This most definitely makes the call megamorphic. Additionally, it seems that spread params leads to V8 not being able to optimise the calls quite as well (apparently Fast Calls cannot be used with spread params). Monomorphising op calls should lead to some improved performance. Now that unwrapping of sync ops results is done on Rust side, this is pretty simple: ``` opSync("op_foo", param1, param2); // -> turns to ops.op_foo(param1, param2); ``` This means sync op calls are now just directly calling the native binding function. When V8 Fast API Calls are enabled, this will enable those to be called on the optimised path. Monomorphising async ops likely requires using callbacks and is left as an exercise to the reader. | |||
2022-07-23 | feat(ext/crypto): deriveBits P-384 (#15138) | diachedelic | |
This commit adds P-384 curve support for crypto.subtle.deriveBits. Co-authored-by: James Diacono <james@diacono.com.au> | |||
2022-07-22 | fix: Child.unref() unrefs stdio streams properly (#15275) | Bartek Iwańczuk | |
2022-07-20 | chore: use import.meta.resolve() in tests (#15256) | Bartek Iwańczuk | |
2022-07-20 | chore: align some Web API type definitions to lib.dom.d.ts (#15219) | ayame113 | |
2022-07-20 | fix(ext/web): align DOMException better with spec (#15097) | Phosra | |
2022-07-20 | chore(ext): update webgpu (#15059) | Dante Issaias | |
2022-07-18 | feat(unstable): Ability to ref/unref "Child" in "Deno.spawnChild()" API (#15151) | Leo Kettmeir | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Colin Ihrig <cjihrig@gmail.com> |