Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-14 | feat(lsp): ignore specific lint for entire file (#12023) | Satya Rohith | |
2021-09-13 | feat(fmt): add support for configuration file (#11944) | Bartek Iwańczuk | |
This commit adds support for configuration file for "deno fmt" subcommand. It is also respected by LSP when formatting files. Example configuration: { "fmt": { "files": { "include": ["src/"], "exclude": ["src/testdata/"] }, "options": { "useTabs": true, "lineWidth": 80, "indentWidth": 4, "singleQuote": true, "textWrap": "preserve" } } } | |||
2021-09-13 | fix(lsp): support data urls in `deno.importMap` option (#11397) | Satya Rohith | |
2021-09-09 | fix: permission prompt stuffing (#11931) | Ryan Dahl | |
Fixes #9750 | |||
2021-09-08 | feat(cli): Support Basic authentication in DENO_AUTH_TOKENS (#11910) | BasiqueEvangelist | |
2021-09-07 | refactor(lsp): use deno_ast and cache swc ASTs (#11780) | David Sherret | |
2021-09-06 | fix(ext/web): Format terminal DOMExceptions properly (#11834) | Nayeem Rahman | |
2021-09-06 | Don't drop messages from workers that have already been closed (#11913) | Andreu Botella | |
When `worker.terminate()` is called, the spec requires that the corresponding port message queue is emptied, so no messages can be received after the call, even if they were sent from the worker before it was terminated. The spec doesn't require this of `self.close()`, and since Deno uses different channels to send messages and to notify that the worker was closed, messages might still arrive after the worker is known to be closed, which are currently being dropped. This change fixes that. The fix involves two parts: one on the JS side and one on the Rust side. The JS side was using the `#terminated` flag to keep track of whether the worker is known to be closed, without distinguishing whether further messages should be dropped or not. This PR changes that flag to an enum `#state`, which can be one of `"RUNNING"`, `"CLOSED"` or `"TERMINATED"`. The Rust side was removing the `WorkerThread` struct from the workers table when a close control was received, regardless of whether there were any messages left to read, which made any subsequent calls to `op_host_recv_message` to return `Ok(None)`, as if there were no more mesasges. This change instead waits for both a close control and for the message channel's sender to be closed before the worker thread is removed from the table. | |||
2021-09-04 | feat(cli): close test worker once all tests complete (#11727) | Casper Beyer | |
2021-09-03 | feat(lint): add support for config file and CLI flags for rules (#11776) | Bartek Iwańczuk | |
This commit adds support for following flags in deno lint subcommand: --config - allows to load configuration file and parses "lint" object --rules-tags=<tags> - allows specifying which set of tagged rules should be run --rules-include=<rules> - allow specifying which rules should be run --rules-exclude=<rules> - allow specifying which rules should not be run | |||
2021-09-02 | chore(test): improve flaky lsp_diagnostics_refresh_dependents test to give ↵ | David Sherret | |
more info (#11905) | |||
2021-09-01 | fix(cli): retain path based test mode inference (#11878) | Casper Beyer | |
2021-08-27 | feat(cli): Update to TypeScript 4.4 (#11678) | Kitson Kelly | |
2021-08-24 | fix(cli): dispatch unload event on watch drop (#11696) | Casper Beyer | |
2021-08-24 | feat(cli): add --ignore flag to test command (#11712) | Casper Beyer | |
2021-08-18 | test: re-enable test watch tests and mark as flaky (#11669) | Casper Beyer | |
2021-08-18 | fix(runtime): event loop panics in classic workers (#11756) | Luca Casonato | |
Classic worker scripts are now executed in the context of a Tokio runtime. This does mean we can not spawn more tokio runtimes in "op_worker_sync_fetch". We instead spawn a new thread there, that can create a new Tokio runtime that we can use to block the worker thread. | |||
2021-08-16 | fix: parse error when transpiling code with BOM (#11688) | Ryan Dahl | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2021-08-15 | fix(test): dispatch load event before tests are run (#11708) | Casper Beyer | |
2021-08-13 | fix(http/ws): support multiple options in connection header (#11675) | Leo K | |
Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2021-08-13 | test(cli): add test for test filtering (#11672) | Casper Beyer | |
2021-08-12 | fix(cli): allow specifiers of unknown media types with test command (#11652) | Casper Beyer | |
2021-08-12 | test: mark run_watch test as flaky (#11668) | Bartek Iwańczuk | |
2021-08-11 | mark cafile tests as flaky (#11649) | Ryan Dahl | |
2021-08-11 | chore: move test files to testdata directory (#11601) | David Sherret | |
2021-08-11 | test: reenable cafile tests (#11615) | Bartek Iwańczuk | |
2021-08-10 | v1.13.0 | Bartek Iwańczuk | |
2021-08-10 | refactor: --unsafely-ignore-certificate-errors (#11629) | Bartek Iwańczuk | |
2021-08-10 | feat(lsp): support clients which do not support disabled code actions (#11612) | Kitson Kelly | |
Closes: #11610 | |||
2021-08-10 | feat: add experimental WebSocketStream API (#10365) | Leo K | |
This commit adds the experimental WebSocketStream API when using the --unstable flag. The explainer for the API can be found here: https://github.com/ricea/websocketstream-explainer | |||
2021-08-09 | feat: Add --unsafely-treat-insecure-origin-as-secure flag to disable SSL ↵ | TheAifam5 | |
verification (#11324) This commit adds "--unsafely-treat-insecure-origin-as-secure" flag that allows to disable SSL verification for all domains, or specific domains if they were passed as an argument to the flag. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-08-07 | feat(tls): Optionally support loading native certs (#11491) | Justin Chase | |
This commit adds "DENO_TLS_CA_STORE" env variable to support optionally loading certificates from the users local certificate store. This will allow them to successfully connect via tls with corporate and self signed certs provided they have them installed in their keystore. It also allows them to deal with revoked certs by simply updating their keystore without having to upgrade Deno. Currently supported values are "mozilla", "system" or empty value. | |||
2021-08-06 | feat(repl): add --eval flag for evaluating code when the repl starts (#11590) | David Sherret | |
2021-08-06 | feat: ffi to replace plugins (#11152) | Elias Sjögreen | |
This commit removes implementation of "native plugins" and replaces it with FFI API. Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API. | |||
2021-08-06 | feat(repl): support exports in the REPL (#11592) | David Sherret | |
2021-08-06 | feat(lsp): implement refactoring code actions (#11555) | Jean Pierre | |
Closes: denoland/vscode_deno#433 | |||
2021-07-29 | feat: type check codeblocks in Markdown file with "deno test --doc" (#11421) | Casper Beyer | |
2021-07-29 | fix(cli): deno doc panics on invalid url (#11536) | Feng Yu | |
2021-07-28 | feat(lsp): ability to set DENO_DIR via settings (#11527) | Kitson Kelly | |
Ref: denoland/vscode_deno#287 | |||
2021-07-27 | test: make integration::workers::workers test inspectable (#11524) | Bartek Iwańczuk | |
2021-07-26 | fix(cli): side-load test modules (#11515) | Casper Beyer | |
This fixes a regression introduced in 1.9 where test modules became main modules by side loading them in a generated module. | |||
2021-07-25 | fix(lsp): handle importmaps properly (#11496) | Kitson Kelly | |
Fixes: #11146 Fixes: #11456 Fixes: #10439 | |||
2021-07-22 | fix: support --cert flag for tls connect APIs (#11484) | Luca Casonato | |
2021-07-22 | fix(cli): info now displays type reference deps (#11478) | Kitson Kelly | |
Fixes #11476 | |||
2021-07-20 | fix: close fetch response body on GC (#11467) | Luca Casonato | |
This commit fixes fetch response bodies to be automatically closed if the `Response.body` readable stream goes out of scope and is GC'ed. | |||
2021-07-20 | fix: panic for non-WS connections to inspector (#11466) | Bartek Iwańczuk | |
2021-07-19 | fix(repl): output error without hanging when input is invalid (#11426) | Ayato Tokubi | |
2021-07-17 | fix(workers): silently ignore non-existent worker IDs (#11417) | Andreu Botella | |
Fixes #11416 | |||
2021-07-14 | chore(repl): fix integration test input to not throw parse errors (#11401) | Ayato Tokubi | |
2021-07-14 | test(cli): ensure clear timeout doesn't trigger sanitizers (#11396) | Casper Beyer | |