Commit Graph

7220 Commits

Author SHA1 Message Date
denobot
3ad1535e48
1.20.6 (#14286)
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-14 14:56:45 -04:00
Bartek Iwańczuk
8579e93ae2 chore: use lock file for tooling scripts (#14253)
This commit adds lock file for maintenance scripts in "tools/"
directory. 

The lock file is stored in "tools/deno.lock.json".
2022-04-14 13:17:25 -04:00
Bartek Iwańczuk
59bc0c92c6 chore: rephrase env var help (#14270) 2022-04-14 13:17:25 -04:00
Nayeem Rahman
73e55d4baf refactor(core/error): Clarify JsError message fields (#14269) 2022-04-14 13:17:25 -04:00
AEtheve
edcccb0d5f fix(test): Don't error on missing op details (#14184) 2022-04-14 13:17:25 -04:00
Bartek Iwańczuk
54045a7fc5 chore: add info about DENO_FUTURE_CHECK env var to --help (#14267) 2022-04-14 13:17:24 -04:00
Nayeem Rahman
177cf5d734 feat(ext/web): Add error events for event listener and timer errors (#14159)
- feat: Add handleable error event for even listener errors
- feat: Add handleable error event for setTimeout()/setInterval() errors
- feat: Add Deno.core.destructureError()
- feat: Add Deno.core.terminate()
- fix: Don't throw listener errors from dispatchEvent()
- fix: Use biased mode when selecting between mod_evaluate() and
  run_event_loop() results
2022-04-14 13:17:24 -04:00
Aaron O'Mullan
3971e0eb6b fix(serde_v8): more robust number deserialization (#14216)
Fixes #14128
2022-04-14 13:17:24 -04:00
Bartek Iwańczuk
adbd91372d chore: use local copy of std in tools/bench/ scripts (#14251) 2022-04-14 13:17:24 -04:00
Ryan Dahl
85d3b94820 refactor: improve help text (#14249) 2022-04-14 13:17:24 -04:00
David Sherret
d95e03d77b chore: update release instructions based on 1.20.5 release (#14239) 2022-04-14 13:17:24 -04:00
David Sherret
7a71b7428f fix: upgrade to swc_ecmascript 0.143 (#14238) 2022-04-14 13:17:23 -04:00
Aaron O'Mullan
2363916b37 refactor(core): OpCtx (#14228) 2022-04-14 13:17:23 -04:00
github-actions[bot]
d2c0940838 1.20.5 (#14230)
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-07 12:38:26 -04:00
Yoshiya Hinosawa
9df06c346f feat(unstable): add ref/unref to Listener (#13961)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-04-07 10:32:22 -04:00
EduM22
4b853611ba fix(ext/crypto): check extractable in exportKey (#14222) 2022-04-07 09:42:33 -04:00
Valentin Anger
43a18205da fix(cli/install): preserve compat flag (#14223) 2022-04-07 09:42:33 -04:00
David Sherret
64a9384efa chore(ci): automatically open PR to forward patch release back to main (#14180) 2022-04-07 09:42:33 -04:00
David Sherret
224893ee2b chore(ci): update deno_std release steps (#14178) 2022-04-07 09:42:33 -04:00
Divy Srivastava
6067b3a155 chore(ext/websocket): custom arity (#14202) 2022-04-07 09:42:33 -04:00
Divy Srivastava
0a0a00886f chore(ext/http): custom arity (#14200) 2022-04-07 09:42:33 -04:00
Divy Srivastava
71cbb8be70 chore(ext/broadcast_channel): custom arity (#14199) 2022-04-07 09:42:33 -04:00
Divy Srivastava
4fffc0af19 chore(ext/webstorage): custom arity (#14201) 2022-04-07 09:42:33 -04:00
Divy Srivastava
5b234ca270 chore(ext/url): cleanup url ops (#14177) 2022-04-07 09:42:33 -04:00
Jason
506c7b5a25 refactor(lsp): migrate from lspower back to tower-lsp (#14163) 2022-04-07 09:42:33 -04:00
Bartek Iwańczuk
6311834164 chore: update tokio, tokio-util and libc dependencies (#14174) 2022-04-07 09:42:33 -04:00
David Sherret
61b29c467e chore(ci): automatically include releases notes in release draft (#14179) 2022-04-07 09:42:33 -04:00
Aaron O'Mullan
d70d8a70fc experiment(serde_v8): derive_more enabled opaque wrappers (#14096) 2022-04-07 09:42:33 -04:00
Aaron O'Mullan
270cb10137 feat(serde_v8): DetachedBuffer (#14102) 2022-04-07 09:42:33 -04:00
Aaron O'Mullan
d3aa444755 cleanup(serde_v8): simpler ZeroCopyBuf (#14095) 2022-04-07 09:42:33 -04:00
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