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
Matt Mastracci
4ff5f175a8
chore: update release_doc_template.md ( #21322 )
...
Remove the need to manually build M1
Signed-off-by: Matt Mastracci <matthew@mastracci.com>
2023-11-23 22:42:13 -07:00
Bartek Iwańczuk
585cf2de89
feat(unstable): tar up directory with deno.json ( #21228 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
Co-authored-by: Luca Casonato <hello@lcas.dev>
2023-11-23 23:38:07 +00:00
Matt Mastracci
778e4c9710
chore: start codesigning mac release builds ( #21303 )
...
- Adds a codesigning step to all mac targets
- Adds a new ci-full label to the build to force aarch64 builds on any
PR
2023-11-23 15:30:26 -07:00
David Sherret
6f22d2424a
fix(task): use exit code 127 for command not found and parse escaped parens ( #21316 )
2023-11-23 21:13:08 +00:00
David Sherret
9b79946e14
fix(swc): support jsx pragma when hashbang present ( #21317 )
2023-11-23 21:03:40 +00:00
David Sherret
aadd369589
chore: provide error message when a deno.json will be auto-discovered by the test suite ( #21315 )
2023-11-23 14:24:30 -05:00
David Sherret
d8961a9dfe
chore: fix upgrade_prompt test on main ( #21314 )
...
Issue was main does canary builds, which broke this test because it
didn't handle searching for a canary release. Tested by building as
canary locally.
2023-11-23 17:54:27 +00:00
Matt Mastracci
68a0877f8d
fix(ext/http): avoid lockup in graceful shutdown ( #21253 )
...
Follow-up to #20822 . cc @lrowe
The `httpServerExplicitResourceManagement` tests were randomly failing
on CI because of a race.
The `drain` waker was missing wakeup events if the listeners shut down
after the last HTTP response finished. If we lost the race (rare), the
server Rc would be dropped and we wouldn't poll it again.
This replaces the drain waker system with a signalling Rc that always
resolves when the refcount is about to become 1.
Fix verified by running serve tests in a loop:
```
for i in {0..100}; do cargo run --features=__http_tracing -- test
-A --unstable '/Users/matt/Documents/github/deno/deno/cli/tests/unit/ser
ve_test.ts' --filter httpServerExplicitResourceManagement; done;
```
2023-11-23 16:39:17 +00:00
David Sherret
eda3850f84
chore: add upgrade prompt integration test ( #21273 )
...
1. Adds an upgrade prompt integration test.
1. Adds a test for when the upgrade check takes a long time in the repl.
2023-11-23 16:20:40 +00:00
Yoshiya Hinosawa
bf42467e21
fix(ext/node): fix node:stream.Writable ( #21297 )
...
This change applies the same fix as
https://github.com/nodejs/node/pull/46818 , and the original example
given in #20456 works as expected.
closes #20456
2023-11-23 09:57:05 +09:00
Matt Mastracci
50d1ac9f6b
fix(runtime): fix for panic in classic workers ( #21300 )
...
Fixes #21299
2023-11-22 10:02:13 -07:00
Asher Gomez
616354e76c
refactor: replace deferred()
from std/async
with Promise.withResolvers()
( #21234 )
...
Closes #21041
---------
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-22 12:11:20 +01:00
Bartek Iwańczuk
0ffcb46e0f
Revert "chore: update to std@0.207.0
( #21284 )" ( #21295 )
...
This reverts commit 20aa0796e6
.
`main` has been failing consistenly on `kv_undelivered_test` and
`serve_test` after this upgrade.
2023-11-22 04:13:56 +00:00
Nayeem Rahman
64997cce6a
fix(lsp): force shutdown after a timeout ( #21251 )
2023-11-22 04:08:48 +00:00
Bartek Iwańczuk
a8c24d2a8b
fix: 'Promise was collected' error in REPL/jupyter ( #21272 )
...
Fixes #20528
2023-11-22 03:45:34 +01:00
Asher Gomez
cc5d6df50b
docs: update Deno.*
deprecation notices ( #21283 )
...
This PR updates the deprecation notices to point to the same replacement
APIs that the Standard Library points to. I've also tweaked the notices
to be a little more presentable/navigatable.
In particular, a follow-up PR in std will be made that documents the use
of `toArrayBuffer()`.
Closes #21193
Towards #20976
2023-11-22 03:20:27 +01:00
Bartek Iwańczuk
0747aef990
chore: upgrade deno_core to 0.232.0 ( #21292 )
2023-11-22 01:29:01 +00:00
Asher Gomez
20aa0796e6
chore: update to std@0.207.0
( #21284 )
...
Closes #21002
2023-11-22 02:03:03 +01:00
David Sherret
e3e51313f6
ci: attempt to make repl tests less flaky at startup on the CI ( #21291 )
...
This is an attempt to fix this flakiness:
```
---- integration::repl::assign_underscore stdout ----
deno_exe path /home/runner/work/deno/deno/target/release/deno
command /home/runner/work/deno/deno/target/release/deno repl
command cwd /tmp/deno-cli-testK3YASC
------ Start Full Text ------
""
------- End Full Text -------
Next text: ""
thread 'integration::repl::assign_underscore' panicked at test_util/src/pty.rs:41:11:
Timed out.
stack backtrace:
```
2023-11-21 21:07:36 +00:00
David Sherret
32025dca5c
chore(tools): pull dprint from npm instead of third_party ( #21281 )
...
This will allow this format script to work on more architectures. Also,
this upgrade fixes the issue with the unstable incremental cache that's
currently on main.
2023-11-21 00:21:21 +00:00
David Sherret
0f2cbcf6a9
fix(fmt): maintain parens for jsx in member expr ( #21280 )
...
Fix in
0b44991bb9
Closes https://github.com/denoland/deno/issues/21279
2023-11-20 23:38:06 +00:00
citrusmunch
08f5db5c62
docs(cli/args/flags.rs): Update dead link for run
example ( #21277 )
...
The `deno run` example in the help output uses
https://deno.land/std/examples/welcome.ts which no longer exists.
Replacing with https://examples.deno.land/hello-world.ts
Signed-off-by: citrusmunch <citrusmunch@users.noreply.github.com>
2023-11-20 23:59:13 +01:00
David Sherret
1eefe3e42b
fix: Deno.noColor should not be true when NO_COLOR is empty string ( #21275 )
...
Closes https://github.com/denoland/deno/issues/21274
2023-11-20 15:58:22 -05:00
Divy Srivastava
c97a97240b
fix(ext/node): handle closing process.stdin more than once ( #21267 )
...
Fixes https://github.com/denoland/deno/issues/21112
Aligns more towards what Node.js does. Closing stdin more than once is a
nop.
2023-11-20 18:57:18 +05:30
Bartek Iwańczuk
611e71cf3b
chore: update deno_doc to 0.73.3 ( #21262 )
...
Removes some unnecessary dependencies.
2023-11-20 14:25:13 +01:00
Kenta Moriuchi
498bdc1e2a
fix(ext/url): add deno_console dependency for bench ( #21266 )
...
Should fix the benchmarks.
Signed-off-by: Kenta Moriuchi <moriken@kimamass.com>
2023-11-20 14:01:30 +01:00
Divy Srivastava
86450f4e59
chore: fix __runtime_js_sources
feature flag ( #21265 )
2023-11-20 14:00:05 +01:00
Jérôme Benoit
0205cff834
docs: typo fixlet in worker type comment ( #21268 )
2023-11-20 17:04:01 +05:30
Matt Mastracci
93c4c1a2c1
chore: add aarch64-apple-darwin builds to ci ( #21243 )
...
This is a prerequisite to automatic code signing.
2023-11-19 16:11:20 -07:00