Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-08 | fix(ext/ffi): missing "buffer" type definitions (#12371) | Divy Srivastava | |
2021-10-07 | tests: make worker test deterministic (#12361) | Nayeem Rahman | |
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 | Revert "fix(cli): ensure empty lines don't count towards coverage (#11957)" ↵ | Bartek Iwańczuk | |
(#12348) This reverts commit d5b38a992933db5cb2d0221e9d82af191022dad5. | |||
2021-10-06 | feat(compat): inject Node globals (#12342) | Bartek Iwańczuk | |
This commit adds automatic injection of Node globals when "--compat" flag is present. This is done by executing "https://deno.land/std/node/global.ts" as a "side module", before main module is executed. This commit makes "--compat" required to be used with "--unstable" flag, as some of Node globals require unstable Deno APIs. | |||
2021-10-06 | feat(ext/crypto): export spki for RSA (#12114) | Divy Srivastava | |
2021-10-06 | fix(cli): ensure empty lines don't count towards coverage (#11957) | Casper Beyer | |
2021-10-05 | Remove some unused benchmarks (#12315) | Ryan Dahl | |
2021-10-06 | feat(compat): add support for node: prefixed built-ins (#12337) | Bartek Iwańczuk | |
Adds support for "node:" prefix for Node built-ins in "--compat" mode. As per https://nodejs.org/api/esm.html#esm_node_imports | |||
2021-10-05 | feat(lint): add support for --watch flag (#11983) | CGQAQ | |
2021-10-05 | refactor(runtime): Worker bootstrap options (#12299) | Aaron O'Mullan | |
2021-10-05 | chore: various op cleanup (#12329) | Leo K | |
2021-10-05 | chore: merge v1.14.3 into main (#12327) | Bartek Iwańczuk | |
2021-10-05 | feat: add --compat flag to provide built-in Node modules (#12293) | Bartek Iwańczuk | |
This commit adds "--compat" flag. When the flag is passed a set of mappings for built-in Node modules is injected into the import map. If user doesn't explicitly provide an import map (using "--import-map" flag) then a map is created on the fly. If there are already existing mappings in import map that would clash with built-in Node modules a set of diagnostics is printed to the terminal with suggestions how to proceed. | |||
2021-10-04 | test: refactor lint tests into directories (#12317) | Bartek Iwańczuk | |
Just reorganizing lint tests in such a way that adding new file in a directory doesn't change result of other tests. | |||
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(runtime/js/workers): throw errors instead of using an op (#12249) | Nayeem Rahman | |
2021-10-01 | fix(ext/crypto): decode id-RSASSA-PSS with default params (#12147) | Divy Srivastava | |
2021-09-30 | fix(runtime/testing): format aggregate errors (#12183) | Casper Beyer | |
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 | fix: Don't panic when a worker is closed in the reactions to a wasm ↵ | Andreu Botella | |
operation. (#12270) | |||
2021-09-30 | feat(cli/uninstall): add uninstall command (#12209) | Sylvain Cau | |
2021-10-01 | fix(repl): avoid panic when assigned to globalThis (#12273) | Yoshiya Hinosawa | |
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-29 | bench(cli): add deno_http_native_headers.js (#12267) | Aaron O'Mullan | |
2021-09-29 | feat: support serializing `WebAssembly.Module` objects (#12140) | Andreu Botella | |
2021-09-28 | 1.14.2 (#12254) | Aaron O'Mullan | |
2021-09-28 | chore: bump crate versions for 1.14.2 (#12253) | Aaron O'Mullan | |
2021-09-27 | fix: subprocess kill support on windows (#12134) | Luca Casonato | |
2021-09-26 | fix(ext/http): include port number in h2 urls (#12181) | Ben Noordhuis | |
2021-09-25 | perf(ext/fetch): Use the WebIDL conversion to DOMString rather than ↵ | Luis Malheiro | |
USVString for Response constructor (#12201) | |||
2021-09-25 | fix(http): panic when responding to a closed conn (#12216) | Aaron O'Mullan | |
Our oneshot receiver in `HyperService::call` would unwrap and panic, the `.await` on the oneshot receiver happens when the sender is dropped. The sender is dropped in `op_http_response` because: 1. We take `ResponseSenderResource` 2. Then get `ConnResource` and early exit on failure (conn already closed) 3. The taken sender then gets dropped in this early exit before any response is sent over the channel Fallbacking to returning a dummy response to hyper seems to be a fine quickfix | |||
2021-09-24 | chore(workers): Test that closing a worker closes any child workers (#12215) | Andreu Botella | |
Before #12156, closing a worker which had children would cause a panic (https://github.com/denoland/deno/issues/11342#issuecomment-918327693). After that PR, closing a worker will also close any child workers. | |||
2021-09-25 | refactor: Remove unused code (#12210) | Ryan Dahl | |
2021-09-24 | refactor: Remove op_state parameter (#12202) | Ryan Dahl | |
2021-09-24 | refactor: Rename ProgramState to ProcState (#12204) | Ryan Dahl | |
Move Arc into struct | |||
2021-09-24 | docs: fix native http jsdoc examples (#12207) | Leo K | |
2021-09-23 | refactor: clean up watcher tests (#12200) | Ryan Dahl | |
2021-09-23 | feat(cli/fmt): support more markdown extensions (#12195) | Satya Rohith | |
2021-09-23 | test(cli): align unit test permissions with runtime test permissions (#12189) | Casper Beyer | |
2021-09-22 | refactor: simplify FetchFuture (#12185) | Ryan Dahl | |
No need for static lifetime | |||
2021-09-22 | fix(workers): Don't panic when a worker's parent thread stops running (#12156) | Andreu Botella | |
This panic could happen in the following cases: - A non-fatal error being thrown from a worker, that doesn't terminate the worker's execution, but propagates to the main thread without being handled, and makes the main thread terminate. - A nested worker being alive while its parent worker gets terminated. - A race condition if the main event loop terminates the worker as part of its last task, but the worker doesn't fully terminate before the main event loop stops running. This panic happens because a worker's event loop should have pending ops as long as the worker isn't closed or terminated – but if an event loop finishes running while it has living workers, its associated `WorkerThread` structs will be dropped, closing the channels that keep those ops pending. This change adds a `Drop` implementation to `WorkerThread`, which terminates the worker without waiting for a response. This fixes the panic, and makes it so nested workers are automatically terminated once any of their ancestors is closed or terminated. This change also refactors a worker's termination code into a `WorkerThread::terminate()` method. Closes #11342. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-09-22 | chore: replace calls to assertThrowsAsync with assertRejects (#12176) | Casper Beyer | |
2021-09-22 | 1.14.1 | Kitson Kelly | |
2021-09-22 | chore: bump crate versions for 1.14.1 (#12172) | Kitson Kelly | |