David Sherret
b2aaf708ab
chore: forward v1.20.5 release commit to main ( #14232 )
2022-04-07 14:40:20 -04:00
Jason
a6e4b4297d
refactor(lsp): migrate from lspower back to tower-lsp ( #14163 )
2022-04-03 14:17:30 +10:00
Bartek Iwańczuk
6c25b5135d
chore: update tokio, tokio-util and libc dependencies ( #14174 )
2022-04-02 19:54:40 +02:00
David Sherret
1c37ac3352
chore(tests): use custom temp dir creation for the tests ( #14153 )
2022-04-01 11:15:37 -04:00
David Sherret
7fec7c834c
1.20.4 ( #14168 )
2022-03-31 15:48:35 -04:00
David Sherret
03c71a8b4a
chore: upgrade dprint-core to 0.54.1 ( #14146 )
2022-03-29 13:33:00 -04:00
David Sherret
af473ce15c
fix(task): handle PATHEXT
with trailing semi-colon ( #14140 )
2022-03-28 12:02:21 -04:00
Robert
2262097141
chore: update clap and completions ( #14136 )
2022-03-28 03:57:56 +02:00
Luca Casonato
37b0ec454c
chore: forward v1.20.3 release commit to main ( #14121 )
2022-03-25 18:53:55 +01:00
Kitson Kelly
cff1e92ecf
1.20.2
2022-03-24 14:47:06 +11:00
David Sherret
c9817c335c
fix(unstable): upgrade deno_task_shell to 0.2 ( #14073 )
2022-03-22 10:16:14 -04:00
David Sherret
49012cbc33
feat: upgrade to swc_ecmascript 0.137.0 ( #14067 )
2022-03-22 09:19:53 -04:00
Ryan Dahl
fce60f2cc2
v1.20.1
2022-03-16 21:40:31 -04:00
Ryan Dahl
18f998fbee
chore: fix build ( #13997 )
2022-03-16 21:37:02 -04:00
Ryan Dahl
f7ab41583e
fix: cargo publish fails without absolute paths ( #13993 )
...
This reverts commit 4e3ed37037
.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-03-17 01:25:44 +01:00
Ryan Dahl
418c1eb4b3
v1.20.0
2022-03-16 16:07:35 -04:00
David Sherret
748aff1e94
feat(task): add unstable warning to deno task
( #13966 )
2022-03-15 21:24:07 -04:00
David Sherret
5d60ee7f12
chore(test_util): use pretty_assertions::assert_eq when not pattern matching ( #13965 )
2022-03-15 18:15:56 -04:00
Divy Srivastava
4e3ed37037
chore: improve build times for ext/
changes ( #13927 )
2022-03-14 09:08:54 +05:30
Bartek Iwańczuk
09ae512ccb
feat: "deno bench" subcommand ( #13713 )
...
This commit adds "deno bench" subcommand and "Deno.bench()"
API that allows to register bench cases.
The API is modelled after "Deno.test()" and "deno test" subcommand.
Currently the output is rudimentary and bench cases and not
subject to "ops" and "resource" sanitizers.
Co-authored-by: evan <github@evan.lol>
2022-03-11 23:07:02 +01:00
David Sherret
32c059544b
chore(test): fix flaky tasks ( #13916 )
2022-03-11 13:20:14 -05:00
Bartek Iwańczuk
47f22777be
feat: "deno task" subcommand ( #13725 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-03-10 20:56:14 -05:00
Yoshiya Hinosawa
3c11768aab
v1.19.3
2022-03-10 23:29:14 +09:00
Divy Srivastava
61fbecfd5b
chore: update regex to 1.5.5 ( #13875 )
2022-03-08 22:00:17 +05:30
Satya Rohith
975f413c46
1.19.2 ( #13825 )
2022-03-03 15:05:18 -05:00
Satya Rohith
95459e60f6
chore: bump crate version for 1.19.2 ( #13824 )
2022-03-03 15:05:18 -05:00
Bartek Iwańczuk
a65ce33fab
feat(compat): CJS/ESM interoperability ( #13553 )
...
This commit adds CJS/ESM interoperability when running in --compat mode.
Before executing files, they are analyzed and all CommonJS modules are
transformed on the fly to a ES modules. This is done by utilizing analyze_cjs()
functionality from deno_ast. After discovering exports and reexports, an ES
module is rendered and saved in memory for later use.
There's a caveat that all files ending with ".js" extension are considered as
CommonJS modules (unless there's a related "package.json" with "type": "module").
2022-02-27 14:38:45 +01:00
David Sherret
3b12afd072
chore: upgrade to Rust 1.59 ( #13767 )
2022-02-24 20:03:12 -05:00
David Sherret
5f28066204
1.19.1 ( #13762 )
2022-02-24 17:45:39 -05:00
David Sherret
4deefafdd1
chore: bump crate versions for 1.19.1 ( #13760 )
2022-02-24 17:45:39 -05:00
David Sherret
49b6fc34b4
chore: upgrade swc_ecmascript to 0.114 ( #13758 )
2022-02-24 10:43:46 -05:00
Divy Srivastava
6a5a3f66b3
chore: bump nix to 0.23 ( #13701 )
2022-02-17 19:31:26 +05:30
Bartek Iwańczuk
551ace40cc
v1.19.0
2022-02-17 01:54:07 +01:00
Bartek Iwańczuk
e17ab6322e
chore: release crates for v1.19.0 ( #13698 )
2022-02-17 00:57:40 +01:00
David Sherret
b98afb59ae
feat: deno vendor ( #13670 )
2022-02-16 13:14:19 -05:00
Bartek Iwańczuk
7780e512e3
chore: upgrade deno_lint to 0.25.0 ( #13683 )
2022-02-16 16:19:07 +01:00
William Tetlow
7b893bd57f
feat(cli): Replace bundling with eszip in deno compile ( #13563 )
...
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-02-15 18:03:46 +05:30
Kitson Kelly
773f882e5e
feat(lsp): provide completions from import map if available ( #13624 )
...
Closes #13619
2022-02-10 07:13:50 +11:00
Leo Kettmeir
592b1fb911
chore: update clap_complete to 3.0.5 ( #13597 )
2022-02-05 16:22:15 +01:00
Bartek Iwańczuk
82284d8052
chore: forward v1.18.2 to main ( #13595 )
2022-02-04 21:44:38 +01:00
Bartek Iwańczuk
975e55d524
chore: upgrade crates ( #13560 )
2022-02-02 19:24:24 +01:00
Kitson Kelly
7d356250e8
refactor: integrate deno_graph breaking changes ( #13495 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-02-01 09:33:57 +11:00
Bartek Iwańczuk
5cf23176dc
chore: forward v1.18.1 to main ( #13514 )
2022-01-27 18:52:34 +01:00
David Sherret
bc8de78da3
perf(lsp): independent diagnostic source publishes ( #13427 )
2022-01-24 15:30:01 -05:00
Divy Srivastava
2ea535c8c1
1.18.0
2022-01-20 21:49:30 +05:30
Divy Srivastava
16776c9ade
chore: bump crate version for 0.18.0 ( #13441 )
2022-01-20 20:50:39 +05:30
David Sherret
1ec07368b4
fix(fmt): markdown formatting should not remove backslashed backslash at start of paragraph ( #13429 )
2022-01-20 01:04:33 +01:00
Ryan Dahl
ce52bfc59c
Add LSP benchmark mimicking the one on quick-lint-js ( #13365 )
2022-01-18 06:58:50 -05:00
Leo Kettmeir
e650165e80
chore: upgrade clap to v3 ( #13266 )
2022-01-14 17:38:17 +01:00
David Sherret
eda6e58520
refactor: upgrade to import_map v0.6 ( #13368 )
2022-01-13 18:17:56 -05:00
Bartek Iwańczuk
9975ede773
chore: forward v1.17.3 to main ( #13364 )
2022-01-13 20:47:42 +01:00
David Sherret
f12164646b
refactor: move transpiling to deno_ast ( #13332 )
2022-01-13 11:58:00 -05:00
Bartek Iwańczuk
13751d9de6
fix(coverage): merge coverage ranges ( #13334 )
...
Covered ranges were not merged and thus it appeared that some lines
might be uncovered. To fix this I used "v8-coverage" that takes care
of merging the ranges properly. With this change, coverage collected
from a file by multiple entrypoints is now correctly calculated.
I ended up forking https://github.com/demurgos/v8-coverage and adding
"cli/tools/coverage/merge.rs" and "cli/tools/coverage/range_tree.rs".
2022-01-11 21:17:25 +01:00
evan
b66afa2518
feat(cli, runtime): compress snapshots ( #13320 )
2022-01-10 15:51:23 -08:00
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Bartek Iwańczuk
46f2ff1205
chore: forward 1.17.2 to main ( #13295 )
2022-01-06 13:20:42 +01:00
David Sherret
19c8cd3a45
fix: upgrade swc_ecmascript to 0.103 ( #13284 )
2022-01-04 17:02:56 -05:00
David Sherret
7ebbda7fd7
fix(coverage): use only string byte indexes and 0-indexed line numbers ( #13190 )
2021-12-23 20:02:54 -05:00
Bartek Iwańczuk
9391ba1098
chore: merge v1.17.1 into main ( #13184 )
2021-12-22 22:20:17 +01:00
Kitson Kelly
8547a37132
chore: update deno_graph and deno_doc ( #13173 )
2021-12-22 14:25:06 +01:00
Divy Srivastava
6de53b631f
refactor: use once_cell
instead of lazy_static
( #13135 )
2021-12-18 16:14:42 -05:00
Bartek Iwańczuk
5f11f87495
v1.17.0
2021-12-16 19:24:16 +01:00
Bartek Iwańczuk
e0cba6b19b
chore: release crates for v1.17.0 ( #13112 )
2021-12-16 18:51:23 +01:00
Bartek Iwańczuk
d8e7e3fbe3
chore: update cli/Cargo.toml ( #13096 )
2021-12-15 20:57:43 +01:00
Kitson Kelly
e8d7b430ce
chore: updates to support deno_graph API changes ( #13080 )
2021-12-15 07:39:20 +11:00
Kitson Kelly
2347e60934
feat(lsp): registry suggestion cache respects cache headers ( #13010 )
...
Fixes #9931
2021-12-09 22:16:17 +11:00
David Sherret
1507b8c984
fix: upgrade swc fixing many bundling and --no-check
bugs ( #13025 )
2021-12-08 19:12:14 -05:00
Bartek Iwańczuk
5027826a64
build: pin dependencies in cli crate ( #12967 )
2021-12-07 01:43:09 +01:00
Luca Casonato
72e9720e91
chore: merge v1.16.4 into main ( #12984 )
2021-12-04 01:26:54 +01:00
Ryan Dahl
084caffc08
refactor: cli doesn't need to depend on deno_tls ( #12952 )
...
also move create_http_client to deno_fetch
2021-12-01 11:13:11 -05:00
Bartek Iwańczuk
e68a241946
chore: upgrade lspower to 1.4.0 ( #12894 )
2021-11-25 12:10:12 +11:00
Bert Belder
c6f3493f18
chore: merge v1.16.3 into main ( #12892 )
2021-11-24 15:56:18 -08:00
David Sherret
ddfba7d8ca
fix(fmt): markdown formatting was incorrectly removing some non-breaking space html entities ( #12818 )
2021-11-19 12:54:41 -05:00
David Sherret
4836ab769c
1.16.2 ( #12794 )
2021-11-17 11:00:58 -05:00
David Sherret
cd61cedd19
chore: bump crates for 1.16.2 ( #12792 )
2021-11-17 10:14:23 -05:00
Nayeem Rahman
cd9193f126
fix(cli): short-circuit in prepare_module_load() ( #12604 )
2021-11-16 10:25:52 +11:00
Luca Casonato
fdf890a68d
v1.16.1
2021-11-11 11:59:29 +01:00
Luca Casonato
3250ffe020
chore: bump crate versions for 1.16.1 ( #12729 )
2021-11-11 11:16:05 +01:00
Luca Casonato
1eae6c139e
v1.16.0
2021-11-09 13:55:05 +01:00
Luca Casonato
4f64acd4e4
chore: bump crate versions for 1.16.0 ( #12706 )
2021-11-09 13:03:17 +01:00
Kitson Kelly
f5eb177f50
feat(cli): support React 17 JSX transforms ( #12631 )
...
Closes #8440
2021-11-09 12:26:39 +11:00
Aaron O'Mullan
44511e4f33
feat(runtime): give OS errors .code attributes ( #12591 )
...
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-04 16:44:34 +01:00
Bartek Iwańczuk
8e31bbbe55
chore: update to Rust edition 2021 ( #12578 )
2021-11-02 10:03:37 -04:00
David Sherret
70336912b4
fix(fmt): reduce likelihood of deno fmt panic for file with multi-byte chars ( #12623 )
2021-11-02 09:42:53 -04:00
David Sherret
0ec151b8cb
chore: upgrade deno_ast to 0.5.0 ( #12595 )
2021-11-01 16:22:27 -04:00
Andreu Botella
bc8e94155a
fix(encoding): support additional encoding labels ( #12586 )
2021-10-29 10:31:42 +05:30
Kitson Kelly
34a9ddff09
refactor(lsp): use deno_graph and single document struct ( #12535 )
...
Closes #12473
2021-10-29 10:56:01 +11:00
Yoshiya Hinosawa
f32f458318
v1.15.3 ( #12533 )
2021-10-25 20:11:55 +09:00
Yoshiya Hinosawa
c7dcf1cbdd
chore: bump crate version for 1.15.3 ( #12531 )
2021-10-25 15:48:01 +09:00
David Sherret
43cd0459b9
fix(lsp): formatting should error on certain additional swc diagnostics ( #12491 )
2021-10-21 10:18:18 -04:00
Bartek Iwańczuk
71da814073
v1.15.2
2021-10-18 21:01:59 +02:00
Bartek Iwańczuk
1cd9272a91
chore: release crates for v1.15.2 ( #12478 )
2021-10-18 20:30:00 +02:00
David Sherret
0a7ba33ed1
fix(fmt): keep parens for JS doc type assertions ( #12475 )
2021-10-18 10:21:42 -04:00
David Sherret
62f6865f7c
fix: fmt should not remove parens around sequence expressions ( #12461 )
2021-10-16 14:57:45 -04:00
David Sherret
b1d63aefd9
1.15.1
2021-10-13 13:18:18 +05:30
Satya Rohith
de3fa08d6c
1.15.0
2021-10-12 23:27:07 +05:30
Satya Rohith
fb094ae026
chore: bump crate version for 1.15.0 ( #12406 )
2021-10-12 22:16:15 +05:30
David Sherret
9b1f0c8ba3
chore: upgrade crates based on deno ast 0.3 ( #12403 )
2021-10-12 09:58:04 -04:00
Kitson Kelly
a7baf5f2bb
refactor: integrate deno_graph into CLI ( #12369 )
2021-10-11 08:26:22 +11:00
Bartek Iwańczuk
d67e858506
chore: merge v1.14.3 into main ( #12327 )
2021-10-05 21:40:39 +02:00