Repository navigation
Highlights
Sandboxed extensions (extension: imports). An app can now run third-party code with a smaller set of permissions than its own. Declare the extension in ende.json with its source and grant, then import it with import { f } from "extension:@scope/name". Each extension runs in its own worker. It gets the app's grant intersected with the extension's own manifest, never more than either. ende.lock pins its source, manifest, grant and per-file hashes, and any change stops the run until ende install re-approves it.
Per-package permissions (isolate). isolate rules in ende.json run chosen dependencies in their own worker with narrowed permissions. A sandbox can't do more than the app, and the app's deny rules and revokes still apply to it. Calls are async by default, and "sync": true makes them blocking. "lazy": true starts the worker on first call. Classes, callbacks and Ende.Root handles can cross the boundary. Approved grants are pinned in ende.lock. ende grants (formerly ende audit) shows what each sandbox and extension may do.
Ende.openRoot (unstable, --unstable-fs). It gives traversal-resistant file access under a directory, modeled on Go's os.Root. .. and symlinks work while they stay inside the root, and anything escaping it throws Ende.errors.PathEscape.
A friendlier, more predictable CLI.
- Help: every command's help starts with examples and ends with a docs link.
- Machine-readable output:
--jsonontest,check,outdated,list,whyandtask, and tab-separated--plainonlist,outdated,whyandtask. - Exit codes:
0success,1failure,2usage error,130interrupted. - Color: only when stdout and stderr are terminals.
- Auth tokens file: tokens can now live in a file instead of the environment. On macOS it's
~/Library/Application Support/ende/auth_tokens. - Concurrent edits: parallel
ende addandende removeruns no longer lose dependencies, andende.lockwrites merge instead of overwriting. - Network timeouts: 30 s to connect and 60 s idle, configurable with
--http-timeoutorENDE_HTTP_TIMEOUT. - Second Ctrl-C: in
ende task, it now stops the task's whole process tree.
Verified runtime downloads. ende compile and ende desktop check downloaded runtime archives against SHA-256 sums built into the release. They refuse an archive that doesn't match, and re-download a cached copy that doesn't match.
Unicode 17, via V8 152.2 and ICU 78.2.
Breaking and behavior changes
-
Imports from
deno.landneed--allow-import=deno.land. It's no longer a default import host. -
Short flags mean one thing each:
-fis--force(it wastask -ffor--filter);-nis--dry-run(it wasinstall -nfor--name);-pis--print(it wasx -pfor--package);-uis--update-snapshots(it wasoutdated -ufor--update);-eis--entrypoint(it wasclean -efor--except);-ris--recursive.
The old meanings still work for this release, with a warning.
-
Bare words: a word with no extension, slash or scheme is now treated as an unknown command, with a suggestion. Use
./wordorende -- wordto run a file with that name. -
ende auditis nowende grants.auditstill works, with a warning. -
Auth tokens match the exact host only. Use
*.example.comto send a token to subdomains; it doesn't matchexample.comitself. If an existing setup relied on the old suffix match, Ende warns once per host. -
Environment proxies:
HTTP_PROXY,HTTPS_PROXYandALL_PROXYno longer apply tolocalhost,*.localhostor loopback addresses.Ende.createHttpClient({ proxy })still proxies them. -
Env files can only set variables for your program. Ende's own settings in an env file (most
ENDE_/DENO_names, proxies, TLS roots, registry and so on) are ignored with a warning, and a value set in your shell always wins. -
Compiled binaries combine several env files the way
ende rundoes: the later file wins. -
localStorageand the Cache API moved from the cache folder to a data folder, with a one-time move, andende cleankeeps them.- On Windows, the tokens file and the data folder live under
%LOCALAPPDATA%(ende-config,ende-data), outside the roaming profile. ende cleanrefuses to run if the cache folder contains them.
- On Windows, the tokens file and the data folder live under
-
Deno's folders:
DENO_DIR,DENO_INSTALL_ROOTand similar variables are no longer read, so Ende no longer writes into a co-installed Deno's folders. -
Sandbox rules in workspaces:
isolateorextensionsin a workspace member'sende.jsonis now an error instead of being skipped. The same goes for running inside a folder that would bypass the workspace root's rules, including a symlinked member entered withcd. -
ende ci:- fails when
ende.lockhas no record of a declaredisolaterule; - fails when
ende.lockis missing and there is something to record; - reports duplicate spellings of one
isolaterule as an error.
- fails when
-
--locktakes a value only with=(--lock=path). -
QuickJS:
ende compile --engine quickjsis refused by release builds, because QuickJS runtime archives aren't published yet.
Security fixes
- Deny rules now hold through symlinks.
- Renaming a directory that contains a denied path is denied.
ende evalnow applies--deny-readand--deny-write; before, they were silently ignored.- A cached remote module can no longer redirect to a
file:URL or any other non-http(s) scheme. - Env files can no longer replace or outrank the user's auth tokens.
ende publishruns git withfsmonitorand repo-defined filters turned off, so a project can't run commands through it.
Other fixes
- Clearer errors for extensions, sandboxes and lockfiles, including a missing lockfile versus an out-of-date one.
ende checkno longer writes extension stubs intoende.lock.- TypeScript:
compilerOptions.ignoreDeprecationsnow reaches the TypeScript 6 checker. desktop.backendis validated.- Event loop: it stays alive while queued
setImmediatecallbacks are pending. - Ende no longer aborts when stderr closes during a progress bar.
Commits
- feat(auth): send auth tokens only to the host they name
- feat(cli): JSON and plain output, a tokens file, safer env files, and localStorage out of the cache
- feat(cli): exit 2 for usage errors, no color in pipes, and no bare-word scripts
- feat(cli): help with examples and docs links, and one meaning per short flag
- feat(cli): rename audit to grants, fix the approval prompt, and stop reading Deno's folders
- feat(compile): verify runtime archives against hashes embedded at release
- feat(extensions): pin extensions in the lockfile and re-confirm changes
- feat(extensions): type extension imports for ende check and the editor
- feat(fs): add
Ende.openRootfor traversal-resistant file access - feat(isolate): opt-in lazy start for sandboxes, and faster large values
- feat(isolate): opt-in sync calls, most-specific rules, and no shared memory across sandboxes
- feat(isolate): parse per-package permission rules and report them with
ende audit - feat(isolate): pass classes, objects and callbacks across the sandbox boundary
- feat(isolate): pass roots into sandboxes, nest rules, and keep sandboxes from writing code
- feat(isolate): pin sandbox grants in
ende.lock, apply package manifests, and type sandboxed imports - feat(isolate): run sandboxed packages in their own worker with narrowed permissions
- feat(permissions): stop allowing imports from deno.land by default
- feat(pm): safe concurrent add/remove, merged lockfile writes, and network timeouts
- feat: add sandboxed extensions (extension: imports)
- feat: upgrade to Unicode 17
- fix(cache): refuse redirects from remote modules to other schemes
- fix(check): match the type checker's Unicode data to the engine
- fix(cli): don't declare the private-folder builder mutable on Windows
- fix(cli): say which
DENO_*names are ignored, and link grants to its docs - fix(core): keep the event loop alive while
refed immediates are queued - fix(deps): hold
libz-sysat 1.1.20 for Windows static-CRT builds - fix(desktop): extract zip archives through a root
- fix(env): keep a project's env file from outranking the user's settings
- fix(eval): accept allow flags again alongside the forced
allow-all - fix(extensions): type remote and jsr extensions in check and the editor
- fix(fetch): don't send this machine's traffic through an environment proxy
- fix(fs): deny renaming a directory that holds a denied path
- fix(isolate): name the same entry in a refusal on every file system
- fix(isolate): refuse sandbox rules Ende would otherwise skip
- fix(lockfile):
name --frozen=falsewhenlock.frozenfreezesende install - fix(lsp): send plain text for test failures, and update tests for Stage 3 color and exit codes
- fix(permissions): make deny rules hold through symlinks, and in eval
- fix(tests): keep zip and zlib out of the shared test library
- fix(windows): keep the tokens file and localStorage out of the roaming profile
- fix(workspace): refuse to drop an outer workspace's sandbox rules
- fix(workspace): refuse to skip sandbox rules for a member entered through a link
- fix: clearer errors and small fixes for extensions, sandboxes and lockfiles
- fix: don't abort when stderr closes, and stop a task's whole tree on a second Ctrl-C
- fix: resolve gpu-allocator to the windows crate wgpu-hal uses
Full Changelog: v2026.11.10...v2026.12.01