summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2021-04-13feat(permissions): allow env permission to take values (#9825)crowlKats
2021-04-13fix(core): remove wasm-test-streaming flag (#10158)Casper Beyer
2021-04-13upgrade: rusty_v8 0.22.0 (V8 9.1.269.2) (#10152)Bert Belder
2021-04-12refactor(deno): remove concept of bin & json ops (#10145)Aaron O'Mullan
2021-04-12fix(runtime/js/http): Correctly parse user response headers (#10076)Nayeem Rahman
2021-04-12feat(runtime): add truncate and truncateSync methods to Deno.File (#10130)Casper Beyer
2021-04-12feat(runtime): add stat and statSync methods to Deno.File (#10107)Casper Beyer
2021-04-12feat(runtime): stabilize Deno.fstat and Deno.fstatSync (#10108)Casper Beyer
This commit stabilizes Deno.fstat and Deno.fstatSync which are well known system calls and have a stable interface.
2021-04-12feat: Add Deno.memoryUsage() (#9986)Aaron O'Mullan
2021-04-12feat(runtime/permissions): prompt fallback (#9376)crowlKats
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-04-12fix(runtime/js/timers): Use (0, eval) instead of eval() (#10103)Nayeem Rahman
2021-04-11fix(op_crates/console): console.table value misalignment with varying keys ↵Liam Murphy
(#10127)
2021-04-11feat: blob URL support in fetch (#10120)Luca Casonato
This commit adds blob URL support in `fetch`. Tested via WPT. This is the first op_crate to have a rust dependency on a different op_crate.
2021-04-11feat: stabilize Deno.ftruncate and Deno.ftruncateSync (#10126)Casper Beyer
This stabilizes Deno.ftruncate and Deno.ftruncateSync. This is a well known system call and the interface is not going to change. Implicitly requires write permissions as the file has to be opened with write to be truncated.
2021-04-11feat: set useDefineForClassFields to true (#10119)Nayeem Rahman
Fixes: #9773
2021-04-10feat(unstable): ALPN config in listenTls (#10065)Luca Casonato
This commit adds the ability for users to configure ALPN protocols when calling `Deno.listenTls`.
2021-04-10fix(cli/diagnostics): Update UNSTABLE_DENO_PROPS (#10095)Nayeem Rahman
2021-04-10chore: improve lsp registry validations (#10096)Luca Casonato
2021-04-10feat(permissions): allow run permission to take values (#9833)crowlKats
This commit adds allowlist support to `--allow-run` flag. Additionally `Deno.permissions.query()` allows to query for specific programs within allowlist.
2021-04-09chore: upgrade dependencies (#10094)Bartek Iwańczuk
This commit upgrades: - swc_ecmascript - swc_bundler - deno_doc - deno_lint - dprint-plugin-typescript
2021-04-09fix: async op error stacktraces (#10080)Nayeem Rahman
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2021-04-09API change: Deno.startHttp -> Deno.serveHttp (#10087)Ryan Dahl
2021-04-09feat(lsp): add registry import auto-complete (#9934)Kitson Kelly
2021-04-09fix(lsp): normalize windows file URLs properly (#10034)Kitson Kelly
Fixes: #9744 Fixes: https://github.com/denoland/vscode_deno/issues/386
2021-04-08feat: native HTTP bindings (#9935)Bartek Iwańczuk
Co-authered-by: Luca Casonato <lucacasonato@yahoo.com> Co-authered-by: Ben Noordhuis <info@bnoordhuis.nl> Co-authered-by: Ryan Dahl <ry@tinyclouds.org>
2021-04-08chore: update deps (#10058)Luca Casonato
This commit updates crate dependencies.
2021-04-08fix(core): error handling in examples (#9867)Inteon
2021-04-08fix(runtime/readFile*): close resources on error during read (#10059)Satya Rohith
This commit ensures readFile, readFileSync, readTextFile, and readTextFileSync does not leak resources on error.
2021-04-07feat: blob URL support (#10045)Luca Casonato
This commit adds blob URL support. Blob URLs are stored in a process global storage, that can be accessed from all workers, and the module loader. Blob URLs can be created using `URL.createObjectURL` and revoked using `URL.revokeObjectURL`. This commit does not add support for `fetch`ing blob URLs. This will be added in a follow up commit.
2021-04-07fix(lsp): don't error on tsc debug failures for code actions (#10047)Kitson Kelly
Resolves: #9913
2021-04-06docs: export EmitOptions and EmitResult (#10037)Yoshiya Hinosawa
2021-04-06fix(lsp): properly handle encoding URLs from lsp client (#10033)Kitson Kelly
Fixes #9741
2021-04-06refactor: add deno_file op crate (#10019)Luca Casonato
Also enables WPT for FileReader.
2021-04-06fix(lsp): folding range adjustment panic (#10030)Kitson Kelly
Fixes #10029
2021-04-06chore: deprecate Deno.iter and Deno.iterSync (#10025)Luca Casonato
This commit marks the `Deno.iter` and `Deno.iterSync` utils as deprecated, and schedules them for removal in Deno 2.0. These utilities are implemented in pure JS, so should not be part of the Deno namespace. These utilities are now available in std/io/util: denoland/deno_std#843.
2021-04-06chore: deprecate Deno.Buffer and read/write utils (#9793)Luca Casonato
This commit marks the `Deno.Buffer` / `Deno.readAll` / `Deno.readAllSync` / `Deno.writeAll` / `Deno.writeAllSync` utils as deprecated, and schedules them for removal in Deno 2.0. These utilities are implemented in pure JS, so should not be part of the Deno namespace. These utilities are now available in std/io/buffer and std/io/util: https://github.com/denoland/deno_std/pull/808. This additionallty removes all internal dependance on Deno.Buffer.
2021-04-05chore: update std submodule (#10017)Luca Casonato
2021-04-04chore(cli): Upgrade jsonc_parser to 0.17 (#9977)David Sherret
Use new parse_to_serde_value as it's faster and less code here.
2021-04-04fix: Properly await already evaluating dynamic imports (#9984)Nayeem Rahman
2021-04-02refactor(ops): remove variadic buffers (#9944)Aaron O'Mullan
2021-04-02v1.8.3Kitson Kelly
2021-04-02chore: bump dependent crates for cli (#9964)Kitson Kelly
2021-04-02feat(lsp): implement textDocument/foldingRange (#9900)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-02chore(cli): add "Deno" to the windows file description (#9959)David Sherret
2021-04-02chore(cli): fix futime and futimeSync code examples (#9953)defectivepixel
2021-04-01fix(lsp): ensure insert_text is passed back on completions (#9951)Kitson Kelly
Fixes #9920
2021-03-31refactor: new optimized op-layer using serde_v8 (#9843)Aaron O'Mullan
- Improves op performance. - Handle op-metadata (errors, promise IDs) explicitly in the op-layer vs per op-encoding (aka: out-of-payload). - Remove shared queue & custom "asyncHandlers", all async values are returned in batches via js_recv_cb. - The op-layer should be thought of as simple function calls with little indirection or translation besides the conceptually straightforward serde_v8 bijections. - Preserve concepts of json/bin/min as semantic groups of their inputs/outputs instead of their op-encoding strategy, preserving these groups will also facilitate partial transitions over to v8 Fast API for the "min" and "bin" groups
2021-03-29bench: track Date.now() as upper bound reference (#9922)Aaron O'Mullan
2021-03-27feat(bench/deno_common): show ns/op (#9915)Aaron O'Mullan
It's simply the inverse of the rate (ops/s), but it's often useful to look at time per op
2021-03-26remove macro_use (#9884)Ryan Dahl