summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-25perf: move "cli/js/40_testing.js" out of main snapshot (#21212)Divy Srivastava
Closes https://github.com/denoland/deno/issues/21136 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-11-25chore(ext/node): remove unnecessary test case (#21337)Yoshiya Hinosawa
This test case is covered by the last case in https://github.com/denoland/deno/blob/5710fffb120eba88e1b261e3ef379cb02575de42/cli/tests/node_compat/test/parallel/test-stream2-transform.js and not necessary anymore.
2023-11-25chore: update node_compat test suites to v18.18.2 (#21328)Yoshiya Hinosawa
2023-11-24fix(lsp): handle byonm specifiers in jupyter notebooks (#21332)David Sherret
Part of https://github.com/denoland/deno/issues/21308
2023-11-24feat(streams): ReadableStream.read min option (#20849)Leo Kettmeir
2023-11-24chore: deflake unit_node/crypto/crypto_key_test.ts (#21331)Bartek Iwańczuk
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-24chore: break up some steps in release checklist (#21329)David Sherret
2023-11-24chore: bump jsonc-parser and dprint-core dependencies (#21330)David Sherret
This is to reduce duplicate dependencies for https://github.com/denoland/deno/pull/21310
2023-11-24fix: correct flag in tar & upload (#21327)Luca Casonato
2023-11-24chore: forward v1.38.3 release commit to main (#21320)denobot
2023-11-23chore: update release_doc_template.md (#21322)Matt Mastracci
Remove the need to manually build M1 Signed-off-by: Matt Mastracci <matthew@mastracci.com>
2023-11-23feat(unstable): tar up directory with deno.json (#21228)Bartek Iwańczuk
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-23chore: start codesigning mac release builds (#21303)Matt Mastracci
- 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-23fix(task): use exit code 127 for command not found and parse escaped parens ↵David Sherret
(#21316)
2023-11-23fix(swc): support jsx pragma when hashbang present (#21317)David Sherret
2023-11-23chore: provide error message when a deno.json will be auto-discovered by the ↵David Sherret
test suite (#21315)
2023-11-23chore: fix upgrade_prompt test on main (#21314)David Sherret
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-23fix(ext/http): avoid lockup in graceful shutdown (#21253)Matt Mastracci
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-23chore: add upgrade prompt integration test (#21273)David Sherret
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-23fix(ext/node): fix node:stream.Writable (#21297)Yoshiya Hinosawa
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-22fix(runtime): fix for panic in classic workers (#21300)Matt Mastracci
Fixes #21299
2023-11-22refactor: replace `deferred()` from `std/async` with ↵Asher Gomez
`Promise.withResolvers()` (#21234) Closes #21041 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-22Revert "chore: update to `std@0.207.0` (#21284)" (#21295)Bartek Iwańczuk
This reverts commit 20aa0796e6ff7651cdfce4d0292bdb11da5dfe2e. `main` has been failing consistenly on `kv_undelivered_test` and `serve_test` after this upgrade.
2023-11-22fix(lsp): force shutdown after a timeout (#21251)Nayeem Rahman
2023-11-22fix: 'Promise was collected' error in REPL/jupyter (#21272)Bartek Iwańczuk
Fixes #20528
2023-11-22docs: update `Deno.*` deprecation notices (#21283)Asher Gomez
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-22chore: upgrade deno_core to 0.232.0 (#21292)Bartek Iwańczuk
2023-11-22chore: update to `std@0.207.0` (#21284)Asher Gomez
Closes #21002
2023-11-21ci: attempt to make repl tests less flaky at startup on the CI (#21291)David Sherret
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-21chore(tools): pull dprint from npm instead of third_party (#21281)David Sherret
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-20fix(fmt): maintain parens for jsx in member expr (#21280)David Sherret
Fix in https://github.com/dprint/dprint-plugin-typescript/commit/0b44991bb9cbc35999796c9864e68d8e4a0f9245 Closes https://github.com/denoland/deno/issues/21279
2023-11-20docs(cli/args/flags.rs): Update dead link for `run` example (#21277)citrusmunch
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-20fix: Deno.noColor should not be true when NO_COLOR is empty string (#21275)David Sherret
Closes https://github.com/denoland/deno/issues/21274
2023-11-20fix(ext/node): handle closing process.stdin more than once (#21267)Divy Srivastava
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-20chore: update deno_doc to 0.73.3 (#21262)Bartek Iwańczuk
Removes some unnecessary dependencies.
2023-11-20fix(ext/url): add deno_console dependency for bench (#21266)Kenta Moriuchi
Should fix the benchmarks. Signed-off-by: Kenta Moriuchi <moriken@kimamass.com>
2023-11-20chore: fix `__runtime_js_sources` feature flag (#21265)Divy Srivastava
2023-11-20docs: typo fixlet in worker type comment (#21268)Jérôme Benoit
2023-11-19chore: add aarch64-apple-darwin builds to ci (#21243)Matt Mastracci
This is a prerequisite to automatic code signing.
2023-11-19fix(ext,runtime): add missing custom inspections (#21219)Kenta Moriuchi
2023-11-18chore: update wpt (#21255)Leo Kettmeir
2023-11-18chore(ext/http): bump version for re-release (#21254)Matt Mastracci
Syncs the changes to main for a deno_http version bump we needed to do. `deno_http` v1.20 was released from the v1.38 branch.
2023-11-18fix(ext/http): fix crash in dropped Deno.serve requests (#21252)Matt Mastracci
Fixes #21250 We were attempting to recycle dropped resource responses too early.
2023-11-17chore: combine `TestCommandBuilder` with `DenoCmd` (#21248)David Sherret
2023-11-18chore: disable curl --http2 tests (#21247)Matt Mastracci
2023-11-17chore: bump deno_core (#21242)Matt Mastracci
2023-11-17test(cli): http test reliability fixes (#21246)Matt Mastracci
2023-11-17chore(cli): Fix rename test for XFS (#21215)Florian Schwalm
Renaming a directory to a path where a non-empty directory already exists was asserted to always fail with `ENOTEMPTY` According to glibc manual the function may also fail with `EEXIST` on "some other systems". One such case is using XFS [^1]. This commit handles the EEXIST case. [^1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/xfs/xfs_inode.c?h=v4.18&id=94710cac0ef4ee177a63b5227664b38c95bbf703#n3082
2023-11-17refactor(upgrade): add unit tests for lsp upgrade check (#21244)David Sherret
2023-11-17chore: make http benches more reliable to start (#21240)Matt Mastracci