summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-08chore: temporarily disable ARM64 (#22350)Matt Mastracci
While we figure out the build breakage.
2024-02-08chore: forward v1.40.4 release commit to main (#22345)denobot
This is the release commit being forwarded back to main for 1.40.4 Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2024-02-07chore: remove wget from amd64 linux sysroot (#22336)Matt Mastracci
We don't need to wget `libdl` because we can just copy the one from within the sysroot, saving two network accesses. This allows amd64 to use the same build strategy as arm64.
2024-02-07chore: Update PR template (#22340)Matt Mastracci
Signed-off-by: Matt Mastracci <matthew@mastracci.com>
2024-02-08chore: Update PR template (#22339)Matt Mastracci
Signed-off-by: Matt Mastracci <matthew@mastracci.com>
2024-02-07docs(cli): add unit info for idleTimeout (#22335)Jason Ford
Signed-off-by: Jason Ford <fordjason@gmail.com>
2024-02-08fix(lint): point to migration docs in deprecated APIs rule (#22338)Asher Gomez
2024-02-07chore: upgrade deno_core to 0.260.0 (#22334)Bartek Iwańczuk
2024-02-07chore: use @test_util for node_compat tests (#22331)Matt Mastracci
2024-02-07feat: use sysroot for ARM64 (#22329)Matt Mastracci
Follow-up from #22298: Use a sysroot to build ARM64 so we work all the way back to Xenial. We generate a sysroot ahead-of-time in the https://github.com/denoland/deno_sysroot_build project and use that to bootstrap a sysroot here.
2024-02-07docs: point to "Deno 1.x to 2.x Migration Guide" for net APIs (#22275)Asher Gomez
These were missed in #22199.
2024-02-07docs: correct JSDoc `@category` for `Deno.fsync[Sync]()` and ↵Asher Gomez
`Deno.fdatasync[Sync]()` (#22177) As other APIs with the "f" prefix denote being part of the "File System" `@category`.
2024-02-07chore(cli): Use @test_util for relative path for unit tests (#22327)Matt Mastracci
This removes the majority of `../../../../../../test_util` relative imports from the codebase, allowing us to move this code more easily in the future.
2024-02-07refactor: extract out `runtime::colors` to `deno_terminal::colors` (#22324)David Sherret
2024-02-07fix(node): handle brotli compression end chunk sizes (#22322)Divy Srivastava
Fixes https://github.com/denoland/deno/issues/22259
2024-02-07feat: ARM64 builds (#22298)Matt Mastracci
This implements officially blessed and tested deno binaries for ARM64. Thanks to @LukeChannings for his tireless work in maintaining the deno-arm64 [1] repo, without which this project would have been far more complicated. For those of you requiring support for older GLIBC versions, that repo may still be required for the near future. Limitations: - This initial build is built on Ubuntu 22 using the stock GLIBC, which will limit the utility of these binaries in certain use-cases (eg: early versions of Ubuntu). We will attempt to support earlier versions of ARM64 GLIBC in a later revision. - Like the stock Linux x64 build, this is not a static build and requires GLIBC. Running on Alpine will require installation of GLIBC. Fixes #1846, #4862 [1] https://github.com/LukeChannings/deno-arm64
2024-02-07chore: update WPT (#22312)Bartek Iwańczuk
Fixes https://github.com/denoland/deno/issues/22257
2024-02-07fix: enable "--allow-sys=cpus" for "deno run" (#22260)restlessronin
Fixes #22221 with the suggested fix, and added "cpus" to the existing tests.
2024-02-07chore: remove op_spawn_child test (#22314)Bartek Iwańczuk
This test is not needed because the op is not available to user code anymore. This brings number of ops exposed to user code down to 15.
2024-02-07chore: don't expose FFI ops to user code (#22313)Bartek Iwańczuk
This commit removes some not really necessary FFI tests and in effect removes them from being accessible from the user code. This lowers the number of ops accessible to user code to 16.
2024-02-07chore: use same test server for jsr tests (#22303)David Sherret
We had two test servers.
2024-02-07chore: upgrade deno_core to 0.259.0 (#22311)Bartek Iwańczuk
This update brings number of ops available to user code down to 45.
2024-02-06fix(publish): handle diagnostic outside graph (#22310)David Sherret
Hacky quick fix. The real fix is a lot more work to do (move the `SourceTextInfo` into all the diagnostics in order to make this less error pone). I've already started on it, but it will require a lot of downstream create changes. Closes #22288
2024-02-07refactor: move ImageData to web extension (#22295)Leo Kettmeir
Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
2024-02-07chore: remove unneeded benchmark (#22300)Bartek Iwańczuk
Brings down the number of ops available to user code to 49.
2024-02-06fix(publish): 'explit' typo (#22296)John Spurlock
2024-02-06fix(ext/node): Ensure os.cpus() works on arm64 linux (#22302)Matt Mastracci
`/proc/cpuinfo` on ARM doesn't have the model name per CPU, so we leave those as "unknown".
2024-02-06chore: upgrade CI workflows to use Node 20 (#22304)Asher Gomez
No longer uses Node 16, which is deprecated.
2024-02-06refactor: use web utils and lazy load utils from core (#22289)Leo Kettmeir
2024-02-06fix(publish): lazily parse sources (#22301)David Sherret
Closes #22290
2024-02-06fix(cli): Add IP address support to DENO_AUTH_TOKEN (#22297)Matt Mastracci
Auth tokens may be specified for one of the following: - `abc123@deno.land`: `deno.land`, `www.deno.land`, etc - `abc123@deno.land:8080`: `deno.land:8080`, `www.deno.land:8080`, etc - `abc123@1.1.1.1`: IP `1.1.1.1` only - `abc123@1.1.1.1:8080`: IP `1.1.1.1`, port 8080 only - `abc123@[ipv6]`: IPv6 `[ipv6]` only - `abc123@[ipv6]:8080`: IPv6 `[ipv6]`, port 8080 only Leading dots are ignored, so `.deno.dev` is equivalent to `deno.dev`.
2024-02-06fix(lsp): disable no-cache diagnostics for jsr specifiers (#22284)Nayeem Rahman
2024-02-06fix: Support Symbol.metadata (#22282)Bartek Iwańczuk
This commit adds support for "Symbol.metadata" which was omitted when adding support for the Decorators Proposal. Closes https://github.com/denoland/deno/issues/22111
2024-02-06chore(ws): remove unused op_ws_send_pong (#22283)Divy Srivastava
2024-02-06fix(node): add `cp` to fs/promises (#22263)Divy Srivastava
2024-02-06refactor: don't expose some ops (#22281)Bartek Iwańczuk
This commit brings down the number of ops exposed to user code to 51.
2024-02-06bench: fix benchmark (#22279)Bartek Iwańczuk
Missed in https://github.com/denoland/deno/pull/22277
2024-02-06chore: remove benchmarks for ops (#22277)Bartek Iwańczuk
These are not useful, as we bench them in `deno_core` already.
2024-02-06refactor: don't expose worker ops to user code (#22276)Bartek Iwańczuk
2024-02-06refactor: don't expose ops to user code (#22273)Bartek Iwańczuk
Brings the number of ops exposed to user code down to 58.
2024-02-05refactor(cli): Move op descriptions into Rust and prepare for op import (#22271)Matt Mastracci
This moves the op sanitizer descriptions into Rust code and prepares for eventual op import from `ext:core/ops`. We cannot import these ops from `ext:core/ops` as the testing infrastructure ops are not always present. Changes: - Op descriptions live in `cli` code and are currently accessible via an op for the older sanitizer code - `phf` dep moved to workspace root so we can use it here - `ops.op_XXX` changed to to `op_XXX` to prepare for op imports later on.
2024-02-05Reland refactor(cli): use new sanitizer for resources (#22226)Matt Mastracci
Originally in #22125 Reverted in #22153 because of #22148 Fixed in deno_core https://github.com/denoland/deno_core/pull/538 Test plan: 1. Check out: https://github.com/poolifier/poolifier-deno.git 2. `PATH=.../deno/target/release/:$PATH deno task test` 3. `ok | 13 passed (188 steps) | 0 failed (18s)`
2024-02-05refactor(cli): Add TestFailureDescription (#22267)Matt Mastracci
Extract zero-risk changes from #22226
2024-02-05fix: Fix segmentation fault in tests on CPUs with PKU support (#22152)Alessandro Cosentino
This is a followup on denoland/deno_core#471. Fixes #21439.
2024-02-06fix(unstable): validate kv list selector (#22265)Heyang Zhou
Check that in a `KvListSelector`, `start` and `end` are actually within the keyspace bounds defined by `prefix`, if both are present.
2024-02-05fix(os): total and free memory in bytes (#22247)Divy Srivastava
2024-02-05fix(ext/node): fix timeout param validation in cp.execFile (#22262)Yoshiya Hinosawa
2024-02-04chore: bump deno core (#22243)Matt Mastracci
Migrations: - Error registration no longer required for Interrupted or BadResource (these are core exception) - `include_js_files!`/`ExtensionFileSource` changes
2024-02-05feat(unstable): `Deno.FsFile.lock[Sync]()` and `Deno.FsFile.unlock[Sync]()` ↵Asher Gomez
(#22235) Closes #22178.
2024-02-04chore: remove opcall_test.ts (#22227)Bartek Iwańczuk
This test should be in `deno_core`. Ref https://github.com/denoland/deno_core/issues/533