Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-30 | fix(runtime): no FastStream for unrefable streams (#16095) | Luca Casonato | |
2022-09-29 | refactor(cli): use shared sys kind parser in flags.rs (#16087) | Yoshiya Hinosawa | |
2022-09-29 | fix: move Deno.hostname() from denoNsUnstable to denoNs (#16086) | TrickyPi | |
2022-09-29 | 1.26.0 | denobot | |
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-09-28 | feat: Stabilize Deno.hostname() API (#15932) | Bartek Iwańczuk | |
2022-09-28 | feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797) | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-09-28 | feat: add --allow-sys permission flag (#16028) | Yoshiya Hinosawa | |
2022-09-28 | feat: implement Web Cache API (#15829) | Satya Rohith | |
2022-09-28 | refactor(runtime): don't use destructuring assignment in JS code (#16050) | Bartek Iwańczuk | |
2022-09-27 | feat: Add requesting API name to permission prompt (#15936) | Bartek Iwańczuk | |
Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com> | |||
2022-09-27 | feat: Stabilize Deno.refTimer() and Deno.unrefTimer() APIs (#16036) | Bartek Iwańczuk | |
2022-09-27 | fix(runtime): refresh perm prompt 3 lines instead of 4 (#16049) | Yoshiya Hinosawa | |
2022-09-23 | perf: use fast ops for tty (#15976) | Divy Srivastava | |
2022-09-22 | chore: forward v1.25.4 release commit to main (#16001) | David Sherret | |
2022-09-22 | chore: fix recent windows only clippy issues (#15993) | David Sherret | |
2022-09-22 | feat: Refresh interactive permission prompt (#15907) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@users.noreply.github.com> | |||
2022-09-22 | perf: fs optimizations - part 1 (#15873) | Divy Srivastava | |
2022-09-21 | fix(runtime): better error message with Deno.env.get/set (#15966) | Yoshiya Hinosawa | |
2022-09-19 | chore(runtime): upgrade netif crate (#15867) | Ben Noordhuis | |
v0.1.3 contains code that will stop working with newer versions of libstd because the layout of some std::net types changed. Refs: https://github.com/bnoordhuis/netif/pull/10 | |||
2022-09-19 | refactor: move out test files from root testdata directory into sub ↵ | David Sherret | |
directories (#15949) | |||
2022-09-19 | chore: fix clippy warnings (#15944) | Ben Noordhuis | |
Stop allowing clippy::derive-partial-eq-without-eq and fix warnings about deriving PartialEq without also deriving Eq. In one case I removed the PartialEq because it a) wasn't necessary, and b) sketchy because it was comparing floating point numbers. IMO, that's a good argument for enforcing the lint rule, because it would most likely have been caught during review if it had been enabled. | |||
2022-09-17 | perf(ext/console): avoid `wrapConsole` when not inspecting (#15931) | Divy Srivastava | |
2022-09-16 | upgrade deps (#15914) | Ryan Dahl | |
2022-09-16 | fix(runtime): fix permission status cache keys (#15899) | Nayeem Rahman | |
2022-09-15 | chore: forward v1.25.3 release commit to main (#15919) | Colin Ihrig | |
Co-authored-by: denobot <33910674+denobot@users.noreply.github.com> Co-authored-by: cjihrig <cjihrig@users.noreply.github.com> | |||
2022-09-15 | refactor(runtime/io): use primordials (#15906) | Marcos Casagrande | |
2022-09-14 | fix(ops): add node.js env variable allowlist (#15893) | Colin Ihrig | |
This commit allows the Node compatibility layer to skip environment variable permission checks when --unstable is passed and the variable name is one that Node uses. Fixes: https://github.com/denoland/deno/issues/15890 | |||
2022-09-13 | refactor(npm): create general use `NpmPackageResolver` (#15882) | David Sherret | |
2022-09-09 | chore: forward v1.25.2 release commit to main (#15831) | denobot | |
Co-authored-by: kt3k <kt3k@users.noreply.github.com> | |||
2022-09-06 | perf(runtime): short-circuit `queue_async_op` for Poll::Ready (#15773) | Divy Srivastava | |
2022-09-05 | chore: fix flaky stdout_write_all test (#15772) | David Sherret | |
2022-09-05 | perf(runtime): flatten arguments for write_file ops (#15776) | Divy Srivastava | |
2022-09-04 | fix(cli): allow using file resource synchronously while being used async ↵ | David Sherret | |
(#15747) | |||
2022-09-02 | refactor: move JsError formatting to deno_runtime (#15345) | Christian Dürr | |
This takes the existing `fmt_error` module from cli and puts it as a public module into `deno_runtime`. | |||
2022-09-02 | refactor(test): grab runTests() and runBenchmarks() from __bootstrap (#15420) | Nayeem Rahman | |
2022-09-02 | fix(repl): don't terminate on unhandled error events (#15548) | Nayeem Rahman | |
2022-09-02 | chore: forward v1.25.1 release commit to main (#15735) | denobot | |
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com> | |||
2022-08-27 | perf(runtime): optimize allocations in read/write checks (#15631) | Divy Srivastava | |
2022-08-25 | v1.25.0 | Bartek Iwańczuk | |
2022-08-24 | feat(unstable): add more permission checks for ext/node/ (#15581) | Bartek Iwańczuk | |
2022-08-24 | feat(ext/flash): split upgradeHttp into two APIs (#15557) | Luca Casonato | |
This commit splits `Deno.upgradeHttp` into two different APIs, because the same API is currently overloaded with two different functions. Flash requests upgrade immediately, with no need to return a `Response` object. Instead you have to manually write the response to the socket. Hyper requests only upgrade once a `Response` object has been sent. These two behaviours are now split into `Deno.upgradeHttp` and `Deno.upgradeHttpRaw`. The latter is flash only. The former only supports hyper requests at the moment, but can be updated to support flash in the future. Additionally this removes `void | Promise<void>` as valid return types for the handler function. If one wants to use `Deno.upgradeHttpRaw`, they will have to type cast the handler signature - the signature is meant for the 99.99%, and should not be complicated for the 0.01% that use `Deno.upgradeHttpRaw()`. | |||
2022-08-21 | feat: `queueMicrotask()` error handling (#15522) | Nayeem Rahman | |
Adds error event dispatching for queueMicrotask(). Consequently unhandled errors are now reported with Deno.core.terminate(), which is immune to the existing quirk with plainly thrown errors (#14158). | |||
2022-08-20 | feat(unstable): initial support for npm specifiers (#15484) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-08-19 | feat(unstable): change Deno.serve() API (#15498) | Bartek Iwańczuk | |
- Merge "Deno.serve()" and "Deno.serveTls()" API - Remove first argument and use "fetch" field options instead - Update type declarations - Add more documentation | |||
2022-08-19 | perf(runtime): optimize Deno.file open & stream (#15496) | Divy Srivastava | |
2022-08-18 | feat(ext/flash): An optimized http/1.1 server (#15405) | Divy Srivastava | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> Co-authored-by: crowlkats <crowlkats@toaxl.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2022-08-16 | feat(runtime): add pre_execute_module_cb (#15485) | David Sherret | |
2022-08-11 | chore: forward v1.24.3 release commit to main (#15462) | denobot | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-08-11 | perf(ops): Monomorphic sync op calls (#15337) | Aapo Alasuutari | |
Welcome to better optimised op calls! Currently opSync is called with parameters of every type and count. This most definitely makes the call megamorphic. Additionally, it seems that spread params leads to V8 not being able to optimise the calls quite as well (apparently Fast Calls cannot be used with spread params). Monomorphising op calls should lead to some improved performance. Now that unwrapping of sync ops results is done on Rust side, this is pretty simple: ``` opSync("op_foo", param1, param2); // -> turns to ops.op_foo(param1, param2); ``` This means sync op calls are now just directly calling the native binding function. When V8 Fast API Calls are enabled, this will enable those to be called on the optimised path. Monomorphising async ops likely requires using callbacks and is left as an exercise to the reader. | |||
2022-08-10 | refactor(runtime): split up `MainWorker` and `WebWorker`'s `preload_module` ↵ | David Sherret | |
method into two separate methods (#15451) |