Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-26 | feat: Support deno-fmt-ignore-file for markdown formatting (#10191) | David Sherret | |
2021-04-26 | fix: invalid types for asynchronous and synchronous `File#truncate` (#10353) | Carter Snook | |
2021-04-26 | remove #![deny(warnings)] (#10376) | Ryan Dahl | |
Prefer RUSTFLAGS="-D warnings" to prevent warnings, but cannot enable yet due to #10378. | |||
2021-04-26 | fix(#10360): clarify JSDoc for `Deno.noColor` (#10373) | Carter Snook | |
Fixes #10360 Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-04-25 | feat(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-26 | fix(#10362): include range for export statements (#10369) | Satya Rohith | |
Fixes #10362 | |||
2021-04-26 | refactor(cli): rename Deno.emit() bundle options to "module" and "classic" ↵ | Nayeem Rahman | |
(#10332) | |||
2021-04-25 | refactor(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-25 | fix(cli/dts): sleepSync doesn't return a Promise (#10358) | Aaron O'Mullan | |
Per its name its synchronous for the current thread | |||
2021-04-24 | feat(cli/upgrade): add download progress (#10343) | crowlKats | |
2021-04-23 | refactor: use 'data-url' crate to process data URLs in lsp & file_fetcher ↵ | Satya Rohith | |
(#10196) Closes: #10118 | |||
2021-04-23 | fix(op_crates/fetch): Prevent throwing when inspecting a request (#10335) | Jesse Jackson | |
Fixes: #10334 | |||
2021-04-23 | Use ubuntu-latest-xl on more CI jobs (#10322) | Ryan Dahl | |
2021-04-23 | refactor(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-23 | 1.9.2 | Luca Casonato | |
2021-04-23 | chore: release crates (#10327) | Luca Casonato | |
Release crates for the cli 1.9.2 release. | |||
2021-04-23 | chore: update dependencies (#10325) | Luca Casonato | |
This updates swc_* crates to latest, and various other deps. | |||
2021-04-23 | fix(runtime/js/http): cancel body on response failure (#10225) | Nayeem Rahman | |
2021-04-23 | fix(cli): standalone bin corruption on M1 (#10311) | Aaron O'Mullan | |
2021-04-22 | fix(#10292): Don't gray-out internal frames (#10293) | Ryan Dahl | |
2021-04-21 | fix(#10302): flaky worker test (#10303) | Ryan Dahl | |
2021-04-21 | refactor(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-21 | fix(fetch): Response inspect regression (#10295) | Aaron O'Mullan | |
2021-04-21 | fix: do not panic on not found cwd (#10238) | Satya Rohith | |
2021-04-21 | fix(installer): Remove double '.' from temporary archive extension on ↵ | Nicholas Rodrigues Lordello | |
upgrade (#10289) | |||
2021-04-21 | fix(lsp): document symbol performance mark (#10264) | Jean Pierre | |
2021-04-21 | v1.9.1 | Bartek Iwańczuk | |
2021-04-21 | chore: release crates (#10269) | Bartek Iwańczuk | |
* Revert "tooling(bench_util): benching and profiling utilities (#10223)" This reverts commit 733a00030582375c43fa156e978f25df6ecc9e9a. * Upgrade notify | |||
2021-04-20 | chore: upgrade deno_doc, deno_lint (#10268) | Bartek Iwańczuk | |
2021-04-20 | fix(runtime): include HTTP op in WebWorker (#10207) | Satya Rohith | |
2021-04-20 | chore: 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-20 | fix(#10031): lsp handles x-typescript-types header on type only imports ↵ | Kitson Kelly | |
properly (#10261) | |||
2021-04-20 | chore: update copyright headers (#10243) | Yoshiya Hinosawa | |
2021-04-20 | feat(lsp): Implement textDocument/documentSymbol (#9981) | Jean Pierre | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-04-20 | feat(lsp): Implement textDocument/semanticTokens/full (#10233) | Jean Pierre | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-04-20 | revert: Conn type changes in #10012 and #10061 (#10255) | Kitson Kelly | |
Fixes #10200 (again) This reverts commit 9c7c9a35c12625bd4793c21539391d6b08d17e73 and a8057e3e06962a8d7c6330a085704bb4493eed04. | |||
2021-04-20 | fix(#10125): remove documents when closed in the lsp (#10254) | Kitson Kelly | |
Fixes #10125 | |||
2021-04-20 | feat(lsp): improve diagnostic status page (#10253) | Kitson Kelly | |
2021-04-19 | fix(rt/http): correct URL in Request (#10256) | Luca Casonato | |
This commit fixes the URL returned from `request.url` in the HTTP server to be fully qualified. This previously existed, but was removed and accidentially not readded during optimizations of the HTTP ops. Returning a non fully qualified URL from `Request#url` is not spec compliant. | |||
2021-04-19 | fix(runtime): handle race condition in postMessage where worker has ↵ | Liam Murphy | |
terminated (#10239) The panic was caused by the lack of an error class mapping for futures::channel::TrySendError, but it shouldn't have been throwing an error in the first place - when a worker has terminated, postMessage should just return. The issue was that the termination message hadn't yet been recieved, so it was carrying on with trying to send the message. This adds another check on the Rust side for if the channel is closed, and if it is the worker is treated as terminated. | |||
2021-04-19 | feat(lsp): implement textDocument/prepareCallHierarchy (#10061) | Jean Pierre | |
2021-04-19 | chore: align `Headers` to spec (#10199) | Luca Casonato | |
This commit aligns `Headers` to spec. It also removes the now unused 03_dom_iterable.js file. We now pass all relevant `Headers` WPT. We do not implement any sort of header filtering, as we are a server side runtime. This is likely not the most efficient implementation of `Headers` yet. It is however spec compliant. Once all the APIs in the `HTTP` hot loop are correct we can start optimizing them. It is likely that this commit reduces bench throughput temporarily. | |||
2021-04-18 | fix(install): use first `deno` executable on PATH rather than deno.exe (#10247) | David Sherret | |
2021-04-18 | cleanup(cli): use runtime's reg_sync() and reg_async() (#10241) | Aaron O'Mullan | |
2021-04-18 | chore: improve help text (#10186) | Ryan Dahl | |
2021-04-18 | chore(cli/lsp): fix 2 lint errors (#10228) | Aaron O'Mullan | |
1. error: called `.iter().count()` on a `Vec` 2. error: inconsistent struct constructor | |||
2021-04-16 | refactor(cli/flags): reorganize declarations (#10204) | crowlKats | |
2021-04-16 | fix(#10200): weaken types so non-breaking (#10205) | Kitson Kelly | |
Fixes #10200 | |||
2021-04-15 | fix(#10182): hang during http server response (#10197) | Ryan Dahl | |
2021-04-14 | chore: align FormData to spec (#10169) | Luca Casonato | |
This PR aligns `FormData` to spec. All WPT tests are passing. |