summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-18refactor(serde_v8): move magic code to subfolder and minor cleanup (#10230)Aaron O'Mullan
2021-04-18tooling(bench_util): benching and profiling utilities (#10223)Aaron O'Mullan
2021-04-18refactor(core): remove ZeroCopyBuf's dep on the bindings mod (#10232)Aaron O'Mullan
Also cleanup `bindings::deserialize()/decode()` so they use the `ZeroCopyBuf` abstraction rather than reimplementing it. This cleanup will facilitate moving `ZeroCopyBuf` to `serde_v8` since it's now self contained and there are no other `get_backing_store_slice()` callers.
2021-04-18lint(serde_v8): fix "inconsistent struct constructor" (#10227)Aaron O'Mullan
2021-04-18chore(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-16refactor(cli/flags): reorganize declarations (#10204)crowlKats
2021-04-16fix(#10200): weaken types so non-breaking (#10205)Kitson Kelly
Fixes #10200
2021-04-15fix(#10182): hang during http server response (#10197)Ryan Dahl
2021-04-14fix(core): better "missing type" GothamState error (#10189)Ben Noordhuis
Include the type name in the error message so you know what to look for.
2021-04-14chore: align FormData to spec (#10169)Luca Casonato
This PR aligns `FormData` to spec. All WPT tests are passing.
2021-04-14refactor: move timers to deno_timers op crate (#10179)Ben Noordhuis
Move timers out of runtime/ and into a standalone op crate.
2021-04-14perf(js/http): avoid v8 deopt in async iterator (#10160)Aaron O'Mullan
2021-04-13v1.9.0Bartek Iwańczuk
2021-04-13chore: release crates (#10164)Bartek Iwańczuk
2021-04-13feat(cli): raise file descriptor limit on startup (#10162)Ben Noordhuis
Raise the soft limit to the hard limit when possible. This is similar to what Node.js does to avoid running into "out of file descriptors" errors too quickly. On most Linux systems, raises the limit from 1,024 to 1,048,576. On most macOS systems, raises the limit from 256 to 10,240. Fixes #10148.
2021-04-13fix(cli/dts): Make respondWith() return a Promise (#10128)Nayeem Rahman
2021-04-13feat(cli/dts): stricter typings for Listener & Conn (#10012)crowlKats
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.1 (V8 9.1.269.5) (#10159)Bert Belder
2021-04-13upgrade: rusty_v8 0.22.0 (V8 9.1.269.2) (#10152)Bert Belder
2021-04-13perf: lazy header instantiation for HTTP requests (#10150)Luca Casonato
This commit introduces a performance optimization for the native HTTP server. From my testing it is about 2-6% faster than `main`. Request headers in the HTTP servers are now lazilly instatated when they are accessed, rather than being preemptively wrapped in the `Headers` class.
2021-04-13perf(fetch): optimize normalizeMethod() (#10154)Aaron O'Mullan
2021-04-12perf(core/ops): avoid allocs when returning primitives (#10149)Aaron O'Mullan
2021-04-12core: remove some unnecessary heap allocationsBen Noordhuis
2021-04-12core: let embedders plug in their own V8 platformBen Noordhuis
Fixes #9912.
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-12perf(runtime): optimize PermissionState::check (#9993)Aaron O'Mullan
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-11ci: store last-modified timestamps in Github Actions cache (#10110)Bert Belder
2021-04-11Revert "use incremental build in ci (#10053)" (#10110)Bert Belder
This reverts commit fd65e6de3dc1ff909a1419c3b8f0c76daf1a69ed.
2021-04-11fix(op_crates/console): console.table value misalignment with varying keys ↵Liam Murphy
(#10127)
2021-04-11perf: build runtime at opt-3 (#10072)Aaron O'Mullan
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-11refactor(op_crates/web): remove unused code path in TextEncoder (#10104)Thiago de Arruda Padilha
According to https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder, TextEncoder should ignore the "encoding" parameter and always use "utf-8".
2021-04-11core: avoid async op future reboxing to bundle PromiseId (#10123)Aaron O'Mullan
2021-04-11feat: set useDefineForClassFields to true (#10119)Nayeem Rahman
Fixes: #9773
2021-04-10feat: data URL support in fetch (#10054)Luca Casonato
This commit adds data URL support in `fetch`. Tested via wpt.
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-10runtime/inspector: pretend to be node (#10115)Aaron O'Mullan
Also change frontend URL from inspector.html to js_app.html
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.