Aaron O'Mullan
3cc14196e2
feat(ops): #[op(unstable)] ( #14124 )
2022-04-07 09:42:33 -04:00
David Sherret
79106d757f
chore: fix main ( #14175 )
2022-04-07 09:42:33 -04:00
David Sherret
53abcffd62
chore(tests): use custom temp dir creation for the tests ( #14153 )
2022-04-07 09:42:33 -04:00
David Sherret
294844823f
chore(ci): fix Releases.md creation and tag name ( #14166 )
2022-04-07 09:42:33 -04:00
Aaron O'Mullan
4154e95ae5
feat(core): disableable extensions & ops ( #14063 )
...
Streamlines a common middleware pattern and provides foundations for avoiding variably sized v8::ExternalReferences & enabling fully monomorphic op callpaths
2022-04-07 09:42:33 -04:00
Filip Kieres
d2ed6fdaa9
feat(core): Add JsRuntime::get_module_namespace to access the namespace object of a module ( #14026 )
2022-04-07 09:42:33 -04:00
Kitson Kelly
e696cd8e13
feat(lsp): add experimental testing API ( #13798 )
...
Ref: denoland/vscode_deno#629
2022-04-07 09:42:29 -04:00
Kitson Kelly
e19303d690
feat(lsp): support API for config file ( #14139 )
...
Closes: #13910
2022-04-07 09:04:47 -04:00
github-actions[bot]
a78f728a10
1.20.4 ( #14165 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-03-31 13:09:34 -04:00
Divy Srivastava
d5cd7c3261
fix(compile): follow redirects when resolving ( #14161 )
2022-03-31 11:33:03 -04:00
David Sherret
454a874d74
chore: disable wgpu tests in WSL ( #14157 )
2022-03-31 11:33:03 -04:00
David Sherret
bd767029e9
chore(tests): add more lsp tests for formatting ( #14155 )
2022-03-31 11:32:54 -04:00
David Sherret
16f35b5a10
build: use workflows for bumping versions and cargo publishing on the CI ( #13995 )
2022-03-30 16:49:07 -04:00
David Sherret
921d33cb11
chore: add semi-colon to compat/mod.rs export default output ( #14154 )
2022-03-30 16:49:07 -04:00
David Sherret
afd43bdff3
chore(ci): fix lsp bench due to notification that was accidentally added ( #14148 )
2022-03-30 16:49:06 -04:00
David Sherret
0d85847a36
chore: upgrade dprint-core to 0.54.1 ( #14146 )
2022-03-30 16:48:40 -04:00
Andreu Botella
542d9e7620
chore(wasm): Don't await on the argument to handleWasmStreaming
( #14000 )
...
`handleWasmStreaming` is the function that provides the binding with
the `fetch` API needed for `WebAssembly.instantiateStreaming()` and
`WebAssembly.compileStreaming()`. When I implemented it in #11200 , I
thought V8 was calling these functions with the argument of the
`WebAssembly` streaming functions, without doing any resolving, and so
`handleWasmStreaming` awaits for the parameter to resolve. However,
as discovered in
https://github.com/denoland/deno/issues/13917#issuecomment-1065805565 ,
V8 does in fact resolve the parameter if it's a promise (and handles
rejections arising from that).
This change removes the `async` IIFE inside `handleWasmStreaming`,
letting initial errors be handled synchronously (which will however
not throw synchronously from the `WebAssembly` namespace functions).
Awaiting is still necessary for reading the bytes of the response,
though, and so there is an `async` IIFE for that.
2022-03-30 16:48:40 -04:00
ichizok
cdb18a8965
fix(runtime/ops/signal.rs): Add Solaris signals ( #13931 )
2022-03-30 16:48:40 -04:00
Bartek Iwańczuk
cac8b2b5ad
refactor(flags): rename CheckFlag to TypecheckMode ( #14111 )
2022-03-30 16:48:40 -04:00
David Sherret
fad9ff5ea4
chore: fix compile_windows_ext test ( #14142 )
2022-03-30 16:48:09 -04:00
David Sherret
c43ffdadef
chore: update dprint internally to 0.24.1 ( #14141 )
2022-03-30 16:48:09 -04:00
David Sherret
6e1961ea18
fix(task): handle PATHEXT
with trailing semi-colon ( #14140 )
2022-03-30 16:48:09 -04:00
Nayeem Rahman
25c9b70890
fix(ext/fetch): extend deprecated fetch() overload with string | Request
( #14134 )
2022-03-30 16:48:09 -04:00
Kitson Kelly
11011506e1
fix(lsp): watch .jsonc files ( #14135 )
2022-03-30 16:48:09 -04:00
Robert
51ac189cd5
chore: update clap and completions ( #14136 )
2022-03-30 16:48:09 -04:00
Divy Srivastava
2d7b44dde4
perf: micro-optimize core.encode ( #14120 )
2022-03-30 16:48:08 -04:00
Luca Casonato
347da0d117
v1.20.3
2022-03-25 16:22:00 +01:00
Rafael Ávila de Espíndola
8c3f4c9562
chore: update rusqlite ( #14117 )
2022-03-25 13:33:58 +01:00
David Sherret
a5c0deb73b
fix: Deno.run
- do not modify user provided cmd
array ( #14109 )
2022-03-25 13:31:30 +01:00
Aleksandr Bukhalo
89f1842977
docs(cli): fix typo in PermissionOptionsObject
( #14114 )
2022-03-25 13:31:26 +01:00
Luca Casonato
fcfce1bb86
fix(ext/ffi): enforce unstable check on ops ( #14115 )
2022-03-25 13:31:20 +01:00
Yoshiya Hinosawa
3953059b74
fix: deprecate URL as the first arg of fetch ( #14113 )
2022-03-25 13:31:16 +01:00
apeltop
172de68920
chore(ext): fix typo in ext/webgpu, ext/fetch ( #14106 )
2022-03-25 13:31:11 +01:00
David Sherret
84afe6ae71
docs: WorkerOptions
- fix permissions description ( #14011 )
2022-03-25 13:31:06 +01:00
Aaron O'Mullan
1d774683b2
chore: drop src/ in bench_util & serde_v8 ( #14097 )
...
To align with conventions used in our other crates
2022-03-25 13:31:02 +01:00
Eliaz Bobadilla
e74ffc7fe7
ci: update actions/checkout@v2 to v3 ( #14089 )
2022-03-25 13:30:58 +01:00
Kitson Kelly
1be60627d8
1.20.2
2022-03-24 13:39:10 +11:00
Kitson Kelly
833767dd5d
tests(cli): ignore previously unignored test ( #14104 )
...
Ref: #14103
2022-03-24 13:39:10 +11:00
Aaron O'Mullan
e3c8c185f4
cleanup(serde_v8): streamline magic types ( #14076 )
...
Formalize magic types and how they're "transerialized", also makes U16String deserializable
2022-03-24 13:39:10 +11:00
Bartek Iwańczuk
8d4469eab8
fix(bench): require --unstable flag in JavaScript ( #14091 )
2022-03-24 13:39:10 +11:00
David Sherret
caf3e1b243
chore: remove all pub(crate)
s from the cli crate ( #14083 )
2022-03-24 13:39:10 +11:00
Divy Srivastava
79181898e9
perf(http): avoid Set.has() when closing connection resource ( #14085 )
2022-03-24 13:39:10 +11:00
Divy Srivastava
04d8ab9839
perf(http): avoid checking promise every request ( #14079 )
2022-03-24 13:39:10 +11:00
Bartek Iwańczuk
c7aecc1299
fix(test): don't error on missing op details ( #14074 )
2022-03-24 13:39:10 +11:00
Bartek Iwańczuk
3f805e61e2
refactor: remove loops in cli/tests/unit/http_test.ts ( #14075 )
2022-03-24 13:39:10 +11:00
Yoav Lavi
acec460ab5
fix(compat): Changes an instance of collect::<Vec<_>>().join("") to collect::<String>() ( #14082 )
2022-03-24 13:39:10 +11:00
Andreu Botella
71de0c92b8
chore(core): Remove a note that is no longer relevant. ( #14069 )
...
This note about how `v8::SnapshotCreator::create_blob` must not be
called from a `HandleScope` stopped being relevant in #6801 , and was
now attached to code that had nothing to do with `HandleScope`s.
2022-03-24 13:39:10 +11:00
David Sherret
fb6e135b3e
chore: replace .expect("...")
calls with .unwrap()
in test code ( #14081 )
2022-03-24 13:39:10 +11:00
David Sherret
c47974677e
fix(tests): do not use global env vars in install tests ( #14078 )
2022-03-24 13:39:10 +11:00
Nayeem Rahman
a90ae421dd
fix(ext/fetch): Connect async error stack with user code ( #13899 )
2022-03-24 13:39:10 +11:00