Bartek Iwańczuk
24844a0052
upgrade: dprint, swc_bundler, swc_common, swc_ecmascript ( #8901 )
2020-12-29 00:22:36 +01:00
Bartek Iwańczuk
d199e45ad5
v1.6.2
2020-12-22 17:00:35 +01:00
Bartek Iwańczuk
6ce310fa27
chore: release crates ( #8854 )
2020-12-22 14:50:13 +01:00
Bartek Iwańczuk
1e144ec022
upgrade: deno_doc, deno_lint, dprint, swc ( #8849 )
2020-12-22 00:57:03 +01:00
Luca Casonato
bd85d0ed42
refactor: rewrite lsp to be async ( #8727 )
...
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2020-12-21 08:44:26 -05:00
Bartek Iwańczuk
660f75e066
upgrade: swc_ecmascript 0.15.1 ( #8836 )
2020-12-20 00:30:53 +01:00
Bartek Iwańczuk
4ab1aa8877
upgrade: rustyline 7.1.0 ( #8829 )
2020-12-19 16:20:36 +01:00
Bartek Iwańczuk
9fe26f8ca1
refactor: remove dead code ( #8781 )
2020-12-15 21:45:29 +01:00
Bartek Iwańczuk
b6d5ae1ecd
v1.6.1
2020-12-14 21:25:05 +01:00
Bartek Iwańczuk
025c0a1d37
chore: release crates ( #8765 )
2020-12-14 19:47:28 +01:00
Bartek Iwańczuk
8f8749095c
chore: release crates ( #8760 )
2020-12-14 17:11:17 +01:00
Bartek Iwańczuk
3476d5434f
chore: release deno_runtime 0.2.0 ( #8758 )
2020-12-14 15:47:20 +01:00
Bartek Iwańczuk
389f492551
chore: release crates ( #8744 )
2020-12-13 22:34:54 +01:00
Bartek Iwańczuk
2e74f164b6
refactor: deno_runtime crate ( #8640 )
...
This commit moves Deno JS runtime, ops, permissions and
inspector implementation to new "deno_runtime" crate located
in "runtime/" directory.
Details in "runtime/README.md".
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-12-13 19:45:53 +01:00
Luca Casonato
de65312b7f
chore: update swc_ecmascript to 0.15.0 ( #8688 )
2020-12-09 23:09:10 +01:00
Bartek Iwańczuk
df87bf1d6a
v1.6.0
2020-12-08 15:37:45 +01:00
Bartek Iwańczuk
656caa2d4f
chore: release crates ( #8662 )
2020-12-08 13:54:19 +01:00
Ryan Dahl
4e025fd164
Upgrade ring to support arm64 ( #8658 )
2020-12-07 20:12:18 -05:00
Kitson Kelly
301d3e4b68
feat: add mvp language server ( #8515 )
...
Resolves #8400
2020-12-07 21:46:39 +11:00
Bartek Iwańczuk
e6b90beb3d
upgrade: swc_bundler 0.17.5 ( #8588 )
2020-12-04 13:21:38 +01:00
Bartek Iwańczuk
abc883e6a7
upgrade: swc_bundler 0.17.3 ( #8575 )
2020-12-01 21:23:48 +01:00
Bartek Iwańczuk
a22794e9cc
upgrade: deno_doc, deno_lint, dprint, swc ( #8552 )
2020-11-30 13:01:16 +01:00
Casper Beyer
5588085c72
chore: update rustyline to 7.0.0 ( #8516 )
2020-11-28 15:03:40 +01:00
Ryan Dahl
29374db11f
fix test_raw_tty hang ( #8520 )
2020-11-27 12:08:28 -05:00
Bartek Iwańczuk
bc79d55649
v1.5.4
2020-11-23 15:10:58 +01:00
Bartek Iwańczuk
b63fe3f35c
upgrade: deno_doc, deno_lint, dprint, swc ( #8443 )
2020-11-21 13:17:42 +01:00
Bartek Iwańczuk
ab7b8ba8d1
v1.5.3
2020-11-16 11:14:00 +01:00
Divy Srivastava
d5661f677e
refactor: deno_crypto op crate ( #7956 )
...
This commit factors out "deno_crypto" op crate.
"rand" crate dependency was consequently moved to
"deno_crypto" crate and reexported.
2020-11-13 22:01:57 +01:00
Scott Olson
57c2608e98
fix(cli): Use safe shell escaping in deno install
( #7613 )
2020-11-09 14:08:12 -05:00
Kitson Kelly
71d7482577
v1.5.2 ( #8301 )
2020-11-09 10:58:21 +11:00
Bartek Iwańczuk
6743383d2e
upgrade: deno_doc, deno_lint, dprint, swc ( #8292 )
2020-11-08 23:27:36 +01:00
Kitson Kelly
d672e1405d
refactor(cli): cleanup compiler snapshot and tsc/module_graph ( #8220 )
2020-11-03 06:41:20 +11:00
Luca Casonato
03769f11b5
v1.5.1
2020-10-31 15:32:43 +01:00
Bartek Iwańczuk
2a36e2f892
upgrade: deno_doc, deno_lint, dprint, swc ( #8197 )
...
- deno_doc 0.1.14
- deno_lint 0.2.7
- dprint-plugin-typescript 0.32.7
- swc_bundler 0.14.1
- swc_ecmascript 0.13.1
2020-10-30 20:39:53 +01:00
Bartek Iwańczuk
dd01f206da
v1.5.0
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-27 16:00:23 +01:00
Bartek Iwańczuk
9b20cfbee8
upgrade: deno_doc, deno_lint, dprint, swc ( #8077 )
...
- deno_doc 0.1.13
- deno_lint 0.2.5
- dprint-plugin-typescript 0.32.6
- swc_bundler 0.12.0
- swc_ecmascript 0.11.1
2020-10-22 20:36:06 +02:00
Ryan Dahl
9e2e2dfb20
bump versions for op crates ( #8048 )
2020-10-20 10:31:20 -04:00
Kitson Kelly
57e95032c8
feat(cli): add support for bundle --no-check ( #8023 )
...
Fixes #6686
2020-10-20 14:10:42 +11:00
Ryan Dahl
fb2cae9687
deno_core 0.64.0 ( #8025 )
2020-10-19 06:35:09 -04:00
Bartek Iwańczuk
c1c7601304
upgrade: deno_doc, deno_lint, dprint, swc ( #8009 )
2020-10-17 17:08:23 +02:00
Bartek Iwańczuk
9e9ec9784a
v1.4.6
2020-10-10 12:30:55 +02:00
Bartek Iwańczuk
b5e4b63a88
v1.4.5
2020-10-08 14:20:18 +02:00
Bartek Iwańczuk
46e9758962
upgrade: deno_doc, deno_lint, dprint, swc ( #7862 )
2020-10-07 20:29:12 +02:00
Bartek Iwańczuk
ae1ed2d166
v1.4.4
2020-10-03 14:58:10 +02:00
Bartek Iwańczuk
63efa5f15d
v1.4.3
2020-10-02 14:37:48 +02:00
Bartek Iwańczuk
e5348a6a38
upgrade: swc, deno_doc, deno_lint, dprint ( #7793 )
2020-10-02 13:51:37 +02:00
Casper Beyer
4c779b5e8c
refactor(repl): use an inspector session ( #7763 )
...
This ports the REPL over to Rust and makes use of an inspector session to run a REPL on top of any isolate which lets make full use of rustylines various things like validators and completors without having to introduce a bunch of hard to test internal ops and glue code.
An accidental but good side effect of this is that the multiple line input we previously had is now an editable multi-line input prompt that is correctly stored in the history as a single entry.
2020-10-02 01:14:55 +02:00
Bartek Iwańczuk
290da280a8
refactor: improve op crate interfaces for other consumers ( #7745 )
2020-09-30 10:51:01 -04:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers ( #7711 )
2020-09-27 12:22:32 +02:00
Bartek Iwańczuk
dacb340f8f
v1.4.2
2020-09-25 16:53:48 +02:00
Bartek Iwańczuk
92edc36442
refactor: use futures and serde_json from deno_core ( #7614 )
2020-09-21 18:36:37 +02:00
Bert Belder
d6f3de6feb
v1.4.1
2020-09-18 21:28:11 +02:00
Ryan Dahl
526d668102
Use reqwest from deno_fetch export ( #7562 )
2020-09-18 13:07:09 -04:00
Bartek Iwańczuk
7845740637
refactor: deno_fetch op crate ( #7524 )
2020-09-18 09:20:55 -04:00
Bartek Iwańczuk
6453cb7567
refactor: Move URL to op_crates/web ( #7544 )
2020-09-17 19:13:20 +02:00
Ryan Dahl
104aebdfb5
Re-export deno_core::url ( #7525 )
...
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-16 14:28:07 -04:00
Ryan Dahl
0cb64cef76
Remove unnecessary serde_derive dependency
2020-09-16 13:29:42 -04:00
Bert Belder
530f48d2fd
Upgrade Rust crates, pin 'webpki-roots' to version 0.19.0 ( #7454 )
2020-09-14 00:20:56 +02:00
Bartek Iwańczuk
b3fa81f867
v1.4.0
2020-09-13 16:35:31 +02:00
Bartek Iwańczuk
b216d48e5f
upgrade: deno_doc, deno_lint, dprint, swc ( #7434 )
...
upgrades:
- swc_ecmascript 0.7.7
- dprint-plugin-typescript 0.31.3
- deno_lint 0.2.0
- deno_doc 0.1.9
Split std_lint test into std_lint and unit_test_lint.
Added lint ignores to CommonJS files in std/node.
2020-09-13 14:15:38 +02:00
Bartek Iwańczuk
60dbc6b294
Revert "feat(unstable): Support data: urls ( #5157 )" ( #7432 )
...
This reverts commit e3319f34a6
.
2020-09-12 11:08:00 +02:00
Valentin Anger
e3319f34a6
feat(unstable): Support data: urls ( #5157 )
2020-09-11 22:40:48 +02:00
Bert Belder
839c59b14f
fix(cli): suppress 'WSANOTINITIALIZED' error on Deno exit ( #7408 )
...
Unblocks: #6901
2020-09-09 21:37:59 +02:00
Bartek Iwańczuk
1fcbf9cb8a
upgrade: swc, deno_doc, deno_lint, dprint ( #7402 )
...
- deno_doc - 0.1.6
- deno_lint - 0.1.29
- dprint-plugin-typescript 0.31.1
- swc_ecmascript 0.7.3
2020-09-09 15:35:40 +02:00
Nayeem Rahman
b17a5fbcfa
fix(op_crates/web): Use "deno:" URLs for internal script specifiers ( #7383 )
2020-09-09 14:23:57 +02:00
Bartek Iwańczuk
241d228104
upgrade: deno_doc to 0.1.5 ( #7391 )
2020-09-08 13:02:14 +02:00
David Sherret
ab7f93caf1
upgrade: dprint-plugin-typescript 0.31.0 ( #7381 )
2020-09-08 11:58:17 +02:00
Bert Belder
c821e8f2f1
Move JSON ops to deno_core ( #7336 )
2020-09-06 02:34:02 +02:00
crowlKats
8c880d3261
feat: Implement WebSocket API ( #7051 )
2020-09-05 10:39:25 -04:00
Bartek Iwańczuk
a14b3c9e30
v1.3.3
2020-09-04 18:15:24 +02:00
Ryan Dahl
e7147786f4
run cargo update ( #7348 )
2020-09-04 11:24:23 -04:00
tokiedokie
fcee4265c6
support env_logger / RUST_LOG ( #7142 )
2020-09-03 16:16:49 -04:00
Bartek Iwańczuk
dbd941148c
refactor: use dependency analyzer from SWC ( #7334 )
2020-09-03 17:11:30 +02:00
Bartek Iwańczuk
c6ccaf064a
upgrade: swc, deno_doc, deno_lint, dprint ( #7332 )
2020-09-03 13:29:02 +02:00
Luca Casonato
fe47da9f23
chore: multi line deno_lint diagnostics ( #7303 )
2020-09-02 11:39:20 +02:00
Bartek Iwańczuk
b21f318e68
fix: support missing features in --no-check ( #7289 )
...
This commit adds "EmitTranspileOptions" to "transpile()" function,
that allows to configure transpilation process based on the
currently loaded "tsconfig.json".
2020-09-02 11:12:18 +02:00
Ryan Dahl
050c865af4
deno_web 0.6.0 ( #7317 )
2020-09-02 00:02:05 +02:00
Casper Beyer
94d38eee4c
replace utime crate with filetime ( #7268 )
2020-08-31 22:24:17 -04:00
Casper Beyer
32de714dc7
feat(unstable): add Deno.futime and Deno.futimeSync ( #7266 )
2020-08-31 14:29:43 -04:00
Bartek Iwańczuk
c82c3b982e
refactor: Compiler config in Rust ( #7228 )
...
* port tsc_config.rs
* cleanup options
* bring back allowNonTsExtension
* try
* fix test
* fix test2
* move config for bundling
* remove Transpile compile request
* remove dead code
* remove more dead code
* remove checkJs regex
* fix
* handle config str for runtime APIs
* lint
* runtimeCompile config in Rust
* runtimeCompile and runtimeTranspile config in Rust
* fix
* remove lint supression
* upgrade: jsonc-parser 0.13.0
* remove unneeded to_string()
* upgrade: jsonc-parser 0.14.0
* remove AsRef<str>
2020-08-31 20:12:24 +02:00
Bartek Iwańczuk
5c23388f6d
upgrade: swc, deno_doc, deno_lint, dprint ( #7276 )
2020-08-31 11:48:44 +02:00
Bartek Iwańczuk
ac705b7936
v1.3.2
2020-08-29 09:53:13 -04:00
Valentin Anger
31f32ed8c4
Move benchmarks to Rust ( #7134 )
...
All benchmarks are done in Rust and can be invoked with
`cargo bench`.
Currently this has it's own "harness" that behaves like
`./tools/benchmark.py` did.
Because of this tests inside `cli/bench` are currently not run.
This should be switched to the language provided harness
once the `#[bench]` attribute has been stabilized.
2020-08-28 09:03:50 -04:00
Bartek Iwańczuk
4a0bc747dd
upgrade: swc, deno_doc, deno_lint, dprint ( #7194 )
2020-08-26 20:43:24 +02:00
Bartek Iwańczuk
c1558beffb
upgrade: swc, dprint, deno_lint, deno_doc ( #7162 )
2020-08-23 13:57:09 +02:00
Bartek Iwańczuk
999e5cf3d4
v1.3.1
2020-08-21 18:11:33 +02:00
Bartek Iwańczuk
be1e7ab532
refactor: move cli/doc/ to separate crate ( #7103 )
2020-08-19 19:13:43 +02:00
Nayeem Rahman
015fa0bd41
refactor: permissions ( #7074 )
2020-08-18 16:29:32 -04:00
Bartek Iwańczuk
36c2855932
upgrade: swc, deno_lint, dprint ( #7098 )
2020-08-18 20:11:13 +02:00
Bartek Iwańczuk
b38c313276
v1.3.0
2020-08-13 12:10:13 -04:00
Bartek Iwańczuk
08ab4d46ca
upgrade: swc, deno_lint, dprint ( #7040 )
2020-08-13 11:03:16 -04:00
Bert Belder
3d70a2b94e
upgrade: Rust crates
...
The following crates were _not_ upgraded to avoid having multiple
versions of the same crate in the dependency tree:
* tokio-tungstenite v0.10.1 -> v0.11.0
* swc_common v0. 8.0 -> v0. 9.1
* swc_ecmascript v0. 1.0 -> v0. 3.0
* webpki-roots v0.19.0 -> v0.20.0
* nix v0.17.0 -> v0.18.0
2020-08-12 17:45:15 +02:00
Ryan Dahl
92a173bca6
v1.2.3
2020-08-08 18:59:16 -04:00
Bartek Iwańczuk
165928d5dc
upgrade: deno_lint v0.1.21 ( #6985 )
2020-08-08 16:20:21 +02:00
Bartek Iwańczuk
41215eb29c
Op crate for Web APIs ( #6906 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-08-07 16:55:02 +02:00
Maayan Hanin
5fc5e7b54a
fix(cli): add support for non-UTF8 source files ( #6789 )
...
Fixes: #5542
2020-08-03 23:39:48 +02:00
Ryan Dahl
7446230e6b
v1.2.2
2020-07-31 15:14:25 -04:00
Bartek Iwańczuk
b718e6ff53
upgrade: deno_lint, dprint, swc ( #6928 )
...
This commit upgrades:
deno_lint 0.1.20
dprint-plugin-typescript 0.25.0
swc_ecmascript 0.1.0
SWC is no longer reexported from dprint nor deno_lint.
2020-07-31 16:59:22 +02:00
Bartek Iwańczuk
c691713394
refactor: Use SWC to strip types for "--no-check" flag ( #6895 )
2020-07-28 22:33:23 +02:00
Mark Tiedemann
9f3ab4dca7
Shorten Windows file description ( #6881 )
2020-07-26 10:39:34 -04:00
Bartek Iwańczuk
69552b1def
upgrade: deno_lint v0.1.17 ( #6869 )
2020-07-25 17:47:55 +02:00
Ryan Dahl
25a0ad3e16
v1.2.1
2020-07-24 06:32:48 -04:00
Ryan Dahl
c2507d95f5
Align cargo dependency features ( #6860 )
2020-07-23 13:20:08 -04:00
Bartek Iwańczuk
b573bbe447
upgrade: tokio 0.2.22 ( #6838 )
2020-07-23 00:23:52 +02:00
Ryan Dahl
bf9930066d
Reduce size of TypeScript Compiler snapshot ( #6809 )
...
This PR is intentionally ugly. It duplicates all of the code in cli/js2/ into
cli/tsc/ ... because it's very important that we all understand that this code
is unnecessarily duplicated in our binary. I hope this ugliness provides the
motivation to clean it up.
The typescript git submodule is removed, because it's a very large repo and
contains all sorts of stuff we don't need. Instead the necessary files are
copied directly into the deno repo. Hence +200k lines.
COMPILER_SNAPSHOT.bin size
```
master 3448139
this branch 3320972
```
Fixes #6812
2020-07-22 12:03:46 -04:00
Ryan Dahl
2460689b1a
Remove deno_typescript ( #6813 )
2020-07-20 19:49:57 -04:00
Maayan Hanin
b0f2bd4a2d
fix(cli): add icon and metadata to deno.exe on Windows ( #6693 )
...
Co-authored-by: Mark Tiedemann <www.marktiedemann@gmail.com>
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-07-15 21:54:38 +02:00
Bartek Iwańczuk
6af5149ea3
v1.2.0
2020-07-13 13:00:24 -04:00
Bartek Iwańczuk
98f6a5a47d
chore: upgrade deno_lint, remove direct dprint dep ( #6679 )
...
This PR removes direct dependency on dprint-plugin-typescript
and swc_ecma_visit. Both of these dependencies have been
pushed out to deno_lint crate. This should make it a bit easier
to do the upgrades and prevent having conflicting crate requirements.
2020-07-11 11:47:06 +02:00
Nayeem Rahman
69e0886362
fix(URL): Implement spec-compliant host parsing ( #6689 )
2020-07-10 15:51:24 -04:00
uki00a
a2bf61d1ae
feat(unstable): Deno.ppid ( #6539 )
2020-07-08 10:35:45 -04:00
Ryan Dahl
8788553247
chore: Only use one set of tokio features ( #6655 )
2020-07-06 09:53:36 -04:00
Bartek Iwańczuk
be07aaed84
v1.1.3
2020-07-03 15:35:19 -04:00
Bartek Iwańczuk
2b0dc32718
upgrade: dprint-typescript-plugin 0.19.5, deno_lint 0.1.15 ( #6614 )
2020-07-03 15:55:34 +02:00
Bartek Iwańczuk
851344f2ed
upgrade: swc_ecma_visit, dprint, deno_lint ( #6580 )
2020-07-01 16:04:56 +02:00
David Sherret
0b28c80e9a
Update to dprint-plugin-typescript 0.19.3 ( #6527 )
2020-06-27 15:55:46 -04:00
Bartek Iwańczuk
5bc130be27
v1.1.2
2020-06-26 17:45:12 -04:00
Ryan Dahl
0a81ec6b1e
Remove Deno.dir and dirs dependency ( #6385 )
2020-06-20 23:49:27 -04:00
Ryan Dahl
bdf2d26ba1
v1.1.1
2020-06-19 14:48:14 -04:00
Ryan Dahl
cddaacc955
upgrade crates ( #6378 )
2020-06-19 13:44:28 -04:00
Bartek Iwańczuk
90c5dcfe79
chore(test): move testing utilities to test_util crate ( #6360 )
2020-06-18 11:54:55 -04:00
Bartek Iwańczuk
e88d72f101
chore: remove glob dependency ( #6317 )
2020-06-16 17:29:43 -04:00
Bartek Iwańczuk
7d41bacfba
v1.1.0
2020-06-12 18:43:09 +02:00
Bartek Iwańczuk
e7054d50f0
update: deno_lint to v0.1.10 ( #6248 )
...
* update: deno lint to v0.1.10
* Parallelize "deno lint" subcommand
2020-06-12 01:44:17 +02:00
Bartek Iwańczuk
e4e332abbb
feat(lint): use default globs, upgrade to v0.1.9 ( #6222 )
...
This commit:
* added default file globs so "deno lint" can be run
without arguments (just like "deno fmt")
* added test for globs in "deno lint"
* upgrade "deno_lint" crate to v0.1.9
2020-06-10 23:29:48 +02:00
Bartek Iwańczuk
8366f36873
upgrade: deno_lint v0.1.8 ( #6208 )
2020-06-09 18:40:08 +02:00
Bartek Iwańczuk
0e9da7e731
feat: "deno lint" subcommand ( #6125 )
2020-06-08 14:06:20 +02:00
Filippo Rossi
78333f0ab3
Add diff for "deno fmt --check" ( #5599 )
2020-06-06 09:07:59 -04:00
David Sherret
fcae2fec87
Upgrade to swc_ecma_parser 0.24.5 ( #6077 )
2020-06-03 21:36:55 +02:00
Ryan Dahl
515d19d901
v1.0.5
2020-06-03 12:52:01 -04:00
David Sherret
445e44199b
Update to dprint 0.19.1 and swc_ecma_parser 0.24.3 ( #6068 )
2020-06-03 17:24:25 +02:00
Bartek Iwańczuk
9c59a4b18c
v1.0.4
2020-06-02 15:48:17 +02:00
Ryan Dahl
b693ca7f7f
upgrade: crates ( #6032 )
2020-06-01 16:25:10 -04:00
Ryan Dahl
dad551a3a7
upgrade: Rust crates ( #5959 )
2020-05-30 11:35:44 +02:00
Bartek Iwańczuk
106b001738
v1.0.3
2020-05-29 18:48:48 +02:00
Bartek Iwańczuk
7d764a2c27
upgrade: dprint to 0.19.0 ( #5899 )
2020-05-27 11:19:31 -04:00
Bartek Iwańczuk
526c9196e2
v1.0.2
2020-05-22 20:00:28 +02:00
David Sherret
ee71099492
fix(fmt): Do not panic on new expr with no parens. ( #5734 )
...
Closes #5567
2020-05-21 20:43:32 -04:00
Ryan Dahl
49dda23f6b
v1.0.1
2020-05-20 12:40:26 -04:00
David Sherret
91d576aa5a
Update dprint 0.18.4 ( #5671 )
...
Fixes trailing comma issue
2020-05-20 10:30:33 -04:00
David Sherret
a054250a2c
Update to dprint 0.18.3 and the latest version of swc ( #5509 )
2020-05-17 18:56:22 +02:00
Bartek Iwańczuk
55d2c6bd10
v1.0.0
2020-05-13 18:07:15 -04:00
Bartek Iwańczuk
35e8bc8de6
v1.0.0-rc3
2020-05-12 08:33:18 -04:00
Ryan Dahl
73d8fa74c6
BREAKING: There is no public Rust API for the CLI ( #5226 )
2020-05-11 17:33:36 -04:00
David Sherret
e9318aa2c0
Update to dprint 0.17.2 ( #5195 )
2020-05-10 08:49:00 -04:00
Bartek Iwańczuk
d8f5b37218
1.0.0-rc2
2020-05-09 15:37:22 -04:00
Ryan Dahl
2b15e53d5a
Upgrade crates ( #5104 )
2020-05-06 10:10:51 -04:00
Ryan Dahl
5f67a202ff
v1.0.0-rc1
2020-05-04 15:46:39 -04:00
David Sherret
60f2d57fb7
feat(fmt): Add deno-fmt-ignore
and deno-fmt-ignore-file
comment support ( #5075 )
2020-05-04 15:17:15 -04:00
David Sherret
3e72d63205
fix(fmt): Format abstract async
as abstract async
( #5020 )
2020-04-30 21:05:30 +02:00
Bartek Iwańczuk
f79cb08e0b
feat: add SWC dependency analyzer ( #5015 )
...
This commit adds "analyze_dependencies" function that uses SWC
(by the means of AstParser) to perform analysis of static and dynamic
imports.
2020-04-30 20:18:50 +02:00
Bartek Iwańczuk
f92bb9cf4d
v0.42.0
2020-04-29 17:04:05 -04:00
David Sherret
f899d76667
Fix stdin not formatting JSX ( #4971 )
2020-04-28 15:17:40 -04:00
David Sherret
c43aaa3996
upgrade: dprint 0.13.1 ( #4853 )
...
* Allows union and intersection types to have same multi-line behaviour as arguments (more like prettier).
* Stops line breaks before `extends` in conditional type, which would have been a parser error.
* Check for `// dprint-ignore-file` comment before parsing. This allow files that panic in swc to be ignored.
* Fixes a bug in "multi-line" detection.
2020-04-22 19:20:38 -04:00
David Sherret
5292d24e6f
upgrade: dprint 0.13.0 ( #4816 )
2020-04-19 13:26:17 +02:00
Bartek Iwańczuk
00fa4858b0
v0.41.0
2020-04-16 10:47:12 -04:00
Ryan Dahl
cb5dd69dda
upgrade: rust crates ( #4742 )
2020-04-14 09:31:29 -04:00
Ryan Dahl
0cf4ac91e6
v0.40.0
2020-04-08 14:59:06 -04:00
Ryan Dahl
b7e673ba93
upgrade: rust crates ( #4679 )
2020-04-08 14:29:42 -04:00
Ryan Dahl
cb0acfe305
v0.39.0
2020-04-03 14:38:56 -04:00
Bartek Iwańczuk
efb022a50c
upgrade dprint to 0.9.10 ( #4601 )
2020-04-03 18:35:03 +02:00
Ryan Dahl
d6cb3892d4
v0.38.0
2020-03-28 15:26:58 -04:00
Bartek Iwańczuk
3fac487461
feat: Add "deno doc" subcommand ( #4500 )
2020-03-28 14:16:57 -04:00
Kitson Kelly
1397b8e0e7
upgrade: dprint 0.9.6 ( #4509 )
2020-03-28 10:04:18 -04:00
Ryan Dahl
2874664e91
feat: Support Inspector / Chrome Devtools ( #4484 )
...
This is a first pass implementation which is still missing several important
features:
- support for --inspect-brk (#4503 )
- support for source maps (#4501 )
- support for piping console.log to devtools console (#4502 )
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Matt Harrison <mt.harrison86@gmail.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-03-27 16:09:51 -04:00
Ryan Dahl
fd432e2346
upgrade: dprint 0.9.5 ( #4491 )
2020-03-25 17:24:26 -04:00
João Souto
70a5034431
feat: Support Unix Domain Sockets ( #4176 )
2020-03-23 18:02:51 -04:00
Ryan Dahl
b924e5ab7e
v0.37.1
2020-03-23 17:14:34 -04:00
Ryan Dahl
d143fe61bc
v0.37.0
2020-03-23 12:28:27 -04:00
bartOssh
ec07386067
feat: first pass at "deno upgrade" ( #4328 )
2020-03-23 11:37:24 -04:00
dubiousjim
69303e2149
refactor: move code from fs.rs into ops/fs.rs ( #4428 )
...
This a complex boring PR that shifts around code (primarily) in cli/fs.rs and
cli/ops/fs.rs. The gain of this refactoring is to ease the way for #4188 and
#4017 , and also to avoid some future development pain.
Mostly there is no change in functionality. Except:
* squashed bugs where op_utime and op_chown weren't using `resolve_from_cwd`
* eliminated the use of the external `remove_dir_all` crate.
* op_chmod now only queries metadata to verify file/dir exists on Windows (it
will already fail on Unix if it doesn't)
* op_chown now verifies the file/dir's existence on Windows like chmod does.
2020-03-20 09:46:26 -04:00
Bert Belder
a2b2851582
Upgrade rust crates ( #4412 )
2020-03-17 17:42:22 -07:00
Bartek Iwańczuk
bf51f7b2ec
replace source-mappings-map with rust-sourcemap ( #4368 )
2020-03-14 22:10:23 +01:00
Ryan Dahl
3ed6ccc905
v0.36.0
2020-03-11 19:13:01 -04:00
Ryan Dahl
dad8036766
upgrade: dprint 0.8.0 ( #4308 )
2020-03-10 01:01:33 +01:00
Ryan Dahl
18076db8f0
upgrade rust dependencies ( #4270 )
2020-03-07 15:51:23 -05:00
Ryan Dahl
a29343c7d6
v0.35.0
2020-02-28 23:49:49 -05:00
Ryan Dahl
3eebef39c5
upgrade: dprint 0.7.0 ( #4130 )
...
* upgrade: dprint 0.7.0
Also make deno fmt less verbose (like cargo fmt)
2020-02-26 11:50:53 +01:00
Kevin (Kun) "Kassimo" Qian
5946808f66
tty: Deno.setRaw(rid, mode) to turn on/off raw mode ( #3958 )
2020-02-26 01:01:24 -05:00
João Souto
5c1ab080cd
Remove ansi_term dependency ( #4116 )
2020-02-24 19:30:17 -05:00
Ryan Dahl
4005174f6c
Revert "Remove ansi_term dependency"
...
Broke colors
https://github.com/denoland/deno/issues/4112#issuecomment-590545385
This reverts commit c250778704
.
2020-02-24 17:18:15 -05:00
João Souto
c250778704
Remove ansi_term dependency ( #4106 )
2020-02-24 10:29:56 -05:00
EnokMan
14129b6c8f
feat: support brotli compression for fetch API ( #4082 )
2020-02-23 09:37:43 -05:00
Bartek Iwańczuk
bd640bc7e6
feat: Deno.fsEvents() ( #3452 )
2020-02-21 13:21:51 -05:00
hazæ41
08686cbc3a
feat: support UDP sockets ( #3946 )
2020-02-21 11:26:54 -05:00
木杉
6dd9643845
upgrade: dprint 0.6.1 ( #4061 )
2020-02-21 00:13:11 -05:00
Ryan Dahl
a0d3b4ebc5
v0.34.0
2020-02-20 10:57:42 -05:00
Ryan Dahl
f0f807c524
upgrade: dprint 0.6.0 ( #4026 )
2020-02-18 10:34:24 -05:00
Bartek Iwańczuk
95563476f6
fix(deno test): support directories as arguments ( #4011 )
2020-02-17 13:11:45 -05:00
Ryan Dahl
87c329c45a
v0.33.0
2020-02-13 17:45:22 -05:00
Ryan Dahl
e1105a1594
upgrade: dprint-plugin-typescript 0.5.0 ( #3952 )
2020-02-10 19:08:49 +01:00
Ryan Dahl
161cf7cdfd
refactor: Use Tokio's single-threaded runtime ( #3844 )
...
This change simplifies how we execute V8. Previously V8 Isolates jumped
around threads every time they were woken up. This was overly complex and
potentially hurting performance in a myriad ways. Now isolates run on
their own dedicated thread and never move.
- blocking_json spawns a thread and does not use a thread pool
- op_host_poll_worker and op_host_resume_worker are non-operational
- removes Worker::get_message and Worker::post_message
- ThreadSafeState::workers table contains WorkerChannel entries instead
of actual Worker instances.
- MainWorker and CompilerWorker are no longer Futures.
- The multi-threaded version of deno_core_http_bench was removed.
- AyncOps no longer need to be Send + Sync
This PR is very large and several tests were disabled to speed
integration:
- installer_test_local_module_run
- installer_test_remote_module_run
- _015_duplicate_parallel_import
- _026_workers
2020-02-03 18:08:44 -05:00
Ryan Dahl
0471243334
upgrade: dprint 0.3.0-alpha.6
2020-02-03 15:52:32 -05:00
Bartek Iwańczuk
f4cc08c4fc
v0.32.0
2020-02-03 16:36:07 +01:00
Bartek Iwańczuk
c7a2a33ea1
chore: upgrade dprint ( #3842 )
2020-01-31 11:06:42 +01:00
Bartek Iwańczuk
73a3cc21d0
feat: dprint formatter ( #3820 )
...
* rewrite fmt_test in Rust, remove tools/fmt_test.py
* remove //std/prettier
2020-01-29 21:16:48 -05:00
Ryan Dahl
8bc639a23e
v0.31.0
2020-01-24 11:07:53 -05:00
Bartek Iwańczuk
63293a90e1
refactor: snapshotting ( #3753 )
2020-01-22 23:58:13 +01:00
Ryan Dahl
7fd50065a7
v0.30.1
...
This patch release is being done only to test crate publishing, hence
lack of release notes or published binaries.
2020-01-21 12:44:05 -05:00
Bartek Iwańczuk
c90036ab88
refactor: reduce number of ErrorKind variants ( #3662 )
2020-01-20 10:50:16 -05:00
Ryan Dahl
b2f01dcb50
v0.30.0
2020-01-18 07:58:49 -05:00
Ry Dahl
aedf8721cf
Upgrade crate deps ( #3699 )
...
Remove unused tokio-executor dep
2020-01-17 13:57:56 -05:00
Bartek Iwańczuk
8fac8ab130
upgrade: tokio 0.2.9, reqwest 0.10.1 ( #3653 )
2020-01-12 10:21:53 +01:00
EnokMan
1ea06f9c84
Add gzip, brotli and ETag support for file fetcher ( #3597 )
2020-01-11 11:11:05 +01:00
Ryan Dahl
525784e564
v0.29.0
2020-01-09 11:42:24 -07:00
Bert Belder
52a0f3a5ef
Upgrade rust crates and modernize hyper_hello ( #3606 )
2020-01-05 23:12:35 +01:00
Ry Dahl
76e44ddfd0
Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' ( #3600 )
2020-01-05 11:56:18 -05:00
Ryan Dahl
a61966a243
v0.28.1
2020-01-03 09:04:04 -05:00
Bartek Iwańczuk
5e61af7447
chore: disable default reqwest features ( #3586 )
2020-01-03 14:15:19 +01:00
Ry Dahl
bfab4ed0df
Happy new year! ( #3578 )
2020-01-02 15:13:47 -05:00
Ry Dahl
328fef9cd6
v0.28.0
2020-01-02 08:41:25 -05:00
Bartek Iwańczuk
05dce90165
bump reqwest to 0.10.0 ( #3567 )
2019-12-30 20:14:52 +01:00
Bartek Iwańczuk
46d76a7562
upgrade: Tokio 0.2 ( #3418 )
2019-12-30 14:57:17 +01:00
Ryan Dahl
fcae4a7c0d
v0.27.0
2019-12-18 18:48:41 -05:00
Ryan Dahl
0ce9011edc
v0.26.0
2019-12-05 21:41:16 -05:00
Andy Finch
7c3b9b4f4f
feat: first pass at native plugins ( #3372 )
2019-12-05 15:30:20 -05:00
Ryan Dahl
2cd22b5437
v0.25.0
2019-11-26 10:01:59 -08:00
Bartek Iwańczuk
f437521afb
chore: remove unneeded tokio deps ( #3376 )
2019-11-18 21:11:50 -05:00
Bartek Iwańczuk
8f9a942cb9
Use futures 0.3 API ( #3358 )
2019-11-16 19:17:47 -05:00
Ryan Dahl
0fffef8e5a
v0.24.0
2019-11-14 22:52:58 -05:00
Kevin (Kun) "Kassimo" Qian
4189cc1ab5
Loader: support .wasm imports ( #3328 )
...
* loader: support .wasm imports
* http_server: true
* Support named exports
* Clippy
2019-11-14 08:31:39 -05:00
Bert Belder
adab69bccc
Upgrade rust crates ( #3292 )
2019-11-07 16:21:51 -08:00
Ryan Dahl
a611788834
v0.23.0
2019-11-04 19:46:27 -05:00
Ryan Dahl
71efe6f2c5
v0.22.0
2019-10-28 14:12:12 -04:00
Bartek Iwańczuk
492b87d460
Add error handling for minimal dispatch ( #3176 )
2019-10-24 17:22:31 -04:00
Ryan Dahl
4e88ba9a11
v0.21.0
2019-10-19 18:46:02 -04:00
Ryan Dahl
a4b27db21a
v0.20.0
2019-10-07 12:57:29 -04:00
Ryan Dahl
b81e5db17a
Merge deno_cli_snapshots into deno_cli ( #3064 )
2019-10-04 20:28:51 -04:00
Kevin (Kun) "Kassimo" Qian
6efca6d1a1
Add Deno.hostname() ( #3032 )
2019-09-27 19:09:42 -04:00
Ryan Dahl
3892cf5901
v0.19.0
2019-09-25 10:58:35 -04:00
Jonathon Orsi
045e74bb39
feat: Add Deno.dialTLS()
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-23 15:12:42 -04:00
Ryan Dahl
9cfdc60a23
Move integration tests to //cli/tests/ ( #2964 )
...
This ensures the deno executable is properly created before running the integration tests.
Also allows deno_cli to be used as a lib. Docs are now properly generated: https://docs.rs/deno_cli/0.18.4/deno_cli/
Towards #2933
Prep for #2955
2019-09-16 21:05:14 -04:00
Ryan Dahl
c9ef182886
Make deno_cli installable via crates.io ( #2946 )
...
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and
deno_cli.
- Combines cli_snapshots and js into one directory.
- Extracts TS version at compile time rather than runtime
- Bumps version awkwardly - it was necessary to test end-to-end
publishing. Sorry.
- Adds git submodule deno_typescript/typescript
2019-09-15 18:36:27 -04:00
Ryan Dahl
7e3296dad9
v0.18.0
2019-09-13 16:40:08 -04:00
Ryan Dahl
f5afadc000
Remove old comment about gn build ( #2944 )
2019-09-13 21:45:46 +02:00
Bert Belder
ac68f628d2
Upgrade rust crates
2019-09-13 00:38:02 +02:00
Bert Belder
111b19b0a3
Remove 'integer-atomics' crate
2019-09-13 00:38:02 +02:00
Bartek Iwańczuk
acee1944b9
feat: Make integration tests rust unit tests ( #2884 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-10 11:09:54 -04:00
Ryan Dahl
35e3c06aed
Revert "feat: use trust-dns-resolver in HTTP client"
...
It caused the final executable to grow by 1.5 mb, and is not having any
other benefit.
This reverts commit 2b40fa065c
.
2019-09-09 20:35:48 -04:00
Bartek Iwańczuk
2b40fa065c
feat: use trust-dns-resolver in HTTP client ( #2847 )
2019-09-07 13:16:36 -04:00
Nayeem Rahman
8e3c879d13
Add default-run (+ clean up old references) ( #2876 )
2019-09-06 22:31:56 -04:00
Ryan Dahl
82588ec09c
v0.17.0
2019-09-04 17:15:32 -04:00
Ryan Dahl
d43b43ca78
Refactor snapshot build ( #2825 )
...
Instead of using core/snapshot_creator.rs, instead two crates are
introduced which allow building the snapshot during build.rs.
Rollup is removed and replaced with our own bundler. This removes
the Node build dependency. Modules in //js now use Deno-style imports
with file extensions, rather than Node style extensionless imports.
This improves incremental build time when changes are made to //js files
by about 40 seconds.
2019-09-02 17:07:11 -04:00
Bert Belder
840c4aa2b2
third_party: add 'reqwest' crate and dependencies
2019-08-30 14:47:48 -07:00
Bert Belder
e939ec0f21
third_party: upgrade 'rustls' and related crates
2019-08-29 10:45:09 -07:00
Bert Belder
177727d730
third_party: downgrade 'url' crate to version 1.7.2
2019-08-29 10:45:09 -07:00
Ryan Dahl
f94900406d
Remove flatbuffers ( #2818 )
2019-08-26 17:02:34 -04:00
Bert Belder
47c216317f
build: enable 'derive' feature of 'serde' crate
2019-08-22 17:27:51 -07:00
Ryan Dahl
0809b06a39
v0.16.0
2019-08-22 15:11:22 -07:00
Bert Belder
7f9c6decc8
third_party: upgrade rust crates
2019-08-22 14:22:25 -07:00
Ryan Dahl
58f0e9b9b1
v0.15.0
2019-08-13 18:35:04 -04:00
Bert Belder
83d5362f1d
v0.14.0
2019-08-09 03:03:27 +02:00
Bert Belder
c6861b537e
third_party: upgrade rust crates
2019-08-02 18:59:54 +02:00
Ryan Dahl
b3541c38f5
v0.13.0
2019-07-31 15:09:06 -04:00
Ryan Dahl
4e248ecda9
v0.12.0
2019-07-16 16:08:50 -04:00
Ryan Dahl
92ac616708
v0.11.0
2019-07-07 12:17:46 -04:00
Ryan Dahl
c56df45355
v0.10.0
2019-06-25 07:09:46 -07:00
Ryan Dahl
3a4d88475b
Port code from Cargo and use for progress
...
A lot of its functionality is unused still, but the goal it to slowly
migrate logging functionality to it. There is also a useful progress bar
which can be ported over later - it depends on this module.
4c1fa54d10/src/cargo/util/progress.rs
2019-06-25 06:32:28 -07:00
Bert Belder
89216c7baa
third_party: add rust crate 'termcolor'
2019-06-25 06:32:28 -07:00
Matt Harrison
20f41e719d
Fix comment ( #2555 )
2019-06-21 08:21:13 -07:00
Ryan Dahl
7b06aa3734
v0.9.0
2019-06-15 09:04:57 -07:00
Bert Belder
77737707e4
third_party: upgrade rust crates
2019-06-15 15:20:02 +02:00
Bartek Iwańczuk
a115340288
feat: Import maps ( #2360 )
2019-06-09 09:08:20 -04:00
Ryan Dahl
d60bdb6350
v0.8.0
2019-06-08 15:16:34 -04:00
Bert Belder
1540b36ce7
third_party: upgrade rust crates
2019-05-30 11:28:05 -07:00
Ryan Dahl
5265bd7cb1
v0.7.0
2019-05-29 18:42:49 -04:00
Ryan Dahl
22feb74ba1
v0.6.0
2019-05-20 15:22:08 -04:00
Bert Belder
3ff240b963
third_party: add rust crate 'serde_derive'
2019-05-16 20:51:47 -07:00
Bert Belder
e9c9d71633
third_party: upgrade rust crates
2019-05-16 20:43:23 -07:00
Ryan Dahl
23aca36d52
v0.5.0
2019-05-11 17:19:21 -04:00
Bert Belder
c0341cb1af
third_party: upgrade rust crates
2019-05-11 05:03:03 +02:00
Ryan Dahl
2aae09c2b8
v0.4.0
2019-05-03 19:33:50 -04:00
Ryan Dahl
3b1e2f1ad4
v0.3.11
2019-05-03 18:05:41 -04:00
Kevin (Kun) "Kassimo" Qian
7237e9d34a
fs: add Deno.utime/Deno.utimeSync ( #2241 )
2019-05-01 05:08:11 -04:00
Ryan Dahl
40d8ef1ec9
v0.3.10
2019-04-25 13:59:18 -06:00
Ryan Dahl
e725b26b28
v0.3.9
2019-04-25 17:44:34 +02:00
Bert Belder
6caf865507
third_party: upgrade rust crates
2019-04-23 18:01:57 +02:00
Kevin (Kun) "Kassimo" Qian
1d4b92ac85
Add Deno.kill(pid, signo) and process.kill(signo) (Unix only) ( #2177 )
2019-04-21 21:26:56 -04:00
Ryan Dahl
0796a8f2f7
v0.3.8
2019-04-19 11:41:13 -04:00
Bert Belder
90c2b10f47
Add cli dependency on tokio-rustls
2019-04-17 14:02:20 +02:00
Bert Belder
97f0fe7437
third_party: upgrade rust crates
2019-04-15 18:56:29 +02:00
Ryan Dahl
8584d80cfd
v0.3.7
2019-04-11 15:35:21 -04:00
Bartek Iwańczuk
780e72ab6a
Refactor CLI flag parsing ( #2025 )
2019-04-07 01:13:06 +03:00
Ryan Dahl
744e56cb58
v0.3.6
2019-04-04 09:59:41 -04:00
Bert Belder
ff1c80d6d8
third_party: add rust crate 'clap'
2019-03-31 17:55:03 -04:00
Ryan Dahl
e9910d8ae5
Rename crate deno_core to deno ( #2022 )
2019-03-30 19:30:40 -04:00
Ryan Dahl
c9614d86c1
Move //libdeno to //core/libdeno ( #2015 )
...
Fixes some sed errors introduced in c43cfe.
Unfortunately moving libdeno required splitting build.rs into two parts,
one for cli and one for core.
I've also removed the arm64 build - it's complicating things at this
re-org and we're not even testing it. I need to swing back to it and get
tools/test.py running for it.
2019-03-30 14:45:36 -04:00