Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-22 | fix(ext/crypto): don't panic on decryption failure (#12840) | Luca Casonato | |
2021-11-22 | fix(runtime): support reading /proc using readFile (#12839) | Luca Casonato | |
2021-11-22 | tests: extend readFile file length during read (#12835) | Luca Casonato | |
This commit adds some tests that demonstrate that Deno.readFile reads the entire file, even if the read file is extended during read. | |||
2021-11-17 | test(ext/http): DELETE requests should always have body (#12798) | Bert Belder | |
Refs: #12741 Refs: #12746 | |||
2021-11-11 | fix: add typings for AbortSignal.reason (#12730) | Luca Casonato | |
2021-11-11 | fix(crypto): handling large key length in HKDF (#12692) | upendra1997 | |
2021-11-10 | refactor(ext/http): rewrite hyper integration and fix bug (#12732) | Bert Belder | |
Fixes: #12193 Fixes: #12251 Closes: #12714 | |||
2021-11-10 | fix: non ascii buffer response in http server (#12728) | Luca Casonato | |
2021-11-09 | feat(core): streams (#12596) | Aaron O'Mullan | |
This allows resources to be "streams" by implementing read/write/shutdown. These streams are implicit since their nature (read/write/duplex) isn't known until called, but we could easily add another method to explicitly tag resources as streams. `op_read/op_write/op_shutdown` are now builtin ops provided by `deno_core` Note: this current implementation is simple & straightforward but it results in an additional alloc per read/write call Closes #12556 | |||
2021-11-09 | fix(fetch): set content-length for empty POST/PUT (#12703) | Luca Casonato | |
This commit changes `fetch` to set `content-length: 0` on POST and PUT requests with no body. | |||
2021-11-09 | Revert "refactor(ext/http): rewrite hyper integration and fix bug (#12332)" ↵ | Luca Casonato | |
(#12704) This reverts commit 5b1e537446454f6332de44adbeb6a15ff072c2fa. | |||
2021-11-08 | refactor(ext/http): rewrite hyper integration and fix bug (#12332) | Bert Belder | |
Fixes: #12193 | |||
2021-11-08 | feat: update to V8 9.7 (#12685) | Luca Casonato | |
This commit updates the rusty_v8 to 0.34.0. This commit also adds the required typings for the new Array#findLast and Array#findIndexLast methods. | |||
2021-11-01 | chore: upgrade deno_ast to 0.5.0 (#12595) | David Sherret | |
2021-11-01 | feat(ext/fetch): support fetching local files (#12545) | Kitson Kelly | |
Closes #11925 Closes #2150 Co-authored-by: Bert Belder <bertbelder@gmail.com> | |||
2021-10-30 | feat(ext/console): Display error.cause in console (#12462) | Kenta Moriuchi | |
2021-10-29 | fix(runtime): require full read and write permissions to create symlinks ↵ | David Sherret | |
(#12554) | |||
2021-10-29 | feat: stabilize Deno.startTls (#12581) | Luca Casonato | |
This commit stabilizes `Deno.startTls` and removes `certFile` from the `StartTlsOptions`. | |||
2021-10-28 | feat(cli): enable `useUnknownInCatchVariables` by default (#12547) | Kitson Kelly | |
Closes #11826 **BREAKING CHANGE** this behaviour was disable when introduced in Deno 1.14/TypeScript 4.4. It will highlight code that unsafely handles variables that are caught, and will cause type errors in unsafe code. | |||
2021-10-26 | fix(ext/http): allow multiple values in upgrade header for websocket (#12551) | Leo K | |
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com> | |||
2021-10-26 | feat(ext/net): add TlsConn.handshake() (#12467) | Bert Belder | |
A `handshake()` method was added that returns when the TLS handshake is complete. The `TlsListener` and `TlsConn` interfaces were added to accomodate this new method. Closes: #11759. | |||
2021-10-26 | feat(runtime): add Deno.addSignalListener API (#12512) | Yoshiya Hinosawa | |
2021-10-25 | fix(tls): Make TLS clients support HTTP/2 (#12530) | Andreu Botella | |
`fetch()` and client-side websocket used to support HTTP/2, but this regressed in #11491. This patch reenables it by explicitly adding `h2` and `http/1.1` to the list of ALPN protocols on the HTTP and websocket clients. | |||
2021-10-21 | fix: declare web types as global (#12497) | Bartek Iwańczuk | |
Co-authored-by: Feng Yu <F3n67u@outlook.com> | |||
2021-10-20 | fix(ext/net): fix TLS bugs and add 'op_tls_handshake' (#12501) | Bert Belder | |
A bug was fixed that could cause a hang when a method was called on a TlsConn object that had thrown an exception earlier. Additionally, a bug was fixed that caused TlsConn.write() to not completely flush large buffers (>64kB) to the socket. The public `TlsConn.handshake()` API is scheduled for inclusion in the next minor release. See https://github.com/denoland/deno/pull/12467. | |||
2021-10-19 | fix(cli/tests): flaky Deno.watchFs() tests (#12485) | Nayeem Rahman | |
2021-10-17 | fix(core): poll async ops eagerly (#12385) | Bert Belder | |
Currently all async ops are polled lazily, which means that op initialization code is postponed until control is yielded to the event loop. This has some weird consequences, e.g. ```js let listener = Deno.listen(...); let conn_promise = listener.accept(); listener.close(); // `BadResource` is thrown. A reasonable error would be `Interrupted`. let conn = await conn_promise; ``` JavaScript promises are expected to be eagerly evaluated. This patch makes ops actually do that. | |||
2021-10-17 | chore(cli/tests): fix flaky fs watcher tests (#12385) | Bert Belder | |
On OS X, the watcher sometimes witnesses the creation of it's own root directory. Creating that directory using a sync op instead of an async op sidesteps the issue. | |||
2021-10-14 | fix(console): fix display of primitive wrapper objects (#12425) | Kenta Moriuchi | |
2021-10-12 | feat(ext/crypto): implement deriveKey (#12117) | Divy Srivastava | |
2021-10-11 | perf(webidl): inline ResponseInit converter (#12285) | Aaron O'Mullan | |
2021-10-11 | fix(http): don't expose body on GET/HEAD requests (#12260) | Luca Casonato | |
GET/HEAD requests can't have bodies according to `fetch` spec. This commit changes the HTTP server to hide request bodies for requests with GET or HEAD methods. | |||
2021-10-11 | feat(ext/crypto): implement AES-CBC encryption & decryption (#12123) | Divy Srivastava | |
* initial stuff * stuff * merge stuff * cleanup * fmt * length * update lockfile * decrypt * fixy * clippy hello? * hmm * fixs * fix lint * add AesCbcParams * fixes * fixy * lockfile fixy * fix dumb assertions * re run CI * rerun CI * rerun CI | |||
2021-10-11 | feat(unstable/test): imperative test steps API (#12190) | David Sherret | |
2021-10-11 | feat(runtime): improve error messages of runtime fs (#11984) | Feng Yu | |
This commit annotates errors returned from FS Deno APIs to include paths that were passed to the API calls. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-10-10 | feat: Stabilize Deno.kill and Deno.Process.kill (#12375) | Ryan Dahl | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-10-10 | test: remove duplicate import (#12374) | Feng Yu | |
2021-10-08 | feat(ext/crypto): implement deriveBits for ECDH (p256) (#11873) | Divy Srivastava | |
2021-10-07 | feat(core): cleaner opcall stack traces (#12358) | Aaron O'Mullan | |
2021-10-07 | fix(runtime): don't equate SIGINT to SIGKILL on Windows (#12356) | Bert Belder | |
2021-10-06 | feat(ext/crypto): export spki for RSA (#12114) | Divy Srivastava | |
2021-10-03 | fix(ext/crypto): missing Aes key typings (#12307) | Divy Srivastava | |
2021-10-02 | fix(ext/net): should not panic when listening to unix abstract address (#12300) | Ahab | |
2021-10-01 | feat(ext/crypto): implement wrapKey (#12125) | Divy Srivastava | |
2021-10-01 | fix(ext/crypto): decode id-RSASSA-PSS with default params (#12147) | Divy Srivastava | |
2021-09-30 | fix: worker environment permissions should accept an array (#12250) | David Sherret | |
2021-09-30 | chore: ensure first process in shared flock test does not enter and exit ↵ | David Sherret | |
lock before second enters (#12255) | |||
2021-09-30 | feat(tls): custom in memory CA certificates (#12219) | Luca Casonato | |
This adds support for using in memory CA certificates for `Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`. `certFile` is deprecated in `startTls` and `connectTls`, and removed from `Deno.createHttpClient`. | |||
2021-09-29 | fix(ext/fetch): avoid panic when header is invalid (#12244) | Ahab | |
2021-09-27 | fix: subprocess kill support on windows (#12134) | Luca Casonato | |