summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-02fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960)Nayeem Rahman
2021-01-02upgrade: Rust 1.49.0 (#8955)Bartek Iwańczuk
2021-01-02fix(test_util): make hyper server single-threaded (#8951)Ben Noordhuis
Use Tokio's single-threaded scheduler. The hyper server is used as a point of comparison for the (single-threaded!) benchmarks in cli/bench. We're not comparing apples to apples if we use the default multi-threaded scheduler. This drops the requests/sec from 284k to 130k on my 12 core Ryzen 5 system. That still leaves a 50k gap for us to close. Working on it!
2021-01-01refactor(cli): runtime compiler APIs consolidated to Deno.emit() (#8799)Kitson Kelly
Closes: #4752
2020-12-31docs: add note about NO_PROXY env variable (#8929)Tomofumi Chiba
2020-12-31feat(lsp): support specifying a tsconfig file (#8926)Kitson Kelly
2020-12-31fix(std/http): parsing of HTTP version header (#8902)Noxazer
2020-12-30fix(op_crates/fetch): correct regexp for fetch header (#8927)Rich Trott
Fix bug in regular expression and make the regular expression more strict. In a string passed to new RegExp(), '[\t\s]' is identical to '[ts]' and not `/[\t\s]/`. For that, the backslash needs to be escaped in the string. Futhermore, `\t` is the tab character and is included in the special regexp value `\s` so is unnecessary. That would reduce the RegExp to new RegExp(`^${value}\\s*;?`) but there's no point in matching 0 or more space characters followed by 0 or one semi-colons as that will match no matter what follows `value`. To make it more strict, require one of space, semicolon, or end-of-string after value.
2020-12-30BREAKING(unstable): Use hosts for net allowlists (#8845)Nayeem Rahman
Allowlist checking already uses hosts but for some reason requests, revokes and the runtime permissions API use URLs. - BREAKING(lib.deno.unstable.d.ts): Change NetPermissionDescriptor::url to NetPermissionDescriptor::host - fix(runtime/permissions): Don't add whole URLs to the allowlist on request - fix(runtime/permissions): Harden strength semantics: ({ name: "net", host: "127.0.0.1" } is stronger than { name: "net", host: "127.0.0.1:8000" }) for blocklisting - refactor(runtime/permissions): Use tuples for hosts, make the host optional in Permissions::{query_net, request_net, revoke_net}()
2020-12-30docs: Fix instructions about how to setup development environment with ↵Yuki Tanaka
Vim/Neovim (#8937)
2020-12-30chore(cli/tests): fix typo in test failure message (#8935)Rich Trott
2020-12-30v1.6.3Bartek Iwańczuk
2020-12-30chore: release crates (#8931)Bartek Iwańczuk
2020-12-30fix(cli): info does not panic on missing modules (#8924)Kitson Kelly
Fixes #8918
2020-12-30feat(lsp): add cache command (#8911)Kitson Kelly
2020-12-30fix(lsp): handle ts debug errors better (#8914)Kitson Kelly
Fixes #8864
2020-12-29fix(std/http): Don't expose ServerRequest::done as Deferred (#8919)Nayeem Rahman
2020-12-29docs: update release schedule dates (#8922)Rich Trott
2020-12-29refactor(runtime): return iterator from resolve_addr (#8891)Yusuke Tanaka
2020-12-30feat(lsp): Implement textDocument/rename (#8910)hrsh7th
2020-12-29refactor(cli/flags): change allow_read/write/net types from bool to ↵Yusuke Tanaka
Option<Vec<T>> (#8896) This PR refactors "cli/flags.rs" and "runtime/permissions.rs" so that "allow_read", "allow_write" and "allow_net" themselves have allowlists, instead of storing them in additional fields.
2020-12-29docs(testing): Add import line to test example (#8909)Maxim Zhukov
2020-12-29chore(std/node/fs): Remove unnecessary try-catch (#8908)Yuki Tanaka
2020-12-29fix(core): Fix incorrect index in Promise.all error reporting (#8913)Deepanshu Utkarsh
2020-12-29upgrade: dprint, swc_bundler, swc_common, swc_ecmascript (#8901)Bartek Iwańczuk
2020-12-29docs(introduction): Improve wording and capitalization (#8848)Waldir Pimenta
2020-12-28docs(watch): Add note about --unstable flag (#8876)Maxim Zhukov
2020-12-28docs(webassembly): add a link to mdn documentation (#8903)Casper Beyer
2020-12-28feat(std/node): adds fs.mkdtemp & fs.mkdtempSync (#8604)Louis-Philippe Perron
2020-12-28feat(unstable): collect coverage from the run command (#8893)Casper Beyer
This adds implicit coverage collection to the run command when a coverage collection directory is set (via an environment variable).
2020-12-28upgrade: rusty_v8 0.15.0, v8 8.8.294 (#8898)Bartek Iwańczuk
2020-12-26chore: move ProgressEvent type to deno.web lib (#8878)Luca Casonato
2020-12-26test(cli): ensure await Promise.all does not race (#8868)Casper Beyer
2020-12-26fix: fetch bad URL will not panic (#8884)Yosi Pramajaya
2020-12-26ci: setup latest version of Node (#8888)Zheyu Zhang
2020-12-24refactor(test_util): replace "warp" with "hyper" (#8846)Yosi Pramajaya
This commit rewrites "test_server" to use "hyper" instead of "warp" in an effort to reduce number of dependencies.
2020-12-24fix(lsp): provide diagnostics for unresolved modules (#8872)Kitson Kelly
2020-12-22fix(build): add generated coverage files to gitignore (#8862)Casper Beyer
2020-12-22core: fix http_bench_json_ops, register Error (#8860)Ben Noordhuis
Fixes the following runtime error for me when benchmarking: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error: Unregistered error class: "Error" Connection reset by peer (os error 104) Classes of errors returned from ops should be registered via Deno.core.registerErrorClass(). at processResponse (deno:core/core.js:219:13) at Object.jsonOpAsync (deno:core/core.js:240:12) at async read (http_bench_json_ops.js:29:21) at async serve (http_bench_json_ops.js:45:19)', core/examples/http_bench_json_ops.rs:260:28
2020-12-22v1.6.2Bartek Iwańczuk
2020-12-22chore: release crates (#8854)Bartek Iwańczuk
2020-12-22fix: implement ReadableStream fetch body handling (#8855)Luca Casonato
2020-12-22feat(lsp): support the unstable setting (#8851)Kitson Kelly
2020-12-22fix(lsp): respect enable flag for requests (#8850)Kitson Kelly
2020-12-22upgrade: deno_doc, deno_lint, dprint, swc (#8849)Bartek Iwańczuk
2020-12-21refactor: rewrite chown_test.ts not to depend on python (#8843)Liam Murphy
This commit rewrites "chown_test.ts" to use the GNU "id" command instead of python. This won't work on Windows, but these tests aren't currently run on Windows anyway.
2020-12-21refactor(runtime): remove warp dependency (#8813)Liam Perlaki
This commit replaces the "warp" web server in the "deno_runtime" crate with a "hyper" server and a "tokio-tungstenite" websocket implementation.
2020-12-21refactor: rewrite lsp to be async (#8727)Luca Casonato
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2020-12-21feat(unstable): record raw coverage into a directory (#8642)Casper Beyer
2020-12-21refactor: rewrite process_test.ts to use deno instead of python (#8841)Liam Murphy
Rewrites all the subprocess python scripts to be Deno scripts.