Bartek Iwańczuk
8aead9bf10
chore: upgrade Rust to 1.92 ( #31592 )
2025-12-17 17:06:52 +01:00
Felipe Cardozo
32d5a305ec
feat: worker debugging support via CDP ( #31527 )
2025-12-16 14:47:28 -03:00
denobot
abf630fb20
2.6.1 ( #31615 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Bumped versions for 2.6.1
---------
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-15 13:45:57 +01:00
denobot
d5b1548eba
2.6.0 ( #31549 )
...
Bumped versions for 2.6.0
---------
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-10 14:29:22 +01:00
Nayeem Rahman
5f2a56ff5f
feat: wasm source phase imports ( #31486 )
2025-12-09 14:36:32 +00:00
Bartek Iwańczuk
5b2dc85a3c
Revert "feat: use Node.js timers by default ( #31272 )" ( #31490 )
...
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This reverts commit 7ada8d6589 .
This is a breaking change and is postponed until Deno 3.0.
2025-12-04 00:50:11 +00:00
Bartek Iwańczuk
4b5a26d271
Revert "refactor: remove 'managed globals' infra ( #31318 )" ( #31491 )
...
This reverts commit 9498b36170 .
This is a breaking change and is postponed until Deno 3.0.
Related to https://github.com/denoland/deno/pull/31490
2025-12-03 15:27:09 -08:00
David Sherret
99a8dbf1f3
feat: --ignore-read ( #31363 )
2025-12-01 13:58:28 -05:00
Nathan Whitaker
faf9505814
fix(node): support advanced serialization in IPC ( #31380 )
...
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Fixes #31354 .
2025-11-26 23:15:32 +00:00
Felipe Cardozo
355d8994b2
fix: fetch fd leak ( #31375 )
...
ci / pre-build (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / publish canary (push) Has been cancelled
Solution for: https://github.com/denoland/deno/issues/31080
Modern reqwest (0.12+) can safely share clients across tokio runtimes.
Because it uses the current runtime's executor instead of spawning
background threads.
Using a single shared client prevents resource leaks when worker threads
terminate.
## Context
It seems that we started to use one client per thread because hyper and
reqwest was not safe to share across tokio runtimes
(https://github.com/denoland/deno/pull/23699 ). But seems it's fixed at
latest reqwest versions
(https://github.com/seanmonstar/reqwest/issues/1148#issuecomment-3120048532 ).
This PR is using one client again, as we now already use the version of
reqwest with this fix.
2025-11-21 23:27:04 -03:00
Asher Gomez
bcdddb4ea3
refactor: remove UnstableFeatureDescription::config_option ( #31367 )
...
As the value of this property is only ever the file name and never
renamed.
2025-11-21 09:22:03 -05:00
Bartek Iwańczuk
9498b36170
refactor: remove 'managed globals' infra ( #31318 )
...
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This should also solve problems in
https://github.com/denoland/deno/issues/30905#issuecomment-3517418642 .
2025-11-20 12:29:00 +01:00
Bartek Iwańczuk
030826f589
refactor(ext/web): don't accept generic BroadcastChannel ( #31330 )
...
Removes generic `BC` option from the `deno_web` extension - leaving a
single, concrete implementation of the `InMemoryBroadcastChannel`.
2025-11-20 10:04:55 +01:00
David Sherret
82eba477fb
feat: add --ignore-env=... ( #31187 )
...
Adds the ability to ignore certain environment variables and return
`undefined` instead of erroring.
2025-11-19 15:49:06 +00:00
Asher Gomez
90ef8527e4
feat(ext/web): stabilize BroadcastChannel ( #30770 )
...
Closes #30044
---------
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
2025-11-18 12:47:23 +01:00
Ohkubo KOHEI
e935523541
fix(bundle): Deno.bundle work in Worker ( #31316 )
...
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Currently, `Deno.bundle` throws exception in a `Worker`.
```
error: Uncaught (in worker "") (in promise) Error: default BundleProvider does not do anything
```
This PR passes the clone of BundleProvider to workers.
---
minimum reproduction:
```ts
#! /usr/bin/env -S deno run --allow-read=. --unstable-bundle
if (typeof WorkerGlobalScope === "undefined") {
const worker = new Worker(import.meta.url, { type: "module" });
worker.onmessage = () => Deno.exit();
} else {
await Deno.bundle({
entrypoints: [import.meta.url],
write: false
});
postMessage("done");
}
```
2025-11-17 18:41:16 -08:00
Nathan Whitaker
5421a29944
refactor: remove permission traits + generics from extension crates ( #31284 )
...
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
I also moved the `RuntimePermissionDescriptorParser` struct from
deno_runtime into deno_permissions, so that extension crates can use it
in tests and stuff like that
2025-11-17 10:30:36 -08:00
Maksim Bondarenkov
1404815e10
fix(deps): use windows-sys for all windows targets ( #31308 )
...
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
there are `*-pc-windows-gnullvm` target, which are not covered by the
previous condition. other packages are already using this
2025-11-16 10:37:08 -05:00
Bartek Iwańczuk
7ada8d6589
feat: use Node.js timers by default ( #31272 )
...
This commit changes global `setTimeout` and `setInterval` APIs (along
their `clear*` counterparts) to use Node.js APIs instead of the Web
APIs.
For real world usage we expect no difference in code and behavior,
unless user relies on following checks:
```
const id = setTimeout(...);
if (typeof id === "number") {
// ...
}
```
In which case the conditional should be changed to `if (id)`
2025-11-13 20:09:41 +01:00
David Sherret
a664ebebad
feat(permissions): allow flags should override deny when more specific ( #31224 )
2025-11-12 21:28:45 +00:00
Nathan Whitaker
c106a8dd31
feat(cli): filter out common internal frames that add noise, dim and grey internal frames in stack traces ( #31247 )
...
Before:
<img width="777" height="214" alt="Screenshot 2025-11-10 at 6 43 25 PM"
src="https://github.com/user-attachments/assets/64faf089-738f-4b01-a075-e0e898f6b4d8 "
/>
After:
<img width="777" height="134" alt="Screenshot 2025-11-10 at 6 41 41 PM"
src="https://github.com/user-attachments/assets/4cf78714-5248-471f-8e73-7286f8e7b276 "
/>
2025-11-12 07:40:40 -08:00
Nathan Whitaker
58f7435270
feat(cli): print working dir in grey in stack traces, relative paths in check + compile output ( #31194 )
...
ci / pre-build (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / publish canary (push) Has been cancelled
Before:
<img width="928" height="135" alt="Screenshot 2025-11-05 at 11 43 03 AM"
src="https://github.com/user-attachments/assets/f956a65c-d509-46ff-b8e4-58827dea3ca0 "
/>
After:
<img width="927" height="130" alt="Screenshot 2025-11-05 at 11 44 39 AM"
src="https://github.com/user-attachments/assets/fb6aed36-8ca7-4744-81f1-425f7fbac5e5 "
/>
2025-11-06 20:38:25 +00:00
Bartek Iwańczuk
004b85703a
Revert "refactor: merge deno_cache into deno_web ( #31183 )" ( #31205 )
...
This reverts commit 5eccca8717 .
Turns out this extension requires `ext/fetch` to be merged in `ext/web`
first, so reverting for now to keep `main` green.
2025-11-06 09:25:55 +00:00
Bartek Iwańczuk
4d2b56911f
refactor: merge deno_broadcast_channel into deno_web ( #31198 )
...
This commit deprecated `deno_broadcast_channel` crate and merges it into
`deno_web`.
This will allow us to limit number of crates we need to publish and
(maybe) improve compile and link times.
The actual `ext/broadcast_channel` directory will be removed in a follow
up PR, once a new version is published and points to deno_web crate.
2025-11-06 08:36:16 +01:00
Daniel Osvaldo Rahmanto
88aa2461c1
fix(ext/node): implement process.setgid() and process.setuid() ( #31162 )
...
Closes #31145 , #31146
2025-11-05 09:15:28 +01:00
Divy
d5c0c89b49
refactor: merge deno_console into deno_web ( #31185 )
...
This commit deprecated `deno_console` crate and merges it into
`deno_web`.
This will allow us to limit number of crates we need to publish and
(maybe) improve compile and link times.
The actual `ext/console` directory will be removed in a follow up PR,
once a new version is published and points to `deno_web` crate.
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-11-05 08:46:48 +01:00
Divy
5eccca8717
refactor: merge deno_cache into deno_web ( #31183 )
...
This commit deprecated `deno_cache` crate and merges it into `deno_web`.
This will allow us to limit number of crates we need to publish and
(maybe) improve compile and link times.
The actual `ext/cache` directory will be removed in a follow up PR, once
a new version is published and points to `deno_web` crate.
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-11-04 15:41:05 +01:00
Bartek Iwańczuk
16f6e2c3e8
feat: V8 14.2 ( #31178 )
...
Also locks `temporal_capi` to version 0.1.0, instead of using
0.1.1 which causes wrong calendar to by used by default.
Closes https://github.com/denoland/deno/issues/30782
Closes https://github.com/denoland/deno/issues/30992
Closes https://github.com/denoland/deno/issues/30776
Closes https://github.com/denoland/deno/issues/22143
2025-11-04 15:25:15 +01:00
Bartek Iwańczuk
c39a5ea11b
refactor: merge deno_url into deno_web ( #31182 )
...
This commit deprecated `deno_url` crate and merges it into `deno_web`.
This will allow us to limit number of crates we need to publish and
(maybe) improve compile and link times.
The actual `ext/url` directory will be removed in a follow up PR, once a
new version is published and points to `deno_web` crate.
2025-11-04 10:33:51 +01:00
Daniel Osvaldo Rahmanto
d21201e2a0
fix(ext/node): implement process:seteuid() ( #31160 )
...
Closes #31144
2025-11-03 21:30:21 +07:00
Daniel Osvaldo Rahmanto
361c83ea35
fix(ext/node): implement process.setegid() ( #31155 )
...
Closes #31116
2025-11-03 20:27:53 +07:00
Felipe Cardozo
40de911154
fix(ext/net): support IPv6 zone indices in Deno.connect() ( #31123 )
...
Fixes https://github.com/denoland/deno/issues/30956
2025-10-30 20:25:52 +05:30
denobot
1b5f3112af
2.5.6 ( #31136 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Co-authored-by: David Sherret <dsherret@gmail.com>
2025-10-29 23:50:18 +00:00
David Sherret
1b07f0295d
fix(windows): re-allow spawning bat and cmd files ( #31118 )
2025-10-28 16:39:35 -04:00
denobot
367ecdd036
2.5.5 ( #31112 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2025-10-28 12:40:55 -04:00
Bartek Iwańczuk
0f8f87288b
feat(unstable): add process id to permission broker messages ( #31050 )
...
Closes https://github.com/denoland/deno/issues/31005
2025-10-21 14:50:42 -07:00
Nathan Whitaker
b252cc78c2
feat(unstable): typescript-go integration for deno check ( #30920 )
...
Integrated only with deno check (and test, `run --check`, etc)
currently. All spec tests for deno check pass except for 3, which i've
disabled
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Divy Srivastava <me@littledivy.com>
2025-10-20 09:59:54 -07:00
withtimezone
6e4f7677ea
chore: remove repetitive words in comment ( #31023 )
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-10-20 15:18:23 +00:00
Daniel Osvaldo Rahmanto
98f62cee78
fix(rt): prevent Event to be overwritten on bootstrap ( #30971 )
...
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
Closes #30953
Ensures that the `Event` class always use the imported one from
`ext:deno_web/02_event.js`.
2025-10-15 15:41:20 +02:00
Nayeem Rahman
dd10efa4ef
fix: show referrer range in deno_core loader errors ( #30981 )
2025-10-14 14:09:12 +01:00
denobot
6fbce91e40
2.5.4 ( #30961 )
...
ci / pre-build (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
ci / publish canary (push) Has been cancelled
Bumped versions for 2.5.4
---------
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-10-09 11:41:56 +02:00
denobot
1c3d04cfaf
2.5.3 ( #30903 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Co-authored-by: David Sherret <dsherret@gmail.com>
2025-10-02 22:05:24 -04:00
David Sherret
fb69caf0c7
feat(unstable): permission broker - support custom error messages ( #30902 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This allows changing the error message displayed in Deno for errors by
providing a "reason" property when denying a permission.
2025-10-02 20:27:54 +00:00
David Sherret
5f308da57a
feat(unstable): support named pipes on Windows for the permission broker ( #30894 )
2025-10-02 15:11:24 -04:00
Bartek Iwańczuk
3d7e939b07
feat(unstable): add permission broker ( #30826 )
...
ci / pre-build (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / publish canary (push) Has been cancelled
This commit adds "permission broker" functionality to the CLI.
Once broker is active (using `DENO_PERMISSION_BROKER_PATH` env var), any
time a permission is checked, instead of relying on the `--allow-*` flags, a
message is sent to the broker that is responsible for granting or denying the request.
The communication is a simple JSONL protocol and it is blocking. Any
mismatch in expected format will result in process termination. If the connection
is broken the process is terminated as well.
Example program run:
```
DENO_PERMISSION_BROKER_PATH=/tmp/deno_perm_broker.sock ./target/debug/deno run test_broker.ts
-> broker req {"v":1,"datetime":"2025-09-23T20:34:14.011647+00:00","permission":"read","value":"\"./README.md\""}
<- broker resp {"result":"allow"}
-> broker req {"v":1,"datetime":"2025-09-23T20:34:14.015288+00:00","permission":"read","value":"\"./Cargo.toml\""}
<- broker resp {"result":"allow"}
-> broker req {"v":1,"datetime":"2025-09-23T20:34:14.015659+00:00","permission":"write","value":"\"./scratch.txt\""}
<- broker resp {"result":"allow"}
-> broker req {"v":1,"datetime":"2025-09-23T20:34:14.016543+00:00","permission":"net","value":"\"0.0.0.0:8000\""}
<- broker resp {"result":"allow"}
Listening on http://0.0.0.0:8000/ (http://localhost:8000/ )
-> broker req {"v":1,"datetime":"2025-09-23T20:34:14.018469+00:00","permission":"env","value":null}
<- broker resp {"result":"deny"}
error: Uncaught (in promise) NotCapable: Requires env access, run again with the --allow-env flag
console.log("env", Deno.env.toObject());
^
at Object.toObject (ext:deno_os/30_os.js:134:12)
at file:///Users/ib/dev/deno/test_broker.ts:10:29
```
2025-09-27 03:09:31 +02:00
Bartek Iwańczuk
3871c99eaa
refactor: modernize InspectorServer implementation ( #30837 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
There are no functional changes in this commit, just rewriting some
of the InspectorServer code to use `boxed_local()` futures instead
of relying on `pin!` macro (I find it easier to read).
2025-09-25 11:05:07 +00:00
Divy
ade24896b2
fix(ext/node): allow ATTACH DATABASE with --allow-all ( #30763 )
2025-09-25 14:36:50 +05:30
denobot
0278715639
2.5.2 ( #30835 )
...
ci / build libs (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Bumped versions for 2.5.2
Co-authored-by: nayeemrmn <nayeemrmn@users.noreply.github.com>
2025-09-24 21:42:53 +02:00
Daniel Osvaldo Rahmanto
e7f179305b
chore: use SymbolAsyncDispose and SymbolDispose primordials ( #30828 )
...
Follow up to https://github.com/denoland/deno_core/pull/1200
2025-09-24 13:23:35 +02:00
Nathan Whitaker
d82f509c41
perf: stack allocated v8 scopes ( #30827 )
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-09-23 17:54:14 -07:00