summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2021-11-171.16.2 (#12794)David Sherret
2021-11-17chore: bump crates for 1.16.2 (#12792)David Sherret
2021-11-17fix(lsp): retain module dependencies when parse is invalid (#12782)Kitson Kelly
Fixes #12753
2021-11-16refactor: re-export anyhow from deno_core (#12777)Ryan Dahl
2021-11-16tests(lsp): regression test for providing completions when editing documents ↵Yacine Hmito
(#12776) Ref: #12753
2021-11-15refactor: clean up cli/file_fetcher.rs (#12772)Ryan Dahl
2021-11-16fix(cli): short-circuit in prepare_module_load() (#12604)Nayeem Rahman
2021-11-15fix(transpile): do not panic on `swc_ecma_utils::HANDLER` diagnostics (#12773)David Sherret
2021-11-15feat(unstable/test): include test step pass/fail/ignore counts in final ↵David Sherret
report (#12432)
2021-11-15fix(test): support typechecking docs with CRLF line endings (#12748)Geert-Jan Zwiers
2021-11-12refactor(lsp): prefer using document instead of documents collection (#12720)David Sherret
2021-11-11v1.16.1Luca Casonato
2021-11-11chore: bump crate versions for 1.16.1 (#12729)Luca Casonato
2021-11-11fix: add typings for AbortSignal.reason (#12730)Luca Casonato
2021-11-11fix(crypto): handling large key length in HKDF (#12692)upendra1997
2021-11-10refactor(ext/http): rewrite hyper integration and fix bug (#12732)Bert Belder
Fixes: #12193 Fixes: #12251 Closes: #12714
2021-11-10fix: non ascii buffer response in http server (#12728)Luca Casonato
2021-11-10fix: update unstable Deno props for signal API (#12723)Bartek Iwańczuk
2021-11-09typoGeert-Jan Zwiers
2021-11-09feat(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-09v1.16.0Luca Casonato
2021-11-09chore: bump crate versions for 1.16.0 (#12706)Luca Casonato
2021-11-09fix(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-09Revert "refactor(ext/http): rewrite hyper integration and fix bug (#12332)" ↵Luca Casonato
(#12704) This reverts commit 5b1e537446454f6332de44adbeb6a15ff072c2fa.
2021-11-09chore(lsp): align ScriptElementKind to current versions of TypeScript/vscode ↵Kitson Kelly
(#12663)
2021-11-09fix(cli/upgrade): nice error when unzip is missing (#12693)Luca Casonato
Previously just a generic "error: No such file or directory (os error 2)" was printed. Now "`unzip` was not found on your PATH, please install `unzip`" will be printed.
2021-11-09feat(cli): support React 17 JSX transforms (#12631)Kitson Kelly
Closes #8440
2021-11-08fix(lint): use recommended tags when no tags specified in config, but ↵David Sherret
includes or excludes are (#12700)
2021-11-08refactor(ext/http): rewrite hyper integration and fix bug (#12332)Bert Belder
Fixes: #12193
2021-11-08refactor: move `mod tokio_util` to runtime (#12332)Bert Belder
This avoids a bunch of duplicated code.
2021-11-08feat: 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-08feat(compat): add .code to dyn import error (#12633)Yoshiya Hinosawa
2021-11-08fix(lsp): display module types only dependencies on hover (#12683)Kitson Kelly
Fixes: #12675
2021-11-08fix(lsp): cache unsupported import completion origins (#12661)Kitson Kelly
Fixes #12621
2021-11-07fix(lsp): display signature docs as markdown (#12636)Luca Casonato
These were previously displayed as plain text. Now they are displayed as `MarkupContent` with type `Markdown`.
2021-11-07fix(cli): don't panic when mapping unknown errors (#12659)Aaron O'Mullan
Instead fallback to generic "Error" class, fixes #12590, also update WPT expectations
2021-11-04feat(runtime): give OS errors .code attributes (#12591)Aaron O'Mullan
This adds `.code` attributes to errors returned by the op-layer, facilitating classifying OS errors and helping node-compat. Similar to Node, these `.code` attributes are stringified names of unix ERRNOs, the mapping tables are generated by [tools/codegen_error_codes.js](https://gist.github.com/AaronO/dfa1106cc6c7e2a6ebe4dba9d5248858) and derived from libuv and rust's std internals
2021-11-04fix(lint): use recommended tag if there is no tags in config file or flags ↵Zheyu Zhang
(#12644)
2021-11-04Revert "feat(cli): enable `useUnknownInCatchVariables` by default" (#12643)Luca Casonato
This partially reverts commit a065604155991dbf4417b606d4562d275cd8955f. Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-11-03fix: Deno.emit crashes with BorrowMutError (#12627)Ryan Dahl
Warn on await_holding_refcell_ref clippy rule to avoid this in the future. Fixes #12453
2021-11-02chore: update to Rust edition 2021 (#12578)Bartek Iwańczuk
2021-11-02fix(fmt): reduce likelihood of deno fmt panic for file with multi-byte chars ↵David Sherret
(#12623)
2021-11-01chore: upgrade deno_ast to 0.5.0 (#12595)David Sherret
2021-11-01fix(fmt/lint): strip unc paths on Windows when displaying file paths in lint ↵David Sherret
and fmt (#12606)
2021-11-01port check_if_should_use_esm_loader to rust (#12562)Ryan Dahl
2021-11-01feat(ext/fetch): support fetching local files (#12545)Kitson Kelly
Closes #11925 Closes #2150 Co-authored-by: Bert Belder <bertbelder@gmail.com>
2021-11-01chore(cli): fix typo in variable name (#12617)Dezső Mészáros
2021-10-31feat: Stabilize Deno.TestDefinition.permissions (#12078)Bartek Iwańczuk
2021-10-30feat(test): better formatting for test elapsed time (#12610)Bartek Iwańczuk
This commit changes formatting of elapsed time in test runner output. Instead of "XXXms", reporter outputs one of: - "XXXms" for <1000ms - "XXs" for <60s - "XXXmYYs" for >=60s
2021-10-30feat(ext/console): Display error.cause in console (#12462)Kenta Moriuchi