summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-25feat(cli): add test permissions to Deno.test (#10188)Casper Beyer
This commits adds adds "permissions" option to the test definitions which allows tests to run with different permission sets than the process's permission. The change will only be in effect within the test function, once the test has completed the original process permission set is restored. Test permissions cannot exceed the process's permission. You can only narrow or drop permissions, failure to acquire a permission results in an error being thrown and the test case will fail.
2021-04-26fix(#10362): include range for export statements (#10369)Satya Rohith
Fixes #10362
2021-04-26refactor(cli): rename Deno.emit() bundle options to "module" and "classic" ↵Nayeem Rahman
(#10332)
2021-04-25refactor(core): move op cache sync responsibility to rust space (#10340)Aaron O'Mullan
Even if bootstrapping the JS runtime is low level, it's an abstraction leak of core to require users to call `Deno.core.ops()` in JS space. So instead we're introducing a `JsRuntime::sync_ops_cache()` method, once we have runtime extensions a new runtime will ensure the ops cache is setup (for the provided extensions) and then loading/unloading plugins should be the only operations that require op cache syncs
2021-04-25refactor(core): move builtin ops to their own file (#10336)Aaron O'Mullan
2021-04-25feat(core): allow async opcalls in snapshots (#10308)Aaron O'Mullan
2021-04-25fix(cli/dts): sleepSync doesn't return a Promise (#10358)Aaron O'Mullan
Per its name its synchronous for the current thread
2021-04-24feat(cli/upgrade): add download progress (#10343)crowlKats
2021-04-24ci: only run WPT on linux (#10351)Ryan Dahl
2021-04-24docs: updated link (#10345)Anssi Eteläniemi
2021-04-23refactor: use 'data-url' crate to process data URLs in lsp & file_fetcher ↵Satya Rohith
(#10196) Closes: #10118
2021-04-23fix(op_crates/fetch): Prevent throwing when inspecting a request (#10335)Jesse Jackson
Fixes: #10334
2021-04-23Key CI cache on build profile (#10333)Ryan Dahl
We are aware that "lint debug ubuntu" and "test debug ubuntu" are sharing caches - and that it is not ideal. Likely the lint cache will be written first, and test-debug will have to build extra. However neither are the bottleneck now. We proceed on the assumption that we're hitting the 5 GB cache limit on a single PR, inducing a forever-rolling behavior. If "test debug ubuntu" becomes the bottleneck in the future we will revisit.
2021-04-23Use ubuntu-latest-xl on more CI jobs (#10322)Ryan Dahl
2021-04-23refactor(core): rename send() to opcall() (#10307)Aaron O'Mullan
I think it's a better fit since recv() was killed and opcall <> syscall (send/recv was too reminiscent of request/response and custom payloads)
2021-04-231.9.2Luca Casonato
2021-04-23chore: release crates (#10327)Luca Casonato
Release crates for the cli 1.9.2 release.
2021-04-23chore: update dependencies (#10325)Luca Casonato
This updates swc_* crates to latest, and various other deps.
2021-04-23fix(runtime/js/http): cancel body on response failure (#10225)Nayeem Rahman
2021-04-23fix(cli): standalone bin corruption on M1 (#10311)Aaron O'Mullan
2021-04-23fix(op_crates/webgpu): move non-null op buffer arg check when needed (#10319)crowlKats
2021-04-23chore: remove dead code (#10321)Ryan Dahl
2021-04-23fix: parse websocket messages correctly (#10318)Luca Casonato
2021-04-22fix(#10292): Don't gray-out internal frames (#10293)Ryan Dahl
2021-04-22ci: separate cache for cargo home and build output (#10306)Yoshiya Hinosawa
2021-04-21fix(#10302): flaky worker test (#10303)Ryan Dahl
2021-04-21refactor(core): simplify error handling (#10297)Aaron O'Mullan
- register builtin v8 errors in core.js so consumers don't have to - remove complexity of error args handling (consumers must provide a constructor with custom args, core simply provides msg arg)
2021-04-21refactor(core): kill recv() and init() (#10299)Aaron O'Mullan
`init()` was previously needed to init the shared queue, but now that it's gone `init()` only registers the async msg handler which is snapshot safe and constant since the op layer refactor.
2021-04-22chore: clean cache (#10290)Ryan Dahl
2021-04-21fix(fetch): Response inspect regression (#10295)Aaron O'Mullan
2021-04-22docs: document Deno's HTTP Server API (#10280)Kitson Kelly
Co-authored-by: Satya Rohith <me@satyarohith.com>
2021-04-21fix: do not panic on not found cwd (#10238)Satya Rohith
2021-04-21fix(installer): Remove double '.' from temporary archive extension on ↵Nicholas Rodrigues Lordello
upgrade (#10289)
2021-04-21docs: Deno.emit supports bundling as IIFE (#10242)Zeno Zeng
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-04-21docs(manual/wasm): add more example code. (#10250)grian
2021-04-21build: use Node 16 in CI (#10270)Ryan Dahl
2021-04-21docs: mention docker support (#9618)Christopher Dieringer
2021-04-21fix(lsp): document symbol performance mark (#10264)Jean Pierre
2021-04-21v1.9.1Bartek Iwańczuk
2021-04-21chore: release crates (#10269)Bartek Iwańczuk
* Revert "tooling(bench_util): benching and profiling utilities (#10223)" This reverts commit 733a00030582375c43fa156e978f25df6ecc9e9a. * Upgrade notify
2021-04-20chore: upgrade deno_doc, deno_lint (#10268)Bartek Iwańczuk
2021-04-20chore: add readme for cutting release (#10070)Bartek Iwańczuk
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-04-20fix(runtime): include HTTP op in WebWorker (#10207)Satya Rohith
2021-04-20chore: align fetch to spec (#10203)Luca Casonato
This commit aligns the `fetch` API and the `Request` / `Response` classes belonging to it to the spec. This commit enables all the relevant `fetch` WPT tests. Spec compliance is now at around 90%. Performance is essentially identical now (within 1% of 1.9.0).
2021-04-20fix(#10031): lsp handles x-typescript-types header on type only imports ↵Kitson Kelly
properly (#10261)
2021-04-20chore: update copyright headers (#10243)Yoshiya Hinosawa
2021-04-20feat(lsp): Implement textDocument/documentSymbol (#9981)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-20feat(lsp): Implement textDocument/semanticTokens/full (#10233)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-20revert: Conn type changes in #10012 and #10061 (#10255)Kitson Kelly
Fixes #10200 (again) This reverts commit 9c7c9a35c12625bd4793c21539391d6b08d17e73 and a8057e3e06962a8d7c6330a085704bb4493eed04.
2021-04-20docs: Incorrect tsconfig option name (#10140)caucik
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>