Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-17 | fix(npm): support dynamic import of Deno TS from npm package (#19858) | David Sherret | |
Closes #19843 | |||
2023-07-17 | fix(bench): run warmup benchmark to break JIT bias (#19844) | Bartek Iwańczuk | |
Closes https://github.com/denoland/deno/issues/15277 This commit adds a single "warmup" run of empty function when running `deno bench`. This change will break so-called "JIT bias" which makes V8 optimize the first function and then bail out of optimization on second function. In essence the "warmup" function is getting optimized and then all user benches are bailed out of optimization. | |||
2023-07-17 | fix(node): improve error message requiring non-npm es module (#19856) | David Sherret | |
Closes #19842 Closes #16913 | |||
2023-07-17 | fix(node): improve require esm error messages (#19853) | David Sherret | |
Part of #19842. Closes #19583 Closes #16913 | |||
2023-07-17 | fix(ext/node): fix stream/promises export (#19820) | await-ovo | |
2023-07-14 | fix(vendor): do not panic vendoring with jsxImportSource and no jsx files ↵ | David Sherret | |
(#19837) Closes #19833 | |||
2023-07-14 | fix(npm): improve error message importing non-existent file in a ↵ | David Sherret | |
node_modules npm package (#19835) | |||
2023-07-14 | fix(npm): improve error message on directory import in npm package (#19538) | Elian Cordoba | |
Co-authored-by: David Sherret <dsherret@users.noreply.github.com> | |||
2023-07-14 | chore: update log, percent-encoding, and rusqlite (#19815) | puffyCid | |
2023-07-13 | fix(tsc): more informative diagnostic when `Deno` does not exist (#19825) | David Sherret | |
Also improved the diagnostic when using something like `Deno.openKv` and it doesn't exist. | |||
2023-07-13 | chore: update to Rust 1.71 (#19822) | Matt Mastracci | |
2023-07-13 | docs: use `Deno.serve` in README (#19805) | idanran | |
2023-07-12 | chore: forward 1.35.1 back to main (#19814) | David Sherret | |
2023-07-12 | chore: disable failing node compat test (#19811) | Bartek Iwańczuk | |
2023-07-11 | fix(lsp): stop diagnostics flickering (#19803) | David Sherret | |
Closes https://github.com/denoland/vscode_deno/issues/835 | |||
2023-07-11 | refactor(lsp): update diagnostics.rs to use structs instead of records (#19799) | David Sherret | |
Part of https://github.com/denoland/vscode_deno/issues/835 | |||
2023-07-11 | fix(node/http): add destroy to FakeSocket (#19796) | Leo Kettmeir | |
Closes #19782 | |||
2023-07-11 | fix(node/http): allow callback in first argument of end call (#19778) | Leo Kettmeir | |
Closes #19762 | |||
2023-07-11 | fix(lsp): remove quotes and period surrounding specifier in uncached ↵ | David Sherret | |
messages (#19794) | |||
2023-07-10 | fix(lsp): exclude files in deno.json "exclude" (#19791) | David Sherret | |
Closes #19788 | |||
2023-07-10 | refactor(cli): Creating a TestReporter trait (#19786) | Cooper Benson | |
This PR breaks the addition of the `TestReporter` trait and refactoring of `PrettyTestReporter` out of #19747. The goal is to enable the addition of test reporters, including machine readable output. | |||
2023-07-10 | refactor(lsp): move config file related code to config.rs (#19790) | David Sherret | |
Will make #19788 easier. | |||
2023-07-10 | perf: add setup cache for node_modules folder (#19787) | David Sherret | |
Part of #19774. This makes it twice as fast on my machine. Stores a file at `node_modules/.deno/setup-cache.bin`, which contains information about how the node_modules folder is currently setup. Obviously there is a risk that this information will get out of date with the current folder structure. | |||
2023-07-10 | chore(tests): update info_with_compiled_source to use TestContextBuilder ↵ | David Sherret | |
(#19783) | |||
2023-07-10 | fix(node/http): server use FakeSocket and add end method (#19660) | Leo Kettmeir | |
Fixes #19324 | |||
2023-07-09 | chore: upgrade deno_core and rusty_v8 (#19773) | Bartek Iwańczuk | |
2023-07-08 | refactor: abstract away file system to be buried inside HttpCache (#19760) | David Sherret | |
This improves the HttpCache to make it being stored on the file system an implementation detail. | |||
2023-07-08 | chore: upgrade to dprint 0.39 (#19768) | David Sherret | |
2023-07-07 | perf(ext/node): native vectored write for server streams (#19752) | Divy Srivastava | |
``` # main $ ./load_test 10 0.0.0.0 8080 0 0 Using message size of 20 bytes Running benchmark now... Msg/sec: 106182.250000 Msg/sec: 110279.750000 ^C # this PR $ ./load_test 10 0.0.0.0 8080 0 0 Using message size of 20 bytes Running benchmark now... Msg/sec: 131632.250000 Msg/sec: 134754.250000 ^C ``` | |||
2023-07-07 | fix(ext/http): Use brotli compression params (#19758) | Matt Mastracci | |
Fixes #19737 by adding brotli compression parameters. Time after: `Accept-Encoding: gzip`: ``` real 0m0.214s user 0m0.005s sys 0m0.013s ``` `Accept-Encoding: br`: Before: ``` real 0m10.303s user 0m0.005s sys 0m0.010s ``` After: ``` real 0m0.127s user 0m0.006s sys 0m0.014s ``` | |||
2023-07-07 | perf(ext/websocket): optimize server websocket js (#19719) | Divy Srivastava | |
Split from https://github.com/denoland/deno/pull/19686 - timestamp set to 0 for server websocket events. - take fast call path with op_ws_send_binary. | |||
2023-07-07 | tests: add more jsxImportSource regression tests (#15592) | Luca Casonato | |
This commit adds some regression tests for using `jsxImportSource` in the config file in combination with an import map. These underlying issues were fixed by #15561. Closes #13389 Closes #14723 --------- Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-07-06 | fix: remove unstable check for Deno.listenTls#alpnProtocols (#19732) | Bartek Iwańczuk | |
2023-07-06 | perf(node/async_hooks): optimize AsyncLocalStorage (#19729) | Bartek Iwańczuk | |
This makes the implementation of "AsyncLocalStorage" from "node:async_hooks" 3.5x faster than before for noop benchmark (measuring baseline overhead). It's still 3.5x slower than not using `AsyncLocalStorage` and 1.64x slower than using noop promise hooks. | |||
2023-07-05 | perf(ext/node): optimize net streams (#19678) | Divy Srivastava | |
~4.5x improvement in `npm:ws` echo benchmark: ``` $ ./load_test 10 0.0.0.0 8080 0 0 Using message size of 20 bytes Running benchmark now... Msg/sec: 101083.750000 Msg/sec: 103606.000000 ^C $ ./load_test 10 0.0.0.0 8080 0 0 Using message size of 20 bytes Running benchmark now... Msg/sec: 24906.750000 Msg/sec: 28478.000000 ^C ``` | |||
2023-07-05 | fix(vendor): support import mapped jsxImportSource (#19724) | David Sherret | |
Closes #16108 | |||
2023-07-05 | test(ext/node): clean up node:path test cases (#19610) | Yoshiya Hinosawa | |
2023-07-05 | 1.35.0 (#19717) | denobot | |
Bumped versions for 1.35.0 Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-07-04 | fix: move `Deno.serve` to stable namespace (#19718) | Bartek Iwańczuk | |
This was missed in #19141 | |||
2023-07-04 | fix(ext/node): Define performance.timeOrigin as getter property (#19714) | await-ovo | |
2023-07-04 | fix: bump default @types/node version range to 18.16.19 (#19706) | David Sherret | |
2023-07-04 | feat: stabilize 'alpnProtocols' setting (#19704) | Bartek Iwańczuk | |
Ref https://github.com/denoland/deno/issues/19685 | |||
2023-07-04 | tests: deflake _fs_read_test.ts again (#19705) | Bartek Iwańczuk | |
2023-07-04 | chore: upgrade deno_lint to 0.49.0 (#19703) | Bartek Iwańczuk | |
2023-07-03 | tests: deflake _fs_read_test.ts (#19699) | Bartek Iwańczuk | |
Closes https://github.com/denoland/deno/issues/19632 | |||
2023-07-04 | feat: Stabilize Deno.serve() API (#19141) | Bartek Iwańczuk | |
This commit stabilizes "Deno.serve()", which becomes the preferred way to create HTTP servers in Deno. Documentation was adjusted for each overload of "Deno.serve()" API and the API always binds to "127.0.0.1:8000" by default. | |||
2023-07-04 | feat: upgrade to TypeScript 5.1.6 (#19695) | David Sherret | |
Integrates https://github.com/denoland/TypeScript/pull/7 | |||
2023-07-03 | fix(npm): escape export identifier in double quoted string (#19694) | await-ovo | |
2023-07-03 | fix(dts): make globals available on globalThis (#19438) | ud2 | |
This PR changes Web IDL interfaces to be declared with `var` instead of `class`, so that accessing them via `globalThis` does not raise type errors. Closes #13390. | |||
2023-07-03 | feat(lsp): support import maps in quick fix and auto-imports (#19692) | David Sherret | |
Closes https://github.com/denoland/vscode_deno/issues/849 Closes #15330 Closes #10951 Closes #13623 |