Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-13 | refactor(core): Strongly typed deserialization of JSON ops (#9423) | Jared Beller | |
This PR makes json_op_sync/async generic to all Deserialize/Serialize types instead of the loosely-typed serde_json::Value. Since serde_json::Value implements Deserialize/Serialize, very little existing code needs to be updated, however as json_op_sync/async are now generic, type inference is broken in some cases (see cli/build.rs:146). I've found this reduces a good bit of boilerplate, as seen in the updated deno_core examples. This change may also reduce serialization and deserialization overhead as serde has a better idea of what types it is working with. I am currently working on benchmarks to confirm this and I will update this PR with my findings. | |||
2021-02-13 | fix: webidl utils and align `Event` to spec (#9470) | Luca Casonato | |
2021-02-13 | v1.7.4 | Ryan Dahl | |
2021-02-12 | v1.7.3 | Bartek Iwańczuk | |
2021-02-12 | chore: release crates (#9481) | Bartek Iwańczuk | |
2021-02-12 | fix(lsp): properly handle static assets (#9476) | Kitson Kelly | |
2021-02-12 | chore: Update to Rust 1.50.0 (#9479) | Kitson Kelly | |
2021-02-12 | test(cli): improve test of deno cache (#9340) | Yosi Pramajaya | |
2021-02-12 | feat(lsp): add deno cache code actions (#9471) | Kitson Kelly | |
2021-02-11 | chore: upgrade crates (#9474) | Bartek Iwańczuk | |
2021-02-11 | fix(runtime/tls): handle invalid host for connectTls/startTls (#9453) | Erik Price | |
2021-02-10 | fix(console): log function object properties / do not log non-enumerable ↵ | David DeSimone | |
props by default (#9363) | |||
2021-02-10 | fix(lsp): handle type deps properly (#9436) | Kitson Kelly | |
Fixes #9425 | |||
2021-02-09 | chore: bump TypeScript to 4.1.4 (#9459) | Trivikram Kamat | |
2021-02-09 | fix(op_crates): Don't use `Deno.inspect` in op crates (#9332) | Nayeem Rahman | |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2021-02-09 | chore: update dependencies (#9455) | Luca Casonato | |
2021-02-09 | fix(lsp): handle code lenses for non-documents (#9454) | Kitson Kelly | |
2021-02-09 | fix(cli): import maps handles data URLs (#9437) | Kitson Kelly | |
Fixes #9420 | |||
2021-02-08 | refactor(cli/tools/repl): merge highlighter into helper (#9448) | Casper Beyer | |
2021-02-08 | fix(lsp): prepare diagnostics when the config changes (#9438) | Kitson Kelly | |
2021-02-08 | feat(lsp): add implementations code lens (#9441) | Kitson Kelly | |
2021-02-08 | feat(lsp): add asset cache regression test | Kitson Kelly | |
When we migrated away from all the locks, there was a regression that was not caught immediately. The tsc::get_asset() would attempt to modify the snapshot, but the problem was that the snapshot was a .clone() of the inner language server's assets, which meant that modifications to that where lost. When we then attempted to do a hover on those assets, the inner language servers assets didn't have the retrieved asset, and therefore would throw an error. | |||
2021-02-08 | fix(lsp): DRY asset cache lookup logic | Ben Noordhuis | |
2021-02-08 | fix(lsp): fix asset cache lookup regression | Ben Noordhuis | |
Commit 2828690fc ("fix(lsp): fix deadlocks, use one big mutex") from last month introduced a regression in asset cache lookups where results of lazy caching were lost due to operating on a copy of the asset cache. This commit fixes that by copying the asset from the copy to the real cache. | |||
2021-02-08 | fix(lsp): remove Sources mutex | Ben Noordhuis | |
The mutex was used to hide the fact that the Sources object mutates itself when it's queried. Be honest about that and mark everything that directly or indirectly mutates it as `mut`. This is a follow-up to commit 2828690fc7bb510c3248dda7b1cda8793e789ca6 from last month ("fix(lsp): fix deadlocks, use one big mutex (#9271)") | |||
2021-02-08 | fix(cli): check for inline source maps before external ones (#9394) | Nayeem Rahman | |
Fixes #6965 | |||
2021-02-06 | fix(lsp): support codeAction/resolve (#9405) | Kitson Kelly | |
2021-02-05 | v1.7.2 | Bartek Iwańczuk | |
2021-02-05 | chore: release crates (#9410) | Bartek Iwańczuk | |
2021-02-05 | fix(repl): prevent symbol completion panic (#9400) | Casper Beyer | |
2021-02-05 | fix(cli/lsp): fix using jsx/tsx when not emitting via tsc (#9407) | Kitson Kelly | |
Closes #9308 Closes #9023 Closes #8993 | |||
2021-02-05 | feat(lsp): add TS quick fix code actions (#9396) | Kitson Kelly | |
2021-02-04 | fetch optimizations (#9402) | Ryan Dahl | |
Release deno_fetch 0.20.2 | |||
2021-02-04 | docs: update example for Deno.Process (#9390) | Bartek Iwańczuk | |
2021-02-03 | chore: upgrade swc (#9374) | Bartek Iwańczuk | |
2021-02-03 | fix: improve http client builder error message (#9380) | Ben Noordhuis | |
Include the lower-level error message in the generic error message. No test because I can't actually make it fail by passing it bad PEM. I checked and `reqwest::Certificate::from_pem()` always returns `Ok()`. Fixes #9364. | |||
2021-02-02 | chore: remove std directory (#9361) | Casper Beyer | |
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now. | |||
2021-02-01 | refactor: Reorganise integration tests (#9282) | Bartek Iwańczuk | |
This commit reorganises cli/tests/integration_tests.rs. All integration tests had been moved into integration module, which allows to run only integration tests by "cargo test integration". Additionally some tests were further grouped under nested modules like "inspector", "file_watcher" or "repl". | |||
2021-02-01 | chore: make all tests annotated with `#[cfg(test)]` (#9347) | Yusuke Tanaka | |
2021-02-01 | fix(cli): fix handling of non-normalized specifier (#9357) | Yoshiya Hinosawa | |
2021-02-01 | feat(lsp): add references code lens (#9316) | Kitson Kelly | |
2021-01-29 | chore: upgrade tokio to 1.1.1 (#9327) | Yusuke Tanaka | |
2021-01-29 | fix(cli/coverage): display mapped instrumentation line counts (#9310) | Casper Beyer | |
2021-01-29 | Update lspower dependency (#9179) | hvithrafn | |
2021-01-29 | v1.7.1 | Ryan Dahl | |
2021-01-29 | test: fix lock_write_fetch test (#9318) | Bartek Iwańczuk | |
2021-01-29 | fix(cli): Move WorkerOptions::deno types to unstable (#9163) | Nayeem Rahman | |
2021-01-29 | fix(op_crates/web): Add customInspect for Location (#9290) | Nayeem Rahman | |
2021-01-29 | refactor: IO resource types, fix concurrent read/write and graceful close ↵ | Bert Belder | |
(#9118) Fixes: 9032. | |||
2021-01-29 | chore: reenable watch tests (#9306) | Bartek Iwańczuk | |