Bartek Iwańczuk
fe90ba650d
refactor(lsp): log names ( #21413 )
...
This commit changes LSP log names by prefixing them, we now have these
prefixes:
- `lsp.*` - requests coming from the client
- `tsc.request.*` - requests coming from clients that are routed to TSC
- `tsc.op.*` - ops called by the TS host
- `tsc.host.*` - requests that call JavaScript runtime that runs
TypeScript compiler host
Additionall `Performance::mark` was split into `Performance::mark` and
`Performance::mark_with_args` to reduce verbosity of code and logs.
2023-12-01 03:54:59 +01:00
Igor Zinkovsky
5f6181df4a
fix(cron): move deprecated Deno.cron overload ( #21407 )
...
Moving the deprecated `Deno.cron` overload to be the last one.
2023-11-30 15:52:48 -08:00
Luca Casonato
9444bab186
fix: correct the batch upload length ( #21401 )
2023-11-30 23:07:26 +01:00
Bartek Iwańczuk
b69001bb49
chore: forward v1.38.4 release commit to main ( #21400 )
...
Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
2023-11-30 23:06:54 +01:00
Raashid Anwar
ab755a07d8
feat(cron): added the support for json type schedule to cron api ( #21340 )
...
Added the support for JSON type schedule to cron API; previously it was string only.
fixes #21122
2023-11-30 13:51:56 -08:00
Laurence Rowe
8050cbf39e
perf(ext/web): Avoid changing prototype by setting hostObjectBrand directly ( #21358 )
2023-11-30 14:06:16 -07:00
Luca Casonato
ffa09541d7
fix: batch upload authentication ( #21397 )
2023-11-30 19:54:54 +01:00
Jordan Harband
334c118c97
refactor (parseCssColor): use parseInt, avoid unnecessary coercion ( #20856 )
...
Upstream some changes from https://github.com/nodejs/node/pull/49205
Signed-off-by: Jordan Harband <ljharb@gmail.com>
2023-11-30 18:33:44 +00:00
Nayeem Rahman
91626bac49
perf(lsp): avoid redundant getNavigationTree() calls ( #21396 )
2023-11-30 16:23:47 +00:00
Bartek Iwańczuk
c803c0eaab
perf(lsp): remove throttling of cancellation token ( #21395 )
...
This commit removes "ThrottledCancellationToken" in favor of
"CancellationToken".
Since calling into Rust to check if Tokio's cancellation token has
already been canceled is really cheap, there's no need for us to
throttle this check and let TSC burn up CPU with heavy computation.
2023-11-30 15:43:35 +00:00
Yoshiya Hinosawa
3591ba8578
fix(ext/node): fix os.freemem ( #21347 )
2023-11-30 22:06:01 +09:00
Nayeem Rahman
595a2be024
perf(lsp): cancel ts requests on future drop ( #21387 )
...
When an old request is obsoleted while the user is typing, the client
will say so to the server and tower-lsp will drop the future associated
with that request.
This wires that up to the ts server by having any request's token be
cancelled when the surrounding state is dropped.
2023-11-30 03:35:39 +00:00
Bartek Iwańczuk
6718be87c8
perf(lsp): add performance marks for TSC requests ( #21383 )
...
This should help us get a better picture where most of the time is spent
(the TSC or the surrounding Rust code).
2023-11-29 21:18:23 +00:00
Jakub Jirutka
ae327d0a83
build(cli): allow to build without upgrade feature ( #19910 )
...
The self-upgrade feature is undesirable when deno is installed from
(Linux) distribution repository - using a system package manager. This
change will allow package maintainers to build deno with the "upgrade"
subcommand and background check disabled.
When the user runs `deno upgrade <args>` and the upgrade feature is
disabled, it will exit with error message explaining that this deno
binary was built without the upgrade feature.
Note: This patch is already used in the Alpine Linux’s
[deno](https://pkgs.alpinelinux.org/packages?name=deno ) package.
2023-11-29 18:52:25 +00:00
David Sherret
9ac405d587
feat(compile): support "bring your own node_modules" in deno compile ( #21377 )
...
Not tested thoroughly. This is a good start.
Closes #21350
2023-11-29 09:32:23 -05:00
Luca Casonato
7e56a0466f
fix: use correct import map in tar & upload ( #21380 )
2023-11-29 13:59:30 +00:00
Yoshiya Hinosawa
e332fa4a83
fix(ext/node): add util.parseArgs ( #21342 )
2023-11-29 15:42:58 +09:00
Igor Zinkovsky
75ec650f08
chore(ext/kv): update denokv crates ( #21357 )
2023-11-28 21:04:07 -08:00
Leo Kettmeir
32c041c8d7
Reland "fix(ext/console): fix inspecting iterators error. ( #20720 )" ( #21370 )
2023-11-28 16:07:48 +01:00
David Sherret
be4cd5eebf
chore: small changes to issue templates ( #21372 )
2023-11-28 09:57:21 -05:00
Yoshiya Hinosawa
567d7ff923
fix(ext/node): fix Buffer.copy when sourceStart > source.length ( #21345 )
2023-11-28 22:28:07 +09:00
Yoshiya Hinosawa
4ed9278bf4
fix(ext/node): fix duplexify compatibility ( #21346 )
2023-11-28 12:14:57 +09:00
David Sherret
45fe3ccccf
chore: fix issue templates ( #21367 )
2023-11-28 02:09:58 +00:00
Matt Mastracci
4a2672bc29
chore: add retries to autobahn ( #21365 )
2023-11-28 01:44:48 +00:00
Birk Skyum
bee1187093
chore: issue templates ( #20850 )
...
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2023-11-28 01:14:05 +00:00
David Sherret
d4ef471744
fix(node): spawnSync
's status
was incorrect ( #21359 )
...
The exit code wasn't hooked up properly.
2023-11-27 19:54:01 -05:00
David Sherret
d65a297943
chore: fix formatting ( #21364 )
2023-11-28 00:03:15 +00:00
David Sherret
e52033f0f7
fix(fmt/jupyter): handle "source" property that's a string ( #21361 )
...
It was corrupting the file.
2023-11-27 23:15:50 +00:00
Matt Mastracci
8ce4ddc407
chore(ext/http): fix E0446 on some compiler versions ( #21362 )
...
Rust 1.74 may have made this code temporarily valid in [#113126 Replace
old private-in-public diagnostic with type privacy
lints](https://github.com/rust-lang/rust/pull/113126 ), so we didn't
catch it at build time.
It fails in 1.73 and +nightly, however.
2023-11-27 23:12:55 +00:00
David Sherret
3e83d686a8
ci: make upgrade_lsp_repl_sleeps less flaky ( #21363 )
...
Makes this test less flaky by allowing way more time for the test to
occur in.
2023-11-27 23:12:17 +00:00
Matt Mastracci
5ab7c702bb
chore: bump deno_core ( #21351 )
2023-11-27 16:01:27 -07:00
David Sherret
3c88654552
chore: temp fix for tools/format.js ( #21360 )
2023-11-27 22:51:00 +00:00
Kevin Whinnery
537e0320f0
chore: Fix typo in README ( #21354 )
...
Correct a small error in the recent README update.
---------
Signed-off-by: Kevin Whinnery <kevin.whinnery@gmail.com>
2023-11-27 21:43:35 +00:00
Kevin Whinnery
90141d06ef
docs(README): Update README to include more recent links and use external docs ( #21341 )
...
Update the README to use current links, and link to appropriate external
documentation for most information.
2023-11-27 13:18:14 -06:00
Luca Casonato
f6cc80cddc
fix: extraneous slash in tar & upload ( #21349 )
2023-11-27 18:09:33 +01:00
scarf
2b7e145e56
feat(fmt): support formatting code blocks in Jupyter notebooks ( #21310 )
2023-11-27 10:32:12 -05:00
Yoshiya Hinosawa
3d47c7eb1f
chore: format Releases.md ( #21343 )
2023-11-27 22:02:00 +09:00
Bartek Iwańczuk
550a24ad0e
refactor: use new poll methods from JsRuntime ( #21302 )
2023-11-26 23:09:04 +00:00
David Sherret
a4ec7dfae0
feat(unstable): --unstable-unsafe-proto ( #21313 )
...
Closes https://github.com/denoland/deno/issues/21276
2023-11-25 11:41:21 -05:00
Yusuke Tanaka
00e4c47890
fix(dts): Deno.ChildProcess
actually implements AsyncDisposable
( #21326 )
...
What `Deno.ChildProcess` actually implements is `AsyncDisposable`, but the type
declaration says it's `Disposable`. This PR fixes the type declaration to match
the actual implementation.
2023-11-25 13:26:24 +09:00
Divy Srivastava
89424f8e4a
perf: move "cli/js/40_testing.js" out of main snapshot ( #21212 )
...
Closes https://github.com/denoland/deno/issues/21136
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-11-25 04:46:16 +01:00
Yoshiya Hinosawa
7d8f0ae038
chore(ext/node): remove unnecessary test case ( #21337 )
...
This test case is covered by the last case in
5710fffb12/cli/tests/node_compat/test/parallel/test-stream2-transform.js
and not necessary anymore.
2023-11-25 12:20:47 +09:00
Yoshiya Hinosawa
5710fffb12
chore: update node_compat test suites to v18.18.2 ( #21328 )
2023-11-25 11:35:36 +09:00
David Sherret
60b5d32d90
fix(lsp): handle byonm specifiers in jupyter notebooks ( #21332 )
...
Part of https://github.com/denoland/deno/issues/21308
2023-11-24 17:35:33 -05:00
Leo Kettmeir
6f02fa1abf
feat(streams): ReadableStream.read min option ( #20849 )
2023-11-24 23:24:41 +01:00
Bartek Iwańczuk
998d9061ef
chore: deflake unit_node/crypto/crypto_key_test.ts ( #21331 )
...
Ref https://github.com/denoland/deno/issues/21187
On CI we are going to run only fast tests, with an option to
pass `SLOW_TESTS=1` env var to enable more comprehensive tests.
2023-11-24 12:56:05 -07:00
David Sherret
57dc427c77
chore: break up some steps in release checklist ( #21329 )
2023-11-24 13:00:39 -05:00
David Sherret
c99de0493a
chore: bump jsonc-parser and dprint-core dependencies ( #21330 )
...
This is to reduce duplicate dependencies for
https://github.com/denoland/deno/pull/21310
2023-11-24 12:54:58 -05:00
Luca Casonato
85fd8a7f22
fix: correct flag in tar & upload ( #21327 )
2023-11-24 14:05:47 +01:00
denobot
2941dd7da8
chore: forward v1.38.3 release commit to main ( #21320 )
2023-11-24 07:09:15 +01:00