Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-24 | feat: update `Deno.serve` function signature (#15563) | Luca Casonato | |
This commit changes the `Deno.serve` function signature to be more versatile and easier to use. It is now a drop in replacement for std/http's `serve`. The input validation has also been reworked. | |||
2022-08-23 | fix: parse scoped npm specifiers with no version (#15564) | David Sherret | |
2022-08-23 | feat: binary npm commands (#15542) | David Sherret | |
2022-08-23 | fix(cache): do not attempt to emit non-emitable files (#15562) | David Sherret | |
2022-08-23 | chore: upgrade rusty_v8 to v0.49.0 (#15547) | Bartek Iwańczuk | |
2022-08-23 | fix(ext/fetch): ignore user content-length header (#15555) | Luca Casonato | |
Previously if a user specified a content-length header for an POST request without a body, the request would contain two `content-length` headers. One added by us, and one added by the user. This commit ignores all content-length headers coming from the user, because we need to have the sole authority on the content-length because we transmit the body. | |||
2022-08-23 | refactor(core/runtime): clean up extra type cast (#15539) | Geert-Jan Zwiers | |
2022-08-23 | BREAKING(ext/ffi): specialized `buffer` type (#15518) | Divy Srivastava | |
2022-08-23 | docs: add permission tags to JSDocs (#15541) | Kitson Kelly | |
Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com> | |||
2022-08-22 | chore: typo (#15536) | Ikko Ashimine | |
2022-08-22 | perf: cache swc dependency analysis and don't hold onto `ParsedSource`s in ↵ | David Sherret | |
memory (#15502) | |||
2022-08-22 | feat(unstable): Respect --cached-only flags for npm: specifiers (#15512) | Bartek Iwańczuk | |
This commit changes "npm:" specifier handling to respect "--cached-only" flags and adds "Download" messages for npm registry api calls. Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-08-22 | fix(ext/flash): fix default onListen callback (#15533) | Yoshiya Hinosawa | |
2022-08-21 | fix(unstable): better error for invalid hostname in Deno.serve() (#15529) | Bartek Iwańczuk | |
2022-08-21 | fix: Free up JsRuntime state global handles before snapshot (#15491) | Giovanny Gutiérrez | |
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-21 | chore: use Rust 1.63.0 (#15464) | Mathias Lafeldt | |
2022-08-21 | fix(ext/flash): fix listening port (#15519) | Yoshiya Hinosawa | |
2022-08-21 | feat(ops): V8 Fast Calls (#15291) | Divy Srivastava | |
2022-08-21 | fix(core/runtime): always cancel termination in exception handling (#15514) | Nayeem Rahman | |
2022-08-21 | docs: Fix typo (#15507) | akmhmgc | |
2022-08-20 | feat(unstable): initial support for npm specifiers (#15484) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-08-20 | feat: add "deno init" subcommand (#15469) | Leo Kettmeir | |
This adds an init subcommand to that creates a project starter similar to cargo init. ``` $ deno init my_project Project initialized Run these commands to get started: cd my_project deno run main.ts deno run main_test.ts $ deno run main.ts Add 2 + 3 5 $ cat main.ts export function add(a: number, b: number): number { return a + b; } if (import.meta.main) { console.log("Add 2 + 3", add(2, 3)); } $ cat main_test.ts import { assertEquals } from "https://deno.land/std@0.151.0/testing/asserts.ts"; import { add } from "./main.ts"; Deno.test(function addTest() { assertEquals(add(2, 3), 5); }); ``` 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 | Fix: Honor linter rules in CI and locally (#15492) | Mathias Lafeldt | |
RUSTFLAGS take precedence over `target.<triple>.rustflags`. Therefore, setting the env var globally in CI would always override whatever linter rules are allowed or denied in .cargo/config.toml. With this change, we ensure that problems are detected both in CI and locally, using either cargo clippy or lint.js. | |||
2022-08-19 | chore(bench): add flash router benchmarks (#15495) | Divy Srivastava | |
2022-08-19 | perf(runtime): optimize Deno.file open & stream (#15496) | Divy Srivastava | |
2022-08-19 | fix(ext/flash): concurrent response streams (#15493) | 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-17 | refactor(fetch/request): use callback for url and method (#15483) | Leo Kettmeir | |
2022-08-17 | docs: add category tag for built-in APIs (#15480) | Kitson Kelly | |
2022-08-16 | feat(runtime): add pre_execute_module_cb (#15485) | David Sherret | |
2022-08-16 | perf: improve performance.now (#15481) | Ryan Dahl | |
2022-08-15 | chore(bench,test): list `.mts` under supported file extensions in cli docs ↵ | Geert-Jan Zwiers | |
(#15477) | |||
2022-08-15 | docs: use `irm` instead of `iwr -useb` (#15474) | 迷渡 | |
2022-08-15 | chore: upgrade rusty_v8 to 0.48.1 (#15310) | Bartek Iwańczuk | |
2022-08-14 | fix(npm): handle storing non-all lowercase package names (#15470) | David Sherret | |
2022-08-12 | fix(coverage): ensure coverage is only collected in certain situations (#15467) | David Sherret | |
2022-08-12 | docs(cli/dts): fix typo (#15457) | Roj | |
2022-08-11 | chore(ext/node): correct publishing for ext/node (#15461) | David Sherret | |
2022-08-11 | refactor(cli): consolidate most MainWorker related code to the same place ↵ | David Sherret | |
(#15459) | |||
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 | refactor(ext/node): remove several TODOs (#15452) | Bartek Iwańczuk | |
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-11 | chore: move lint rules to cargo config for better editor integration (#15453) | Mathias Lafeldt | |
2022-08-11 | refactor(core): unwrap sync ops in rust (#15449) | Nayeem Rahman | |
2022-08-10 | refactor(runtime): split up `MainWorker` and `WebWorker`'s `preload_module` ↵ | David Sherret | |
method into two separate methods (#15451) | |||
2022-08-11 | fix(cli): allow configurations files to also be json modules (#15444) | Nayeem Rahman | |
Closes #15440 | |||
2022-08-10 | feat: add initial internal npm client and dependency resolver (#15446) | David Sherret | |
2022-08-10 | fix(permissions): ignore empty values (#15447) | Leo Kettmeir | |