1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-03 17:08:35 -05:00
Commit graph

7288 commits

Author SHA1 Message Date
David Sherret
23b4a360bb
fix(test): capture worker stdout and stderr in test output (#14410) 2022-04-28 19:17:44 +02:00
Baoshuo Ren
ededfa2c15
chore: remove git.io link (#14402)
All links on git.io will stop redirecting after April 29, 2022.

- https://github.blog/changelog/2022-04-25-git-io-deprecation/
2022-04-28 19:17:39 +02:00
David Sherret
33e5da0d68
fix(test): capture inherited stdout and stderr for subprocesses in test output (#14395) 2022-04-28 19:17:36 +02:00
David Sherret
7c53728b1d
chore: fix pty_complete_imports test (#14400) 2022-04-28 19:17:33 +02:00
Nayeem Rahman
bd362df7f3
refactor(core): Remove ErrWithV8Handle (#14394) 2022-04-28 19:17:27 +02:00
David Sherret
4569851c03
refactor(ops/process): add StdioOrRid enum (#14393) 2022-04-28 19:17:23 +02:00
Aaron O'Mullan
0c9f11bacf
chore: deno_http v0.43.1 (#14392) 2022-04-28 19:17:21 +02:00
Divy Srivastava
cb6f596af8
fix(ext/http): truncate read bytes when streaming bodies (#14389)
stream shutdown wasn't happening correctly (moved it to call op_http_shutdown) & extra zeroed bytes were being sent for when body length not a multiple of 64*1024
2022-04-28 19:16:17 +02:00
David Sherret
8be947eed1
refactor(lsp): store all the assets in Rust when initializing (#14367) 2022-04-28 19:16:14 +02:00
Aaron O'Mullan
50e6c5917a
cleanup(serde_v8): disambiguate ZeroCopyBuf (#14380) 2022-04-28 19:16:11 +02:00
Divy Srivastava
b9abe45ee4
perf(ext/http): fast path for uncompressed bodies (#14366) 2022-04-28 19:15:56 +02:00
Aaron O'Mullan
2139773cbb
perf(ext/http): faster is_content_compressible (#14383)
Cleanup + benches
2022-04-28 19:15:53 +02:00
Bartek Iwańczuk
37e534dac5
feat: change shade of "gray" color in eye-catchers (#14309)
This commit changes "gray" color for eye-catchers to use 
Ansi(245) color.
2022-04-28 19:15:47 +02:00
Nayeem Rahman
bf5eea0cc6
fix(runtime/js/spawn): Pass stdio options for spawn() and spawnSync() (#14358) 2022-04-28 19:15:43 +02:00
Aaron O'Mullan
854a804f20
perf(serde_v8): zero-copy StringOrBuffer (#14381) 2022-04-28 19:15:38 +02:00
Divy Srivastava
b225c8e7d3
chore(ext/fetch): custom arity (#14198) 2022-04-28 19:15:35 +02:00
evan
9ae677ef6a
fix(bench): eliminate sanitizeExit overhead (#14361) 2022-04-28 19:15:31 +02:00
evan
059409d0c3
fix(bench): report pending summary before clearing (#14369) 2022-04-28 19:15:28 +02:00
David Sherret
fec28daf3c
chore(tests): fix pty_clear_function on Windows (#14364) 2022-04-28 19:15:25 +02:00
Luca Casonato
d14bd135ab
chore: bump crates (#14365) 2022-04-28 19:15:20 +02:00
Luca Casonato
4e9d1c7260
tests: unflake streaming compression tests (#14363) 2022-04-28 19:15:16 +02:00
evan
34e4d6eb9c
fix(bench): reset reporter context (#14360)
This commit fixes previous file benchmarks leaking into the next file benchmarks summary.
2022-04-28 19:15:12 +02:00
Divy Srivastava
fe40451a15
Reland "perf(http): optimize ReadableStreams backed by a resource" (#14346) 2022-04-28 19:15:08 +02:00
David Sherret
45dc49206a
chore: add release step failure instructions (#14352) 2022-04-28 19:15:05 +02:00
David Sherret
5be4a942ae
chore(ci): skip ci cache when doing a release (#14350) 2022-04-28 19:14:58 +02:00
Bartek Iwańczuk
3215c26053
fix(watcher): don't clear screen on start (#14351) 2022-04-28 19:14:54 +02:00
David Sherret
6df777b3f5
chore(scripts): allow running version_bump workflow without releasing deno_std yet (#14341) 2022-04-28 19:14:47 +02:00
ayame113
e51ad003c4
chore(cli/dts): fix the display of the Deno.spawnSync() document (#14342) 2022-04-28 19:14:40 +02:00
Divy Srivastava
5aaa6d5206
Reland "feat(ext/http): stream auto resp body compression" (#14345) 2022-04-28 19:13:56 +02:00
denobot
29c8cd8aae
1.21.0 (#14336)
Co-authored-by: ry <ry@users.noreply.github.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-20 21:50:16 -04:00
Bartek Iwańczuk
03019e7781
Revert various PRs related to "ext/http" (#14339)
* Revert "feat(ext/http): stream auto resp body compression (#14325)"
* Revert "core: introduce `resource.read_return` (#14331)"
* Revert "perf(http): optimize `ReadableStream`s backed by a resource (#14284)"
2022-04-21 02:22:55 +02:00
David Sherret
aaaa877d91
chore: fix version bump credentials (#14338) 2022-04-20 19:57:22 -04:00
Ryan Dahl
78c9cd9789
upgrade: rusty_v8 0.42.0 (#14334) 2022-04-20 19:13:31 -04:00
Leo Kettmeir
8a7539cab3
feat(runtime): two-tier subprocess API (#11618) 2022-04-21 00:20:33 +02:00
Luca Casonato
8b25807054
feat(ext/http): stream auto resp body compression (#14325)
This commit adds support for auto response body compression for
streaming bodies.
2022-04-20 22:53:56 +02:00
Colin Ihrig
2a93c134dc
feat(repl): add global clear() function (#14332)
This commit adds a clear() function in the REPL which works
similar to console.clear().
2022-04-20 15:48:15 -04:00
evan
f785ecee1a
feat(bench): update API, new console reporter (#14305)
This commit changes "deno bench" subcommand, by updating
the "Deno.bench" API as follows:
- remove "Deno.BenchDefinition.n"
- remove "Deno.BenchDefintion.warmup"
- add "Deno.BenchDefinition.group"
- add "Deno.BenchDefintion.baseline"

This is done because bench cases are no longer run fixed amount
of iterations, but instead they are run until there is difference between
subsequent runs that is statistically insiginificant.

Additionally, console reporter was rewritten completely, to looks
similar to "hyperfine" reporter.
2022-04-20 21:06:39 +02:00
Divy Srivastava
2612b6f20f
core: introduce resource.read_return (#14331) 2022-04-20 18:39:13 +02:00
Divy Srivastava
57a8fc37fc
perf(http): optimize ReadableStreams backed by a resource (#14284) 2022-04-20 18:16:44 +05:30
Naju Mancheril
3833d37b15
feat(repl): add "--eval-file" flag to execute a script file on startup (#14247)
This commit adds support for "--eval-file" in "deno repl" subcommand.

This flag can be used to pass paths or URLs to files, that will be executed
on REPL startup. All files will be executed in the same context as the REPL
(ie. as "plain old scripts", not ES modules), sharing the global scope.

This feature allows to implement custom REPLs on top of Deno's REPL.
2022-04-20 14:16:37 +02:00
David Sherret
ae479b1036
perf(fmt/lint): incremental formatting and linting (#14314) 2022-04-19 22:14:00 -04:00
Luca Casonato
803499886b
Remove the DENO_FUTURE_CHECK warning (#14320)
It has good intentions, but it is a really terrible user experience. As
such we shouldn't print this warning.
2022-04-19 17:08:23 +02:00
Divy Srivastava
1c05e41f37
perf(runtime): bypass tokio file and bump op buffer size to 64K (#14319) 2022-04-19 20:11:31 +05:30
David Sherret
3d1123f8b0
fix: --watch was losing items (#14317) 2022-04-19 10:12:30 -04:00
Nayeem Rahman
c30d95f2e3
feat(ext/web): add globalThis.reportError() (#13799) 2022-04-19 10:59:51 +02:00
David Sherret
a64e63c361
perf: move Deno.writeTextFile and like functions to Rust (#14221)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-04-18 18:00:14 -04:00
Luca Casonato
ca3b20df3c
chore: update wpt (#14313) 2022-04-18 21:17:19 +02:00
Nayeem Rahman
66fbdd2ed4
feat: Add DENO_NO_PROMPT variable (#14209)
This commit adds support for "DENO_NO_PROMPT" env
variable, that can be used instead of "--no-prompt" flag
to completely disable permission prompts.
2022-04-18 21:08:30 +02:00
David Sherret
bf804d3fff
fix(fmt): regression where some short if stmt headers being split on multiple lines (#14292)
Closes #14291
2022-04-18 14:32:16 -04:00
Nayeem Rahman
2f29673fb2
fix(cli/emit): Check JS roots with // @ts-check (#14090) 2022-04-18 16:52:26 +02:00